/* ==========================================================================
   Wine Spectator · 50th Anniversary Issue · Advertiser landing page
   Palette: lifted aubergine ground, engraved gold, red-wine accent
   ========================================================================== */

:root {
  --ink: #2a1a28;
  --ink-deep: #221420;
  --ink-raise: #352033;
  --ink-panel: #3a2437;
  --gold: #c9a227;
  --gold-bright: #e8c56a;
  --gold-faint: rgba(201, 162, 39, 0.32);
  --gold-hair: rgba(201, 162, 39, 0.2);
  --wine: #8e1b24;
  --cream: #f7f0e4;
  --cream-dim: rgba(247, 240, 228, 0.82);
  --cream-faint: rgba(247, 240, 228, 0.55);
  --serif: "Playfair Display", "Georgia", serif;
  --body: "Lora", "Georgia", serif;
  --sans: "Inter", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", "Menlo", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--wine); color: var(--cream); }

a { color: inherit; }

em { font-style: italic; }

.nobr { white-space: nowrap; }

/* ---------- shared type ---------- */

.eyebrow,
.label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.label { margin-bottom: 1.5rem; }
.label--center { text-align: center; }

.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: 0.005em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.display em { color: var(--gold-bright); }

.display--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 20ch;
}

.prose p + p { margin-top: 1.25em; }
.prose {
  color: var(--cream-dim);
  max-width: 62ch;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn--gold {
  background: linear-gradient(160deg, #d8b23c, var(--gold) 55%, #a9861f);
  border-color: transparent;
  color: #241505;
}

.btn--gold:hover {
  box-shadow: 0 0 0 1px var(--gold-bright), 0 8px 30px rgba(201, 162, 39, 0.25);
}

.btn--small { padding: 0.65rem 1.4rem; font-size: 0.7rem; }

/* ---------- nav ---------- */

.nav {
  --nav-inline: clamp(1.5rem, 5vw, 3.5rem);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.25rem;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(var(--nav-inline), env(safe-area-inset-right))
    1rem
    max(var(--nav-inline), env(safe-area-inset-left));
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease), min-height 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(34, 20, 32, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gold-hair);
  min-height: 3.85rem;
  padding-top: max(0.85rem, env(safe-area-inset-top));
  padding-bottom: 0.85rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__wordmark {
  height: 34px;
  width: auto;
  display: block;
}

.nav__mark {
  height: 38px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 2.2rem;
  margin-left: auto;
}

.nav__links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.3s;
}

.nav__links a:hover { color: var(--gold-bright); }

@media (max-width: 860px) {
  .nav {
    --nav-inline: 1.35rem;
    gap: 0.85rem;
    min-height: 3.75rem;
  }
  .nav__links { display: none; }
  .nav__brand { gap: 0.45rem; min-width: 0; }
  .nav__wordmark { height: 26px; max-width: min(52vw, 200px); }
  .nav__mark { height: 30px; }
}

@media (max-width: 380px) {
  .nav { --nav-inline: 1.15rem; }
  .nav__wordmark { height: 22px; }
  .nav__mark { height: 26px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 6rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background: radial-gradient(120% 90% at 50% 0%, #3d2840 0%, var(--ink) 52%, var(--ink-deep) 100%);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 32%;
  left: 50%;
  width: min(70vw, 900px);
  aspect-ratio: 1.6;
  transform: translate(-50%, -35%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(201, 162, 39, 0.18) 0%, rgba(142, 27, 36, 0.08) 55%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .eyebrow { margin-bottom: 1.4rem; }

.hero__wordmark {
  width: min(68vw, 420px);
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.45));
}

.hero__wordmark img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__mark {
  position: relative;
  width: min(72vw, 420px);
  aspect-ratio: 716 / 416;
  margin: 1.2rem 0 2.4rem;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.55));
}

.hero__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* mosaic tiles built by JS over the mark */
.hero__mark .tile {
  position: absolute;
  background-image: url("../assets/ws50-mark-gold.png");
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(0.55) translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hero__mark .tile.is-set {
  opacity: 1;
  transform: none;
}

.hero__headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.18;
  margin-bottom: 1.4rem;
  text-wrap: balance;
  max-width: 22ch;
}

.hero__headline em { color: var(--gold-bright); }

.hero__subhead {
  color: var(--cream-dim);
  max-width: 38rem;
  margin-bottom: 2.4rem;
  text-wrap: pretty;
}

.hero__scrollcue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--cream-faint);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.3s;
  z-index: 2;
}

.hero__scrollcue:hover { color: var(--gold-bright); }

.hero__scrollcue svg { animation: cue 2.6s ease-in-out infinite; }

@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* ---------- engraved hills divider ---------- */

.hills {
  position: relative;
  height: 110px;
  overflow: hidden;
  pointer-events: none;
}

.hills::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 180%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 110' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='1'%3E%3Cpath d='M0 96 Q 300 40 600 82 T 1200 70' opacity='.30'/%3E%3Cpath d='M0 102 Q 300 52 600 90 T 1200 80' opacity='.22'/%3E%3Cpath d='M0 108 Q 300 64 600 98 T 1200 90' opacity='.16'/%3E%3Cpath d='M0 90 Q 240 30 520 74 T 1200 58' opacity='.12'/%3E%3Cpath d='M0 84 Q 260 22 560 66 T 1200 48' opacity='.08'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: hillsDrift 9s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hillsDrift {
  from { transform: translate3d(-11%, 0, 0); }
  to { transform: translate3d(11%, 0, 0); }
}

.hills--hero {
  position: absolute;
  inset: auto 0 0 0;
  opacity: 0.8;
}

.hills--hero::before {
  animation-duration: 12s;
}

.hills--soft {
  opacity: 0.62;
}

.hills--soft::before {
  animation-duration: 10s;
  animation-delay: -2s;
}

.hills--compact {
  height: 72px;
  opacity: 0.55;
}

.hills--compact::before {
  animation-duration: 8s;
  animation-delay: -4s;
}

.hills--flip {
  transform: scaleY(-1);
}

/* Centered flourish under headlines: same vineyard line language */
.hills--flourish {
  height: 42px;
  max-width: 22rem;
  margin: 1.15rem auto 0;
  opacity: 0.5;
}

.hills--flourish::before {
  left: -55%;
  width: 210%;
  animation-name: flourishDrift;
  animation-duration: 7s;
  animation-delay: -1.5s;
}

@keyframes flourishDrift {
  from { transform: translate3d(-14%, 0, 0); }
  to { transform: translate3d(14%, 0, 0); }
}

.section__inner--narrow > .display + .hills--flourish,
.section__inner--narrow > .hills--flourish {
  margin-left: 0;
  margin-right: auto;
}

.label--center + .display + .hills--flourish,
.label--center + .display--center + .hills--flourish,
.section__inner > .hills--flourish {
  margin-left: auto;
  margin-right: auto;
}

.display + .hills--flourish {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.hills--flourish + .prose {
  margin-top: 1.75rem;
}

.hills--flourish + .story__intro {
  margin-top: clamp(1.35rem, 3vw, 2rem);
}

.details .hills--flourish {
  margin-bottom: 1.75rem;
}

/* ---------- sections ---------- */

.section { position: relative; padding: clamp(5.5rem, 11vw, 9rem) 1.5rem; scroll-margin-top: 4.5rem; }

.section__inner { max-width: 68rem; margin: 0 auto; }
.section__inner--narrow { max-width: 46rem; }

.moment {
  background: linear-gradient(180deg, var(--ink-raise) 0%, var(--ink-panel) 100%);
}

/* ---------- story / timeline ---------- */

.story,
.chronicle {
  background:
    linear-gradient(180deg, rgba(42, 26, 40, 0.94) 0%, rgba(48, 28, 46, 0.97) 55%, var(--ink-deep) 100%);
  padding-bottom: 0;
}

.story__intro {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--cream-dim);
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* ---------- milestone strip ---------- */

.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--gold-hair);
  border-bottom: 1px solid var(--gold-hair);
}

.milestone {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.milestone__figure {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: 0.01em;
}

.milestone__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  text-wrap: balance;
  max-width: 16ch;
  margin-inline: auto;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .milestones { gap: 1.75rem; padding: 1.5rem 0; }
}

/* ---------- print audience ---------- */

.audience {
  max-width: 48rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.audience__eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.audience__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--cream-dim);
  margin: 0 auto 1.75rem;
  max-width: 34ch;
  text-wrap: balance;
  text-align: center;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1rem;
  padding: 1.5rem 0 0.25rem;
  border-top: 1px solid var(--gold-hair);
}

.audience__grid--six {
  gap: 1.75rem 1.5rem;
  padding-top: 1.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.audience__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-height: 5.5rem;
}

.audience__figure {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: 0.01em;
}

.audience__label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-faint);
  text-wrap: balance;
  max-width: 18ch;
  min-height: 2.8em;
  line-height: 1.4;
  text-align: center;
}

.audience__note {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(247, 240, 228, 0.38);
  max-width: 52ch;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  line-height: 1.55;
}

.demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
  max-width: 48rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: 0;
  text-align: center;
}

.demo__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo__item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.demo__item p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: balance;
  max-width: 26ch;
  min-height: 4.65em;
  margin: 0;
}

.engagement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 48rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--gold-hair);
  border-bottom: 1px solid var(--gold-hair);
  text-align: center;
}

.engagement__stat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  min-height: 4.75rem;
}

.engagement__figure {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  color: var(--gold-bright);
  line-height: 1;
}

.engagement__label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-faint);
  max-width: 18ch;
  min-height: 2.8em;
  text-wrap: balance;
  line-height: 1.4;
}

.eras {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(1rem, 3vw, 2rem);
}

.eras__label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.eras__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.15rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(232, 197, 106, 0.55);
  margin: 0;
}

.eras__line span {
  position: relative;
}

.eras__line span.is-now {
  color: var(--gold-bright);
  font-weight: 600;
}

.eras__next {
  margin-top: 1.75rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eras__eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.eras__next h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  color: var(--cream);
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.eras__next p {
  font-family: var(--body);
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
  margin: 0;
}

@media (max-width: 640px) {
  .milestones,
  .demo,
  .engagement {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .audience__grid,
  .audience__grid--six {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .demo__item p {
    max-width: 28ch;
    min-height: 0;
  }
  .audience__stat,
  .engagement__stat {
    min-height: 0;
  }
  .audience__label,
  .engagement__label {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .audience__grid,
  .audience__grid--six { grid-template-columns: 1fr; }
}

/* ---------- Year Dial theater (one stage, six chapters) ---------- */

.timeline-stage--dial {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(68rem, calc(100% - 2.5rem));
  max-width: 68rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0.5rem 0 1.25rem;
  box-sizing: border-box;
}

@media (min-width: 1100px) {
  .timeline-stage--dial,
  .chronicle > .section__inner {
    /* Center in the viewport space left of the floating reserve chip */
    --reserve-col: 22rem;
    width: min(64rem, calc(100vw - var(--reserve-col) - 3rem));
    max-width: none;
    margin-left: max(1.5rem, calc((100vw - var(--reserve-col) - min(64rem, 100vw - var(--reserve-col) - 3rem)) / 2));
    margin-right: calc(var(--reserve-col) + 1rem);
  }
}

.dial {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.dial__year {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(3.5rem, 9vw, 5.5rem);
  pointer-events: none;
  overflow: visible;
}

.dial__year-prev,
.dial__year-now {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: var(--gold-bright);
  text-align: center;
  user-select: none;
}

.dial__year-prev {
  opacity: 0;
  transform: translate3d(0, 18%, 0) scale(0.9);
  filter: blur(6px);
  color: rgba(232, 197, 106, 0.4);
}

.dial.is-morphing .dial__year-prev {
  animation: dialYearOut 0.55s var(--ease) both;
}

.dial.is-morphing .dial__year-now {
  animation: dialYearIn 0.6s var(--ease) both;
}

@keyframes dialYearOut {
  from { opacity: 0.7; transform: none; filter: blur(0); }
  to { opacity: 0; transform: translate3d(0, -22%, 0) scale(1.08); filter: blur(8px); }
}

@keyframes dialYearIn {
  from { opacity: 0; transform: translate3d(0, 24%, 0) scale(0.88); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.decade-index {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 0.15rem 0 0.65rem;
  border-bottom: 1px solid rgba(232, 197, 106, 0.2);
}

.decade-index__filament {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(201, 162, 39, 0.12);
  overflow: hidden;
  pointer-events: none;
}

.decade-index__progress {
  height: 100%;
  width: calc(((var(--rail, 0) * 5) + 0.5) / 6 * 100%);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.2), var(--gold-bright));
  transition: width 0.45s var(--ease);
}

.decade-index__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(247, 240, 228, 0.34);
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.2rem;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: color 0.3s var(--ease);
}

.decade-index__btn:hover { color: var(--gold-bright); }

.decade-index__btn.is-active {
  color: var(--gold-bright);
}

.decade-index__btn.is-active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.dial__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.15rem;
}

.dial__nav {
  appearance: none;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(232, 197, 106, 0.35);
  background: rgba(42, 26, 40, 0.4);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.dial__nav:hover {
  border-color: var(--gold-bright);
  background: rgba(58, 36, 55, 0.65);
}

.dial__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.dial__meta {
  flex: 1;
  margin: 0;
  min-width: 0;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.dial__sep { margin: 0 0.2em; opacity: 0.5; }

.timeline {
  position: relative;
  min-height: clamp(28rem, 64vh, 38rem);
  outline: none;
  touch-action: pan-y;
}

.chapter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(32px, 0, 0);
  transition:
    opacity 0.42s var(--ease),
    transform 0.5s var(--ease),
    visibility 0s linear 0.42s;
}

.chapter.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  z-index: 2;
  transition:
    opacity 0.48s var(--ease),
    transform 0.5s var(--ease),
    visibility 0s linear 0s;
}

.chapter.is-exiting {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translate3d(-28px, 0, 0);
  z-index: 1;
}

.chapter__spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 62rem;
  height: 100%;
  margin: 0 auto;
}

.chapter__art {
  position: relative;
  margin: 0;
  overflow: hidden;
  height: min(48vh, 26rem);
  min-height: 14rem;
  background: rgba(10, 6, 10, 0.55);
  isolation: isolate;
}

.chapter__copy {
  position: relative;
  z-index: 2;
  max-width: 32rem;
  max-height: 100%;
  padding: 0.2rem 0;
  margin: 0 auto 0 0;
  overflow-wrap: break-word;
}

.chapter__art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 20, 32, 0.1), transparent 45%),
    linear-gradient(180deg, transparent 60%, rgba(34, 20, 32, 0.4));
  z-index: 1;
}

.chapter__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.94);
  transform: scale(1.06);
  transition: transform 1s var(--ease), filter 0.5s var(--ease);
}

.chapter.is-active .chapter__art img {
  filter: saturate(1.05) contrast(1.06) brightness(1);
  transform: scale(1);
}

.chapter__art--cover img {
  object-fit: contain;
  object-position: center top;
  background: #1a0f18;
  padding: 1rem;
}

.chapter__art--portrait img { object-position: center 18%; }

.chapter__art--badge {
  background:
    radial-gradient(circle at 50% 45%, rgba(232, 197, 106, 0.16), transparent 55%),
    rgba(10, 6, 10, 0.65);
}

.chapter__art--badge img {
  object-fit: contain;
  padding: 8%;
  filter: none;
  transform: none;
}

.chapter__art--badge::after {
  background: linear-gradient(180deg, transparent 70%, rgba(34, 20, 32, 0.3));
}

.chapter.is-active .chapter__art--badge img {
  transform: none;
  filter: none;
}

.chapter__art--site {
  background: #120a11;
}

.chapter__art--site img {
  object-fit: contain;
  object-position: center top;
  padding: 0.65rem;
  filter: none;
  transform: none;
  background: #120a11;
}

.chapter.is-active .chapter__art--site img {
  filter: none;
  transform: none;
}

.chapter__art--site::after {
  background: linear-gradient(180deg, transparent 75%, rgba(34, 20, 32, 0.35));
}

.chapter__art--infographic {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(232, 197, 106, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(58, 36, 55, 0.55), rgba(18, 10, 17, 0.72));
}

.chapter__art--infographic::after { display: none; }

.chapter__art--infographic .next50 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 1.1rem;
  color: var(--gold);
}

.chapter__kicker {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.55rem;
}

.chapter__copy > h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  text-wrap: balance;
}

.chapter__copy > p:not(.chapter__kicker) {
  color: var(--cream-dim);
  max-width: 46ch;
  margin: 0;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.chapter.is-active .chapter__kicker,
.chapter.is-active .chapter__copy > h3,
.chapter.is-active .chapter__copy > p:not(.chapter__kicker),
.chapter.is-active .chapter__stat {
  animation: dialCopyIn 0.55s var(--ease) both;
}

.chapter.is-active .chapter__copy > h3 { animation-delay: 0.05s; }
.chapter.is-active .chapter__copy > p:not(.chapter__kicker) { animation-delay: 0.1s; }
.chapter.is-active .chapter__stat { animation-delay: 0.15s; }

@keyframes dialCopyIn {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

.next50__sky { position: relative; margin-bottom: 0.75rem; }
.next50__orbit { display: block; width: 100%; height: auto; }
.next50__arc { stroke: var(--gold-bright); }
.next50__node--b { fill: var(--gold-bright); }

.chapter.is-active .next50__arc {
  animation: next50Dash 1.3s var(--ease) both;
}

.chapter.is-active .next50__node--b {
  animation: next50Pulse 2.2s ease-in-out infinite;
}

@keyframes next50Dash {
  from { stroke-dashoffset: 80; opacity: 0.2; }
  to { stroke-dashoffset: 0; opacity: 0.55; }
}

@keyframes next50Pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.next50__years {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-top: -0.3rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--cream-faint);
}

.next50__years span:first-child { text-align: left; }
.next50__years span:last-child { text-align: right; color: var(--gold-bright); }

.next50__now {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  line-height: 1;
}

.next50__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.next50__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  padding: 0.6rem 0.3rem 0.65rem;
  border: 1px solid var(--gold-hair);
  background: rgba(247, 240, 228, 0.035);
}

.next50__glyph {
  font-size: 0.9rem;
  color: var(--gold-bright);
  margin-bottom: 0.15rem;
}

.next50__pillar strong {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.next50__pillar span {
  font-family: var(--body);
  font-size: 0.68rem;
  font-style: italic;
  color: var(--cream-faint);
  line-height: 1.25;
  text-wrap: balance;
  min-height: 2.5em;
}

.next50__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  color: var(--cream-dim);
  margin: 0;
}

.chapter__stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.05rem;
  padding: 0.8rem 0 0;
  max-width: 46ch;
  border-top: 1px solid rgba(232, 197, 106, 0.18);
}

.stat__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold-bright);
  opacity: 1;
}

.stat__draw { stroke-dasharray: 80; stroke-dashoffset: 0; }

.stat__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.stat__text strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-bright);
  line-height: 1.15;
}

.stat__text span {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-faint);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .dial.is-morphing .dial__year-prev,
  .dial.is-morphing .dial__year-now,
  .chapter,
  .chapter.is-active,
  .chapter.is-exiting,
  .chapter.is-active .chapter__kicker,
  .chapter.is-active .chapter__copy > h3,
  .chapter.is-active .chapter__copy > p:not(.chapter__kicker),
  .chapter.is-active .chapter__stat,
  .chapter.is-active .next50__arc,
  .chapter.is-active .next50__node--b {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .dial__year-prev { display: none; }
}

@media (max-width: 820px) {
  .timeline-stage--dial {
    width: calc(100% - 2.3rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .dial__year {
    min-height: clamp(2.8rem, 14vw, 4rem);
  }

  .dial__year-prev,
  .dial__year-now {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .decade-index {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none;
  }

  .decade-index::-webkit-scrollbar { display: none; }

  .decade-index__btn {
    flex: 1 1 0;
    min-width: 0;
    scroll-snap-align: center;
  }

  .timeline {
    min-height: 0;
    height: auto;
  }

  .chapter {
    position: relative;
    inset: auto;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-height: 0;
  }

  .chapter.is-active {
    display: block;
    transform: none;
  }

  .chapter.is-exiting { display: none; }

  .chapter__spread {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: auto;
  }

  .chapter__art {
    height: clamp(12.5rem, 46vw, 17rem);
    order: 0;
  }

  .chapter__copy {
    order: 1;
    max-width: none;
  }

  .chapter__copy > h3 { font-size: 1.35rem; }
  .dial__meta { font-size: 0.58rem; letter-spacing: 0.1em; }
}

/* ---------- issue / cards ---------- */

.issue {
  background: linear-gradient(180deg, var(--ink-panel) 0%, var(--ink-raise) 100%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 46rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

.card {
  border: 1px solid var(--gold-hair);
  border-radius: 2px;
  padding: 2.2rem 1.9rem;
  background: linear-gradient(170deg, rgba(201, 162, 39, 0.1), rgba(42, 26, 40, 0.2) 50%);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover { border-color: var(--gold-faint); transform: translateY(-4px); }

.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--cream-dim);
  font-size: 0.98rem;
  text-wrap: pretty;
  flex: 1;
}

.details__grid dd { overflow-wrap: break-word; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- details ---------- */

.details {
  background: radial-gradient(90% 70% at 50% 100%, #3a2438 0%, var(--ink) 62%);
}

.details__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-hair);
  border: 1px solid var(--gold-hair);
  margin: 2.6rem 0 1rem;
}

.details__grid > div {
  background: var(--ink-raise);
  padding: 1.5rem 1.6rem;
  min-height: 6.5rem;
  display: flex;
  flex-direction: column;
}

.details__grid dt {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.details__grid dd {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.details__grid dd.tba { color: var(--cream-faint); font-style: italic; font-size: 1.05rem; }

.details__footnote {
  display: block;
  margin: 0 0 2.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--cream-faint);
  text-align: center;
  text-wrap: pretty;
}

.details__note {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--cream-faint);
  font-weight: 400;
}

@media (max-width: 560px) {
  .details__grid { grid-template-columns: 1fr; }
}

.details__closing {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.4;
  margin: 0;
  text-wrap: pretty;
}

.details__closing em { color: var(--gold-bright); }

.details__cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.details__cta-note {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--cream-faint);
  max-width: 36ch;
  line-height: 1.5;
}

/* ---------- persistent reserve dock ---------- */

.reserve {
  position: fixed;
  z-index: 45;
  right: max(1.15rem, env(safe-area-inset-right));
  top: 5.25rem;
  width: min(26rem, calc(100vw - 2.3rem));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.reserve__backdrop {
  display: none;
}

.reserve__launch {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  box-sizing: border-box;
  min-height: 5.15rem;
  padding: 0.95rem 1.35rem 0.95rem 0.95rem;
  border: 1px solid rgba(232, 197, 106, 0.55);
  background:
    linear-gradient(145deg, rgba(232, 197, 106, 0.28) 0%, rgba(201, 162, 39, 0.08) 38%, transparent 68%),
    linear-gradient(180deg, rgba(58, 36, 55, 0.92), rgba(22, 12, 20, 0.9));
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  color: var(--cream);
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  box-shadow:
    0 0 0 1px rgba(232, 197, 106, 0.12),
    0 14px 42px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(247, 240, 228, 0.1);
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.reserve__launch:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 197, 106, 0.22),
    0 18px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(247, 240, 228, 0.14);
}

.reserve__launch-mark {
  flex-shrink: 0;
  display: block;
  width: auto;
  height: 2.85rem;
  filter: drop-shadow(0 4px 12px rgba(201, 162, 39, 0.35));
}

.reserve__launch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.reserve__launch-label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}

.reserve__launch-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 240, 228, 0.72);
  white-space: nowrap;
}

.reserve__panel {
  pointer-events: auto;
  display: none;
  width: 100%;
  max-height: calc(100svh - 7.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem 1.55rem 1.6rem;
  border: 1px solid rgba(232, 197, 106, 0.38);
  background:
    linear-gradient(165deg, rgba(232, 197, 106, 0.14), transparent 42%),
    rgba(18, 10, 17, 0.92);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow:
    0 0 0 1px rgba(232, 197, 106, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.48);
  transform-origin: top right;
  animation: reserveIn 0.42s var(--ease) both;
}

.reserve.is-open .reserve__panel {
  display: block;
}

.reserve.is-open .reserve__launch {
  display: none;
}

@keyframes reserveIn {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.reserve__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.reserve__eyebrow {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.reserve__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.12;
  color: var(--cream);
}

.reserve__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream-faint);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.05rem 0.3rem;
  transition: color 0.25s;
}

.reserve__close:hover { color: var(--gold-bright); }

.reserve__lede {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--cream-dim);
  margin-bottom: 1.05rem;
  line-height: 1.45;
}

.form--reserve {
  border-top: 1px solid var(--gold-hair);
  margin: 0;
}

.form.form--reserve {
  padding-top: 1.1rem;
}

.form__row--reserve {
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form--reserve .form__field { margin-bottom: 0.85rem; }

.form--reserve .form__field label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.38rem;
}

.form--reserve .form__field input,
.form--reserve .form__field textarea {
  padding: 0.72rem 0.85rem;
  background: rgba(247, 240, 228, 0.045);
  border-color: rgba(247, 240, 228, 0.14);
}

.form--reserve .btn {
  width: 100%;
  text-align: center;
  padding: 0.95rem 1.2rem;
  margin-top: 0.2rem;
}

.form--reserve .form__status {
  margin-top: 0.7rem;
  font-size: 0.74rem;
}

@media (max-width: 1099px) {
  html {
    scroll-padding-bottom: max(5.5rem, calc(env(safe-area-inset-bottom) + 4.25rem));
  }

  .reserve {
    inset: auto 0 0 0;
    width: 100%;
    top: auto;
    right: 0;
    padding: 0;
    align-items: stretch;
    gap: 0;
  }

  .reserve__launch {
    width: 100%;
    min-height: 3.75rem;
    padding: 0.85rem 1.1rem max(0.85rem, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(232, 197, 106, 0.45);
    border-radius: 0;
    justify-content: center;
    gap: 0.85rem;
    background:
      linear-gradient(180deg, rgba(232, 197, 106, 0.16), transparent 55%),
      linear-gradient(180deg, rgba(58, 36, 55, 0.98), rgba(28, 16, 26, 0.99));
    box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.4);
    transform: none;
  }

  .reserve__launch:hover { transform: none; }

  .reserve__launch-mark {
    height: 2.35rem;
    filter: drop-shadow(0 3px 10px rgba(201, 162, 39, 0.3));
  }

  .reserve__launch-copy {
    align-items: flex-start;
    text-align: left;
  }

  .reserve__launch-label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .reserve__launch-sub {
    font-size: 0.62rem;
  }

  .reserve__panel {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-height: min(88svh, 40rem);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
    z-index: 60;
    animation: reserveSheetIn 0.4s var(--ease) both;
  }

  @keyframes reserveSheetIn {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  .reserve__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(8, 4, 8, 0.58);
    cursor: pointer;
    pointer-events: auto;
  }

  .reserve.is-open .reserve__backdrop { display: block; }

  body.reserve-open {
    overflow: hidden;
  }

  .footer {
    padding-bottom: max(5.5rem, calc(env(safe-area-inset-bottom) + 4.25rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reserve__panel,
  .reserve__launch {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- form base ---------- */

.form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form {
  position: relative;
  border-top: 1px solid var(--gold-hair);
  padding-top: 2.6rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field { margin-bottom: 1.25rem; }

.form__field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.55rem;
}

.form__field .optional { color: var(--cream-faint); text-transform: none; letter-spacing: 0.05em; }

.form__field input,
.form__field textarea {
  width: 100%;
  background: rgba(247, 240, 228, 0.06);
  border: 1px solid rgba(247, 240, 228, 0.2);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px; /* prevents iOS input zoom */
  transition: border-color 0.3s, background 0.3s;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(247, 240, 228, 0.09);
}

.form__status {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--gold-bright);
  min-height: 1.4em;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink-deep);
  text-align: center;
  padding: 0 1.5rem 3.5rem;
}

.footer .hills {
  margin: 0 -1.5rem 2rem;
  width: calc(100% + 3rem);
}

.footer__wordmark { margin-bottom: 0.7rem; }

.footer__wordmark img {
  width: min(60vw, 220px);
  height: auto;
}

.footer__line {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.footer__company {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--cream-faint);
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Soft section handoff: full-width hills drift into view */
.section > .hills,
.footer > .hills {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.section.is-inview > .hills,
.footer.is-inview > .hills,
.section > .hills.is-visible,
.footer > .hills.is-visible {
  opacity: 1;
  transform: none;
}

.section > .hills.hills--soft.is-visible { opacity: 0.62; }
.section > .hills.hills--compact.is-visible,
.footer > .hills.hills--compact.is-visible { opacity: 0.55; }

/* ---------- mobile polish ---------- */

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .section {
    padding: clamp(3.5rem, 11vw, 5rem) max(1.15rem, env(safe-area-inset-left)) clamp(3.5rem, 11vw, 5rem) max(1.15rem, env(safe-area-inset-right));
    scroll-margin-top: 4.5rem;
  }

  .section__inner,
  .section__inner--narrow { max-width: 100%; }

  .eyebrow,
  .label { letter-spacing: 0.2em; font-size: 0.66rem; }

  .display {
    font-size: clamp(1.7rem, 7.2vw, 2.25rem);
    margin-bottom: 1.25rem;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding:
      max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem))
      max(1.15rem, env(safe-area-inset-right))
      max(4.75rem, calc(env(safe-area-inset-bottom) + 3.5rem))
      max(1.15rem, env(safe-area-inset-left));
    justify-content: center;
  }

  .hero__inner { width: 100%; }
  .hero__wordmark { width: min(82vw, 320px); }
  .hero__mark {
    width: min(82vw, 320px);
    margin: 1rem 0 1.5rem;
  }
  .hero__headline {
    max-width: 18ch;
    font-size: clamp(1.6rem, 6.8vw, 2.1rem);
  }
  .hero__subhead {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    padding: 0 0.15rem;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: none;
    text-align: center;
    min-height: 3rem;
    padding: 0.95rem 1.5rem;
  }
  .hero__scrollcue {
    bottom: max(4.75rem, calc(env(safe-area-inset-bottom) + 3.85rem));
    letter-spacing: 0.16em;
    font-size: 0.62rem;
  }

  .milestones {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-bottom: 1.75rem;
    padding: 1.1rem 0;
  }
  .milestone__figure { font-size: 1.75rem; }
  .milestone__label {
    letter-spacing: 0.1em;
    max-width: none;
    font-size: 0.64rem;
  }

  .story__intro {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    padding: 0 0.15rem;
  }

  .cards {
    padding: 0;
    gap: 0.85rem;
    margin-top: 2rem;
  }
  .card { padding: 1.35rem 1.15rem; }
  .card:hover { transform: none; }

  .details__grid > div { padding: 1.1rem 1rem; }
  .details__grid dd { font-size: 1.02rem; }
  .details__closing {
    margin-bottom: 0;
    font-size: 1.15rem;
  }

  .form .btn {
    width: 100%;
    text-align: center;
    min-height: 3rem;
  }

  .footer {
    padding:
      0
      max(1.15rem, env(safe-area-inset-right))
      max(5.5rem, calc(env(safe-area-inset-bottom) + 4.25rem))
      max(1.15rem, env(safe-area-inset-left));
  }
  .footer__wordmark img { width: min(72vw, 190px); }
  .footer__line { letter-spacing: 0.18em; font-size: 0.64rem; }

  .hills { height: 64px; }
  .hills--compact { height: 48px; }
  .hills--flourish { height: 34px; }
}

@media (max-width: 520px) {
  .nobr { white-space: normal; }
  .stat__text strong { font-size: 1.15rem; }
  .details__grid { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .card:hover { transform: none; }
  .btn--gold:hover { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scrollcue svg { animation: none; }
  .hero__mark .tile { transition: none; }
  .hills::before,
  .hills--flourish::before {
    animation: none !important;
    transform: none !important;
    left: -40%;
    width: 180%;
  }

  .hills--flourish::before {
    left: -55%;
    width: 210%;
  }
  .section > .hills,
  .footer > .hills {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
