/* ===== site.css ===== */
/* ==========================================================================
   Worth the Drive — Direction B design system
   One shared stylesheet. Replaces the per-page duplication of the old site.
   Token values are the spec (HANDOFF §4); the width system is deliberately
   guidelines rather than brittle fixed caps.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
  /* colour */
  --navy:         #1A2744;  /* primary dark band / tier headers */
  --navy-deep:    #0E1A2E;  /* immersive bands (strip, tech, closing top) */
  --navy-darkest: #0A1424;  /* page base behind hero/footer gradient */
  --navy-footer:  #081120;  /* footer + announcement bar */
  --navy-header:  #12213C;  /* site header */
  --green:        #5DA83A;  /* primary buttons, checks, accents on light */
  --green-bright: #7BC65B;  /* accent text/eyebrows/links on dark */
  --green-deep:   #4E8F30;  /* eyebrows/links on light, button hover */
  --gold:         #F5C518;  /* FOUNDERS ONLY (+ announcement mention) */
  --paper:        #FAF9F5;  /* light band */
  --paper-alt:    #F1F0E8;  /* alternate light band (On Tour) */
  --ink:          #17223C;  /* headings on light */
  --body-light:   #4A5570;  /* body on light */
  --body-light-2: #5A6580;  /* secondary body on light */
  --body-dark:    #C9D3E4;  /* body on dark */
  --body-dark-2:  #C2CCDD;  /* secondary body on dark */
  --muted-dark:   #8FA0B8;  /* muted on dark */
  --muted-light:  #6B7690;  /* muted on light */
  --fine-light:   #8A93A8;  /* fine print on light */
  --line-light:   #E4E2D8;  /* borders on light */
  --line-dark:    rgba(255, 255, 255, 0.12);
  --divider-dark: rgba(255, 255, 255, 0.10);
  --card-dark:    #1F2C4C;  /* dark card surface on navy bands */

  /* width system — guidelines, not brittle */
  --container:      min(1300px, 100% - 48px);  /* 1280–1320 target */
  --container-wide: min(1660px, 100%);         /* hero / major media only */
  --measure:        700px;                     /* max text measure 640–720 */

  /* type — Oswald display, Open Sans body */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --h1:      clamp(2.875rem, 1.55rem + 5.5vw, 6.375rem);    /* 46 → 102 */
  --h2:      clamp(1.75rem, 1.28rem + 2vw, 3.375rem);       /* 28 → 54 */
  --h3:      clamp(1.5rem, 1.2rem + 1.3vw, 2.75rem);        /* 24 → 44 */
  --h4:      clamp(1.05rem, 1rem + 0.35vw, 1.3rem);         /* 17 → 21 */
  --body:    clamp(0.9375rem, 0.91rem + 0.15vw, 1.03rem);   /* 15 → 16.5 */
  --eyebrow: clamp(0.6875rem, 0.66rem + 0.15vw, 0.8125rem); /* 11 → 13 */

  /* rhythm */
  --section-pad: clamp(50px, 4.2vw + 24px, 120px);
  --radius:      10px;  /* cards */
  --radius-btn:  6px;
  --radius-photo:12px;
  --gap:         24px;

  /* base-8 spacing scale */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --header-h: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1023px) {
  :root { --gap: 16px; --header-h: 64px; }
}

/* --- 2. Reset ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  /* fixed header must not cover anchor targets — the old site's bug */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--navy-darkest);
  /* no overflow-x:hidden — overflow is prevented, not masked */
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

@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;
  }
}

/* --- 3. Layout primitives ----------------------------------------------- */

.band { padding-block: var(--section-pad); position: relative; }
.container { width: var(--container); margin-inline: auto; }
.container-wide { width: var(--container-wide); margin-inline: auto; }
.measure { max-width: var(--measure); }

.band-navy    { background: var(--navy);        color: var(--body-dark); }
.band-deep    { background: var(--navy-deep);   color: var(--body-dark); }
.band-footer  { background: var(--navy-footer); color: var(--body-dark); }
.band-paper   { background: var(--paper);       color: var(--body-light); }
.band-paper-alt { background: var(--paper-alt); color: var(--body-light); }

/* Auto-fit grids: columns reflow by available room, never by fixed count.
   This is what kills the old site's 820px three-column squeeze. */
.grid { display: grid; gap: var(--gap); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(283px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.split  { display: grid; gap: clamp(32px, 4vw, 72px); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }

/* --- 4. Typography ------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.h1 { font-size: var(--h1); font-weight: 700; line-height: 0.96; letter-spacing: 0.005em; }
.h2 { font-size: var(--h2); font-weight: 700; line-height: 1.04; }
.h3 { font-size: var(--h3); font-weight: 600; line-height: 1.08; }
.h4 { font-size: var(--h4); font-weight: 600; line-height: 1.25; letter-spacing: 0.02em; }

/* the two-tone headline device — brand equity, one accent word max */
.accent      { color: var(--green); }
.accent-dark { color: var(--green-bright); }
.accent-gold { color: var(--gold); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--s2);
  color: var(--green-deep);
}
.on-dark .eyebrow, .band-navy .eyebrow, .band-deep .eyebrow, .band-footer .eyebrow {
  color: var(--green-bright);
}
.eyebrow-gold { color: var(--gold) !important; }

.lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.75; max-width: var(--measure); }
p { max-width: var(--measure); }
.fine { font-size: 0.8125rem; line-height: 1.6; color: var(--fine-light); }
.on-dark .fine, .band-navy .fine, .band-deep .fine, .band-footer .fine { color: var(--muted-dark); }

.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4,
.band-deep h1, .band-deep h2, .band-deep h3, .band-deep h4,
.band-footer h1, .band-footer h2, .band-footer h3, .band-footer h4,
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

.band-paper h1, .band-paper h2, .band-paper h3, .band-paper h4,
.band-paper-alt h1, .band-paper-alt h2, .band-paper-alt h3, .band-paper-alt h4 { color: var(--ink); }

/* --- 5. Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  min-height: 52px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn-sm { min-height: 44px; padding: 11px 20px; font-size: 0.8125rem; }

.btn-primary { background: var(--green); color: #fff; }
.btn-ghost   { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(23, 34, 60, 0.35); }
/* gold fill is the founders CTA only — HANDOFF rule 4 */
.btn-gold    { background: var(--gold); color: var(--navy); }

@media (hover: hover) {
  .btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
  .btn-ghost:hover   { background: rgba(255, 255, 255, 0.10); border-color: #fff; transform: translateY(-2px); }
  .btn-ghost-dark:hover { background: rgba(23, 34, 60, 0.06); border-color: var(--ink); transform: translateY(-2px); }
  .btn-gold:hover    { background: #ffd433; transform: translateY(-2px); }
}

/* tertiary — arrow text link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-deep);
  min-height: 44px;
}
.on-dark .link-arrow, .band-navy .link-arrow, .band-deep .link-arrow, .band-footer .link-arrow {
  color: var(--green-bright);
}
.link-arrow svg { transition: transform 0.18s var(--ease); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- 6. Cards ----------------------------------------------------------- */

.card {
  border-radius: var(--radius);
  padding: clamp(22px, 2vw, 32px);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.card-dark  { background: var(--card-dark); border: 1px solid var(--line-dark); color: var(--body-dark); }
.card-light { background: #fff; border: 1px solid var(--line-light); color: var(--body-light); }
.card-photo { border-radius: var(--radius-photo); overflow: hidden; border: 1px solid var(--line-dark); }

@media (hover: hover) {
  .card-dark:hover  { border-color: rgba(123, 198, 91, 0.55); transform: translateY(-2px); }
  .card-light:hover { border-color: var(--green); transform: translateY(-2px); }
}

/* --- 7. Icons ----------------------------------------------------------- */
/* One stroke set, currentColor, 20–26px. Replaces every emoji site-wide. */

.icon {
  width: 24px; height: 24px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon-sm { width: 20px; height: 20px; }
.icon-lg { width: 26px; height: 26px; }
.icon-green { color: var(--green); }
.on-dark .icon-green, .band-navy .icon-green, .band-deep .icon-green { color: var(--green-bright); }
.icon-gold { color: var(--gold); }

/* check lists */
.checks { list-style: none; padding: 0; display: grid; gap: 14px; max-width: var(--measure); }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; line-height: 1.6; }
.checks svg { margin-top: 3px; }

/* --- 8. Image slots ----------------------------------------------------- */
/* Every image is a named slot: fixed container, object-fit cover, defined
   object-position. Swapping = replacing the file at the same path. */

.slot { position: relative; overflow: hidden; background: var(--navy-deep); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot-4x3  { aspect-ratio: 4 / 3; }
.slot-3x2  { aspect-ratio: 3 / 2; }
.slot-16x9 { aspect-ratio: 16 / 9; }

/* empty-state for a slot awaiting a real asset — never shows customer-facing
   meta labels, just a quiet branded surface */
.slot-empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(93, 168, 58, 0.07), transparent 60%),
    var(--navy-deep);
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
}
.slot-empty .icon { width: 42px; height: 42px; stroke-width: 1.2; opacity: 0.5; }

/* --- 9. Motion ---------------------------------------------------------- */
/* One entrance pattern only: fade + 12px rise, once, staggered ≤3. */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }

/* no-JS and reduced-motion must never hide content */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- 10. Utilities ------------------------------------------------------ */

.center { text-align: center; }
.center p, .center .measure { margin-inline: auto; }
.stack   { display: grid; gap: var(--s3); justify-items: start; }
.center .stack { justify-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 300;
  background: var(--green); color: #fff; padding: 12px 20px;
  border-radius: var(--radius-btn); text-decoration: none;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 8px; }


/* ===== components.css ===== */
/* ==========================================================================
   Worth the Drive — components
   Concatenated onto site.css at build time so exactly one stylesheet ships.
   ========================================================================== */

/* --- Announcement bar --------------------------------------------------- */

.announce {
  background: var(--navy-footer);
  color: var(--body-dark-2);
  border-bottom: 1px solid var(--divider-dark);
  font-family: var(--font-display);
  font-size: clamp(0.625rem, 0.6rem + 0.12vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
  /* static — never a marquee */
}
.announce .sep { opacity: 0.35; margin-inline: 10px; }
.announce b { color: var(--gold); font-weight: 600; }
.announce .on-mobile { display: none; }
@media (max-width: 767px) {
  .announce .on-desktop { display: none; }
  .announce .on-mobile { display: inline; }
}

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-header);
  border-bottom: 1px solid var(--divider-dark);
}
.header-inner {
  width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
}
.brand-link { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand-link img { height: 44px; width: auto; }

.site-nav { display: none; margin-inline-start: auto; }
.site-nav ul { display: flex; gap: clamp(18px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--body-dark-2);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.18s var(--ease);
}
@media (hover: hover) { .site-nav a:hover { color: #fff; } }
.site-nav a[aria-current="page"] { color: var(--green-bright); }

.header-phone {
  display: none;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--body-dark-2);
  align-items: center;
  gap: 7px;
  min-height: 44px;
}
@media (hover: hover) { .header-phone:hover { color: #fff; } }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.site-nav + .header-actions { margin-inline-start: 0; }

/* Header CTA labels shorten on narrow screens. Both buttons stay in the bar at
   every width — booking is never buried in the menu — but the full labels wrap
   to three lines at 375px, so below 768 they fall back to the short forms
   already defined in site.json. nowrap guarantees a single line either way. */
.header-actions .btn { white-space: nowrap; }
.header-actions .lbl-full  { display: none; }
.header-actions .lbl-short { display: inline; }
@media (min-width: 768px) {
  .header-actions .lbl-full  { display: inline; }
  .header-actions .lbl-short { display: none; }
}

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-btn);
  color: #fff;
  cursor: pointer;
}
.hamburger .icon-close { display: none; }
.hamburger[aria-expanded="true"] .icon-open { display: none; }
.hamburger[aria-expanded="true"] .icon-close { display: block; }

/* Booking is never buried in the menu — both CTAs stay in the bar below 1024.
   The matrix collapses the nav AT 1024, so the desktop bar starts at 1025. */
@media (min-width: 1025px) {
  .site-nav { display: block; }
  .header-phone { display: inline-flex; }
  .hamburger { display: none; }
}

/* Full-screen navy menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy-darkest);
  display: none;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.mobile-menu nav { margin-top: clamp(24px, 6vh, 56px); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-dark);
}
.mobile-menu-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu-foot .btn { width: 100%; }
body[data-menu-open="true"] { overflow: hidden; }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 860px);
  display: grid;
  align-items: center;
  background: var(--navy-darkest);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* left scrim — the text column sits on it, the photo does the stretching */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 20, 36, 0.94) 0%, rgba(10, 20, 36, 0.86) 34%,
                    rgba(10, 20, 36, 0.55) 60%, rgba(10, 20, 36, 0.30) 100%);
}
.hero-inner {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(56px, 8vh, 104px);
}
.hero-copy { max-width: 720px; }
.hero .h1 { color: #fff; margin-bottom: var(--s3); }
.hero-sub { color: var(--body-dark); font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem); line-height: 1.7; margin-bottom: var(--s4); }
.hero-fine { margin-top: var(--s3); }

@media (max-width: 767px) {
  /* mobile: bottom-anchored, stacked full-width CTAs */
  .hero { align-items: end; min-height: 88svh; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(10,20,36,0.55) 0%, rgba(10,20,36,0.30) 30%, rgba(10,20,36,0.95) 78%);
  }
  .hero-media img { object-position: center 35%; }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero .actions .btn { width: 100%; }
}

/* --- Positioning strip -------------------------------------------------- */

.strip { padding-block: clamp(32px, 3.2vw, 56px); }
.strip-grid { display: grid; gap: var(--gap) clamp(20px, 3vw, 48px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1025px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.strip-item h3 {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 4px;
}
.strip-item p { font-size: 0.8125rem; line-height: 1.55; color: var(--muted-dark); margin: 0; }

/* --- Split with edge-bleeding photo ------------------------------------- */

.feature-split { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 1025px) {
  .feature-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* Photo panel bleeding to the viewport edge.
   Done by widening the *container* rather than negative-margining the child:
   `100%` here is the band's width, which excludes the scrollbar, so this can
   never overflow. (A calc against 100vw does — 100vw includes the scrollbar,
   and inside a grid item `100%` is the column, not the container.) */
@media (min-width: 1025px) {
  .container-bleed-end {
    width: auto;
    max-width: none;
    margin-inline: max(24px, calc((100% - 1300px) / 2)) 0;
  }
  .container-bleed-end .bleed-end .slot {
    border-radius: var(--radius-photo) 0 0 var(--radius-photo);
  }
}
.feature-split .slot { aspect-ratio: 4 / 3; border-radius: var(--radius-photo); }
@media (max-width: 1024px) {
  /* mobile: photo card first, then text */
  .feature-split .media { order: -1; }
}

/* --- Numbered steps ----------------------------------------------------- */

.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.step { display: grid; gap: 12px; align-content: start; }
.step-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-deep);
}
.step h3 { font-size: var(--h4); color: var(--ink); }
.step p { font-size: 0.9375rem; line-height: 1.65; color: var(--body-light); margin: 0; }

/* The steps component was written for light bands. On a dark band the heading
   token (--ink) is near-invisible against the navy, which is what studio.html
   hit. Same adaptation pattern the feature component uses. */
.band-navy .step h3, .band-deep .step h3, .band-footer .step h3 { color: #fff; }
.band-navy .step p, .band-deep .step p, .band-footer .step p { color: var(--body-dark-2); }
.band-navy .step-num, .band-deep .step-num, .band-footer .step-num { color: var(--green-bright); }

@media (max-width: 767px) {
  /* numbered vertical rail */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    grid-template-columns: auto 1fr;
    gap: 4px 18px;
    padding-bottom: 26px;
    position: relative;
    padding-inline-start: 46px;
  }
  .step::before {
    content: attr(data-step);
    position: absolute; inset-inline-start: 0; top: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
  }
  .step::after {
    content: "";
    position: absolute; inset-inline-start: 15px; top: 34px; bottom: 4px;
    width: 1px; background: var(--line-light);
  }
  .step:last-child::after { display: none; }
  .step .step-num { display: none; }
  .step > * { grid-column: 1 / -1; }
}

/* --- Technology + courses ----------------------------------------------- */

.tech-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.tech-col + .tech-col { padding-top: 0; }
.tech-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.tech-divider { height: 1px; background: var(--divider-dark); margin-block: clamp(24px, 3vw, 36px); border: 0; }
.slot-caption { font-size: 0.75rem; line-height: 1.5; color: var(--muted-dark); margin-top: 10px; max-width: var(--measure); }

.course-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
@media (max-width: 1024px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { display: grid; gap: 6px; align-content: start; }
.course-tag {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.course-card h4 { color: #fff; font-size: 1.0625rem; letter-spacing: 0.02em; }
.course-card p { font-size: 0.8125rem; color: var(--muted-dark); margin: 0; line-height: 1.5; }

/* --- Tier cards --------------------------------------------------------- */

.tier-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(283px, 100%), 1fr)); }
.tier {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.tier.is-featured { border-color: var(--green); border-width: 2px; }
.tier-head { background: var(--navy); color: #fff; padding: 22px 24px 24px; position: relative; }
.tier.is-featured .tier-head::after {
  content: "Most popular";
  position: absolute; top: 14px; inset-inline-end: 16px;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--green);
  padding: 4px 9px;
  border-radius: 3px;
}
.tier-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.tier-persona { font-size: 0.8125rem; color: var(--body-dark-2); margin: 4px 0 14px; line-height: 1.5; }
.tier-price { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; line-height: 1; color: #fff; }
.tier-price sup { font-size: 1.125rem; vertical-align: super; font-weight: 600; }
.tier-price span { font-size: 0.9375rem; font-weight: 500; color: var(--muted-dark); letter-spacing: 0.02em; }
.tier-body { padding: 24px; flex: 1; }
.tier-body .checks { gap: 12px; }
.tier-body .checks li { font-size: 0.875rem; line-height: 1.55; }
.tier-foot { padding: 0 24px 24px; }

@media (max-width: 767px) {
  /* horizontal swipe row, popular first, snap + dots */
  .tier-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 84%);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    margin-inline: -24px;
    padding-inline: 24px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .tier-grid::-webkit-scrollbar { display: none; }
  .tier { scroll-snap-align: start; }
  .tier.is-featured { order: -1; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .tier-grid, .steps, .progress { grid-template-columns: repeat(2, 1fr); }
}
/* ── ProTee VX data points ────────────────────────────────────────────────
   Three groups of measured parameters. Grid on desktop, one swipeable row on
   mobile using the same mechanism as the tier cards. */
.vx-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.vx-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.vx-head { display: flex; align-items: center; gap: 14px; }
.vx-head h3 { font-size: var(--h4); color: var(--ink); margin: 0; }
.vx-count {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.vx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.vx-list li {
  font-size: 0.9375rem;
  color: var(--body-light);
  padding-inline-start: 18px;
  position: relative;
}
.vx-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

@media (max-width: 767px) {
  .vx-grid {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    margin-inline: -24px;
    padding-inline: 24px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .vx-grid::-webkit-scrollbar { display: none; }
  .vx-card { scroll-snap-align: center; }
}

.swipe-dots { display: none; gap: 7px; justify-content: center; margin-top: 18px; }
@media (max-width: 767px) { .swipe-dots { display: flex; } }
.swipe-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-light); transition: background-color 0.2s var(--ease); }
.swipe-dots span.is-active { background: var(--green); }

/* --- Founders band ------------------------------------------------------ */

.founders-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 1024px) { .founders-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.founders-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.4);
  background: rgba(245, 197, 24, 0.08);
  border-radius: 40px;
  padding: 7px 16px;
  margin-bottom: var(--s3);
}
.founders-card {
  background: rgba(245, 197, 24, 0.05);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
}
.founders-card .checks li { color: var(--body-dark); font-size: 0.9375rem; }
.founders-card .btn { width: 100%; margin-top: var(--s3); }

/* --- On Tour band ------------------------------------------------------- */

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  border: 1px solid rgba(78, 143, 48, 0.4);
  background: rgba(93, 168, 58, 0.08);
  border-radius: 4px;
  padding: 6px 12px;
  margin-bottom: var(--s3);
}

/* --- Local proof -------------------------------------------------------- */

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1rem + 1.7vw, 2.25rem);
  font-weight: 500;
  line-height: 1.32;
  color: #fff;
  text-transform: none;
  letter-spacing: 0.005em;
  max-width: 920px;
  margin: 0;
}
.quote-attrib {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: var(--s3);
  display: block;
}
.stat-row {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--divider-dark);
}
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-bright);
}
.stat span { display: block; font-size: 0.8125rem; color: var(--muted-dark); margin-top: 8px; line-height: 1.45; }

/* --- FAQ ---------------------------------------------------------------- */

.faq-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.faq-item { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--green-deep); transition: transform 0.2s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; font-size: 0.9375rem; line-height: 1.7; color: var(--body-light); }
.faq-answer p { max-width: var(--measure); }

/* desktop: cards read open; mobile: accordion */
@media (min-width: 768px) {
  .faq-item summary { cursor: default; }
  .faq-item summary .icon { display: none; }
}

/* --- Footer ------------------------------------------------------------- */

.site-footer { border-top: 3px solid var(--green); padding-block: clamp(48px, 5vw, 80px) 28px; }
.footer-grid { display: grid; gap: clamp(32px, 3.5vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { width: 132px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; color: var(--muted-dark); max-width: 40ch; }
.footer-brand a { color: var(--muted-dark); text-decoration: none; }
@media (hover: hover) { .footer-brand a:hover { color: #fff; } }
.footer-col h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--body-dark-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.18s var(--ease);
}
@media (hover: hover) { .footer-col a:hover { color: #fff; } }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-btn);
  color: var(--body-dark-2);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
@media (hover: hover) {
  .footer-social a:hover { color: #fff; border-color: var(--green); background: rgba(93, 168, 58, 0.14); }
}
.footer-bottom {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--divider-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-dark);
}
.footer-bottom p { max-width: none; margin: 0; }

/* --- Page hero (inner pages) -------------------------------------------- */

.page-hero { padding-block: clamp(56px, 6vw, 104px); }
.page-hero .h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); }

/* --- Forms -------------------------------------------------------------- */

.wtd-form { display: grid; gap: var(--s2); position: relative; }
.field-row { display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 7px; }
.field > span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body-dark-2);
}
.field > span em { font-style: normal; color: var(--muted-dark); letter-spacing: 0.06em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;                 /* comfortably above the 44px target */
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-btn);
  color: #fff;
  font-size: 1rem;                  /* 16px — stops iOS zoom-on-focus */
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 12px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dark); }
.field select { appearance: none; cursor: pointer; padding-inline-end: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-dark) 50%),
                    linear-gradient(135deg, var(--muted-dark) 50%, transparent 50%);
  background-position: right 18px center, right 12px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: var(--navy-deep); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); background: rgba(255, 255, 255, 0.08);
}

/* light-band variant */
.band-paper .field > span, .band-paper-alt .field > span { color: var(--body-light); }
.band-paper .field input, .band-paper .field select, .band-paper .field textarea,
.band-paper-alt .field input, .band-paper-alt .field select, .band-paper-alt .field textarea {
  background: #fff; border-color: var(--line-light); color: var(--ink);
}

/* --- Scrollspy sub-nav (long Studio page) ------------------------------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(14, 26, 46, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider-dark);
}
.subnav-inner { width: var(--container); margin-inline: auto; display: flex; gap: clamp(14px, 2vw, 30px); overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-dark);
  white-space: nowrap;
  padding: 16px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
@media (hover: hover) { .subnav a:hover { color: #fff; } }
.subnav a.is-current { color: var(--green-bright); border-bottom-color: var(--green); }

/* --- Build progress tracker --------------------------------------------- */

.progress { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.progress-step {
  display: grid; gap: 8px;
  padding-top: 18px;
  border-top: 3px solid var(--line-dark);
}
.progress-step[data-state="done"]    { border-top-color: var(--green); }
.progress-step[data-state="active"]  { border-top-color: var(--gold); }
.progress-state {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-dark);
}
.progress-step[data-state="done"] .progress-state   { color: var(--green-bright); }
.progress-step[data-state="active"] .progress-state { color: var(--gold); }
.progress-step h3 { font-size: 1rem; color: #fff; letter-spacing: 0.03em; }
.progress-step p { font-size: 0.875rem; color: var(--muted-dark); margin: 0; line-height: 1.55; }

/* --- Notice bar ---------------------------------------------------------- */

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: rgba(93, 168, 58, 0.07);
  border: 1px solid rgba(93, 168, 58, 0.28);
  border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 28px);
}
.notice p { margin: 0; font-size: 0.9375rem; }

/* --- Feature / value cards ---------------------------------------------- */

.feature { display: grid; gap: 12px; align-content: start; }
.feature h3 { font-size: var(--h4); }
.feature p { font-size: 0.9375rem; line-height: 1.65; margin: 0; }
.band-navy .feature h3, .band-deep .feature h3 { color: #fff; }
.band-navy .feature p, .band-deep .feature p { color: var(--body-dark-2); }

/* --- Occasions ----------------------------------------------------------- */

.occasions { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.occasion {
  display: grid; gap: 10px; justify-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 22px 16px;
}
.occasion h4 { font-size: 0.9375rem; color: var(--ink); letter-spacing: 0.03em; }

/* --- Pricing ------------------------------------------------------------- */

.pricing { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.price {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; position: relative;
}
.price.is-featured { background: var(--navy); border-color: var(--green); border-width: 2px; }
.price-dur { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); }
.price.is-featured .price-dur { color: var(--body-dark-2); }
.price-amt { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 700; line-height: 1.05; color: var(--ink); margin-block: 6px; }
.price-amt sup { font-size: 0.45em; vertical-align: super; }
.price.is-featured .price-amt { color: var(--gold); }
.price-note { font-size: 0.8125rem; color: var(--muted-light); margin: 0; }
.price.is-featured .price-note { color: var(--body-dark-2); }
.price-badge {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-display); font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--green); color: #fff; padding: 4px 10px; border-radius: 3px;
}

/* --- County tags --------------------------------------------------------- */

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(93, 168, 58, 0.35);
  background: rgba(93, 168, 58, 0.08);
  border-radius: 40px; padding: 9px 18px; color: var(--ink);
}
.band-navy .tag, .band-deep .tag { color: #fff; border-color: rgba(123, 198, 91, 0.4); }

/* --- Terms list ---------------------------------------------------------- */

.terms { display: grid; gap: 14px; max-width: 860px; counter-reset: term; }
.term {
  background: #fff; border: 1px solid var(--line-light);
  border-inline-start: 3px solid var(--green);
  border-radius: var(--radius); padding: 22px 24px;
}
.term h3 { font-size: 1rem; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.03em; }
.term p, .term li { font-size: 0.9375rem; line-height: 1.7; color: var(--body-light); }
.term p + p { margin-top: 10px; }
.term ul { margin: 10px 0 0; padding-inline-start: 20px; }
.term li { margin-bottom: 6px; }

/* --- Contact ------------------------------------------------------------- */

.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding-block: 16px; }
.contact-item + .contact-item { border-top: 1px solid var(--line-dark); }
.contact-label { font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 4px; }
.contact-value { font-size: 0.9375rem; color: #fff; line-height: 1.6; }
.contact-value a { color: #fff; text-decoration: none; }
@media (hover: hover) { .contact-value a:hover { color: var(--green-bright); } }

.hours { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.hour {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius-btn); padding: 14px 16px; text-align: center;
}
.hour b { display: block; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.hour span { display: block; font-size: 0.8125rem; color: var(--muted-dark); margin-top: 3px; }

/* --- Photo gallery ------------------------------------------------------- */

.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.gallery .slot { border-radius: var(--radius-photo); aspect-ratio: 4 / 3; }

/* --- Form status --------------------------------------------------------- */
/* The message never disappears silently: pending, success and failure each
   have a visible state, and failure always offers a route that works. */

.form-status {
  display: none;
  margin-top: var(--s2);
  padding: 12px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: none;
}
.form-status.is-pending,
.form-status.is-ok,
.form-status.is-error { display: block; }

.form-status.is-pending { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); color: var(--body-dark-2); }
.form-status.is-ok      { background: rgba(93,168,58,0.12);  border: 1px solid rgba(93,168,58,0.45);  color: #DDF3D0; }
.form-status.is-error   { background: rgba(203,60,46,0.12);  border: 1px solid rgba(203,60,46,0.45);  color: #F6D5D0; }
.form-status a { color: inherit; text-decoration: underline; }

.band-paper .form-status.is-ok    { background: rgba(93,168,58,0.10); color: var(--green-deep); }
.band-paper .form-status.is-error { background: rgba(203,60,46,0.08); color: #A03A2E; }

/* --- Founders spots counter --------------------------------------------- */
/* Hidden until /founders.json supplies a real number — see site.js. */

.founders-count{
  display:flex; align-items:center; justify-content:center; gap:9px;
  margin-top:var(--s2);
  font-family:var(--font-display);
  font-size:.8125rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold);
  text-align:center;
}
.founders-count[hidden]{display:none}
.founders-count::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background:var(--gold); flex:none;
}

/* ── Simulator / data rotator ────────────────────────────────────────────
   Coverflow rotation over GSPro and ProTee screenshots. Cards are 16:9 so a
   simulator screen fills its frame without being cropped. Adding a photo is a
   site.json edit plus two image files — nothing here changes. */
.vx-rotator {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(123,198,91,0.10), transparent 60%),
    var(--navy-darkest);
  border: 1px solid var(--line-dark);
  container-type: inline-size;
}
.vx-stage { position: absolute; inset: 0; }

.vx-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  display: grid;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(170deg, #16233d, #0d1526);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
  will-change: transform, opacity;
}
/* Positions come from data-pos, so the JS never writes inline transforms. */
.vx-slide[data-pos="0"]  { transform: translate(-50%, -50%) scale(1.12);  opacity: 1;    z-index: 5;
                           border-color: rgba(123,198,91,0.55);
                           box-shadow: 0 24px 54px rgba(0,0,0,0.6), 0 0 0 1px rgba(123,198,91,0.2); }
.vx-slide[data-pos="-1"] { transform: translate(-118%, -50%) scale(0.74); opacity: 0.4;  z-index: 4; }
.vx-slide[data-pos="1"]  { transform: translate(18%,   -50%) scale(0.74); opacity: 0.4;  z-index: 4; }
.vx-slide[data-pos="-2"] { transform: translate(-152%, -50%) scale(0.6);  opacity: 0.15; z-index: 3; }
.vx-slide[data-pos="2"]  { transform: translate(52%,   -50%) scale(0.6);  opacity: 0.15; z-index: 3; }

/* Every card is a screenshot: image fills the frame, caption on a scrim. */
.vx-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vx-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,12,22,0.93) 12%, rgba(7,12,22,0.35) 45%, transparent 70%);
}
.vx-slide-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  align-content: end;
  justify-items: start;
  text-align: start;
  padding: clamp(12px, 3cqi, 24px);
}
.vx-slide-group {
  font-family: var(--font-display);
  font-size: clamp(9px, 1.3cqi, 11px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.vx-slide-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3cqi, 1.6rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.vx-slide-blurb {
  font-size: clamp(0.6875rem, 1.6cqi, 0.9375rem);
  line-height: 1.5;
  color: var(--body-dark-2);
  max-width: 46ch;
  margin: 0;
}

.vx-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(9,14,25,0.72);
  border: 1px solid var(--line-dark);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.vx-prev { inset-inline-start: 10px; }
.vx-next { inset-inline-end: 10px; }
.vx-prev .icon { transform: rotate(180deg); }
@media (hover: hover) {
  .vx-arrow:hover { background: var(--green); border-color: var(--green); }
}
.vx-arrow:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }

.vx-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 9px;
  z-index: 10;
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
  padding-inline: 56px;
}
.vx-dots button {
  width: 6px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), width 0.2s var(--ease);
}
.vx-dots button.is-active { background: var(--green-bright); width: 16px; border-radius: 3px; }

@container (max-width: 460px) {
  .vx-slide { width: 80%; }
  .vx-slide[data-pos="0"]  { transform: translate(-50%, -50%) scale(1.08); }
  .vx-slide[data-pos="-1"] { transform: translate(-116%, -50%) scale(0.72); opacity: 0.28; }
  .vx-slide[data-pos="1"]  { transform: translate(16%,   -50%) scale(0.72); opacity: 0.28; }
  .vx-slide[data-pos="-2"], .vx-slide[data-pos="2"] { opacity: 0; }
  .vx-arrow { width: 32px; height: 32px; }
  .vx-dots { padding-inline: 40px; }
}

/* Motion preference: cards still change, they just do not slide. */
@media (prefers-reduced-motion: reduce) {
  .vx-slide { transition: opacity 0.2s linear; }
}

/* ── Photo rail ───────────────────────────────────────────────────────────
   Horizontal scroller for the On Tour gallery. A grid was leaving a ragged
   last row, and that gets worse as photos are added — this list is meant to
   grow, so it scrolls instead. Snap points, arrows on pointer devices, native
   swipe on touch, keyboard scrollable via tabindex. */
.rail-wrap { position: relative; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 340px);
  gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 4px; border-radius: var(--radius); }

.rail-item {
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-dark);
  aspect-ratio: 4 / 3;
}
.rail-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(9,14,25,0.78);
  border: 1px solid var(--line-dark);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.rail-prev { inset-inline-start: -14px; }
.rail-next { inset-inline-end: -14px; }
.rail-prev .icon { transform: rotate(180deg); }
.rail-arrow[hidden] { display: none !important; }
@media (hover: hover) and (min-width: 768px) {
  .rail-arrow { display: grid; }
  .rail-arrow:hover { background: var(--green); border-color: var(--green); }
}
.rail-arrow:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }

@media (min-width: 1025px) {
  .rail { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
  /* Three across, the rest scroll. */
  .rail { grid-auto-columns: calc((100% - 2 * clamp(12px, 1.4vw, 20px)) / 3); }
}

@media (prefers-reduced-motion: reduce) {
  .rail { scroll-behavior: auto; }
}

/* Course-library screenshot. Capped below the container width so it reads as a
   window into a bay rather than a hero, and centred above the course cards. */
.course-shot {
  margin: 0 auto clamp(30px, 3.4vw, 50px);
  max-width: min(920px, 100%);
}
.course-shot .slot-caption { text-align: center; }

/* Course card thumbnails, both pages.

   The thumbnail is opt-in per card: .has-thumb is only set when the build
   found a matching file. Cards without one keep the original layout, so the
   grid is never half-illustrated while thumbnails are being collected. */
.course-card.has-thumb {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
}
.course-text { min-width: 0; }
.course-thumb {
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  flex: none;
}

/* Founders explanation, inside the signup section rather than its own band.
   Gold stays the founders-only accent (rule 4); the left border carries it
   without turning the whole block gold. */
.founders-inline {
  margin-top: clamp(26px, 3vw, 38px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-dark);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.founders-inline h3 { margin: 12px 0 10px; }
.founders-inline > p { font-size: 0.9375rem; line-height: 1.65; color: var(--body-dark-2); margin: 0 0 16px; }
.founders-inline .checks { margin: 0; }

