/* ==========================================================================
   Biarritz Golf — microsite stylesheet
   Art direction: editorial, restrained, golf-architecture sensibility.
   Palette: warm cream, deep ink-green, navy ink, sand, and a small flag-red.
   Typography: Cormorant Garamond (display, editorial serif) + Switzer (body sans).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --bg:           #f1ece0; /* warm cream */
  --bg-alt:       #ece6d6; /* paper */
  --surface:      #f6f1e3;
  --ink:          #11201c; /* near-black green */
  --ink-2:        #1a3128;
  --green:        #2f5e3a; /* turf */
  --green-deep:   #163a26;
  --navy:         #1c2a3a;
  --sand:         #c8b88a;
  --sand-light:   #dccba0;
  --rule:         #cdc4ac;
  --rule-soft:    #ddd5be;
  --muted:        #5b594f;
  --muted-2:      #8a8472;
  --accent:       #a83f2f; /* flag-red */
  --accent-deep:  #7e2c1f;
  --on-dark:      #ece6d6;
  --on-dark-mute: #a8a08a;

  /* Type */
  --ff-display: "Cormorant Garamond", "Iowan Old Style", "Georgia", serif;
  --ff-body: "Switzer", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Sizes (fluid) */
  --text-xs: clamp(11px, 0.72vw + 9px, 12.5px);
  --text-sm: clamp(13px, 0.4vw + 12px, 14.5px);
  --text-base: clamp(15.5px, 0.3vw + 14.5px, 17px);
  --text-lg: clamp(17px, 0.5vw + 15px, 20px);
  --text-xl: clamp(22px, 1.6vw + 16px, 30px);
  --text-2xl: clamp(30px, 3.5vw + 18px, 56px);
  --text-hero: clamp(40px, 6.5vw + 18px, 96px);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container: 1240px;
  --container-tight: 1040px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "ss02", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img, svg { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--ink); color: var(--bg); }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 4px;
  z-index: 100; font-size: var(--text-sm);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--green-deep);
}
.display.on-dark { color: var(--on-dark); }
.display.on-dark em { color: var(--sand); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 var(--space-4);
}
.eyebrow.on-dark { color: var(--sand); }

.on-dark { color: var(--on-dark); }
.on-dark-muted { color: var(--on-dark-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  font-weight: 500;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-primary.on-dark {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.btn-primary.on-dark:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-ghost, .btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light {
  color: var(--on-dark);
  border-color: rgba(236, 230, 214, 0.7);
}
.btn-ghost-light:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 236, 224, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(241, 236, 224, 0.94);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6);
  padding: 16px clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.brand-mark { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}
.nav {
  display: flex; align-items: center; gap: 28px;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}
.nav a {
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 16px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; gap: 5px;
  flex-direction: column;
  width: 36px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--ink); width: 22px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 8px 24px 24px;
  gap: 4px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  font-family: var(--ff-display);
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 920px);
  display: flex; align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.hero-photo-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15, 32, 28, 0.88) 0%, rgba(15, 32, 28, 0.55) 35%, rgba(15, 32, 28, 0.20) 65%, rgba(15, 32, 28, 0.45) 100%),
    radial-gradient(120% 60% at 50% 100%, rgba(15, 32, 28, 0.65), transparent);
}
.hero-inner {
  /* Use logical block padding so .container's inline padding is preserved */
  padding-block: var(--space-32) var(--space-16);
  max-width: 1080px;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  margin: 0 0 var(--space-6);
  max-width: 17ch;
}
.hero-title span,
.hero-title em {
  display: block;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--sand);
}
.hero-lede {
  font-size: clamp(16px, 1vw + 12px, 19px);
  line-height: 1.5;
  max-width: 56ch;
  color: rgba(236, 230, 214, 0.92);
  margin: 0 0 var(--space-8);
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: var(--space-10);
}

/* Hero spec strip — yardage book row */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(236, 230, 214, 0.35);
  padding-top: 22px;
  margin: 0;
  max-width: 920px;
}
.spec-strip > div { display: flex; flex-direction: column; gap: 4px; }
.spec-strip dt {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}
.spec-strip dd {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.5vw + 10px, 28px);
  font-style: italic;
  font-weight: 500;
  color: var(--on-dark);
  line-height: 1.1;
}

@media (max-width: 720px) {
  .spec-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
}

/* ---------- Topo / anatomy ---------- */
.topo {
  background: var(--bg-alt);
  padding: var(--space-20) 0 var(--space-16);
  border-bottom: 1px solid var(--rule);
}
.topo .display { max-width: 18ch; margin-top: 4px; }
.topo-figure {
  margin: var(--space-12) 0 var(--space-8);
  background: var(--sand-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.topo-svg {
  display: block;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  height: auto;
}
.topo-caption p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(15px, 0.8vw + 12px, 19px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 64ch;
  margin: 0;
}

/* ---------- Story ---------- */
.story {
  padding: var(--space-24) 0 var(--space-20);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas:
    "eyebrow lead"
    ".       body"
    "card    body";
  gap: var(--space-12) var(--space-16);
  align-items: start;
}
.story-eyebrow { grid-area: eyebrow; }
.story-lead { grid-area: lead; }
.story-body { grid-area: body; max-width: 60ch; }
.story-body p {
  font-size: var(--text-lg);
  line-height: 1.6;
}
.story-body p + p { margin-top: 1em; }
.story-sign {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--muted);
  font-size: var(--text-base);
  margin-top: var(--space-6) !important;
}
.story-card {
  grid-area: card;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 28px 28px 24px;
  position: sticky; top: 100px;
}
.story-card h3 {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--green-deep);
}
.story-card ol {
  list-style: none;
  counter-reset: principle;
  display: flex; flex-direction: column; gap: 12px;
  font-size: var(--text-sm);
  line-height: 1.55;
}
.story-card li {
  counter-increment: principle;
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}
.story-card li::before {
  content: counter(principle, upper-roman);
  position: absolute; left: 0; top: 1px;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.05em;
}

@media (max-width: 880px) {
  .story-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "lead"
      "body"
      "card";
    gap: var(--space-8);
  }
  .story-card { position: static; }
}

/* ---------- Lineage (dark section) ---------- */
.lineage {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}
.lineage::before {
  /* subtle topographic line motif */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 30% at 50% 50%, rgba(200, 184, 138, 0.08), transparent 70%);
  pointer-events: none;
}
.lineage .section-head {
  max-width: 820px;
  margin-bottom: var(--space-16);
}
.lineage .display { color: var(--on-dark); }
.section-lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
  margin-top: var(--space-4);
  max-width: 64ch;
}
.section-lede.on-dark-muted { color: var(--on-dark-mute); }

.lineage-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--space-12);
  border-top: 1px solid rgba(236, 230, 214, 0.22);
}
@media (max-width: 720px) {
  .lineage-list { grid-template-columns: 1fr; column-gap: 0; }
}
.lineage-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 18px 4px 16px;
  border-bottom: 1px solid rgba(236, 230, 214, 0.14);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.lineage-list li:hover { background: rgba(200, 184, 138, 0.06); padding-left: 12px; padding-right: 12px; }
.lineage-list .num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 28px;
  color: var(--sand);
  line-height: 1;
}
.lineage-list .name {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--on-dark);
  letter-spacing: -0.005em;
}
.lineage-list .loc {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  text-align: right;
}
.lineage-foot {
  margin-top: var(--space-10);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-base);
}

@media (max-width: 640px) {
  .lineage-list li {
    grid-template-columns: 40px 1fr;
    grid-template-areas: "num name" ". loc";
    gap: 4px 14px;
  }
  .lineage-list .num { grid-area: num; font-size: 22px; }
  .lineage-list .name { grid-area: name; font-size: 18px; }
  .lineage-list .loc { grid-area: loc; text-align: left; }
}

/* ---------- Full-bleed editorial figure ---------- */
.full-bleed {
  margin: 0;
  position: relative;
}
.full-bleed img {
  width: 100%;
  height: clamp(360px, 60vh, 720px);
  object-fit: cover;
}
.full-bleed figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px clamp(20px, 4vw, 48px);
  background: linear-gradient(to top, rgba(15,32,28,0.78), transparent);
  color: var(--on-dark);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(14px, 0.6vw + 12px, 17px);
  letter-spacing: 0.005em;
  max-width: 56ch;
}

/* ---------- Film / video ---------- */
.film {
  background: var(--bg);
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--rule);
}
.film-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: center;
}
.film-copy .display { max-width: 14ch; margin-top: 4px; }
.film-lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: var(--space-6);
  max-width: 48ch;
}
.film-meta {
  list-style: none;
  margin-top: var(--space-8);
  border-top: 1px solid var(--rule);
}
.film-meta li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: var(--text-sm);
}
.film-meta span {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.film-frame { margin: 0; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -30px rgba(15, 32, 28, 0.45);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.film-frame figcaption {
  margin-top: 12px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--muted);
}

@media (max-width: 920px) {
  .film-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .film-frame { order: -1; }
}

/* ---------- Collection ---------- */
.collection {
  padding: var(--space-24) 0 var(--space-20);
  background: var(--bg-alt);
}
.section-head {
  max-width: 820px;
  margin-bottom: var(--space-16);
}
.section-head .display { margin-top: 4px; max-width: 16ch; }
.section-head .section-lede { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-8);
}
.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(15, 32, 28, 0.35);
}
.card-art {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  overflow: hidden;
}
.card-art svg { width: 100%; height: 100%; }
.card-body {
  padding: 22px 22px 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.card-meta {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0;
}
.card h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  letter-spacing: -0.005em;
  margin: 2px 0 4px;
  color: var(--ink);
}
.card p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.card-price {
  margin-top: 10px !important;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--muted);
  font-size: var(--text-sm) !important;
}

.collection-note {
  margin-top: var(--space-12);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--muted);
  text-align: center;
}
.collection-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.collection-note a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Club / Society ---------- */
.club { padding: var(--space-24) 0; background: var(--bg); }
.club-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.club-art { margin: 0; position: relative; }
.club-art img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}
.club-art figcaption {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(15, 32, 28, 0.78);
  color: var(--on-dark);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  padding: 6px 12px;
}
.club-copy h2 { margin-top: 4px; max-width: 16ch; }
.club-copy p {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: var(--space-4);
  max-width: 52ch;
}

.club-list {
  list-style: none;
  margin-top: var(--space-8);
  border-top: 1px solid var(--rule);
}
.club-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.club-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.club-list h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--ink);
}
.club-list p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 880px) {
  .club-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .club-art img { aspect-ratio: 4 / 3; }
}

/* ---------- Waitlist ---------- */
.waitlist {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(60% 80% at 80% 20%, rgba(200, 184, 138, 0.12), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(168, 63, 47, 0.10), transparent 60%);
  pointer-events: none;
}
.waitlist-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.waitlist .display { margin: 0 auto var(--space-6); max-width: 18ch; }
.waitlist-lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--on-dark-mute);
  margin-bottom: var(--space-10);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.waitlist-form {
  display: flex; flex-direction: column;
  gap: var(--space-4);
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}
.field .opt {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--on-dark-mute);
  margin-left: 6px;
  font-size: 11px;
}
.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(236, 230, 214, 0.4);
  padding: 12px 0;
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--on-dark);
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.waitlist-form input::placeholder { color: rgba(236, 230, 214, 0.35); font-style: italic; }
.waitlist-form input:focus { border-bottom-color: var(--sand); }

.field-radio { gap: 12px; }
.radio-row {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  margin-top: 4px;
}
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--on-dark);
  text-transform: none;
  padding: 8px 14px;
  border: 1px solid rgba(236, 230, 214, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.radio-row label:hover { border-color: var(--sand); }
.radio-row input { accent-color: var(--sand); }
.radio-row label:has(input:checked) {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}

.waitlist-form .btn { margin-top: 18px; align-self: flex-start; }
.form-fineprint {
  font-size: 12px;
  color: var(--on-dark-mute);
  margin: 12px 0 0;
}
.form-success {
  margin-top: var(--space-8);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--sand);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: var(--space-16) 0 var(--space-8);
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--rule);
}
.site-footer .brand-mark { color: var(--ink); }
.footer-tag {
  margin-top: 14px;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--muted);
  max-width: 32ch;
  font-size: var(--text-base);
}
.site-footer h4 {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  font-size: var(--text-sm);
}
.site-footer a:hover { color: var(--accent); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-6);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap; gap: 8px;
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero responsive tweaks ---------- */
@media (max-width: 720px) {
  .hero { min-height: 88vh; }
  .hero-inner { padding-block: var(--space-24) var(--space-12); }
  .hero-title { font-size: clamp(38px, 11vw, 64px); }
  .hero-ctas .btn { padding: 12px 18px; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
