/* ═══════════════════════════════════════════════════════════
   ENOCH ENTERPRISES GROUP — The Bridge to Your Best Self
   Architectural editorial · blueprint precision → golden-hour warmth
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand palette */
  --navy:        #0A1F3D;
  --navy-deep:   #061528;
  --navy-elev:   #0E2A52;
  --gold:        #D4AF37;
  --gold-soft:   #E8C766;
  --gold-warm:   #E8B04B;
  --warm-white:  #F5F0E8;
  --paper:       #F1E9DB;
  --ink:         #1A1207;

  /* Zone tokens */
  --bg-light:    var(--warm-white);
  --bg-dark:     var(--navy);
  --text-on-light: #2A2014;
  --text-on-light-mute: #6A5E48;
  --text-on-dark:  var(--warm-white);
  --text-on-dark-mute: rgba(245,240,232,0.58);

  /* Type */
  --display: "Newsreader", Georgia, serif;
  --body:    "Hanken Grotesk", -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* Spacing scale */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem;
  --s5: 4rem;  --s6: 6rem;  --s7: 9rem;  --s8: 13rem;

  --edge: clamp(1.25rem, 5vw, 6rem);
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: clamp(5rem, 9vw, 6.5rem); }   /* anchor jumps (e.g. "The Way Forward") clear the fixed header instead of hiding the section title beneath it */

body {
  font-family: var(--body);
  background: var(--navy-deep);
  color: var(--text-on-dark);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 360;
}

::selection { background: var(--gold); color: var(--navy-deep); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; }

/* ─── LOADER ─────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-deep);
  display: grid; place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(360px, 70vw); text-align: center; }
.loader-mark {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.55em;
  color: var(--gold); text-indent: 0.55em; margin-bottom: var(--s3);
}
.loader-track {
  height: 1px; width: 100%; background: rgba(245,240,232,0.14);
  position: relative; overflow: hidden;
}
#loader-bar { position: absolute; inset: 0; width: 0%; background: var(--gold); }
#loader-percent {
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-on-dark-mute);
  margin-top: var(--s2); letter-spacing: 0.1em;
}

/* ─── FIXED CANVAS ───────────────────────────────────────── */
.canvas-wrap {
  position: fixed; inset: 0; z-index: 0;
  background: var(--navy-deep);
  overflow: hidden;
}
#canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.canvas-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#dark-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 90% at 50% 50%, rgba(6,21,40,0.35) 0%, rgba(6,21,40,0.92) 100%);
}
/* Left-anchored scrim over the bridge: text lives on the dark left side, the
   bright crossing/skyline stays clear on the right (the v2 legibility fix). */
.hero-scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  /* hold the blue dark across the WHOLE headline (it runs to ~58% width) so the white/gold
     never blends into the bright towers, then fade so the crossing/skyline still shows right */
  background: linear-gradient(95deg,
    rgba(7,16,31,0.95) 0%, rgba(7,16,31,0.88) 30%,
    rgba(7,16,31,0.66) 48%, rgba(7,16,31,0.3) 62%, rgba(7,16,31,0) 78%);
}
@media (max-width: 860px) {
  /* SAME side-by-side treatment on narrow screens: keep the dark blue on the LEFT (not a
     bottom band), just hold it darker further right since the text column is proportionally
     wider here — so the bright climb still shows on the right at any width. */
  .hero-scrim {
    background: linear-gradient(95deg,
      rgba(7,16,31,0.95) 0%, rgba(7,16,31,0.88) 42%,
      rgba(7,16,31,0.6) 64%, rgba(7,16,31,0.24) 84%, rgba(7,16,31,0) 98%);
  }
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.7rem) var(--edge);
  mix-blend-mode: normal;
  border-bottom: 1px solid transparent;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1),
              background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
  will-change: transform;
}
/* auto-hide: tuck the header away while reading down, reveal on scroll-up */
.site-header.is-hidden { transform: translateY(-130%); }
/* once scrolled off the hero: a clear-ish frosted bar — the words behind it
   blur out (no text-on-text clash) while the section's color shows through.
   Text color still adapts to the section via .on-light. */
.site-header.scrolled {
  -webkit-backdrop-filter: blur(15px) saturate(135%);
          backdrop-filter: blur(15px) saturate(135%);
  background: rgba(6,21,40,0.30);
  border-bottom-color: rgba(212,175,55,0.12);
}
.site-header.scrolled.on-light {
  background: rgba(245,240,232,0.42);
  border-bottom-color: rgba(154,123,30,0.18);
}
/* over the hero video: stay clear — never a dark bar. The text color still
   adapts (light over dark frames, dark over light golden-hour frames). */
.site-header.over-hero {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}
/* legibility net over the moving bridge: a soft top fade + text-shadow so the
   brand/nav never blend into a navy frame (no navy-on-navy) and stay readable
   over bright frames too. Not a solid bar — fades away by mid-header. */
.site-header.over-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 230%; z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,16,31,0.6) 0%, rgba(7,16,31,0.28) 48%, transparent 100%);
}
.site-header.over-hero .brand { color: var(--warm-white) !important; text-shadow: 0 1px 16px rgba(0,0,0,0.65); }
.site-header.over-hero .brand-sub { color: var(--gold) !important; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.site-header.over-hero .nav > a { text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
.site-header.over-hero .nav > a:not(.nav-cta) { color: rgba(245,240,232,0.9) !important; }
.site-header.over-hero .nav-cta { color: var(--gold) !important; border-color: rgba(212,175,55,0.6) !important; }
/* over the bright golden climb (System/Decision): a SEMI-transparent navy veil — clear enough
   that the golden footage still reads through it, opaque enough that the gold brand/CTA never
   blend into the bright background. Not a stark solid bar. (All widths/heights.) */
.site-header.over-climb {
  background: rgba(7,18,38,0.58);
  -webkit-backdrop-filter: blur(12px) saturate(125%); backdrop-filter: blur(12px) saturate(125%);
  border-bottom-color: rgba(212,175,55,0.14);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem; line-height: 1; color: var(--warm-white);
}
.brand-mark { height: clamp(66px, 7.2vw, 88px); width: auto; display: block; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.95rem); letter-spacing: 0.01em; }
.brand-sub {
  font-family: var(--mono); font-size: clamp(0.66rem, 1.1vw, 0.82rem); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-top: 6px; text-indent: 0.2em; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav > a:not(.nav-cta) {
  font-size: 0.82rem; letter-spacing: 0.02em; color: rgba(245,240,232,0.78);
  position: relative; padding: 0.4rem 0; transition: color 0.4s ease;
}
.nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.45s cubic-bezier(.2,.8,.2,1);
}
.nav > a:not(.nav-cta):hover { color: var(--warm-white); }
.nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  padding: 0.62rem 1.15rem; border: 1px solid rgba(212,175,55,0.5);
  color: var(--gold); border-radius: 2px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
/* hover: subtle gold TINT + bright gold text — never a solid gold fill (which goes gold-on-gold
   invisible over the hero/climb where the text is forced gold). Readable in every header context. */
.nav-cta:hover { background: rgba(232,199,102,0.18); color: var(--gold-soft); border-color: var(--gold-soft); }
/* right cluster: nav links + (hamburger + Book a Call). Book a Call always stays here. */
.header-right { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.4rem); }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
/* hamburger — hidden by default; only appears once the nav links collapse (narrow / tabs),
   so when the user can see just the logo + Book a Call, the burger sits right next to it */
.nav-burger {
  display: none; width: 42px; height: 42px; padding: 0; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; cursor: pointer;
  background: rgba(7,16,31,0.32); border: 1px solid rgba(212,175,55,0.5); border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-burger span { display: block; width: 19px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger:hover { border-color: var(--gold); background: rgba(7,16,31,0.5); }
.site-header.on-light .nav-burger { border-color: rgba(154,123,30,0.5); background: rgba(245,240,232,0.32); }
.site-header.on-light .nav-burger span { background: #9A7B1E; }
/* keep the nav links visible on roomy windows (tighten them) */
@media (max-width: 900px) {
  .nav { gap: clamp(0.7rem, 2vw, 1.3rem); }
  .nav > a:not(.nav-cta) { font-size: 0.74rem; }
  .brand-mark { height: clamp(58px, 8vw, 74px); }
  .brand-name { font-size: clamp(1.25rem, 3.4vw, 1.6rem); }
  .brand-sub { font-size: clamp(0.6rem, 1.5vw, 0.74rem); }
}
/* narrow screens / narrow tabs: collapse the nav links into the hamburger next to Book a Call */
@media (max-width: 820px) { .nav { display: none; } .nav-burger { display: inline-flex; } }
/* phones: trim the logo + Book a Call a touch so the button stays on one line */
@media (max-width: 540px) {
  .brand-mark { height: 50px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.56rem; letter-spacing: 0.16em; }
  .nav-cta { font-size: 0.66rem; letter-spacing: 0.04em; padding: 0.5rem 0.78rem; }
  .nav-burger { width: 38px; height: 38px; }
}
/* mobile: once scrolled off the hero the bar leans solid navy (less translucent) so the gold
   Book a Call + Enterprises Group stay readable over bright/yellow summit frames on scroll-up */
@media (max-width: 720px) {
  .site-header.scrolled {
    background: rgba(7,18,38,0.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom-color: rgba(212,175,55,0.18);
  }
}
/* SHORT / LANDSCAPE viewports (e.g. phone sideways): the hero H1 sits near the top, so a fully
   transparent header lets it bleed through on scroll-up. Once scrolled off the very top, switch the
   header's TRANSPARENCY to a solid navy bar (transparent only at the true top). The higher-specificity
   over-hero selector beats over-hero's transparent !important. */
@media (max-height: 600px) {
  .site-header.scrolled,
  .site-header.over-hero.scrolled {
    background: rgba(7,18,38,0.94) !important;
    -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%);
    border-bottom-color: rgba(212,175,55,0.18) !important;
  }
  .site-header.over-hero.scrolled::before { opacity: 0; }   /* clean bar, not bar + scrim */
}

/* compact dropdown anchored under the hamburger (NOT a full-screen takeover) */
.mobile-nav {
  position: fixed; top: clamp(4.8rem, 10vh, 6.4rem); right: var(--edge); z-index: 150;
  min-width: 220px; padding: 0.55rem;
  background: rgba(10,21,40,0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.22); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 1px 0 rgba(212,175,55,0.08) inset;
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top right;
  pointer-events: none; transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.2,.8,.2,1);
}
body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0.1rem; text-align: left; }
.mobile-nav-links a {
  font-family: var(--display); font-size: 1.12rem; color: var(--warm-white); letter-spacing: -0.01em;
  padding: 0.62rem 0.85rem; border-radius: 8px; transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-links a:hover { color: var(--gold); background: rgba(212,175,55,0.09); }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header adapts to a dark ink color while over light sections */
.site-header .brand, .site-header .nav > a { transition: color 0.45s ease, border-color 0.45s ease; }
.site-header.on-light .brand { color: var(--navy-deep); }
.site-header.on-light .brand-sub { color: #9A7B1E; }
.site-header.on-light .nav > a:not(.nav-cta) { color: rgba(42,32,20,0.72); }
.site-header.on-light .nav > a:not(.nav-cta):hover { color: var(--navy-deep); }
.site-header.on-light .nav-cta { color: #9A7B1E; border-color: rgba(154,123,30,0.55); }
.site-header.on-light .nav-cta:hover { background: rgba(154,123,30,0.14); color: var(--navy-deep); border-color: #9A7B1E; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.01em; padding: 0.95rem 1.07rem; border-radius: 3px;
  cursor: pointer; position: relative; isolation: isolate;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.btn svg { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 60%, #C29B26 100%);
  color: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset,
              0 10px 30px -12px rgba(212,175,55,0.7),
              0 2px 8px -2px rgba(6,21,40,0.4);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 1.15rem 1.4rem; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 2; min-height: 100svh;
  /* copy centers in the flexible top row; the button+cue live in their own bottom row, so they
     can NEVER overlap the copy — at any width or height the rows just grow to fit */
  /* rows: [top space] [copy] [button space] [scroll cue] — the two flex rows are equal, so the copy
     stays ~centered and Book a Call lands HALFWAY between the descriptor and the bottom */
  display: grid; grid-template-rows: 1fr auto 1fr auto; row-gap: 0;
  padding: clamp(5rem, 12vh, 7.5rem) var(--edge) 1.8rem;
}
.hero-inner { grid-row: 2; }
.hero .btn { grid-row: 3; align-self: center; justify-self: start; margin: 0; }
.hero-foot { grid-row: 4; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
/* Text column scales DOWN as the screen narrows (wraps quicker) but stays a LEFT column at
   every width — never full-width — so the side-by-side over the bridge is identical on
   desktop, tablet and mobile. */
.hero-inner { max-width: min(900px, 84vw); }
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--s2); text-indent: 0.34em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-descriptor {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: rgba(245,240,232,0.82);
  max-width: 44ch; margin: 1.1rem 0 0; letter-spacing: 0.01em;   /* line space between 'That ends today.' and the descriptor */
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.2rem, 3.5vw, 3rem); line-height: 1.06;   /* sized so each sentence fits on ONE line without running too far across the image */
  letter-spacing: -0.03em; color: var(--warm-white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55); text-wrap: balance;
}
/* each phrase stays its own single line — exactly three lines, mobile + desktop */
.hero-title span { display: block; white-space: nowrap; }
.hero-title em { color: var(--gold); font-style: italic; }
.hero-title .hero-coda { margin-top: 0.25em; }   /* small gap before 'That ends today.' */
/* prevent orphaned/widowed words */
.display-xl, .display-lg, .display-md, .transform-line,
.voices-head h2, .why-head h2, .crossings-head h2 { text-wrap: balance; }
.hero-descriptor, .lead, .beat p, .voice blockquote, .crossing-tag,
.system-plain, .assemble-quote, .footer-oneliner { text-wrap: pretty; }
/* global: no orphaned/widowed words in any body copy at narrow widths (narrow desktop, laptop, mobile, zoom) */
p, li, dd, figcaption { text-wrap: pretty; }
/* mobile optimization */
@media (max-width: 600px) {
  /* keep the side-by-side: text stays a left column (wraps within it), button stays inline-left */
  .voices-head .display-md, .why-head .display-md { max-width: 100%; }
}
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem); max-width: 58ch; line-height: 1.55;
  color: rgba(245,240,232,0.88); margin-top: var(--s4); font-weight: 360;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
/* Book a Call sits with the copy (a line below the descriptor); scroll cue is the bottom row */
.hero .btn { margin: 1.7rem 0 0; }
.scroll-cue {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-on-dark-mute);
}
.scroll-line { display: block; width: 60px; height: 1px; background: rgba(245,240,232,0.3); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--gold); animation: scrollSweep 2.4s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes scrollSweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(330%); } }

/* ─── SCRUB BEATS — slow bridge, lines pop up over it (JS-driven) ── */
/* tall region = the bridge plays out slowly and finishes right as the
   last beat lands; then content sections take over on further scroll. */
.beats { position: relative; z-index: 2; min-height: 55vh; } /* short runway: two flick one-liners early, then a gap, then What We Do */
/* VERTICAL translucent blue filter down the LEFT side (full height, top to bottom), feathered
   into transparency on the right — like a tint over the left part of the page, behind the
   one-liners — so the white/gold text is ALWAYS legible over the bright bridge. */
.beat-band {
  position: fixed; left: 0; top: 0; bottom: 0; width: 60%;
  z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(to right,
    rgba(7,16,31,0.80) 0%,
    rgba(7,16,31,0.68) 28%,
    rgba(7,16,31,0.44) 52%,
    rgba(7,16,31,0.14) 78%,
    rgba(7,16,31,0) 100%);
}
.beat {
  position: fixed; left: 0; right: 0; z-index: 3;
  top: auto; bottom: 24%;                     /* sits in the bottom quadrant, anchored to the viewport BOTTOM so it lands in the same spot on short or tall windows (never clipped) */
  padding: 0 var(--edge); opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}
.beat-left { left: var(--edge); right: auto; max-width: none; text-align: left; }
.beat p {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(0.95rem, 3.7vw, 2.4rem); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--warm-white);
  white-space: nowrap;                 /* each phrase stays on one line */
  text-shadow: 0 2px 18px rgba(0,0,0,0.6); will-change: transform;
}
.beat p em { color: var(--gold); font-style: italic; }
@media (max-width: 860px) {
  /* one-liners stay a LEFT column (same as desktop) and wrap within it on narrow screens */
  .beat-left { left: var(--edge); right: auto; max-width: min(620px, 66vw); }
  .beat p { font-size: clamp(1.05rem, 4.2vw, 2rem); white-space: normal; }
  .beat-band { width: 88%; }
}

/* ─── PANELS (content sections over canvas) ──────────────── */
.panel {
  position: relative; z-index: 2;
  padding: clamp(5rem, 13vh, 9.5rem) var(--edge);
  display: flex; flex-direction: column; justify-content: center;
}
.panel-light {
  background: var(--bg-light); color: var(--text-on-light);
  box-shadow: 0 -40px 80px -40px rgba(6,21,40,0.6);
}
.panel-dark { background: transparent; }
/* What We Do + Why Leaders each fill a viewport so the previous section's lines clear the
   screen before the next pops up (and they sit exactly one swipe apart) */
.panel.panel-dark:not(.panel-transform):not(.panel-crossing) { min-height: 100svh; justify-content: center; }
.panel-dark.panel-solid { background: radial-gradient(130% 95% at 80% 6%, rgba(14,42,82,0.5), transparent 56%), var(--navy-deep); }

.panel-grid { max-width: 760px; }
.align-right .panel-grid { margin-left: auto; text-align: right; }

.label {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--s3);
}
.panel-light .label { color: #9A7B1E; }

.display-xl {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 0.96;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: 0.98; letter-spacing: -0.03em;
}
.display-md {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.0; letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.65;
  max-width: 46ch; margin-top: var(--s4); color: inherit;
}
.panel-dark .lead { color: rgba(245,240,232,0.82); }
.align-right .lead { margin-left: auto; }
/* this lead matches the hero descriptor (Leadership & financial literacy…): body sans, same size;
   sits tight under the heading (no big gap). "outcomes" stays gold + italic. */
.lead-display { font-family: var(--body); font-size: clamp(0.95rem, 1.3vw, 1.1rem); letter-spacing: 0.01em; margin-top: 0.6rem; }
.lead-display em { color: var(--gold); font-style: italic; }

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee-wrap {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--navy-deep); padding: clamp(2rem,5vw,4.5rem) 0;
  border-top: 1px solid rgba(212,175,55,0.16);
  border-bottom: 1px solid rgba(212,175,55,0.16);
}
.marquee-text {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 13vw; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(212,175,55,0.5);
  will-change: transform;
}

/* ─── WHO IT'S FOR ───────────────────────────────────────── */
.who-head { max-width: 1300px; margin: 0 auto var(--s6); width: 100%; }
.who-grid {
  max-width: 1300px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(42,32,20,0.14);
  border: 1px solid rgba(42,32,20,0.14);
}
.who-card {
  background: var(--bg-light); padding: var(--s4) var(--s4) var(--s5);
  display: flex; flex-direction: column; min-height: 300px;
  transition: background 0.5s ease;
}
.who-card:hover { background: #FBF6EC; }
.who-num {
  font-family: var(--mono); font-size: 0.78rem; color: #9A7B1E;
  letter-spacing: 0.1em; margin-bottom: auto;
}
.who-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; letter-spacing: -0.01em; margin-top: var(--s5); }
.who-card p { font-size: 0.98rem; color: var(--text-on-light-mute); margin-top: var(--s2); line-height: 1.6; }
@media (max-width: 900px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .who-grid { grid-template-columns: 1fr; } .who-card { min-height: auto; } }

/* ─── HOVER: a gold outline that travels around the box ──── */
@property --trace-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.who-card, .rail-step { position: relative; }
.who-card::after, .rail-step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: conic-gradient(from var(--trace-angle),
    transparent 0deg 248deg, var(--gold-soft) 298deg, var(--gold) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.who-card:hover::after, .rail-step:hover::after { opacity: 1; animation: traceBorder 2.4s linear infinite; }
@keyframes traceBorder { to { --trace-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .who-card:hover::after, .rail-step:hover::after { animation: none; opacity: 0.7; }
}

/* ─── STATS ──────────────────────────────────────────────── */
.panel-stats { background: var(--navy-deep); text-align: center; align-items: center; }
.stats-head { margin-bottom: var(--s6); }
.stats-marquee {
  width: 100vw; max-width: 100vw; overflow: hidden; position: relative;
  margin-left: calc(50% - 50vw); /* full-bleed within the centered panel */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.stats-track { display: flex; width: max-content; gap: 4vw; animation: statScroll 32s linear infinite; }
.stats-marquee:hover .stats-track { animation-play-state: paused; }
.stat {
  flex: 0 0 auto; width: calc((100vw - 8vw) / 3); text-align: center;  /* exactly 3 across the viewport */
  display: flex; flex-direction: column; align-items: center;
  border-top: 1px solid rgba(212,175,55,0.28); padding-top: var(--s3);
}
.stat-number { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--gold); }
.stat-suffix { font-family: var(--display); font-size: 1.2rem; color: var(--gold-soft); margin-top: 0.3rem; }
.stat-label { font-size: 0.76rem; color: var(--text-on-dark-mute); margin-top: 0.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
@keyframes statScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .stats-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ─── HOW IT WORKS — RAIL ────────────────────────────────── */
.how-head { max-width: 1100px; margin: 0 auto var(--s6); width: 100%; }
.rail { max-width: 1100px; margin: 0 auto; width: 100%; list-style: none; }
.rail-step {
  display: grid; grid-template-columns: 140px 1fr; gap: var(--s4);
  align-items: baseline; padding: var(--s4) 0;
  border-top: 1px solid rgba(42,32,20,0.16);
}
.rail-step:last-child { border-bottom: 1px solid rgba(42,32,20,0.16); }
.rail-num { font-family: var(--mono); font-size: 1.1rem; color: #9A7B1E; letter-spacing: 0.08em; }
.rail-body h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; }
.rail-body p { font-size: 1.05rem; color: var(--text-on-light-mute); margin-top: 0.5rem; max-width: 52ch; }
@media (max-width: 640px) { .rail-step { grid-template-columns: 60px 1fr; gap: var(--s2); } }

/* ─── PROOF (auto-scrolling marquee, like the stats) ─────── */
.proof-marquee {
  width: 100vw; max-width: 100vw; overflow: hidden; position: relative;
  margin-left: calc(50% - 50vw); margin-top: var(--s5); /* full-bleed within the panel */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.proof-mq-track {
  display: flex; width: max-content; align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
  animation: proofScroll 44s linear infinite;
}
.proof-marquee:hover .proof-mq-track { animation-play-state: paused; }
.quote {
  flex: 0 0 auto; width: max(300px, 34vw);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s3) clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid rgba(212,175,55,0.28);
}
.quote blockquote {
  font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.34; letter-spacing: -0.012em;
  color: var(--warm-white);
}
.quote blockquote::first-letter { color: var(--gold); }
.quote figcaption { margin-top: var(--s3); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; }
.quote figcaption span { color: var(--text-on-dark-mute); }
@keyframes proofScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .proof-mq-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ─── FOUNDER (full-bleed photo) ─────────────────────────── */
.panel-founder { background: var(--navy-deep); }
.founder-inner { width: 100%; max-width: 1180px; }
.founder-quote {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.18; letter-spacing: -0.022em;
  color: var(--warm-white); max-width: 960px; margin-top: var(--s2);
}
.founder-name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.05;
  margin-top: var(--s5);
}
.founder-role { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.06em; color: var(--gold); margin-top: var(--s1); }
.panel-founder .btn { margin-top: var(--s5); align-self: flex-start; }

/* ─── FINAL CTA ──────────────────────────────────────────── */
.panel-final { position: relative; overflow: hidden; background: var(--navy-deep); text-align: center; align-items: center; }
.final-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.final-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(75% 70% at 50% 50%, rgba(4,12,24,0.62), rgba(4,12,24,0.86) 100%),
    linear-gradient(0deg, rgba(4,12,24,0.75) 0%, transparent 32%, transparent 68%, rgba(4,12,24,0.7) 100%);
}
.panel-final .final-inner { position: relative; z-index: 2; max-width: 900px; }
.panel-final .lead { margin-left: auto; margin-right: auto; }
.panel-final .btn { margin-top: var(--s5); }
.panel-final h2 {
  font-size: clamp(1.5rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: -0.02em;
  white-space: nowrap; text-shadow: 0 2px 22px rgba(0,0,0,0.6);
}
.panel-final .label, .panel-final .lead { text-shadow: 0 2px 16px rgba(0,0,0,0.55); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer { position: relative; z-index: 2; background: #04101F; padding: clamp(2.4rem, 5vh, 3.4rem) var(--edge) clamp(1.4rem, 3vh, 2rem); }
.footer-grid {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 1200px; margin: 0 auto; padding-bottom: 0;
}
.footer-copy { font-size: 0.78rem; color: var(--text-on-dark-mute); }
/* right column: social stacked ABOVE Terms/Privacy, all vertical + flush right */
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; text-align: right; }
.footer-right .footer-social { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; padding-top: 0; }
.footer-right .footer-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.footer-right .footer-legal a { font-size: 0.78rem; color: var(--text-on-dark-mute); }   /* small, like the copyright */
.footer-mark { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-size: 1.4rem; color: var(--warm-white); }
.footer-mark .brand-mark { height: clamp(56px, 6.5vw, 74px); }
.footer-mark .brand-name { font-size: clamp(1.25rem, 2vw, 1.6rem); }
/* EEG logo, recolored cream+gold for dark bgs — transparent, no chip, enlarged */
.brand-logo { height: clamp(70px, 7.5vw, 92px); width: auto; display: block; }
.footer-logo { height: clamp(78px, 9vw, 100px); width: auto; display: block; }
.footer-brand p { color: var(--text-on-dark-mute); margin-top: 0.5rem; }
.footer-email { display: block; width: fit-content; margin-top: 0.6rem; font-size: 0.92rem; color: rgba(245,240,232,0.72); transition: color 0.3s ease; }
.footer-email:hover { color: var(--gold); }
/* right contact column: top-aligns its email with the logo, bottom-aligns its icons with the
   tagline's last line — both columns share the row height, so it's even at any width/height */
.footer-grid { align-items: stretch; }
.footer-contactcol { display: flex; flex-direction: column; align-items: flex-end; text-align: right; justify-content: flex-end; gap: 0.85rem; }
.footer-contactlines { display: flex; flex-direction: column; align-items: flex-end; }
.footer-contactcol .footer-email { margin-top: 0; line-height: 1.55; }
.footer-contactlines .footer-email + .footer-email { margin-top: 0; }
@media (max-width: 720px) { .footer-contactcol { gap: 0.45rem; } }   /* keep email+socials right; tight email↔icons */
.footer-icons { display: none; }   /* social links (IG / LinkedIn / YouTube) hidden globally */
.footer-icons a { display: inline-flex; color: var(--warm-white); opacity: 0.82; transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.footer-icons a:hover { opacity: 1; color: var(--gold); transform: translateY(-2px); }
.footer-icons svg { width: 21px; height: 21px; display: block; }
.footer-contact, .footer-social { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 0.4rem; }
.footer-contact a, .footer-social a { font-size: 0.92rem; color: rgba(245,240,232,0.72); transition: color 0.3s ease; width: fit-content; }
.footer-contact a:hover, .footer-social a:hover { color: var(--gold); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  max-width: 1200px; margin: clamp(1.1rem, 2.6vh, 1.6rem) auto 0; padding-top: 0;
  border-top: none;   /* one cohesive footer — no dividing line that reads as a second footer */
  font-size: 0.78rem; color: var(--text-on-dark-mute);
}
.footer-base .footer-legal { gap: clamp(0.9rem, 2.4vw, 1.6rem); flex-wrap: nowrap; }
.footer-base .footer-legal a { font-size: 0.78rem; color: var(--text-on-dark-mute); white-space: nowrap; }
.footer-base a:hover { color: var(--gold); }
@media (max-width: 720px) {
  /* stays 2-col: logo+tagline left, email+socials right (do NOT stack) */
  .footer-grid { gap: clamp(0.8rem, 3vw, 1.4rem); }
  /* keep the bottom bar a ROW (copyright far-left, legal far-right) even on narrow/mobile */
  .footer-base { flex-direction: row; align-items: center; gap: 0.75rem; }
  /* compact footer logo — matches the header: smaller emblem + tight 2-line lockup */
  .footer-mark .brand-mark { height: 44px; }
  .footer-mark .brand-name { font-size: 1.05rem; }
  .footer-mark .brand-sub { font-size: 0.56rem; letter-spacing: 0.16em; }
  /* tagline trimmed so it stays two lines (no orphaned "for" / "& schools.") in the left column */
  .footer-brand p { font-size: 0.72rem; line-height: 1.5; margin-top: 0.6rem; }
  .footer-email { font-size: 0.78rem; }
  .footer-icons svg { width: 19px; height: 19px; }
}

/* ─── REVEAL STATES (JS-driven) ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-on-scroll { opacity: 0; will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
  .scroll-line::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   V3 — institutional StoryBrand build
   ═══════════════════════════════════════════════════════════ */

/* Solid sections cover the bridge; dark panels let it show through (scrim handles legibility) */
.panel-solid { background: radial-gradient(130% 95% at 80% 6%, rgba(14,42,82,0.5), transparent 56%), var(--navy-deep); }
/* text over the live bridge gets a safety shadow */
.panel-dark .label, .panel-dark h2, .panel-dark .lead { text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.panel-dark .panel-grid, .panel-dark .why-head { max-width: 640px; }

/* ─── PROOF BAR ─── */
.panel-proofbar { padding-top: clamp(2.4rem, 6vh, 3.8rem); padding-bottom: clamp(2.4rem, 6vh, 3.8rem); }
.proofbar-inner { max-width: 1100px; }
.proofbar-line { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.proofbar-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(0.8rem, 2.5vw, 2rem); margin-top: var(--s3); }
.proof-logo {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(245,240,232,0.5);
  border: 1px dashed rgba(245,240,232,0.28); border-radius: 6px; padding: 0.65rem 1.05rem;
}

/* ─── WHY LEADERS PARTNER (pillars over the bridge) ─── */
.why-head { max-width: 640px; margin-bottom: var(--s5); }
.why-head .display-md { margin-top: var(--s2); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); max-width: 1100px; }
.why-card {
  position: relative; border: 1px solid rgba(212,175,55,0.18); border-radius: 14px;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  background: linear-gradient(180deg, rgba(14,42,82,0.55), rgba(6,21,40,0.42));
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: border-color 0.5s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,0.4); }
.why-num { font-family: var(--mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; }
.why-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; color: var(--warm-white); margin-top: var(--s3); letter-spacing: -0.01em; line-height: 1.15; }
.why-card p { font-size: 0.98rem; color: rgba(245,240,232,0.72); margin-top: var(--s2); line-height: 1.55; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ─── TRANSFORMATION BAND ─── */
.panel-transform { padding-top: clamp(3rem, 9vh, 6.5rem); padding-bottom: clamp(3rem, 9vh, 6.5rem); }
.transform-line {
  font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 5vw, 4.2rem);
  line-height: 1.05; letter-spacing: -0.03em; color: var(--warm-white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.55); white-space: nowrap;  /* one line, a touch smaller */
}
.transform-line em { color: var(--gold); font-style: italic; }

/* ─── MARQUEE BAND (continuous transition) ─── */
.band-marquee {
  position: relative; z-index: 2; overflow: hidden; background: var(--navy-deep);
  border-top: 1px solid rgba(212,175,55,0.18); border-bottom: 1px solid rgba(212,175,55,0.18);
  padding: clamp(1rem, 2.2vw, 1.7rem) 0;
}
.band-track { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.4rem); width: max-content; white-space: nowrap; animation: bandScroll 28s linear infinite; }
.band-track span { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3.4vw, 2.7rem); color: var(--gold-soft); letter-spacing: -0.01em; }
.band-track b { color: var(--gold); font-size: clamp(0.9rem, 2vw, 1.5rem); opacity: 0.8; }
.band-marquee:hover .band-track { animation-play-state: paused; }
@keyframes bandScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* ─── THE FOUR CROSSINGS (expandable disclosure cards) ─── */
.section-crossings { background: radial-gradient(120% 90% at 50% 0%, rgba(14,42,82,0.45), transparent 55%), #07101F; min-height: 100svh; padding-top: clamp(1.75rem, 4vh, 3rem); padding-bottom: clamp(1.5rem, 3vh, 2.5rem); }   /* locks to one clean screen: head + pills + CTA fill the viewport, the stats slider stays below the fold */
.crossings-head { max-width: 1100px; margin: 0 auto clamp(1.1rem, 2.6vh, 1.8rem); width: 100%; }   /* was --s5 (4rem) — trimmed empty space under the heading */
.crossings-head .display-lg { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.0; margin-top: 0.4rem; }   /* smaller than full display-lg so head + pills + CTA fit above the fold */
.crossings-grid { max-width: 1100px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 1.6vw, 1.3rem); }
.crossings-cta { max-width: 1100px; margin: clamp(0.9rem, 2vh, 1.4rem) auto 0; width: 100%; text-align: left; }   /* left-aligned to the grid edge, matching the hero button; tight gap above so it lifts into view */
/* Short viewports (small laptops): shrink the heading + pills so the whole section
   still locks into one clean screen with the CTA above the fold. */
@media (min-width: 761px) and (max-height: 820px) {
  .section-crossings { padding-top: clamp(0.75rem, 2vh, 1.5rem); padding-bottom: clamp(0.75rem, 2vh, 1.5rem); }
  .crossings-head { margin-bottom: clamp(0.6rem, 1.6vh, 1.1rem); }
  .crossings-head .display-lg { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-top: 0.25rem; }
  .crossings-grid { gap: clamp(0.6rem, 1.2vh, 1rem); }
  .crossing summary { padding-top: clamp(0.6rem, 1.3vh, 0.95rem); padding-bottom: clamp(0.6rem, 1.3vh, 0.95rem); }
  .crossing-title { font-size: clamp(1.15rem, 1.9vw, 1.55rem); min-height: 1.9em; }
  .crossing-tag { font-size: 0.9rem; }
  .crossings-cta { margin-top: clamp(0.7rem, 1.5vh, 1.1rem); }
}
@media (min-width: 761px) and (max-height: 740px) {
  .crossings-head .display-lg { font-size: clamp(1.55rem, 2.7vw, 2.05rem); }
  .crossings-head { margin-bottom: 0.55rem; }
  .crossing summary { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .crossing-title { font-size: clamp(1.05rem, 1.7vw, 1.4rem); min-height: 1.7em; }
  .crossings-grid { gap: 0.5rem; }
}
.crossing {
  position: relative; border: 1px solid rgba(212,175,55,0.18); border-radius: 14px;
  background: linear-gradient(180deg, rgba(14,42,82,0.5), rgba(6,21,40,0.42));
  transition: border-color 0.5s ease;
}
.crossing[open] { border-color: rgba(212,175,55,0.4); }
.crossing summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.4rem 1rem; padding: clamp(0.85rem, 1.5vw, 1.2rem) clamp(1.4rem, 2.6vw, 2.1rem);
}
.crossing summary::-webkit-details-marker { display: none; }
.crossing summary:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.crossing-num { font-family: var(--mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; flex: 0 0 100%; margin-bottom: 0.15rem; }
.crossing-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--warm-white); letter-spacing: -0.01em; }
.crossing-title { flex: 1 1 auto; line-height: 1.18; min-height: 2.1em; }   /* reserve ~2 lines so a long title (C-Suite) and a short one (Schools) keep their tags on the same row line */
.nowrap { white-space: nowrap; }
.crossing-tag { flex: 0 0 100%; font-size: 0.98rem; color: rgba(245,240,232,0.6); margin-top: 0.15rem; }  /* always on the line beneath the title — same cadence for all four */
.crossing-chev { margin-left: auto; width: 22px; height: 22px; position: relative; flex: none; align-self: center; }
.crossing-chev::before, .crossing-chev::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.4s ease, opacity 0.4s ease; }
.crossing-chev::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.crossing-chev::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.crossing[open] .crossing-chev::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.crossing-detail { padding: 0 clamp(1.4rem, 2.6vw, 2.1rem) clamp(1.3rem, 2.4vw, 1.9rem); }
.crossing[open] .crossing-detail { animation: crossReveal 0.45s ease both; }
@keyframes crossReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.crossing-detail p { color: rgba(245,240,232,0.78); font-size: 1.02rem; line-height: 1.6; max-width: 60ch; border-top: 1px solid rgba(212,175,55,0.16); padding-top: var(--s3); }
/* gold outline travels around the card on hover (same as the other boxes) */
.crossing::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: conic-gradient(from var(--trace-angle), transparent 0deg 248deg, var(--gold-soft) 298deg, var(--gold) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.crossing:hover::before { opacity: 1; animation: traceBorder 2.4s linear infinite; }
@media (max-width: 720px) {
  /* MOBILE: keep all four cards stacked (1 column), just tighten the padding/white space so the
     heading + all four fit one screen; nudge the + up toward the title */
  .section-crossings { padding-top: clamp(1.8rem, 5vh, 3rem); padding-bottom: clamp(1.4rem, 4vh, 2.4rem); }
  .crossings-head { margin-bottom: clamp(0.9rem, 2.6vh, 1.5rem); }
  .crossings-head .display-lg { font-size: clamp(1.7rem, 7.4vw, 2.4rem); line-height: 1.05; margin-top: 0.35rem; }
  .crossings-grid { grid-template-columns: 1fr; gap: 0.55rem; }
  .crossing summary { position: relative; padding: 0.68rem 3rem 0.7rem 1.05rem; gap: 0.02rem 0.5rem; }
  .crossing-num { font-size: 0.62rem; margin-bottom: 0; }
  .crossing-title { font-size: 1.05rem; line-height: 1.14; min-height: 0; }
  .crossing-tag { font-size: 0.8rem; margin-top: 0.05rem; }
  /* + pinned to the right, vertically centered (up from the bottom) — even across all four */
  .crossing-chev { position: absolute; right: 1.05rem; top: 50%; transform: translateY(-50%); margin: 0; }
  .crossing[open] .crossing-chev { top: 1.2rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .crossing:hover::before { animation: none; opacity: 0.7; } }

/* ─── IMPACT BAND (animated counters) ─── */
.section-impact { background: radial-gradient(120% 90% at 50% 100%, rgba(14,42,82,0.5), transparent 58%), #07101F; padding-top: clamp(1.4rem, 3.5vh, 2.4rem); padding-bottom: clamp(2.4rem, 6vh, 4rem); }
.impact-grid { max-width: 1100px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.impact-stat { display: flex; flex-direction: column; align-items: center; gap: var(--s2); border-top: 1px solid rgba(212,175,55,0.28); padding-top: var(--s4); }
.impact-fig { display: flex; align-items: baseline; justify-content: center; gap: 0.04em; }
.impact-fig .stat-number { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--gold); }
.impact-fig .stat-suffix { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--gold-soft); margin: 0; }
.impact-stat .stat-label { font-size: 0.86rem; color: var(--text-on-dark-mute); letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
@media (max-width: 780px) { .impact-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s3); } }

/* ─── TESTIMONIALS ─── */
.section-voices { background: radial-gradient(120% 90% at 78% 4%, rgba(14,42,82,0.5), transparent 56%), #07101F; }
.voices-head { max-width: 1100px; margin: 0 auto var(--s5); width: 100%; }
.voices-head .display-md { margin-top: var(--s2); max-width: 20ch; }
/* one-row auto-scrolling testimonials — no boxes */
.voices-marquee {
  position: relative; width: 100%; 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);
}
/* JS steps the track left one card every ~2s (see initVoices) */
.voices-track { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: clamp(2.4rem, 5vw, 4.5rem); width: max-content; will-change: transform; }
.voice {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 32vw, 420px);
  border: none; background: none; padding: 0;
}
.voice blockquote { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.45; color: var(--warm-white); }
.voice blockquote::before { content: "\201C"; color: var(--gold); font-size: 1.5em; line-height: 0; vertical-align: -0.35em; margin-right: 0.04em; }
.voice figcaption { margin-top: var(--s3); display: flex; flex-direction: column; gap: 0.25rem; }
.voice-name { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--warm-white); }
.voice-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
@keyframes voicesScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .voices-track { animation: none; } }

/* ─── THE CROSSING — signature line over the live bridge ─── */
.panel-crossing { text-align: center; align-items: center; }
.panel-crossing::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(66% 52% at 50% 50%, rgba(6,16,31,0.46), transparent 80%);
}
.crossing-line {
  font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(1.05rem, 5.7vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em;
  color: var(--warm-white); margin: 0 auto;
  white-space: nowrap;   /* always one line, regardless of screen width */
  text-shadow: 0 2px 26px rgba(0,0,0,0.6), 0 1px 5px rgba(0,0,0,0.55);
}

/* ─── BREATHER + STANDARDS pull-quote ─── */
.section-standards { position: relative; z-index: 2; background: #0A1F3D; padding: clamp(3rem, 9vh, 6rem) var(--edge); text-align: center; overflow: hidden; }
.standards-quote {
  font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem, 3.8vw, 3rem); line-height: 1.15; letter-spacing: -0.015em;
  color: var(--warm-white); max-width: 22ch; margin: 0 auto; text-wrap: balance;
}

/* ─── THE SYSTEM (financial literacy, no video) ─── */
.section-system { position: relative; overflow: hidden; background: var(--navy-deep); }
.system-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.system-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,12,24,0.92) 0%, rgba(4,12,24,0.78) 38%, rgba(4,12,24,0.34) 70%, rgba(4,12,24,0.18) 100%),
    linear-gradient(0deg, rgba(4,12,24,0.6) 0%, transparent 30%, transparent 70%, rgba(4,12,24,0.5) 100%);
}
.section-system .system-inner { position: relative; z-index: 2; max-width: 680px; }
.system-sub { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--gold-soft); margin-top: var(--s2); }
.section-system .lead { margin-top: var(--s4); }
.system-plain { font-size: clamp(1.12rem, 1.8vw, 1.42rem); color: var(--warm-white); margin-top: var(--s4); font-weight: 500; border-left: 2px solid var(--gold); padding-left: var(--s3); line-height: 1.5; }
.section-system .btn { margin-top: var(--s5); }

/* ─── SECTION 07 — Assemble the Picture ─── */
.panel-assemble { background: var(--navy-deep); }
.assemble-inner { max-width: 1000px; }
.assemble-quote { font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.18; letter-spacing: -0.022em; color: var(--warm-white); max-width: 920px; margin-top: var(--s2); }
.assemble-attr { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: var(--s3); }

/* ─── FOOTER top (one-liner + kicker) ─── */
.footer-top { max-width: 1200px; margin: 0 auto var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid rgba(245,240,232,0.1); }
.footer-kicker { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gold-soft); }
.footer-oneliner { color: rgba(245,240,232,0.62); max-width: 72ch; margin-top: var(--s3); line-height: 1.6; font-size: 0.98rem; }
.footer-legal { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer-legal a { transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--gold); }

/* ═══════════════ LEGAL PAGES (Terms / Privacy) ═══════════════ */
.legal-page { background: var(--navy-deep); }
.legal-page::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 82% -8%, rgba(14,42,82,0.55), transparent 55%),
              radial-gradient(90% 60% at -10% 100%, rgba(212,175,55,0.06), transparent 60%);
}
.legal-header {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.1rem, 2.4vw, 1.8rem) var(--edge);
  border-bottom: 1px solid rgba(245,240,232,0.1);
}
.legal-header .brand { display: flex; flex-direction: column; line-height: 1; }
.legal-header .brand-name { font-family: var(--display); font-size: 1.5rem; color: var(--warm-white); letter-spacing: -0.01em; }
.legal-header .brand-sub { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 0.3rem; }
.legal-back { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-dark-mute); transition: color 0.3s ease; }
.legal-back:hover { color: var(--gold); }

.legal-main { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--edge) clamp(3.5rem, 10vh, 7rem); }
.legal-eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.legal-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--warm-white); margin-top: var(--s2); }
.legal-updated { font-family: var(--mono); font-size: 0.78rem; color: var(--text-on-dark-mute); margin-top: var(--s2); }
.legal-note { margin-top: var(--s4); padding: 1rem 1.3rem; border-left: 2px solid var(--gold); background: rgba(212,175,55,0.06); border-radius: 0 8px 8px 0; color: rgba(245,240,232,0.72); font-size: 0.92rem; line-height: 1.65; }

.legal-body { margin-top: var(--s5); }
.legal-body h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -0.01em; color: var(--warm-white); margin-top: var(--s5); margin-bottom: var(--s2); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: rgba(245,240,232,0.78); margin-bottom: var(--s2); }
.legal-body ul { margin: 0 0 var(--s2) 1.2rem; color: rgba(245,240,232,0.78); }
.legal-body li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.legal-body li::marker { color: var(--gold); }
.legal-body a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--gold); }
.legal-body strong { color: var(--warm-white); font-weight: 600; }

/* ════════════════════ V3 ROUND — Prestige/copy edits ════════════════════ */

/* Hero hook headline (controversial one-liner, wraps freely) */
.hero-hook { white-space: normal; text-wrap: balance; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.08; }
.hero-title em { color: var(--gold); font-style: italic; }

/* gold-italic key words across headings/copy */
.why-head h2 em, .why-sub em, .crossing-line em, .panel-grid h2 em,
.system-title em, .decision-title em, .decision-copy em,
.crossings-head .display-lg em { color: var(--gold); font-style: italic; }
.why-sub { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(245,240,232,0.8); margin-top: var(--s2); }

/* Trusted-by — on navy, logos on subtle light chips, auto-scrolling slider */
.section-logos { background: radial-gradient(120% 90% at 50% 0%, rgba(14,42,82,0.5), transparent 58%), var(--navy-deep); text-align: center; padding-top: clamp(2.2rem, 5vh, 3.4rem); }
.logos-head h2 { max-width: 24ch; margin: var(--s2) auto 0; }
.logos-marquee { margin-top: var(--s5); width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); width: max-content; animation: logoScroll 36s linear infinite; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
/* uniform CREAM cards; the logos' white backgrounds were keyed out (transparent), so the
   art sits straight on the cream — no white boxes, all consistent. */
.logo-chip, .logo-chip--soft {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  height: clamp(100px, 12vw, 132px); width: clamp(190px, 23vw, 250px);
  background: var(--warm-white); border: 1px solid rgba(212,175,55,0.2); border-radius: 14px;
  padding: clamp(1.2rem, 2.2vw, 2rem); box-shadow: 0 18px 44px -22px rgba(0,0,0,0.6);
}
.logo-chip img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; opacity: 1; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }

/* ═══ THE CLIMB — scroll-scrubbed System + Decision ═══ */
.section-experience { position: relative; z-index: 2; height: 300vh; background: var(--void, #07101F); }  /* shorter section */
.exp-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--void, #07101F); }
/* The canvas shows the WHOLE climb (full frame — never crops the climbers or the sphere, so the
   stone-push AND the triumphant summit are always visible) as a shorter band, shifted left. The
   copy sits top-left on a 50% translucent navy band and OVERLAPS onto the footage. Always
   side-by-side — never stacked. */
.exp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.exp-scrim { display: none; }
/* navy bar under the copy at 25% transparency (~75% opaque) so the text is clearly readable,
   fading off to the right where the climbers are */
.exp-overlay { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(102deg, rgba(10,31,61,0.75) 0%, rgba(10,31,61,0.75) 32%, rgba(10,31,61,0.4) 46%, rgba(10,31,61,0) 60%); }
/* copy: top-left, moved up the page (not centered), overlapping the footage */
/* top padding clears the tall logo header at every height (so "The Decision" / "The System"
   copy never tucks under the bar) and drops the block lower — centered-left over the footage,
   off the path the climbing sphere travels in the upper frame */
.exp-group { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; text-align: left; padding-inline: clamp(1.4rem, 3.4vw, 3.6rem); padding-block: clamp(3.5rem, 8vh, 6rem) clamp(2.25rem, 4vh, 3rem); }   /* copy anchored to the lower frame (matches mobile); the bottom padding = a CONSISTENT gap between the Book a Call button and the footer on every screen height/width */
.exp-inner { max-width: min(36vw, 30rem); text-shadow: 0 1px 3px rgba(7,16,31,0.7), 0 2px 18px rgba(7,16,31,0.85); }
.exp-inner .btn { text-shadow: none; }   /* keep the Book-a-Call label crisp (no inherited blur) */
/* MOBILE: stacked — video fills the top, copy sits below it on solid dark (no band), readable */
@media (max-width: 720px) {
  /* taller section on mobile = slower scrub, so the climb eases and each line has time to drop in */
  .section-experience { height: 460vh; }
  .exp-overlay { background: none; }
  .exp-group { justify-content: flex-end; align-items: flex-start; padding-inline: clamp(1.2rem, 5vw, 1.8rem); padding-block: 0 clamp(1.6rem, 5vh, 2.6rem); }
  .exp-inner { max-width: 94vw; text-shadow: none; }
  .system-beats .sys-beat { font-size: clamp(1.05rem, 4.4vw, 1.35rem); margin-top: 0.5rem; }
  .system-title, .decision-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .decision-copy .lead { font-size: clamp(1rem, 4.2vw, 1.2rem); }
}
.sys-beat { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.sys-beat.is-in { opacity: 1; transform: translateY(0); }
.sys-beat em { color: var(--gold); font-style: italic; }
@media (prefers-reduced-motion: reduce) { .sys-beat { transition: none; } }
.system-eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; color: var(--gold); }
.system-title { font-family: var(--display); font-weight: 400; color: var(--warm-white); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.03; letter-spacing: -0.03em; margin-top: 0.5rem; text-shadow: 0 2px 22px rgba(0,0,0,0.6); }
.system-beats { margin-top: 1.3rem; }
.system-beats .sys-beat { font-family: var(--display); font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.22; letter-spacing: -0.01em; color: var(--warm-white); margin-top: 0.55rem; text-shadow: 0 2px 16px rgba(0,0,0,0.65); }
.system-beats .sys-beat:first-child { margin-top: 0; }
.decision-copy .label { color: var(--gold); text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.decision-title { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; color: var(--warm-white); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.03; margin-top: var(--s3); text-shadow: 0 2px 24px rgba(0,0,0,0.65); }
.decision-copy .lead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); max-width: 42ch; margin-top: var(--s3); color: var(--warm-white); text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.decision-copy .btn { margin-top: clamp(1.75rem, 2.4vw, 2.5rem); }   /* ~1–2 lines below the copy (close to the text, not jammed far down) */

/* stats slider: trim the bottom padding so there's only a little separation before the logos */
.section-impact { padding-top: clamp(1.8rem, 4vh, 2.8rem); padding-bottom: clamp(1.4rem, 3vh, 2.2rem); }
.section-logos { padding-top: clamp(1.8rem, 4vh, 2.6rem); }

/* mobile: shrink the FOOTER (the stacked grid was very tall) so it isn't an oversized
   second block after the page. Tighten gaps + padding. */
@media (max-width: 720px) {
  .site-footer { padding-top: clamp(1.8rem, 5vh, 2.6rem); padding-bottom: clamp(1.1rem, 3vh, 1.7rem); }
  .footer-grid { gap: 1.15rem; padding-bottom: 1.15rem; }
  .footer-brand p { margin-top: 0.35rem; }
  .footer-contact, .footer-social { gap: 0.35rem; padding-top: 0; }
  .footer-base { margin-top: 1rem; }
}
