/* =============================================================================
   styles.css — PT recruitment landing page
   Mobile-first. Designed at 375px, scaled up at 768px and 1120px.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   0. FONTS — self-hosted.
   Served from our own origin rather than fonts.gstatic.com: no extra DNS
   lookup, no TLS handshake, no render-blocking stylesheet from a third party.
   Both faces are SIL Open Font License, so hosting them here is fine.
   Latin subset only. Glyphs outside the range below (→, ▶) fall back to the
   system sans-serif, which is what we want rather than a bigger download.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;   /* variable — one file covers 400/500/600/700 */
  font-display: swap;
  src: url('assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------------------
   1. TOKENS — adjust the brand here and the whole page follows.
   ------------------------------------------------------------------------ */
:root {
  /* Brand */
  --bg:        #0E0E0E;
  --gold:      #C9A646;
  --text:      #F5F5F5;

  /* Derived surfaces */
  --bg-2:      #151515;   /* alternating section background */
  --surface:   #1A1A1A;   /* cards */
  --surface-2: #202020;   /* raised / hover */
  --line:      #2C2C2C;   /* hairlines */
  --line-2:    #3A3A3A;

  /* Derived text — all checked against --bg for WCAG AA */
  --muted:     #B5B5B0;   /* 8.2:1 on --bg */
  --dim:       #8A8A85;   /* 4.8:1 on --bg — decorative / meta only */
  --on-gold:   #0E0E0E;   /* 8.3:1 on --gold */

  --gold-soft: rgba(201, 166, 70, 0.14);
  --gold-line: rgba(201, 166, 70, 0.32);
  --gold-glow: rgba(201, 166, 70, 0.20);

  --bad:       #E06C5A;
  --mixed:     #D8B14A;

  /* Type */
  --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.31vw, 1.38rem);
  --step-2:  clamp(1.41rem, 1.29rem + 0.54vw, 1.75rem);
  --step-3:  clamp(1.69rem, 1.48rem + 0.9vw, 2.25rem);
  --step-4:  clamp(2.1rem, 1.7rem + 1.7vw, 3.2rem);
  --step-5:  clamp(2.6rem, 1.9rem + 3vw, 4.8rem);

  /* Space */
  --gutter: 20px;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 14px;
  --radius-sm: 9px;

  --maxw: 1120px;
  --maxw-narrow: 720px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* ---------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* The UA gives blockquote 40px side margins, which inflates the min-content
   width of any grid item containing one and blows the track sizing out. */
blockquote, figure { margin: 0; }

/* Any author `display` beats the UA's [hidden] rule, so buttons, the VSL facade
   and the field errors would all stay visible when JS hides them. This has to
   win. The sticky CTA animates out with a class instead, for that reason. */
[hidden] { display: none !important; }

/* Grid and flex items default to min-width:auto, so one long word can force a
   track wider than its container. Opt every layout child out of that. */
.path-grid > *, .perk-grid > *, .testimonial-grid > *,
.pain-list > *, .step-list > *, .stats-list > *, .club-list > * { min-width: 0; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }

button, input, select, textarea { font: inherit; color: inherit; }

/* ---------------------------------------------------------------------------
   3. UTILITIES
   ------------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: var(--maxw-narrow); }

.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: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--gold); color: var(--on-gold);
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------------------
   4. SECTIONS + HEADINGS
   ------------------------------------------------------------------------ */
.section { padding-block: var(--section-y); }
.section:nth-of-type(even) { background: var(--bg-2); }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.7em;
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--step-4);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 18ch;
}

.section-intro {
  color: var(--muted);
  font-size: var(--step-1);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

/* ---------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 6px 28px -10px var(--gold-glow);
}
.btn-primary:hover { background: #D9B75A; box-shadow: 0 10px 34px -10px var(--gold-glow); }

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-line);
}
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold); }

.btn-sm { min-height: 42px; padding: 10px 18px; font-size: var(--step--1); }
.btn-lg { min-height: 58px; padding: 17px 34px; font-size: var(--step-1); width: 100%; }
.btn-block { width: 100%; }

.link-secondary {
  display: inline-block;
  color: var(--muted);
  font-size: var(--step--1);
  text-decoration: underline;
  padding: 10px 4px;
}
.link-secondary:hover { color: var(--gold); }

@media (min-width: 640px) {
  .btn-lg { width: auto; }
}

/* ---------------------------------------------------------------------------
   6. HEADER
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; padding: 9px 0; min-height: 44px; }
.logo img { width: 118px; height: auto; }
.header-right { display: flex; align-items: center; gap: 10px; }

/* The compact toggle is hidden on the narrowest screens — the hero one carries it */
.region-toggle--compact { display: none; }
@media (min-width: 560px) {
  .region-toggle--compact { display: inline-flex; }
  .logo img { width: 150px; }
}

/* ---------------------------------------------------------------------------
   7. REGION TOGGLE
   ------------------------------------------------------------------------ */
.region-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  /* JS fills this container, so hold its height from the first paint —
     otherwise it grows from nothing and shoves the video below it down. */
  min-height: 50px;
}
.region-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 100px;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 600;
  padding: 10px 16px;
  min-height: 40px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.region-btn:hover { color: var(--text); }
.region-btn[aria-checked="true"] {
  background: var(--gold);
  color: var(--on-gold);
}
.region-toggle--compact { min-height: 46px; }
.region-toggle--compact .region-btn { padding: 8px 14px; min-height: 36px; font-size: 0.78rem; }

.region-toggle-block { margin: 1.6rem 0 2rem; }
.region-toggle-label {
  font-size: var(--step--1);
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6em;
}

/* Subtle animation when the region changes */
.region-swapping [data-swap] {
  opacity: 0;
  transform: translateY(6px);
}
[data-swap] {
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

/* ---------------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.78) 0%, rgba(14,14,14,0.90) 45%, var(--bg) 100%);
}
.hero-inner { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) 2.5rem; }

.hero-heading {
  font-family: var(--font-display);
  font-size: var(--step-5);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-sub {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 48ch;
}

/* Region landings swap in longer eyebrow and subhead copy than the neutral
   default that ships in the HTML, so reserve the extra lines before paint.
   Keyed off the [data-region] attribute the inline head script sets, so the
   neutral page gets no reserved gap. `lh` = one line box; browsers without it
   simply fall back to the small shift this avoids. */
html[data-region] .hero-inner > .eyebrow { min-height: 3lh; }
html[data-region] .hero-sub { min-height: 5lh; }

@media (min-width: 560px) {
  html[data-region] .hero-inner > .eyebrow { min-height: 2lh; }
  html[data-region] .hero-sub { min-height: 4lh; }
}
@media (min-width: 900px) {
  html[data-region] .hero-sub { min-height: 3lh; }
}

/* VSL facade */
.vsl { margin: 0 0 1.8rem; }
.vsl-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.vsl-facade:hover .vsl-play { transform: translate(-50%, -50%) scale(1.06); background: var(--gold); color: var(--on-gold); }
.vsl-thumb { width: 100%; height: 100%; object-fit: cover; }
.vsl-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.62);
  color: var(--gold);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.vsl-play svg { width: 44px; height: 44px; }
.vsl-duration {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(14, 14, 14, 0.82);
  color: var(--text);
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 11px; border-radius: 100px;
  border: 1px solid var(--line-2);
}
.vsl-title {
  position: absolute; left: 14px; bottom: 12px; right: 96px;
  font-size: var(--step--1); font-weight: 600;
  color: var(--text);
  text-align: left;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}
.vsl-player { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.vsl-player iframe, .vsl-player video { width: 100%; height: 100%; border: 0; display: block; }
.vsl-caption {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 0 0;
  font-size: var(--step--1);
  color: var(--dim);
}
.vsl-caption svg { flex: 0 0 auto; }

.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* Trust bar */
.trust-bar {
  border-block: 1px solid var(--line);
  background: rgba(201, 166, 70, 0.05);
  padding-block: 14px;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: var(--step--1);
  color: var(--muted);
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas:
      "eyebrow video"
      "head    video"
      "sub     video"
      "toggle  video"
      "cta     video";
    column-gap: 48px;
    align-items: start;
  }
  .hero-inner > .eyebrow { grid-area: eyebrow; }
  .hero-heading { grid-area: head; }
  .hero-sub { grid-area: sub; }
  .region-toggle-block { grid-area: toggle; }
  .vsl { grid-area: video; align-self: center; margin-top: 0.5rem; }
  .hero-cta { grid-area: cta; }
  .trust-list { justify-content: flex-start; }
}

/* ---------------------------------------------------------------------------
   9. PATH SELECTOR
   ------------------------------------------------------------------------ */
.path-grid { display: grid; gap: 14px; }
.path-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.path-card:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.path-card[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-soft), var(--surface));
}
.path-icon { display: block; color: var(--gold); margin-bottom: 14px; }
.path-icon svg { width: 30px; height: 30px; }
.path-title { font-size: var(--step-2); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.path-body { color: var(--muted); font-size: var(--step--1); margin-bottom: 0.8em; }
.path-cta {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); font-weight: 700; font-size: var(--step--1);
}
.path-cta::after { content: "→"; transition: transform var(--dur) var(--ease); }
.path-card:hover .path-cta::after { transform: translateX(3px); }

@media (min-width: 760px) { .path-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------------
   10. PROBLEM
   ------------------------------------------------------------------------ */
.problem-body { max-width: 60ch; color: var(--muted); font-size: var(--step-1); margin-bottom: 2.4rem; }
.problem-body p:last-child { color: var(--text); font-weight: 500; }

.pain-list { display: grid; gap: 14px; margin-bottom: 2.6rem; }
.pain {
  border-left: 2px solid var(--bad);
  padding: 4px 0 4px 18px;
}
.pain h3 { font-size: var(--step-1); margin-bottom: 0.25em; }
.pain p { color: var(--muted); font-size: var(--step--1); margin: 0; }

.pivot {
  background: linear-gradient(135deg, var(--gold-soft), transparent 70%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pivot-heading {
  font-family: var(--font-display);
  font-size: var(--step-3);
  text-transform: uppercase;
  color: var(--gold);
}
.pivot-body { margin: 0; font-size: var(--step-1); max-width: 54ch; }

@media (min-width: 760px) { .pain-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------------
   11. PERKS
   ------------------------------------------------------------------------ */
.perk-grid { display: grid; gap: 14px; }
.perk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.perk:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.perk-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 16px;
}
.perk-icon svg { width: 24px; height: 24px; }
.perk-title { font-size: var(--step-1); }
.perk-body { color: var(--muted); font-size: var(--step--1); margin: 0; }

@media (min-width: 620px) { .perk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .perk-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------------
   12. FNQ SPOTLIGHT
   ------------------------------------------------------------------------ */
.section-reef { position: relative; }
.section-reef[data-mode="full"] {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(30, 120, 120, 0.16), transparent 60%),
    var(--bg-2);
}
.reef-cols { display: grid; gap: 24px; margin-bottom: 2rem; }
.reef-col h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-transform: uppercase;
  color: var(--gold);
}
.reef-points { display: grid; gap: 12px; }
.reef-points li {
  display: flex; gap: 11px;
  color: var(--muted);
  font-size: var(--step--1);
}
.reef-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.reef-relocation {
  background: var(--surface);
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 2rem;
}
.reef-relocation h3 { font-size: var(--step-1); color: var(--gold); }
.reef-relocation p { margin: 0; color: var(--muted); font-size: var(--step--1); }

.reef-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 2rem;
}
.reef-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.reef-teaser {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  gap: 8px;
}
.reef-teaser h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  text-transform: uppercase;
}
/* :not(.eyebrow) — otherwise this element+class selector outranks .eyebrow
   and the gold kicker turns grey. */
.reef-teaser p:not(.eyebrow) { color: var(--muted); margin: 0 0 0.6em; max-width: 56ch; }

@media (min-width: 760px) {
  .reef-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reef-gallery { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------------
   13. PATHWAY TIMELINE
   Vertical on mobile, horizontal from 900px.
   ------------------------------------------------------------------------ */
.timeline-scroll { padding-inline: var(--gutter); }
.timeline {
  display: grid;
  gap: 0;
  max-width: var(--maxw);
  margin-inline: auto;
}
.tl-stage {
  position: relative;
  padding: 0 0 32px 30px;
  border-left: 2px solid var(--line-2);
}
.tl-stage:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-stage::before {
  content: "";
  position: absolute;
  left: -8px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
}
.tl-meta {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.tl-code {
  font-family: var(--font-display);
  font-size: var(--step-3);
  letter-spacing: 0.06em;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.tl-title { font-size: var(--step-1); margin-bottom: 0.4em; }
.tl-unlocks { color: var(--muted); font-size: var(--step--1); margin-bottom: 0.9em; }
.tl-figures { display: flex; gap: 10px; flex-wrap: wrap; }
.tl-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 0.78rem;
  color: var(--muted);
}
.tl-figure strong { color: var(--gold); font-weight: 700; }

@media (min-width: 900px) {
  .timeline-scroll { overflow-x: auto; padding-bottom: 8px; }
  .timeline {
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 0;
  }
  .tl-stage {
    border-left: 0;
    border-top: 2px solid var(--line-2);
    padding: 34px 22px 0 0;
  }
  .tl-stage:last-child { border-top-color: var(--line-2); }
  .tl-stage::before { left: 0; top: -8px; }
}

/* ---------------------------------------------------------------------------
   14. CALCULATOR
   ------------------------------------------------------------------------ */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.calc-controls { display: grid; gap: 26px; margin-bottom: 28px; }
.calc-field label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: var(--step--1);
}
.calc-value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--gold);
  letter-spacing: 0.02em;
}

input[type="range"] {
  appearance: none;
  width: 100%;
  height: 34px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 100px;
  background: linear-gradient(to right, var(--gold) var(--fill, 50%), var(--line-2) var(--fill, 50%));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 100px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 100px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 30px; height: 30px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
}

.calc-results {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.calc-result {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.calc-result--hero {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-soft), var(--bg));
}
.calc-result-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.calc-result-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.calc-result--hero .calc-result-value { color: var(--gold); }

.btn-preset { width: 100%; margin-bottom: 18px; }
.calc-disclaimer { color: var(--dim); font-size: 0.8rem; max-width: 56ch; }

@media (min-width: 760px) {
  .calc { padding: 34px; }
  .calc-controls { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .calc-results { grid-template-columns: repeat(3, 1fr); }
  .btn-preset { width: auto; }
}

/* ---------------------------------------------------------------------------
   15. SOCIAL PROOF
   ------------------------------------------------------------------------ */
.testimonial-grid { display: grid; gap: 14px; }
.tcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.tcard-quote {
  font-size: var(--step-1);
  line-height: 1.45;
  margin: 0 0 1.1em;
  overflow-wrap: anywhere;
}
.tcard-quote::before { content: "“"; color: var(--gold); }
.tcard-quote::after { content: "”"; color: var(--gold); }
.tcard-result {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 1.2em;
}
.tcard-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard-person > div { min-width: 0; }
.tcard-name, .tcard-meta { overflow-wrap: anywhere; }
.tcard-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
  flex: 0 0 auto;
}
.tcard-name { font-weight: 700; font-size: var(--step--1); margin: 0; }
.tcard-meta { color: var(--dim); font-size: 0.8rem; margin: 0; }
.tcard-video {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--step--1); font-weight: 600;
}
.tcard-placeholder { outline: 1px dashed var(--line-2); outline-offset: 4px; }

.stats-strip {
  margin-top: 3rem;
  border-block: 1px solid var(--line);
  background: rgba(201, 166, 70, 0.05);
  padding-block: 28px;
}
.stats-list { display: grid; gap: 22px; text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  color: var(--gold);
}
.stat-label { color: var(--muted); font-size: var(--step--1); }

@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .testimonial-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------------
   16. COMPARISON TABLE
   ------------------------------------------------------------------------ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--step--1);
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: var(--step-1);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-bottom-color: var(--line-2);
}
.compare-table thead th.col-us { color: var(--gold); }
.compare-table tbody th {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.compare-table td { color: var(--muted); }
.compare-table .col-us,
.compare-table td.cell-us {
  background: linear-gradient(180deg, var(--gold-soft), rgba(201,166,70,0.04));
  border-left: 1px solid var(--gold-line);
  border-right: 1px solid var(--gold-line);
  color: var(--text);
}
.compare-table tbody tr:last-child td.cell-us { border-bottom: 1px solid var(--gold-line); }
.cell-mark { display: inline-block; margin-right: 8px; font-weight: 700; }
.cell-mark--good { color: var(--gold); }
.cell-mark--bad { color: var(--bad); }
.cell-mark--mixed { color: var(--mixed); }

/* -- Mobile comparison: the same data, stacked ------------------------------ */
.compare-cards { display: grid; gap: 14px; }
.cmp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.cmp-card--us {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-soft), var(--surface));
}
.cmp-card-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 6px;
}
.cmp-card--us .cmp-card-title { color: var(--gold); }
.cmp-badge {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 100px;
  padding: 4px 11px;
}
.cmp-rows { margin: 0; }
.cmp-row { padding: 12px 0; border-top: 1px solid var(--line); }
.cmp-row dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.cmp-row dd {
  margin: 0;
  display: flex;
  gap: 2px;
  font-size: var(--step--1);
  color: var(--muted);
}
.cmp-card--us .cmp-row dd { color: var(--text); }

/* Show exactly one of the two views. */
@media (max-width: 759.98px) { .table-scroll { display: none; } }
@media (min-width: 760px)    { .compare-cards { display: none; } }

/* ---------------------------------------------------------------------------
   17. HOW IT WORKS
   ------------------------------------------------------------------------ */
.step-list { display: grid; gap: 22px; margin-bottom: 2.4rem; }
.step { display: flex; gap: 18px; }
.step-number {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--gold);
  line-height: 1;
  flex: 0 0 auto;
  width: 2.2ch;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.25em; }
.step p { color: var(--muted); font-size: var(--step--1); margin: 0; }

@media (min-width: 760px) { .step-list { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

/* ---------------------------------------------------------------------------
   18. CLUBS
   ------------------------------------------------------------------------ */
.club-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.club-tab {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--step--1);
  padding: 11px 18px;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.club-tab[aria-selected="true"] { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.club-tab-count {
  background: var(--line-2);
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 0.75rem;
}
.club-tab[aria-selected="true"] .club-tab-count { background: var(--gold); color: var(--on-gold); }

.club-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  margin-bottom: 20px;
  color: var(--dim);
}
.club-search:focus-within { border-color: var(--gold); }
.club-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 14px 0;
  min-height: 48px;
  color: var(--text);
}

.club-area { margin-bottom: 24px; }
.club-area-name {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.club-list { display: grid; gap: 8px; }
.club-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  cursor: pointer;
  min-height: 52px;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.club-item:hover { border-color: var(--gold-line); }
.club-item:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.club-item input { accent-color: var(--gold); width: 20px; height: 20px; flex: 0 0 auto; }
.club-name { font-weight: 600; font-size: var(--step--1); }
.club-suburb { display: block; color: var(--dim); font-size: 0.78rem; }
.club-empty { color: var(--dim); font-size: var(--step--1); }

.club-selected { color: var(--gold); font-size: var(--step--1); min-height: 1.6em; }

.map-holder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
}
.map-holder iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }

@media (min-width: 640px) { .club-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .club-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------------
   19. FAQ
   ------------------------------------------------------------------------ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--gold-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  min-height: 60px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  flex: 0 0 auto;
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: var(--step--1);
  margin: 0;
  max-width: 62ch;
}

/* ---------------------------------------------------------------------------
   20. FORM
   ------------------------------------------------------------------------ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.progress { margin-bottom: 26px; }
.progress-bar {
  height: 5px;
  background: var(--line-2);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--gold);
  border-radius: 100px;
  transition: width 320ms var(--ease);
}
.progress-text {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.field { margin-bottom: 20px; }
.field-label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: 8px; }
.field-hint { display: block; font-weight: 400; color: var(--dim); font-size: 0.8rem; margin-top: 2px; }

.input, textarea.input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 52px;
  color: var(--text);
  outline: none;
  transition: border-color var(--dur) var(--ease);
}
.input::placeholder { color: #6E6E6A; }
.input:focus { border-color: var(--gold); }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.55; }
.input[aria-invalid="true"] { border-color: var(--bad); }

.choice-group { display: grid; gap: 8px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 52px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.choice:hover { border-color: var(--gold-line); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice input { accent-color: var(--gold); width: 20px; height: 20px; flex: 0 0 auto; }
.choice span { font-size: var(--step--1); }
.choice-group--inline { grid-template-columns: repeat(3, 1fr); }
.choice-group--inline .choice { justify-content: center; text-align: center; }
.choice-group--inline .choice input { position: absolute; opacity: 0; pointer-events: none; }

.form-clubs {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--bg);
}
.form-clubs .club-area { margin-bottom: 14px; }
.form-clubs .club-list { grid-template-columns: 1fr; gap: 6px; }
.form-clubs .club-item { min-height: 46px; padding: 10px 12px; background: var(--surface); }

.field-error, .form-error {
  color: var(--bad);
  font-size: 0.82rem;
  margin: 7px 0 0;
  display: flex; align-items: center; gap: 6px;
}
.form-error--submit { margin-bottom: 14px; }

.form-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.form-nav .btn { flex: 1 1 auto; }

.form-success { text-align: left; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  text-transform: uppercase;
  color: var(--gold);
}
.success-tick {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.success-next { margin: 1.6rem 0; }
.success-next h4 {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 12px;
}
.success-steps { display: grid; gap: 10px; }
.success-steps li {
  display: flex; gap: 11px;
  color: var(--muted);
  font-size: var(--step--1);
}
.success-steps li::before { content: "✓"; color: var(--gold); flex: 0 0 auto; font-weight: 700; }

@media (min-width: 640px) {
  .form-card { padding: 34px; }
  .form-nav .btn { flex: 0 0 auto; }
  .choice-group--two { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------------
   21. FOOTER
   ------------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 120px;   /* bottom room for the sticky CTA */
  color: var(--dim);
  font-size: 0.82rem;
}
.footer-logo { opacity: 0.75; margin-bottom: 18px; width: 130px; }
.footer-tagline { color: var(--muted); max-width: 52ch; }
.footer-local { max-width: 78ch; line-height: 1.55; }
.footer-links a { color: var(--muted); display: inline-block; padding: 9px 2px; min-height: 24px; }
.footer-disclaimer, .footer-entity, .footer-copy { max-width: 78ch; }

@media (min-width: 760px) { .site-footer { padding-bottom: 48px; } }

/* ---------------------------------------------------------------------------
   22. STICKY MOBILE CTA
   ------------------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  /* Off-screen by default. `visibility` keeps it out of the a11y tree and out
     of the tab order, and still animates, which the [hidden] attribute cannot. */
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), visibility 0s linear 260ms;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), visibility 0s linear 0s;
}
.sticky-cta .btn { flex-direction: column; gap: 1px; }
.sticky-cta small { font-weight: 500; font-size: 0.72rem; opacity: 0.72; }

@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ---------------------------------------------------------------------------
   23. NOSCRIPT
   ------------------------------------------------------------------------ */
.noscript {
  max-width: var(--maxw-narrow);
  margin: 2rem auto;
  padding: 24px var(--gutter);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------------------
   24. REDUCED MOTION
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .region-swapping [data-swap] { opacity: 1; transform: none; }
}
