:root {
  --landing-bg: #f7f0e7;
  --landing-ink: #332a26;
  --landing-accent: #cdae85;
  --landing-warm: #b46f52;
  --landing-max: 1180px;
  --landing-radius: 22px;
  --landing-shadow: 0 24px 70px rgb(51 42 38 / 14%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--landing-bg);
  color: var(--landing-ink);
  font-family: var(--font-body, "Source Sans 3", "Segoe UI", sans-serif);
  font-size: 1rem;
  line-height: 1.6;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--landing-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  background: var(--landing-bg);
  color: var(--landing-ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.section-shell {
  width: min(calc(100% - 48px), var(--landing-max));
  margin-inline: auto;
}
.section { padding-block: clamp(80px, 9vw, 132px); }
.section--paper { background: var(--landing-bg); }
.section--ink { background: var(--landing-ink); color: var(--landing-bg); }

.wordmark {
  font-family: var(--font-signature, "Libre Baskerville", serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: var(--tracking-signature, -.035em);
  line-height: 1;
  text-decoration: none;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--landing-accent);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.3;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--font-heading, "Libre Baskerville", serif); letter-spacing: -.035em; }
h1 em, h2 em { color: var(--landing-accent); font-style: normal; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--outline { border-color: rgb(247 240 231 / 35%); color: var(--landing-bg); }
.button--outline:hover { background: rgb(247 240 231 / 10%); }
.button--light { background: var(--landing-bg); color: var(--landing-ink); }
.button--light:hover { background: var(--landing-accent); }
.button--ink { background: var(--landing-ink); color: var(--landing-bg); }
.button--full { width: 100%; }

.hero-shell { min-height: 100%; }
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  color: var(--landing-bg);
}
.site-header__inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 52px); }
.site-nav__links { display: flex; gap: 30px; }
.site-nav__links a { color: rgb(247 240 231 / 78%); font-size: .95rem; font-weight: 600; text-decoration: none; }
.site-nav__links a:hover { color: var(--landing-bg); }

.hero {
  position: relative;
  min-height: 910px;
  overflow: hidden;
  background: var(--landing-ink);
  color: var(--landing-bg);
  isolation: isolate;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(51 42 38 / 25%) 0%, rgb(51 42 38 / 84%) 46%, #332a26 76%),
    linear-gradient(180deg, rgb(51 42 38 / 8%) 45%, #332a26 100%);
  content: "";
}
.hero::after {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(205 174 133 / 12%);
  border-radius: 50%;
  inset: 90px -180px auto auto;
  box-shadow: 0 0 0 70px rgb(205 174 133 / 4%), 0 0 0 150px rgb(205 174 133 / 3%);
  content: "";
}
.hero__portrait {
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  width: min(58vw, 960px);
  background: url("fotografia/uli-f1-015-hero-1600x900.jpg") center / cover no-repeat;
  filter: saturate(.84) contrast(1.02);
}
.hero__grid {
  display: grid;
  min-height: 910px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(56px, 7vw, 112px);
  align-items: center;
  padding-block: 140px 76px;
}
.hero__copy { max-width: 650px; padding-left: clamp(0px, 5vw, 54px); }
.event-name { margin: -4px 0 20px; color: var(--landing-bg); font-family: var(--font-heading); font-size: .95rem; letter-spacing: .06em; }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(2.55rem, 4.2vw, 4rem); font-weight: 400; line-height: 1.06; }
.hero__intro { max-width: 620px; margin: 30px 0 0; color: rgb(247 240 231 / 76%); font-size: clamp(1rem, 1.4vw, 1.15rem); }

.countdown { display: grid; max-width: 520px; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.countdown div { position: relative; }
.countdown div:not(:last-child)::after { position: absolute; top: 8px; right: -12px; color: rgb(205 174 133 / 45%); content: ":"; font-family: var(--font-heading); font-size: 2.2rem; }
.countdown strong { display: block; color: var(--landing-accent); font-family: var(--font-interface); font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1; }
.countdown span { display: block; margin-top: 9px; color: rgb(247 240 231 / 50%); font-size: .66rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.countdown__status { min-height: 1.5em; margin: 10px 0 0; color: var(--landing-accent); font-weight: 600; }
.event-meta { margin: 24px 0 12px; color: rgb(247 240 231 / 58%); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-meta span { padding-inline: 7px; color: var(--landing-accent); }
.demo-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0; border: 1px solid rgb(205 174 133 / 30%); border-radius: 100px; padding: 7px 12px; color: rgb(247 240 231 / 72%); font-size: .78rem; }
.demo-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--landing-accent); box-shadow: 0 0 12px var(--landing-accent); }

.registration { align-self: center; padding: clamp(26px, 3vw, 42px); border: 1px solid rgb(247 240 231 / 12%); border-radius: var(--landing-radius); background: rgb(51 42 38 / 72%); box-shadow: 0 24px 80px rgb(0 0 0 / 18%); backdrop-filter: blur(16px); }
.registration h2 { margin: 0 0 24px; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.2; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 4px; color: var(--landing-accent); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-height: 48px; border: 0; border-bottom: 1px solid rgb(247 240 231 / 22%); border-radius: 0; outline: none; background: transparent; color: var(--landing-bg); }
.field input::placeholder { color: rgb(247 240 231 / 36%); }
.field select { color-scheme: dark; }
.field input:focus, .field select:focus { border-bottom-color: var(--landing-accent); }
.demo-notice { margin: 13px 0 0; color: rgb(247 240 231 / 52%); font-size: .76rem; text-align: center; }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--landing-accent); font-weight: 600; text-align: center; }

.section-heading { max-width: 850px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-heading--center { text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4.7vw, 3.75rem); line-height: 1.1; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 620px; margin: 18px auto 0; color: var(--color-ink-muted); }

.audience { padding-top: clamp(100px, 11vw, 160px); }
.audience-cards { display: grid; max-width: 1000px; grid-template-columns: 1fr 1fr; align-items: center; }
.audience-card { min-height: 520px; padding: clamp(30px, 4vw, 54px); color: var(--landing-bg); box-shadow: var(--landing-shadow); }
.audience-card--yes { border-radius: var(--landing-radius) 0 0 var(--landing-radius); background: #473a34; }
.audience-card--no { z-index: 1; margin-left: -26px; border-radius: var(--landing-radius); background: var(--landing-ink); transform: translateY(-22px); }
.audience-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid rgb(247 240 231 / 13%); font-size: 1.4rem; }
.audience-card h3 span { display: inline-grid; width: 30px; height: 30px; border-radius: 8px; background: rgb(205 174 133 / 15%); color: var(--landing-accent); place-items: center; }
.audience-card ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.audience-card li { position: relative; padding: 20px 0 20px 24px; border-bottom: 1px solid rgb(247 240 231 / 11%); color: rgb(247 240 231 / 82%); }
.audience-card li::before { position: absolute; top: 21px; left: 0; color: var(--landing-accent); content: "+"; font-weight: 700; }
.audience-card--no li::before { content: "×"; }

.content-section { padding-top: 30px; }
.content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.content-card { position: relative; min-height: 530px; overflow: hidden; border-radius: 18px; background: var(--card-image) center / cover no-repeat; color: var(--landing-bg); isolation: isolate; }
.content-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(51 42 38 / 0.18) 25%, rgb(51 42 38 / 0.94) 100%); content: ""; }
.content-card__copy { position: absolute; inset: auto 0 0; padding: 30px 24px; }
.content-card__copy p { margin: 0 0 10px; color: var(--landing-accent); font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.content-card h3 { margin: 0 0 12px; font-family: var(--font-interface); font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.025em; line-height: 1.15; }
.content-card span { display: block; color: rgb(247 240 231 / 76%); font-size: .93rem; line-height: 1.45; }
.content-card--positioning::after { background: linear-gradient(180deg, rgb(51 42 38 / 0.1) 20%, rgb(51 42 38 / 0.94) 92%); }
.content-card--direction::after { background: linear-gradient(180deg, rgb(51 42 38 / 0.18) 12%, rgb(51 42 38 / 0.88) 100%); }
.content-card--execution::after { background: linear-gradient(180deg, rgb(51 42 38 / 0.08) 15%, rgb(51 42 38 / 0.94) 100%); }

.proof { padding-top: 60px; overflow: hidden; }
.proof__viewport { width: min(100%, 1460px); }
.audience-quotes { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.audience-quote { min-height: 210px; margin: 0; padding: 30px; border: 1px solid var(--color-ink-line); border-radius: 18px; background: #fffaf3; scroll-snap-align: start; }
.audience-quote span { color: var(--landing-warm); font-family: var(--font-heading); font-size: 3rem; line-height: .7; }
.audience-quote p { margin: 18px 0 0; font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.55; }
.proof__controls { display: none; justify-content: center; gap: 10px; margin-top: 22px; }
.proof__controls button { width: 46px; height: 46px; border: 1px solid var(--color-ink-line); border-radius: 50%; background: var(--landing-bg); color: var(--landing-ink); cursor: pointer; }

.about { padding-bottom: 70px; }
.about__grid { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.about__portrait { position: relative; margin: 0; }
.about__portrait::before { position: absolute; z-index: 0; inset: -18px 18px 18px -18px; border: 1px solid rgb(205 174 133 / 34%); border-radius: 22px; content: ""; }
.about__portrait img { position: relative; z-index: 1; width: 100%; max-height: 650px; border-radius: 18px; object-fit: cover; object-position: center 28%; }
.about__copy h2 { margin: 0 0 26px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.about__copy > p:not(.eyebrow) { color: rgb(247 240 231 / 76%); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgb(247 240 231 / 14%); }
.metrics strong { display: block; color: var(--landing-accent); font-family: var(--font-interface); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; }
.metrics span { display: block; margin-top: 9px; color: rgb(247 240 231 / 58%); font-size: .7rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }

.closing { padding-block: 80px 120px; text-align: center; }
.closing__inner { max-width: 830px; }
.closing h2 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.12; }
.closing p:not(.eyebrow) { max-width: 680px; margin: 24px auto 32px; color: rgb(247 240 231 / 68%); font-size: 1.06rem; }

.site-footer { padding-block: 32px; border-top: 1px solid rgb(247 240 231 / 11%); background: var(--landing-ink); color: rgb(247 240 231 / 58%); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px; align-items: center; }
.site-footer p { margin: 0; font-size: .8rem; }
.site-footer__links { display: flex; gap: 18px; }
.site-footer__links a, .site-footer__links button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

dialog { width: min(calc(100% - 32px), 560px); border: 0; border-radius: 22px; padding: 0; color: var(--landing-ink); box-shadow: 0 30px 100px rgb(0 0 0 / 32%); }
dialog::backdrop { background: rgb(51 42 38 / 78%); backdrop-filter: blur(5px); }
.dialog__content { position: relative; padding: clamp(30px, 6vw, 52px); background: var(--landing-bg); }
.dialog__content h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.15; }
.dialog__content p:not(.eyebrow) { color: var(--color-ink-muted); }
.dialog__close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: var(--landing-ink); font-size: 2rem; cursor: pointer; }

@media (max-width: 1100px) {
  .hero::before { background: linear-gradient(90deg, rgb(51 42 38 / 35%) 0%, rgb(51 42 38 / 88%) 45%, #332a26 72%); }
  .hero__grid { gap: 42px; }
  .hero__copy { padding-left: 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgb(51 42 38 / 52%) 0%, #332a26 50%, #332a26 100%); }
  .hero__portrait { width: 100%; height: 54%; opacity: .56; }
  .hero__grid, .about__grid { min-height: auto; grid-template-columns: 1fr; }
  .hero__grid { gap: 48px; padding-block: 150px 86px; }
  .hero__copy { max-width: 720px; }
  .registration { width: min(100%, 650px); }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-card { min-height: 560px; }
  .about__portrait { width: min(100%, 580px); }
}

@media (max-width: 720px) {
  .section-shell { width: min(calc(100% - 32px), var(--landing-max)); }
  .site-header__inner { min-height: 76px; }
  .site-nav__links { display: none; }
  .site-nav .button { min-height: 42px; padding: 10px 13px; font-size: .78rem; }
  .hero__grid { padding-block: 118px 70px; }
  .hero h1 { font-size: clamp(2.25rem, 10.8vw, 3.7rem); }
  .hero__intro { margin-top: 22px; }
  .countdown { gap: 10px; }
  .countdown div:not(:last-child)::after { right: -8px; font-size: 1.6rem; }
  .event-meta { line-height: 1.7; }
  .registration { padding: 24px 18px; }
  .section { padding-block: 82px; }
  .audience { padding-top: 100px; }
  .audience-cards { grid-template-columns: 1fr; gap: 14px; }
  .audience-card { min-height: auto; padding: 30px 24px; }
  .audience-card--yes, .audience-card--no { margin: 0; border-radius: var(--landing-radius); transform: none; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card { min-height: min(142vw, 600px); }
  .audience-quotes { grid-auto-flow: column; grid-auto-columns: minmax(82%, 1fr); grid-template-columns: none; overflow-x: auto; padding-bottom: 10px; }
  .proof__controls { display: flex; }
  .metrics { gap: 24px 14px; }
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer__links { justify-content: center; }
}

@media (max-width: 360px) {
  .section-shell { width: calc(100% - 32px); }
  .wordmark { font-size: 1.2rem; }
  .site-nav .button { max-width: 142px; padding-inline: 10px; }
  .hero h1 { font-size: clamp(2rem, 12vw, 2.65rem); }
  .countdown { gap: 8px; }
  .countdown strong { font-size: 1.8rem; }
  .registration h2 { font-size: 1.35rem; }
  .metrics { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
