/* =====================================================================
   DREAMSTATE — Monochrome Metallic · Dark→Light Journey
   Palette: black · white · metallic black · silver. No warm tones.
   Built on the Framer DESIGN.md system. Display: Archivo Expanded · Body: Inter.
   Motion components: digital-rain · elastic wave · shuffle grid · sparkles.
   Restraint is premium. Ration the words. Ration the shine.
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Light — the future self */
  --canvas:        #FAFAFA;
  --surface-1:     #F0F1F3;   /* cool light gray */
  --surface-2:     #E6E8EB;
  --hairline:      #DEE0E4;
  --hairline-soft: #EAEBEE;

  /* Dark — black + metallic black */
  --inverse:       #060607;   /* true near-black canvas */
  --inverse-1:     #131418;   /* metallic black surface */
  --inverse-2:     #1C1E23;
  --inverse-ink:   #F4F5F7;   /* white */
  --inverse-muted: #8B9099;

  /* Ink */
  --ink:           #0A0A0B;
  --ink-muted:     #5C606A;
  --ink-faint:     #9499A2;

  /* Silver — the single accent (replaces all gold/amber) */
  --silver:        #C7CBD1;
  --silver-bright: #E9EBEE;
  --silver-deep:   #8A9099;
  --silver-wash:   #EDEEF1;
  --metal:         linear-gradient(135deg, #E9EBEE 0%, #A9ADB5 48%, #D2D5DA 100%);
  --metal-dark:    linear-gradient(150deg, #1C1E23 0%, #0C0D10 60%, #23262C 140%);

  /* Greenery — the living accent (light-theme) */
  --green-deep:    #33503B;   /* forest, for text accents + buttons on light */
  --green:         #4E7256;   /* sage mid */
  --green-soft:    #8BA790;   /* muted */
  --green-wash:    #EEF3ED;   /* faint green tint for section fills */
  --green-hair:    #D6E1D3;   /* green hairline */

  /* Type */
  --font-display: "Archivo", "Arial Narrow", sans-serif; /* loaded at wdth 125 (Expanded) via css2 */
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing (Framer scale) */
  --sp-xxs: 4px; --sp-xs: 8px; --sp-sm: 12px; --sp-md: 16px;
  --sp-lg: 24px; --sp-xl: 40px; --sp-xxl: 64px; --sp-section: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 100px; --r-full: 9999px;

  /* Elevation + cool glow */
  --shadow-2: 0 8px 30px rgba(6,6,7,.10);
  --shadow-3: 0 24px 70px rgba(6,6,7,.16);
  --glow-silver: 0 0 60px rgba(199,203,209,.35);

  --ease: cubic-bezier(.22,1,.36,1);
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans); background: var(--canvas); color: var(--ink); font-stretch: 125%;
  line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--silver); color: #060607; }

/* ---------- 2b. A11Y ---------- */
.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; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.threshold :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--silver); }

/* ---------- 3. TYPOGRAPHY ---------- */
.display-xxl, .display-xl, .display-lg, .display-md {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  text-transform: uppercase; line-height: 1.02; letter-spacing: 0.005em;
}
.display-xxl { font-size: clamp(40px, 7.5vw, 96px); line-height: .98; }
.display-xl  { font-size: clamp(34px, 5.5vw, 68px); }
.display-lg  { font-size: clamp(28px, 4vw, 50px); line-height: 1.04; }
.display-md  { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; }
.thin { font-weight: 500; }
.tracked { letter-spacing: 0.08em; }

/* Metallic text fill (use sparingly on a word/headline) */
.metal-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

.headline { font-family: var(--font-sans); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.subhead  { font-family: var(--font-sans); font-size: clamp(17px, 1.7vw, 20px); font-weight: 400; line-height: 1.5; color: var(--ink-muted); }
.body-lg  { font-size: 18px; line-height: 1.6; color: var(--ink-muted); }
.body     { font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
.body-sm  { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--green-soft); opacity: .9; }
.eyebrow.center::before { display: none; }
.accent { color: var(--green-deep); }
.threshold .accent, .threshold .eyebrow { color: var(--silver); }
.hero--video .eyebrow { color: var(--silver-bright); }
.hero--video .eyebrow::before { background: var(--silver-bright); opacity: .7; }

/* ---------- 4. LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 13vw, var(--sp-section)); }
.section--tight { padding-block: clamp(48px, 8vw, 88px); }
.measure { max-width: 54ch; }
.measure-sm { max-width: 40ch; }
.center { text-align: center; margin-inline: auto; }
.grid { display: grid; gap: var(--sp-lg); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Dark sections */
.threshold { background: var(--inverse); color: var(--inverse-ink); }
.threshold .display-xxl, .threshold .display-xl, .threshold .display-lg, .threshold .display-md { color: var(--inverse-ink); }
.threshold .subhead, .threshold .body-lg, .threshold .body, .threshold .body-sm { color: var(--inverse-muted); }

/* Dawn — gradient crossing black → white */
.dawn { background: linear-gradient(180deg, var(--canvas) 0%, var(--green-wash) 50%, var(--canvas) 100%); text-align: center; padding-block: clamp(48px, 7vw, 84px); }
.dawn + .section { padding-top: clamp(20px, 3vw, 44px); }
.dawn .eyebrow { color: var(--green); }
.dawn .subhead { color: var(--ink-muted); }
.dawn__line { width: 1px; height: clamp(60px, 12vh, 120px); margin: var(--sp-lg) auto 0; background: linear-gradient(var(--green-soft), transparent); }
/* Feathered photo that dissolves into the page */
.dawn__photo { width: min(400px, 64vw); margin: clamp(14px, 2vw, 28px) auto clamp(-70px, -6vw, -40px); opacity: .95; }
.dawn__photo img {
  width: 100%; height: auto;
  -webkit-mask: radial-gradient(98% 94% at 50% 46%, #000 30%, rgba(0,0,0,.6) 56%, transparent 78%);
          mask: radial-gradient(98% 94% at 50% 46%, #000 30%, rgba(0,0,0,.6) 56%, transparent 78%);
}

/* ---------- The match — change in one frame: darkness, then a real strike of light ---------- */
.ignite {
  position: relative;
  width: min(620px, 84vw);
  aspect-ratio: 16 / 9;
  margin: clamp(18px, 2.6vw, 32px) auto clamp(-70px, -6vw, -40px);
  overflow: hidden;
  background: transparent;
  /* feather edges so the painting dissolves into the page like a cloud */
  -webkit-mask: radial-gradient(120% 110% at 50% 50%, #000 48%, rgba(0,0,0,.6) 72%, transparent 92%);
          mask: radial-gradient(120% 110% at 50% 50%, #000 48%, rgba(0,0,0,.6) 72%, transparent 92%);
}
.ignite__dark {
  position: absolute; inset: 0;
  background: radial-gradient(130% 120% at 50% 80%, #11131a 0%, #090a0e 52%, #050507 100%);
}
.ignite__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.ignite.in .ignite__video { opacity: 1; }

/* Raw canvas -> painting, brushed in stroke-by-stroke on a <canvas> */
.ignite__paint {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), filter .4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--canvas); }
.btn-primary:hover { background: #000; box-shadow: var(--glow-silver); transform: translateY(-1px); }
/* primary conversion CTA — forest green, sitewide */
.btn-cta { background: var(--green-deep); color: #fff; box-shadow: 0 2px 12px rgba(51,80,59,.26); }
.btn-cta:hover { background: var(--green); box-shadow: 0 8px 22px rgba(51,80,59,.32); transform: translateY(-1px); }
/* metallic silver — reserved for dark-section accents */
.btn-metal { background: var(--metal); color: #0A0A0B; box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 2px 10px rgba(0,0,0,.25); }
.btn-metal:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), var(--glow-silver); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-1px); }
.threshold .btn-primary { background: var(--metal); color: #0A0A0B; box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.threshold .btn-primary:hover { filter: brightness(1.06); box-shadow: var(--glow-silver); }
.threshold .btn-secondary,
.hero .btn-secondary { color: var(--inverse-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.threshold .btn-secondary:hover,
.hero .btn-secondary:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: gap .4s var(--ease), color .4s var(--ease); }
.link-arrow:hover { gap: 14px; color: var(--silver-deep); }
.threshold .link-arrow { color: var(--inverse-ink); }
.threshold .link-arrow:hover { color: var(--silver); }

/* ---------- 6. NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); color: var(--inverse-ink);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease), color .5s var(--ease);
  transform: translateZ(0); will-change: background-color; backface-visibility: hidden;
}
.nav.scrolled {
  background: rgba(250,250,250,.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--hairline); padding-block: 13px; color: var(--ink);
}
/* Nav sits over a dark hero on every page: light until scrolled */
.nav--over-dark:not(.scrolled) { color: var(--inverse-ink); }
.nav--over-dark:not(.scrolled) .nav__brand { color: var(--inverse-ink); }
.nav--over-dark:not(.scrolled) .nav__brand span { color: var(--silver); }
/* Greenery accents — sitewide */
.step__dot { border-color: var(--green-soft); }
.step__dot::after { background: var(--green); }
.quote__metric { background: var(--green-wash); color: var(--green-deep); }
.nav__brand { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav__brand span { color: var(--silver); }
.nav.scrolled .nav__brand span { color: var(--green-deep); }
.nav__links { display: flex; align-items: center; gap: var(--sp-lg); }
.nav__links a { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .82; transition: opacity .3s var(--ease); }
.nav:not(.scrolled) .nav__links a { text-shadow: 0 1px 10px rgba(8,16,11,.45); }
.nav.scrolled .nav__links a { text-shadow: none; }
.nav__links a:hover, .nav__links a.active { opacity: 1; }
.nav__cta { margin-left: var(--sp-xs); opacity: 1 !important; }
.nav .btn { min-height: 42px; padding: 0 22px; }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2px; width: 24px; background: currentColor; margin-inline: auto; transition: transform .4s var(--ease), opacity .3s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; background: var(--inverse); color: var(--inverse-ink); }
.hero .display-xxl, .hero .display-xl { color: var(--inverse-ink); }
.hero .subhead { color: var(--inverse-muted); }
.hero__glow {
  position: absolute; z-index: 0; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px;
  top: -25%; right: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,203,209,.16), rgba(199,203,209,0) 60%);
  filter: blur(10px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero .display-xxl { margin-block: var(--sp-lg) var(--sp-lg); }

/* Hero typography — A24 poster × Nike mindfulness: cinematic, premium, masculine-calm */
.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.018em;     /* tightened for a firmer, modern set */
  max-width: 16ch;              /* ~12% narrower → more breathing room */
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6,12,8,.45);
}
.hero__em {
  font-style: normal;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(233,235,238,.3));
}
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(18px, 1.9vw, 22px);  /* slightly larger */
  line-height: 1.62;                    /* more air */
  letter-spacing: 0.002em;
  max-width: 46ch;
  margin-top: var(--sp-md);
  color: var(--inverse-muted);
  text-shadow: 0 1px 18px rgba(6,12,8,.4);
}
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--inverse-muted); z-index: 2; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--silver), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: .25; transform: scaleY(.55); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- 7b. SPARKLES (canvas particle field) ---------- */
.sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }

/* ---------- 7b-ii. SHADER BACKDROP (raw WebGL, home hero) ---------- */
.shader-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.energy-ring {
  position: absolute; z-index: 1; left: 50%; top: 46%; width: min(80vw, 760px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0%, rgba(199,203,209,.04) 22%, rgba(233,235,238,.5) 50%, rgba(199,203,209,.04) 78%, transparent 100%);
  -webkit-mask: radial-gradient(closest-side, transparent 76%, #000 79%, #000 95%, transparent 99%);
  mask: radial-gradient(closest-side, transparent 76%, #000 79%, #000 95%, transparent 99%);
  animation: ringspin 16s linear infinite, ringpulse 3.4s ease-in-out infinite;
}
@keyframes ringspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ringpulse { 0%,100% { opacity: .26; } 50% { opacity: .52; } }

/* ---------- 7b-iii. VIDEO HERO (interactive, per-page footage) ---------- */
/* Sparkles sit underneath as the fallback until the <video> file exists. */
.hero__video {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform .35s var(--ease);
  filter: saturate(1.08) contrast(1.02) brightness(.92); /* keep the green lush */
  will-change: transform;
}
.hero__video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,12,8,.74) 0%, rgba(6,12,8,.34) 14%, transparent 32%),   /* dark top → nav stays legible on any frame */
    linear-gradient(0deg,   var(--canvas) 0%, rgba(250,250,250,.5) 12%, transparent 34%),   /* white bottom → dissolves into page */
    radial-gradient(100% 88% at 24% 52%, rgba(5,11,7,.82) 0%, rgba(5,11,7,.46) 44%, transparent 74%), /* focal scrim → copy stays legible on any frame */
    linear-gradient(90deg,  rgba(7,15,10,.72) 0%, rgba(7,15,10,.36) 48%, transparent 76%);  /* green scrim behind the headline */
}
.hero--video.center-hero .hero__video {
  /* brighter, more alive footage — let the jungle breathe */
  filter: saturate(1.16) contrast(1.04) brightness(1.06);
}
.hero--video.center-hero .hero__video-overlay {
  /* lush jungle reads emotional, not crushed black — scrim only where copy/nav need it, bottom melts into the dark page below */
  background:
    linear-gradient(180deg, rgba(6,8,7,.55) 0%, rgba(6,8,7,.12) 15%, transparent 30%),               /* nav legibility */
    radial-gradient(125% 100% at 50% 42%, rgba(6,10,8,.14) 0%, rgba(6,10,8,.22) 45%, rgba(6,10,8,.5) 100%), /* lighter focal scrim behind centered copy */
    linear-gradient(0deg, var(--inverse) 1%, rgba(6,8,7,.42) 13%, transparent 42%);                   /* dissolve into the threshold section */
}

/* ---------- 7c. DIGITAL RAIN (CSS, behind dark CTA / sections) ---------- */
.rain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.rain::before {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; bottom: -40%;
  background-image:
    radial-gradient(2px 90px at 8% 0, rgba(199,203,209,.45), transparent),
    radial-gradient(2px 70px at 21% 0, rgba(199,203,209,.30), transparent),
    radial-gradient(1.5px 120px at 36% 0, rgba(233,235,238,.45), transparent),
    radial-gradient(2px 80px at 50% 0, rgba(199,203,209,.26), transparent),
    radial-gradient(1.5px 100px at 64% 0, rgba(199,203,209,.40), transparent),
    radial-gradient(2px 60px at 79% 0, rgba(233,235,238,.35), transparent),
    radial-gradient(1.5px 110px at 91% 0, rgba(199,203,209,.36), transparent);
  background-repeat: repeat-y; background-size: 100% 440px;
  animation: rainfall 9s linear infinite;
}
.rain::after {
  content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(2px);
  background-image: radial-gradient(circle at 50% 50%, transparent 0 1px, var(--inverse) 1px);
  background-size: 7px 7px; opacity: .5;
}
@keyframes rainfall { from { background-position-y: 0; } to { background-position-y: 440px; } }

/* ---------- 7d. ELASTIC WAVE divider ---------- */
.wave-divider { display: flex; justify-content: center; padding-block: clamp(28px, 6vw, 56px); }
.threshold .wave-divider, .wave-divider.on-dark { background: transparent; }
.wave { position: relative; height: 1px; width: min(70vw, 760px); }
.wave__hit { position: absolute; left: 0; top: -25px; z-index: 10; height: 50px; width: 100%; cursor: ns-resize; transition: top .3s var(--ease), height .3s var(--ease); }
.wave:hover .wave__hit { top: -140px; height: 280px; }
.wave svg { position: absolute; top: -100px; height: 200px; width: 100%; overflow: visible; }
.wave path { fill: none; stroke: var(--silver-deep); stroke-width: 1.4; }
.threshold .wave path, .wave.on-dark path { stroke: var(--silver); }

/* ---------- 8. IMAGE SLOTS ---------- */
.media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--surface-1), var(--surface-2));
  border: 1px dashed var(--hairline); display: flex; align-items: center; justify-content: center;
  min-height: 220px; color: var(--ink-faint);
}
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media__label { position: relative; z-index: 1; text-align: center; padding: var(--sp-md); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.media__label small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .02em; text-transform: none; font-weight: 400; color: var(--ink-faint); }
.media--portrait { aspect-ratio: 3/4; min-height: 0; }
.media--landscape { aspect-ratio: 4/3; min-height: 0; }
.media--wide { aspect-ratio: 16/9; min-height: 0; }
.media--square { aspect-ratio: 1/1; min-height: 0; }
.media--hero { aspect-ratio: 16/9; min-height: 0; }
.threshold .media, .hero .media, .media--dark { background: var(--metal-dark); border-color: rgba(255,255,255,.14); color: #7a7f88; }
.media--filled { border: none; background: #0b0c0f; border-radius: var(--r-xl); box-shadow: 0 26px 60px rgba(8,9,11,.4); }
.threshold .media__label small, .hero .media__label small, .media--dark .media__label small { color: #6b7079; }

/* ---------- 9. SPOTLIGHT CARD ---------- */
.spotlight {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(32px, 4.5vw, 64px);
  color: #fff; isolation: isolate; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(140deg, #050506 0%, #1b1d22 48%, #3a3d44 140%);
}
.spotlight::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(120% 90% at 82% 0%, rgba(199,203,209,.30), transparent 55%); }
.spotlight .eyebrow { color: var(--silver-bright); }
.spotlight h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px,3.2vw,42px); line-height: 1.0; margin-bottom: var(--sp-md); }
.spotlight p { color: rgba(244,245,247,.82); max-width: 42ch; }
.spotlight .btn-row { margin-top: var(--sp-xl); }

/* ---------- 10. CARDS ---------- */
.card {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--silver); }
.threshold .card { background: var(--metal-dark); border-color: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.threshold .card:hover { border-color: rgba(199,203,209,.45); box-shadow: var(--glow-silver); }
.card__num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--silver-deep); letter-spacing: .12em; }
.threshold .card__num { color: var(--silver); }
.card h3 { font-family: var(--font-sans); text-transform: none; font-weight: 650; font-size: clamp(17px,1.8vw,20px); line-height: 1.25; letter-spacing: -0.01em; margin: var(--sp-sm) 0; }
.threshold .card h3 { color: #fff; }

/* Offer ladder card */
.offer-card { display: flex; flex-direction: column; height: 100%; }
.offer-card .tier { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-deep); font-weight: 600; }
.offer-card ul { margin: var(--sp-md) 0 var(--sp-lg); }
.offer-card .link-arrow { margin-top: auto; }

/* ===== Cinematic offer tiles ===== */
.offers-cinematic { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); margin-top: var(--sp-xxl); }
@media (max-width: 880px) { .offers-cinematic { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.offer-tile {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); aspect-ratio: 16 / 11; background: var(--metal-dark);
  box-shadow: var(--shadow-1, 0 10px 30px rgba(8,9,11,.18));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.offer-tile:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(8,9,11,.32); }
.offer-tile.feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

.offer-tile__media { position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; object-fit: cover;
  transform: scale(1.02); transition: transform .9s var(--ease); }
.offer-tile:hover .offer-tile__media { transform: scale(1.08); }

.offer-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,11,.28) 0%, rgba(8,9,11,0) 32%, rgba(8,9,11,.58) 74%, rgba(8,9,11,.9) 100%); }

.offer-tile__body { position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 9px; color: var(--inverse-ink); }
.offer-tile__tier { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--silver); }
.offer-tile__title { font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.04; letter-spacing: .01em; }
.offer-tile__desc { font-size: 14px; line-height: 1.5; color: rgba(244,245,247,.8); max-width: 40ch; }

.offer-tile__arrow { position: absolute; z-index: 2;
  top: clamp(18px,2.4vw,28px); right: clamp(18px,2.4vw,28px);
  width: 44px; height: 44px; border-radius: var(--r-full); display: grid; place-items: center; color: #fff;
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
  transition: background .4s var(--ease), transform .4s var(--ease); }
.offer-tile:hover .offer-tile__arrow { background: rgba(0,0,0,.5); transform: translate(2px,-2px); }
.offer-tile__arrow svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .offers-cinematic { grid-template-columns: 1fr; }
  .offer-tile, .offer-tile.feature { aspect-ratio: 4 / 3; }
}

/* Tick list */
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 16px; color: var(--ink-muted); border-top: 1px solid var(--hairline-soft); }
.ticks li:first-child { border-top: none; }
.ticks li::before { content: "✦"; color: var(--silver-deep); font-size: 11px; line-height: 1.8; flex: none; }
.threshold .ticks li { border-color: rgba(255,255,255,.1); color: var(--inverse-muted); }
.threshold .ticks li::before { color: var(--silver); }

/* Stat */
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px,5vw,60px); line-height: 1; color: var(--ink); }
.threshold .stat__num { color: var(--silver-bright); }
.stat__label { margin-top: var(--sp-sm); font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.threshold .stat__label { color: var(--inverse-muted); }

/* ---------- 11. QUOTE ---------- */
.quote { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 52px); }
.threshold .quote { background: var(--metal-dark); border-color: rgba(255,255,255,.08); }
.quote__mark { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: .5; color: var(--silver); height: 30px; }
.quote__text { font-size: clamp(19px,2.2vw,26px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin-bottom: var(--sp-lg); }
.threshold .quote__text { color: var(--inverse-ink); }
.quote__by { display: flex; align-items: center; gap: var(--sp-sm); }
.quote__avatar { width: 46px; height: 46px; border-radius: var(--r-full); background: var(--surface-2); border: 1px dashed var(--hairline); flex: none; display: grid; place-items: center; font-size: 8px; color: var(--ink-faint); overflow: hidden; }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-full); }
.quote__avatar:has(img) { border-style: solid; }
.quote__name { font-weight: 600; font-size: 15px; }
.quote__role { font-size: 13px; color: var(--ink-muted); }
.quote__metric { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--silver-wash); color: var(--silver-deep); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.threshold .quote__metric { background: rgba(199,203,209,.14); color: var(--silver-bright); }

/* ---------- video testimony ---------- */
.testimony { align-items: center; gap: clamp(28px, 4vw, 56px); }
.testimony__video { aspect-ratio: 3/4; min-height: 0; }
.testimony__quote { background: none; border: none; padding: 0; }
.testimony .play {
  position: absolute; inset: 0; z-index: 2; margin: auto; width: 78px; height: 78px;
  border: none; border-radius: var(--r-full); cursor: pointer;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.34), 0 14px 44px rgba(0,0,0,.42);
  display: grid; place-items: center; transition: transform .35s var(--ease), background .35s var(--ease);
}
.testimony .play:hover { transform: scale(1.06); background: rgba(255,255,255,.24); }
.testimony .play span {
  width: 0; height: 0; margin-left: 5px;
  border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.testimony.is-playing .play, .testimony.is-playing .media__label { display: none; }
@media (max-width: 860px) { .testimony__video { max-width: 380px; margin-inline: auto; width: 100%; } }

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--hairline-soft); }
.faq__row { border-bottom: 1px solid var(--hairline-soft); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md); width: 100%; text-align: left; padding: var(--sp-lg) 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.faq__icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; transition: transform .4s var(--ease); color: var(--silver-deep); }
.faq__row.open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a p { padding-bottom: var(--sp-lg); color: var(--ink-muted); max-width: 62ch; }

/* ---------- 13. STEPS ---------- */
.step { position: relative; padding-left: 44px; }
.step::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: -28px; width: 1px; background: var(--hairline); }
.threshold .step::before { background: rgba(255,255,255,.12); }
.step:last-child::before { display: none; }
.step__dot { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--silver-deep); background: var(--canvas); display: grid; place-items: center; }
.threshold .step__dot { border-color: var(--silver); background: var(--inverse); }
.step__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--silver-deep); }
.threshold .step__dot::after { background: var(--silver); }
.step h3 { font-family: var(--font-sans); text-transform: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }

/* ---------- 14. SHUFFLE GRID (Retreat photo wall) ---------- */
.shuffle-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 6px; aspect-ratio: 1/1; }
.shuffle-tile { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--metal-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); will-change: transform; }
.shuffle-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shuffle-tile__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6b7079; }
@media (max-width: 600px) { .shuffle-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 15. CTA BANNER ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(56px,8vw,110px) var(--gutter); text-align: center; background: var(--green-wash); border: 1px solid var(--green-hair); }
.cta-banner__glow { position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(60% 100% at 50% 100%, rgba(78,114,86,.2), transparent 70%); pointer-events: none; z-index: 0; }
.cta-banner > :not(.cta-banner__glow):not(.rain) { position: relative; z-index: 2; }

/* Dark, cinematic CTA slab — let the threshold treatment win */
.cta-banner.threshold {
  background: var(--metal-dark);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 34px 90px rgba(6,6,7,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.cta-banner.threshold::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, rgba(199,203,209,.10), transparent 55%);
}
.cta-banner.threshold .cta-banner__glow {
  background: radial-gradient(58% 100% at 50% 100%, rgba(199,203,209,.22), transparent 72%);
}
.cta-banner.threshold .eyebrow { color: var(--silver); opacity: .9; }

/* ---------- 16. FOOTER ---------- */
.footer { border-top: 1px solid var(--hairline); padding-block: var(--sp-xxl) var(--sp-xl); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-xl); }
.footer__brand { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__brand span { color: var(--green-deep); }
.footer h4 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--sp-md); }
.footer a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-muted); transition: color .3s; }
.footer a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-sm); margin-top: var(--sp-xxl); padding-top: var(--sp-lg); border-top: 1px solid var(--hairline-soft); font-size: 12px; letter-spacing: .04em; color: var(--ink-faint); }

/* ---------- 17. MOTION / REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, .rain::before, .scroll-cue::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; padding: var(--gutter); background: rgba(6,6,7,.96); backdrop-filter: blur(20px); color: var(--inverse-ink);
  }
  .nav.open .nav__links a { padding: 16px 0; font-size: 15px; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); opacity: .9; }
  /* Keep the (longer) application CTA a proper full-width button in the menu, not an overflowing pill */
  .nav.open .nav__links a.nav__cta { width: 100%; justify-content: center; font-size: 14px; padding: 0 22px; border-bottom: none; margin: var(--sp-md) 0 0; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 90vh; }
  .wave { width: 86vw; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .btn-row .btn { width: 100%; }
}

/* ── Testimonial marquee ──────────────────────────────────────── */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq-card {
  flex: 0 0 auto; width: min(440px, 82vw); margin-right: 24px;
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.mq-card:hover { border-color: var(--silver); transform: translateY(-4px); }
.mq-stars { color: var(--silver-deep); letter-spacing: .14em; font-size: 14px; }
.mq-text { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; line-height: 1.4; color: var(--ink); margin: 16px 0 22px; }
.mq-metric {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-wash); border-radius: var(--r-pill);
  padding: 6px 14px; margin-bottom: 22px;
}
.mq-by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.mq-avatar {
  width: 42px; height: 42px; border-radius: var(--r-full); flex: none; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--hairline);
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--ink-muted);
}
.mq-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.mq-role { font-size: 13px; color: var(--ink-muted); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 24px; }
  .mq-card { margin-right: 0; }
}
