/* =============================================================
   Clearance/ — styles.css
   Order: fonts → tokens → base → layout → shared components →
   page components (Home, Training Providers, Solutions, Learners)
   → responsive. Each selector is defined once outside media queries.
   ============================================================= */


/* -------------------------------------------------------------
   Fonts (self-hosted; licences in assets/fonts)
   Apfel Grotezk Fett (700) sets display headings and Satt (900) the
   /Circuit headline; Mittel covers 500–600 (the family has no 600 cut).
   ------------------------------------------------------------- */
@font-face { font-family: 'Apfel Grotezk'; src: url('/assets/fonts/ApfelGrotezk-Mittel.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apfel Grotezk'; src: url('/assets/fonts/ApfelGrotezk-Fett.woff2') format('woff2'); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apfel Grotezk'; src: url('/assets/fonts/ApfelGrotezk-Satt.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aileron'; src: url('/assets/fonts/aileron-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aileron'; src: url('/assets/fonts/aileron-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Aileron'; src: url('/assets/fonts/aileron-latin-600-normal.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }


/* -------------------------------------------------------------
   Tokens
   ------------------------------------------------------------- */
:root {
  /* Brand palette (full 50–950 scales live in clearance-palette.css) */
  --midnight-950: #050F1B;
  --midnight-900: #081625;
  --midnight-800: #0B192B;
  --midnight-700: #1B2B42;
  --navy-600: #12213A;              /* raised cards on midnight */
  --navy-500: #182A47;              /* inset rows inside cards */
  --slate-500: #6E7F94;
  --slate-400: #929FB0;
  --slate-300: #B8C1CC;
  --mist-100: #E8EAEC;
  --paper: #F7F5F2;
  --white: #FFFFFF;
  --signal-400: #F38772;
  --signal-500: #EB573D;
  --signal-600: #D24631;
  --signal-700: #B93625;
  --verified-300: #DDF78A;
  --verified-500: #B7E72B;
  --current-700: #17658F;
  --orbit-700: #493B83;
  --cleared-700: #125832;

  /* Colour roles. Dark is the default; .section--paper and
     .section--coral re-point these, so components need no variants. */
  --bg: var(--midnight-800);
  --surface: var(--navy-600);
  --surface-inset: var(--navy-500);
  --line: rgba(184, 193, 204, 0.16);
  --line-strong: rgba(184, 193, 204, 0.32);
  --grid-line: rgba(184, 193, 204, 0.075);
  --text: var(--paper);
  --text-muted: var(--slate-300);           /* 9.7:1 on midnight */
  --text-faint: #A0ACBB;                    /* 7.7:1 on midnight, ≥5:1 over the background glows; small mono labels */
  --text-coral: var(--signal-400);          /* coral text on dark: 6.6:1 */
  --text-lime: var(--verified-500);
  --accent-fill: var(--signal-600);         /* buttons and coral bands: white text 4.5:1 */
  --accent-fill-hover: var(--signal-700);
  --text-on-accent: #FFFFFF;
  --coral: var(--signal-500);               /* data marks: bars, dots, rules */
  --lime: var(--verified-500);
  --focus: var(--verified-500);
  --glow-coral: rgba(235, 87, 61, 0.55);
  --glow-lime: rgba(183, 231, 43, 0.5);
  --glow-blue: rgba(58, 157, 214, 0.5);
  --glow-violet: rgba(117, 100, 184, 0.55);

  /* Type */
  --font-display: 'Apfel Grotezk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Aileron', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-hero: clamp(2.7rem, 5.4vw, 4.75rem);
  --fs-h2: clamp(2.1rem, 3.9vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 1.7vw, 1.55rem);
  --fs-lead: clamp(1.05rem, 1.25vw, 1.2rem);
  --fs-small: 0.9rem;
  --fs-label: 0.75rem;

  /* Space & shape */
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 72px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


/* -------------------------------------------------------------
   Base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Clip sideways overflow from elements waiting to slide in (clip, unlike hidden, keeps sticky working) */
main { position: relative; z-index: 1; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
input, textarea { font: inherit; color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.04; text-wrap: balance; }
h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }


/* -------------------------------------------------------------
   Layout & section themes
   ------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container-max) + var(--container-pad) * 2); margin-inline: auto; padding-inline: var(--container-pad); }
.section { position: relative; padding: var(--section-pad) 0; background: var(--section-bg, transparent); }
.section--grid { background-color: var(--section-bg, transparent); background-image: radial-gradient(70% 55% at 50% 0%, rgba(58, 157, 214, 0.09), transparent 70%), linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 100% 100%, 64px 64px, 64px 64px; background-position: center top; }
.section--deep { --bg: var(--midnight-900); --section-bg: rgba(5, 13, 24, 0.45); }
/* Glowing divider along the top edge of a section */
.section--rule::before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 1px; background: linear-gradient(90deg, transparent, rgba(58, 157, 214, 0.55) 25%, rgba(235, 87, 61, 0.75) 50%, rgba(58, 157, 214, 0.55) 75%, transparent); box-shadow: 0 0 14px var(--glow-blue); pointer-events: none; }
.section--paper {
  --bg: var(--paper);
  --section-bg: var(--paper);
  --surface: var(--white);
  --surface-inset: var(--mist-100);
  --line: rgba(11, 25, 43, 0.12);
  --line-strong: rgba(11, 25, 43, 0.24);
  --text: var(--midnight-800);
  --text-muted: #4E5E73;
  --text-faint: #4E5E73;
  --text-coral: var(--signal-700);
  --text-lime: var(--cleared-700);
  --focus: var(--signal-700);
  color: var(--text);
}
.section--coral {
  --bg: var(--accent-fill);
  --section-bg: var(--accent-fill);
  --text: #FFFFFF;
  --text-muted: #FFFFFF;
  --text-faint: #FFFFFF;
  --line: rgba(255, 255, 255, 0.35);
  --focus: var(--white);
  color: var(--text);
}
.head { max-width: 58rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--container-pad) clamp(2rem, 6vw, 5rem); align-items: end; }
.head h2 { font-size: var(--fs-h2); }
.head p:not([class]) { margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--text-muted); }
.head--center p { margin-inline: auto; max-width: 38rem; }
.head--split > p:not([class]) { margin-top: 0; }
.kicker { margin-top: 1.75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.note { margin-top: 0.75rem; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-faint); text-align: right; }


/* -------------------------------------------------------------
   Labels: mono eyebrows, quote lines, sample tags, signal tags
   ------------------------------------------------------------- */
.eyebrow { display: block; margin-bottom: 1.1rem; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.eyebrow--coral { color: var(--text-coral); }
.eyebrow--lime { color: var(--text-lime); }
.eyebrow--dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.6rem; border-radius: 50%; background: var(--lime); vertical-align: 1px; box-shadow: 0 0 10px var(--glow-lime); }
.quote-line { max-width: 34rem; margin-bottom: 1.1rem; padding-left: 0.9rem; border-left: 2px solid var(--coral); font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }
.sample { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 3px; background: var(--white); color: var(--midnight-800); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.tag { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 4px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.tag--signal { background: var(--white); color: var(--midnight-800); }
.tag--read { background: var(--accent-fill); color: var(--text-on-accent); box-shadow: 0 0 16px -2px var(--glow-coral); }
.tag--move { background: var(--lime); color: var(--midnight-800); box-shadow: 0 0 16px -2px var(--glow-lime); }
.slash { color: var(--signal-500); }
/* Brand slashes and the phrases around them always stay inline, whatever rule surrounds them,
   and a slash is bound to the word after it (.nobr) so a line can never break between them */
:is(.slash, .phrase, .nobr) { display: inline !important; }
.nobr { white-space: nowrap; }
/* On an orange fill an orange slash would vanish, so it follows the text colour there */
:is(.btn--primary, .section--coral, .findings-lead, .live, .tag--read, .loop__node--upskill) .slash { color: inherit; }


/* -------------------------------------------------------------
   Buttons, links, pills
   ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0.8rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-fill); color: var(--text-on-accent); box-shadow: 0 0 0 1px rgba(243, 135, 114, 0.35), 0 10px 32px -10px var(--glow-coral); }
.btn--primary:hover { background: var(--accent-fill-hover); box-shadow: 0 0 0 1px rgba(243, 135, 114, 0.5), 0 12px 40px -8px var(--glow-coral); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--lime { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 22px -8px var(--glow-lime), inset 0 0 14px -8px var(--glow-lime); }
.btn--lime:hover { background: rgba(183, 231, 43, 0.1); }
.btn--lime-fill { background: var(--lime); color: var(--midnight-800); box-shadow: 0 10px 30px -10px var(--glow-lime); }
.btn--lime-fill:hover { background: var(--verified-300); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link { display: inline-flex; gap: 0.4em; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link span { transition: transform 0.25s var(--ease-out); }
.link:hover span { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0.4rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; color: var(--text); }
.pill--lime { border-color: var(--lime); color: var(--text-lime); }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }


/* -------------------------------------------------------------
   Cards and glow
   ------------------------------------------------------------- */
.card { position: relative; padding: clamp(1.4rem, 2.4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.card--light { --surface: var(--paper); --text: var(--midnight-800); --text-muted: #4E5E73; --text-faint: #4E5E73; --text-coral: var(--signal-700); --line: rgba(11, 25, 43, 0.12); color: var(--text); }
.card--dashed { background: transparent; border-style: dashed; }
/* Animated glowing border (.ring-card), always on. Built only from a transform
   animation, so it runs smoothly on the compositor in every browser:
   - ::before is an oversized square carrying a conic gradient (a faint ring in
     --ring-color all the way round plus one bright arc) that rotates continuously;
   - ::after covers the card's interior with the card's own background, inset by
     --ring-w, so only a thin ring of the rotating gradient shows at the edge.
   The card is always its own stacking context (isolation) and clips the square
   to its rounded shape (overflow: hidden), so the layers never reorder or spill
   over the card while entrance animations run. The outer glow is static. */
.ring-card { --ring-w: 1.5px; isolation: isolate; overflow: hidden; border: 0; box-shadow: 0 0 40px -18px var(--ring-color); }
.ring-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  width: 200%;
  aspect-ratio: 1;
  pointer-events: none;
  background: conic-gradient(color-mix(in srgb, var(--ring-color) 38%, transparent) 0deg 250deg, var(--ring-color) 305deg, #FFFFFF 332deg, var(--ring-color) 348deg, color-mix(in srgb, var(--ring-color) 38%, transparent) 360deg);
  transform: translate(-50%, -50%) rotate(0turn);
  animation: ring-spin var(--ring-spin, 8s) linear infinite;
  will-change: transform;
}
.ring-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: var(--ring-w);
  border-radius: calc(var(--radius-lg) - var(--ring-w));
  background: inherit;
  pointer-events: none;
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(1turn); } }


/* -------------------------------------------------------------
   Entrance reveal. [data-reveal] fades up once; children styled
   with .is-revealed (bars, dots, rings) animate on the same cue.
   ------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="left"] { transform: translateX(-36px); }


/* -------------------------------------------------------------
   Background effects (.has-fx): out-of-focus glows and bokeh that drift toward
   and away from the viewer. .depth gives its children a 3D
   perspective; each orb's outer span carries scroll parallax (--s,
   set by script.js → initDepth, times its own --par), and the inner
   <i> drifts along the z-axis on a slow keyframe loop. Animation only
   runs while the section is on screen (.is-live).
   ------------------------------------------------------------- */
.has-fx { position: relative; isolation: isolate; }
.has-fx > :not(.depth):not(.streaks):not(.stars):not(.arena__stripes) { position: relative; z-index: 1; }
.depth { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; perspective: 900px; perspective-origin: 50% 45%; }
.depth__orb { position: absolute; left: var(--x); top: var(--y); width: var(--size); aspect-ratio: 1; margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2); transform: translate3d(0, calc(var(--s, 0) * var(--par, 40) * 1px), 0); transform-style: preserve-3d; }
.depth__orb i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 60%, transparent) 0%, color-mix(in srgb, var(--c) 22%, transparent) 36%, transparent 68%); opacity: var(--o, 0.5); filter: blur(var(--blur, 36px)); transform: translate3d(0, 0, var(--z0, -200px)); animation: depth-drift var(--dur, 26s) ease-in-out var(--delay, 0s) infinite alternate paused; will-change: transform; }
/* Bokeh: small discs with a soft rim; they go further out of focus as they come closer */
.depth__orb--bokeh i { background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent) 0 48%, color-mix(in srgb, var(--c) 30%, transparent) 60%, transparent 70%); animation-name: depth-bokeh; }
.depth.is-live i { animation-play-state: running; }
@keyframes depth-drift {
  from { transform: translate3d(0, 0, var(--z0, -200px)); }
  to { transform: translate3d(var(--dx, 2vw), var(--dy, -2vh), var(--z1, 120px)); }
}
@keyframes depth-bokeh {
  from { transform: translate3d(0, 0, var(--z0, -200px)); filter: blur(var(--blur, 2px)); }
  to { transform: translate3d(var(--dx, 2vw), var(--dy, -2vh), var(--z1, 160px)); filter: blur(calc(var(--blur, 2px) + 7px)); }
}
/* Light streaks drifting along the 64px background grid. Vertical lines
   sit at 50% − 32px + k × 64px (the grid is centred), horizontal lines at
   k × 64px from the top. They are deliberately subliminal: slow (each
   crossing takes ~20–30 s), faint, few per section, and masked so they
   fade almost to nothing across the central content column and only
   show at the edges of the page. */
.streaks { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.12) 24%, rgba(0, 0, 0, 0.12) 76%, #000 100%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.12) 24%, rgba(0, 0, 0, 0.12) 76%, #000 100%); }
.streak { position: absolute; display: block; opacity: 0; animation: var(--dur, 36s) linear var(--delay, 0s) infinite paused; }
.streak--v { left: calc(50% - 32px + var(--k) * 64px); top: -300px; width: 1px; height: 280px; background: linear-gradient(to bottom, transparent, var(--c)); box-shadow: 0 0 6px var(--c); animation-name: streak-down; }
.streak--h { top: calc(var(--k) * 64px); left: -340px; width: 320px; height: 1px; background: linear-gradient(to right, transparent, var(--c)); box-shadow: 0 0 6px var(--c); animation-name: streak-across; }
.streaks.is-live .streak { animation-play-state: running; }
@keyframes streak-down { 0% { top: -300px; opacity: 0; } 10% { opacity: 0.35; } 62% { opacity: 0.35; } 72%, 100% { top: 100%; opacity: 0; } }
@keyframes streak-across { 0% { left: -340px; opacity: 0; } 10% { opacity: 0.35; } 62% { opacity: 0.35; } 72%, 100% { left: 100%; opacity: 0; } }
/* Solutions hero: the glows rush toward the viewer during the fly-in */
.universe .depth { transform: scale(calc(1 + var(--fly) * 0.7)); opacity: calc(1 - var(--fly) * 0.55); }


/* -------------------------------------------------------------
   Page parallax: one fixed layer of large soft glows behind every
   dark section. script.js (initParallax) moves its track up at about
   half the scroll speed, so the glows drift slower than the content.
   Light and coral bands are opaque and simply cover it.
   ------------------------------------------------------------- */
.parallax { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.parallax__track { position: absolute; left: 0; right: 0; top: 0; height: 100%; will-change: transform; }
.parallax__glow { position: absolute; left: var(--x); top: var(--y); width: var(--size); aspect-ratio: 1; margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 26%, transparent) 45%, transparent); opacity: var(--o); }


/* -------------------------------------------------------------
   Navigation
   ------------------------------------------------------------- */
.site-nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(11, 25, 43, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); color: var(--paper); }
.site-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(58, 157, 214, 0.5) 30%, rgba(235, 87, 61, 0.6) 70%, transparent); box-shadow: 0 0 10px var(--glow-blue); pointer-events: none; }
.site-nav__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.site-nav__logo { margin-right: auto; line-height: 0; }
.site-nav__login { margin-left: -1.25rem; }
.site-nav__logo img { height: 22px; width: auto; }
.site-nav__links { display: flex; gap: 2rem; font-size: 0.95rem; }
.site-nav__links a { padding: 0.4rem 0; border-bottom: 2px solid transparent; text-decoration: none; color: var(--slate-300); transition: color 0.2s, border-color 0.2s; }
.site-nav__links a:hover { color: var(--paper); }
.site-nav__links a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--coral); }
.site-nav__toggle { display: none; position: relative; width: 44px; height: 44px; }
.site-nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out); }
.site-nav__toggle span:first-child { top: 17px; }
.site-nav__toggle span:last-child { top: 25px; }
.site-nav.is-open .site-nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.site-nav.is-open .site-nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.site-nav__mobile { display: none; }


/* -------------------------------------------------------------
   Hero (shared)
   ------------------------------------------------------------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 0.98; }
.hero h1 .dim { color: var(--slate-300); }
.hero__sub { margin-top: 1.75rem; max-width: 30rem; font-size: var(--fs-lead); color: var(--text-muted); }
.hero .btn-row { margin-top: 2.25rem; }


/* -------------------------------------------------------------
   Product widgets (sample data panels)
   ------------------------------------------------------------- */
.widget { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px rgba(58, 157, 214, 0.08), 0 0 60px -24px var(--glow-blue); }
.widget__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.widget__label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.widget__title { margin-top: 0.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.widget__foot { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-muted); }


/* Horizontal bars; widths grow from 0 when their panel is revealed */
.bars { display: grid; gap: 0.6rem; }
.bar { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: center; font-size: 0.86rem; }
.bar__track { height: 6px; border-radius: 3px; background: var(--surface-inset); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--lime); box-shadow: 0 0 10px var(--glow-lime); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(0.25s + var(--i, 0) * 0.12s); }
.bar__fill--coral { background: var(--coral); box-shadow: 0 0 10px var(--glow-coral); }
.js .bar__fill { transform: scaleX(0); }
.js .is-revealed .bar__fill { transform: none; }

/* Signal callout that overlaps the hero widget */
.callout { position: absolute; right: -1.5rem; bottom: -2.5rem; z-index: 3; width: min(15rem, 46%); padding: 1rem 1.1rem; border: 1px solid rgba(183, 231, 43, 0.35); border-radius: var(--radius); background: rgba(8, 22, 37, 0.94); box-shadow: var(--shadow), 0 0 36px -10px var(--glow-lime); font-size: 0.9rem; }
.callout b { display: block; margin: 0.25rem 0 0.75rem; font-weight: 600; line-height: 1.35; }
.js .callout { opacity: 0; transform: translateX(24px); transition: opacity 0.7s var(--ease-out) 0.6s, transform 0.7s var(--ease-out) 0.6s; }
.js .is-revealed .callout { opacity: 1; transform: none; }


/* -------------------------------------------------------------
   Hero devices (home): laptop and phone images with the sample views
   composited onto their screens. The phone stands in front of the
   laptop's right corner at ~92% of the laptop screen's height (the
   laptop image is 88% of the box; the phone is 21.4% of the laptop's
   width). Both drift slightly on scroll (initParallax) for depth.
   ------------------------------------------------------------- */
/* --bleed: how far the devices reach into the page's right margin — up to 4.5rem on
   wide screens, shrinking to nothing when the viewport has no margin to spare */
/* 20% larger than the column: the extra width extends left into the gap beside the headline */
.devices { --bleed: clamp(0px, (100vw - 1260px) / 2, 4.5rem); position: relative; width: min(calc((100% + var(--bleed)) * 1.2), 912px); margin: 0 calc(-1 * var(--bleed)) 0 calc(100% + var(--bleed) - min(calc((100% + var(--bleed)) * 1.2), 912px)); padding-bottom: 3%; }
.devices__laptop { position: relative; z-index: 1; width: 88%; filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.5)); }
.devices__phone { position: absolute; z-index: 2; right: 0; bottom: 0; width: calc(88% * 0.214); filter: drop-shadow(-14px 22px 26px rgba(0, 0, 0, 0.6)); }
.devices__glow { position: absolute; z-index: 0; left: 4%; right: 12%; top: 2%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 157, 214, 0.36), rgba(117, 100, 184, 0.16) 55%, transparent); filter: blur(30px); pointer-events: none; }
[data-float] { will-change: transform; }


/* -------------------------------------------------------------
   Home: partners strip
   ------------------------------------------------------------- */
/* Logo rail (home hero): heading above a full-width white band whose logos scroll in a
   seamless loop. The track holds the logos twice and moves left by exactly half its
   width per cycle. Hover pauses it; with reduced motion it becomes a static wrapped row. */
.partners { margin-top: clamp(3rem, 7vw, 5rem); text-align: center; }
.partners__title { margin: 0 0 1.25rem; }
.marquee { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; background: #FFFFFF; }
/* the band stays solid white edge to edge; only the logos fade in and out at the sides */
.marquee::before, .marquee::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 7%; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #FFFFFF, rgba(255, 255, 255, 0)); }
.marquee__track { display: flex; align-items: center; width: max-content; margin: 0; padding: 1.6rem 0; list-style: none; animation: marquee 60s linear infinite; }
.marquee__track li { flex: 0 0 auto; padding-inline: 2.25rem; }
.marquee__track img { display: block; max-width: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }


/* -------------------------------------------------------------
   Home: problem cards — hover, focus or tap shows "with Clearance/"
   ------------------------------------------------------------- */
.flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.flip { position: relative; min-height: 15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--midnight-800); cursor: pointer; text-align: left; overflow: hidden; transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.flip.is-on { background: var(--midnight-800); color: var(--paper); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(11, 25, 43, 0.55); }
.flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1.5rem; transition: opacity 0.35s ease, transform 0.45s var(--ease-out); }
.flip__face--after { opacity: 0; transform: translateY(10px); }
.flip.is-on .flip__face--before { opacity: 0; transform: translateY(-10px); }
.flip.is-on .flip__face--after { opacity: 1; transform: none; transition-delay: 0.12s; }
.flip__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #4E5E73; }
.flip__face--after .flip__label { color: var(--lime); }
.flip__title { margin-top: auto; margin-bottom: auto; padding: 1.25rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.flip__hint { font-family: var(--font-mono); font-size: 0.72rem; color: var(--signal-700); }
.flip__was { font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate-300); }
.hint--tap { display: none; }


/* -------------------------------------------------------------
   Orbs: three pillars as glowing rings (rings draw in on reveal)
   ------------------------------------------------------------- */
.orbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; text-align: center; }
.orb { --c: var(--lime); }
.orb--coral { --c: var(--coral); --c-text: var(--text-coral); }
.orb--white { --c: var(--paper); }
.orb__ring { position: relative; width: 11rem; aspect-ratio: 1; margin: 0 auto 1.5rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 10%, transparent) 55%, transparent 72%); }
.orb__ring > svg { filter: drop-shadow(0 0 7px var(--c)); position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb__ring circle.ring { fill: none; stroke: var(--c); stroke-width: 1.5; stroke-dasharray: 302; transition: stroke-dashoffset 1.6s var(--ease-out) var(--d, 0s); }
.js .orb__ring circle.ring { stroke-dashoffset: 302; }
.orb__ring circle.core { fill: var(--midnight-700); stroke: var(--line); }
.js .is-revealed .orb__ring circle.ring { stroke-dashoffset: 0; }
.orb__glyph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 0.25rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.orb__glyph b { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0; color: var(--paper); }
.orb h3 { font-weight: 700; font-size: 1.45rem; }
.orb p { max-width: 18rem; margin: 0.75rem auto 0; color: var(--text-muted); }
.orb p strong { color: var(--c-text, var(--c)); font-weight: 600; }
.orb--white p strong { color: var(--paper); }
.orbs__kicker { margin-top: 3rem; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }


/* -------------------------------------------------------------
   Signal → read → move rows
   ------------------------------------------------------------- */
.srm { display: grid; gap: 0.75rem; }
.srm__row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.srm__row > span { padding: 1.1rem 1rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.srm__row > p { padding: 1rem 1.25rem; align-self: center; font-size: 1.02rem; }
.srm__row--signal > span { background: var(--paper); color: var(--midnight-800); }
.srm__row--read > span { background: var(--accent-fill); color: var(--text-on-accent); }
.srm__row--move > span { background: var(--lime); color: var(--midnight-800); }
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split h2 { font-size: var(--fs-h2); }
.split__copy > p:not([class]) { margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--text-muted); }


/* -------------------------------------------------------------
   Home: stage map. The outer stages start stacked behind /Proof
   and spread to their places as the section scrolls into view
   (--p, 0→1, is set by script.js → initProgress).
   ------------------------------------------------------------- */
.stage-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 15rem)); grid-template-rows: auto auto; justify-content: center; gap: 1.25rem 1.5rem; --p: 1; }
.stage { position: relative; padding: 1.1rem 1.25rem; border: 1px solid color-mix(in srgb, var(--stage-c, var(--slate-400)) 55%, transparent); border-radius: var(--radius); background: rgba(18, 33, 58, 0.92); box-shadow: 0 0 34px -10px color-mix(in srgb, var(--stage-c, transparent) 70%, transparent), inset 0 1px 0 color-mix(in srgb, var(--stage-c, transparent) 60%, transparent); }
.stage h3 { font-size: 1.4rem; }
.stage p { margin-top: 0.25rem; font-size: 0.9rem; color: var(--text-muted); }
.stage--up { grid-column: 2; grid-row: 1; --dx: 0; --dy: 1; --stage-c: #3A9DD6; }
.stage--left { grid-column: 1; grid-row: 2; --dx: 1; --dy: 0; --stage-c: #9D8ED0; }
.stage--right { grid-column: 3; grid-row: 2; --dx: -1; --dy: 0; --stage-c: var(--lime); }
.stage--outer { transform: translate(calc(var(--dx) * (1 - var(--p)) * 105%), calc(var(--dy) * (1 - var(--p)) * 115%)) scale(calc(0.86 + 0.14 * var(--p))); opacity: calc(0.15 + 0.85 * var(--p)); }
.stage--start { grid-column: 2; grid-row: 2; z-index: 2; background: var(--paper); color: var(--midnight-800); border-color: var(--signal-500); box-shadow: 0 0 0 6px rgba(235, 87, 61, 0.18), 0 0 80px -4px var(--glow-coral), var(--shadow); }
.stage--start p { color: #4E5E73; }
.stage--start .eyebrow { margin-bottom: 0.3rem; color: var(--signal-700); }
.stage-help { position: relative; display: inline-block; margin-top: 1.5rem; }
.stage-help__btn { padding: 0.4rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-lime); }
.stage-help__panel { position: absolute; left: 50%; top: calc(100% + 0.6rem); z-index: 5; width: min(22rem, 86vw); padding: 1rem 1.1rem; transform: translateX(-50%); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--midnight-900); box-shadow: var(--shadow); font-size: 0.9rem; text-align: left; color: var(--text-muted); }


/* -------------------------------------------------------------
   Home: coral story with learner read
   ------------------------------------------------------------- */
.story h2 { font-size: var(--fs-h2); }
.story > p:not([class]) { margin-top: 1.25rem; font-size: var(--fs-lead); }
.story__punch { margin-top: 1.75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; }
.story .link { margin-top: 1.75rem; }
.read-card { --text: var(--paper); --text-muted: var(--slate-300); --text-faint: var(--slate-400); color: var(--paper); background: var(--midnight-800); }
.read-card__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1.25rem; }
.read-card__pair > div { padding: 0.75rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 0.92rem; }
.read-card__pair > div:last-child { border-color: var(--lime); }
.read-card__pair span { display: block; margin-bottom: 0.2rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.read-card__pair > div:last-child span { color: var(--lime); }


/* -------------------------------------------------------------
   Audience cards, keep band, final CTA
   ------------------------------------------------------------- */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.audience { display: flex; flex-direction: column; min-height: 15rem; text-decoration: none; }
.audience h3 { margin: 1.5rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.15; }
.audience__foot { margin-top: auto; font-weight: 600; }
.audience__foot--muted { font-weight: 400; font-size: 0.9rem; color: var(--text-muted); }
.card--dashed h3 { color: var(--slate-300); }
.keep { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem 4rem; align-items: center; }
.keep h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.keep p { color: var(--text-muted); font-size: 1.05rem; }
.final { text-align: center; }
.final h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 62rem; margin-inline: auto; }
.final p { margin: 1.25rem auto 0; max-width: 38rem; font-size: var(--fs-lead); color: var(--text-muted); }
.final .btn-row { justify-content: center; margin-top: 2rem; }


/* -------------------------------------------------------------
   Training Providers: numbered problems, before/after slider
   ------------------------------------------------------------- */
.numbered { border-top: 1px solid var(--line-strong); }
.numbered li { display: flex; align-items: baseline; gap: 1.25rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-strong); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.25; }
.numbered li span { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--text-coral); }

/* The "with" panel sits over the "before" panel and is clipped from the
   left at --split; the handle (a range input) moves --split. */
.compare { --split: 50%; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--midnight-900); }
.compare__side { padding: 1.75rem clamp(1.25rem, 3vw, 1.75rem); }
.compare__side ul li { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.compare__before { width: 100%; color: var(--slate-300); }
.compare__before ul, .compare__before .eyebrow { max-width: calc(50% - 2.5rem); }
.compare__with { position: absolute; inset: 0; background: var(--navy-600); clip-path: inset(0 0 0 var(--split)); color: var(--paper); }
.compare__with-inner { margin-left: calc(50% + 1.25rem); }
.compare__with li { font-weight: 600; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--coral); pointer-events: none; }
/* The divider slides in once (initCompare) and then stays put; the knob is a small marker sized to sit in the gap between the two columns */
.compare__knob { position: absolute; top: 50%; left: var(--split); display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--accent-fill); color: var(--white); font-size: 0.6rem; pointer-events: none; box-shadow: 0 0 0 4px rgba(210, 70, 49, 0.25); }


/* -------------------------------------------------------------
   Training Providers: "What lands on your desk" features
   ------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(4rem, 9vw, 7rem); }
.feature--flip > :first-child { order: 2; }
.feature h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.08; }
.feature > div > p:not([class]) { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }
.slash-list { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.slash-list li { position: relative; padding-left: 1.3rem; color: var(--text); }
.slash-list li::before { content: "/"; position: absolute; left: 0; color: var(--signal-500); font-weight: 600; }
.boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1rem; }
.box { padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); background: var(--surface-inset); }
.box span { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.box b { display: block; margin-top: 0.2rem; font-size: 1rem; }
.box--wide { grid-column: 1 / -1; }
.gap-chip { display: inline-block; margin: 0.5rem 0.4rem 0 0; padding: 0.3rem 0.75rem; border: 1px solid var(--coral); border-radius: 999px; font-size: 0.85rem; }
.feed { display: grid; gap: 0.5rem; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); background: var(--surface-inset); font-size: 0.92rem; }
.feed li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--glow-lime); }
.feed li.feed--warn::before { background: var(--coral); box-shadow: 0 0 10px var(--glow-coral); }
.feed small { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); }
.js .feed li { opacity: 0; transform: translateX(-16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(0.3s + var(--i, 0) * 0.15s); }
.js .is-revealed .feed li { opacity: 1; transform: none; }

/* Readiness dots: each pops in on reveal, staggered by --i */
.dots { display: grid; gap: 0.75rem; }
.dots__row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.dots__row--ready { color: var(--lime); }
.dots__row--dev { color: var(--text-coral); }
.dots__row ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--slate-400); }
.dot--ready { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 12px var(--glow-lime); }
.dot--dev { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 12px var(--glow-coral); }
.dot--focus { box-shadow: 0 0 0 2px var(--midnight-800), 0 0 0 4px var(--lime), 0 0 16px 2px var(--glow-lime); }
.js .dot { transform: scale(0); transition: transform 0.5s var(--ease-out) calc(0.2s + var(--i, 0) * 0.05s); }
.js .is-revealed .dot { transform: none; }

/* Report pages (cover, p4, p11 of a real cohort report) fanned out on reveal.
   Hovering or focusing the group spreads the pages apart; hovering or focusing
   one page lifts it to the front so it can be read. */
.covers { position: relative; height: 25rem; }
.cover { position: absolute; top: 1.5rem; left: 30%; width: 14.5rem; height: auto; aspect-ratio: 520 / 673; border-radius: var(--radius-sm); box-shadow: var(--shadow); cursor: zoom-in; transition: transform 0.7s var(--ease-out), box-shadow 0.4s; }
.cover--1 { z-index: 3; }
.cover--2 { z-index: 2; }
.cover--3 { z-index: 1; }
.is-revealed .cover--1 { transform: rotate(-6deg) translateX(-30%); }
.is-revealed .cover--2 { transform: rotate(1deg) translateY(-3%); }
.is-revealed .cover--3 { transform: rotate(8deg) translate(30%, 3%); }
.covers:is(:hover, :focus-within) .cover--1 { transform: rotate(-4deg) translateX(-68%); }
.covers:is(:hover, :focus-within) .cover--2 { transform: translateY(-5%); }
.covers:is(:hover, :focus-within) .cover--3 { transform: rotate(4deg) translateX(68%); }
.covers .cover:is(:hover, :focus) { z-index: 5; box-shadow: 0 40px 60px -24px rgba(0, 0, 0, 0.85); outline: none; }
.covers .cover--1:is(:hover, :focus) { transform: rotate(0deg) translateX(-68%) scale(1.12); }
.covers .cover--2:is(:hover, :focus) { transform: translateY(-5%) scale(1.12); }
.covers .cover--3:is(:hover, :focus) { transform: rotate(0deg) translateX(68%) scale(1.12); }
.covers .sample { position: absolute; right: 0; bottom: 0; z-index: 4; }

/* Findings grid */
.findings-lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--accent-fill); color: var(--white); }
.findings-lead h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; }
.findings-lead p { margin-top: 1rem; font-size: 1.05rem; }
.findings-lead .eyebrow { color: var(--white); }
.findings-lead__move { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--midnight-800); color: var(--paper); }
.findings-lead__move .eyebrow { margin-bottom: 0.5rem; color: var(--lime); }
.findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.finding { display: flex; flex-direction: column; }
.finding h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.12; }
.finding > p { margin-top: 0.9rem; color: var(--text-muted); }
.finding__move { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.finding__move span { margin-right: 0.6rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-lime); }
.card--light .finding__move span { color: var(--text-coral); }
.finding__body { margin: 1rem 0 1.25rem; }
.minichart { display: flex; align-items: flex-end; gap: 1rem; }
.minichart div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.3rem; height: 100%; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.minichart b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0; color: var(--paper); }
.minichart i { display: block; width: 3rem; height: var(--h); border-radius: 3px 3px 0 0; background: var(--slate-500); transform-origin: bottom; transition: transform 1s var(--ease-out) calc(0.3s + var(--i, 0) * 0.2s); }
.js .minichart i { transform: scaleY(0); }
.minichart div:last-child b { color: var(--lime); }
.minichart div:last-child i { background: var(--lime); }
.js .is-revealed .minichart i { transform: none; }

/* Keep / gain */
.keepgain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.keepgain .card { padding: 1.5rem; }
.keepgain__gain { background: var(--midnight-800); --text: var(--paper); --text-faint: var(--verified-500); color: var(--paper); border-color: transparent; }

/* Pilot steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { padding-top: 1.25rem; border-top: 2px solid var(--coral); box-shadow: 0 -8px 18px -14px var(--glow-coral); }
.steps b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--signal-500); }
.steps h3 { margin: 0.6rem 0 0.5rem; font-size: 1.35rem; }
.steps p { color: var(--text-muted); }

/* Early signal stats panel */
.stats-panel { margin-top: 3.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.stats-panel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.stats-panel__head h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.08; max-width: 32rem; }
.stats-panel__head small { max-width: 15rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); text-align: right; }
/* Columns size to their content so labels sit on one line where there is room; any wrap is balanced */
.stats { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; margin-top: 1.75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 1.25rem 1rem 1.25rem 0; }
.stats > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; }
.stats span { display: block; font-size: 0.85rem; color: var(--text-muted); text-wrap: balance; }
.stats .stat--coral b { color: var(--signal-500); }
.srm-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.srm-cols p { margin-top: 0.75rem; }

/* FAQ */
.faq { max-width: 44rem; margin-inline: auto; }
.faq h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-muted); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { content: "–"; color: var(--coral); }
.faq details p { padding: 0 2rem 1.25rem 0; color: var(--text-muted); }
.faq .faq__list { display: grid; gap: 0.5rem; padding: 0 2rem 1.25rem 0; color: var(--text-muted); }

/* Request form */
.request { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.request h2 { font-size: var(--fs-h2); }
.request__copy > p:not([class]) { margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--text-muted); }
.request__note { margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-lime); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form label { display: grid; gap: 0.4rem; font-size: 0.9rem; color: var(--text-muted); }
.form .full { grid-column: 1 / -1; }
.form input { width: 100%; min-height: 46px; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--midnight-900); color: var(--paper); }
.form textarea { width: 100%; min-height: 6rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--midnight-900); color: var(--paper); resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); }
.form .btn { width: 100%; }
.form__status { grid-column: 1 / -1; min-height: 1.4rem; font-size: 0.9rem; color: var(--text-muted); }


/* -------------------------------------------------------------
   Solutions: starfield hero that "flies in" on scroll.
   Stacked by default; script.js adds .is-pinned on large screens
   and drives --fly (0→1) from scroll position (initFlyIn).
   ------------------------------------------------------------- */
/* overflow: clip (not hidden) so the sticky stage inside still sticks */
.universe { position: relative; overflow: clip; --fly: 0; }
.universe.is-pinned { height: calc(100vh - var(--nav-h) + 90vh); }
.universe__stage { position: relative; display: grid; align-content: center; min-height: calc(100vh - var(--nav-h)); padding: clamp(3rem, 7vh, 5rem) 0; text-align: center; }
.universe.is-pinned .universe__stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; }
.stars { position: absolute; inset: -10%; background-image: radial-gradient(1.5px 1.5px at 12% 18%, rgba(247,245,242,.55), transparent 60%), radial-gradient(1.5px 1.5px at 72% 12%, rgba(247,245,242,.4), transparent 60%), radial-gradient(1px 1px at 33% 64%, rgba(247,245,242,.5), transparent 60%), radial-gradient(1.5px 1.5px at 88% 46%, rgba(247,245,242,.45), transparent 60%), radial-gradient(1px 1px at 52% 34%, rgba(247,245,242,.4), transparent 60%), radial-gradient(1.5px 1.5px at 22% 86%, rgba(247,245,242,.35), transparent 60%), radial-gradient(1px 1px at 64% 82%, rgba(247,245,242,.5), transparent 60%), radial-gradient(1px 1px at 92% 78%, rgba(247,245,242,.35), transparent 60%), radial-gradient(1px 1px at 6% 52%, rgba(247,245,242,.4), transparent 60%), radial-gradient(1.5px 1.5px at 44% 8%, rgba(247,245,242,.35), transparent 60%); background-size: 520px 420px; transform: scale(calc(1 + var(--fly) * 0.9)); opacity: calc(1 - var(--fly) * 0.6); pointer-events: none; }
.universe__copy { position: relative; transform: translateY(calc(var(--fly) * -60px)); opacity: calc(1 - var(--fly) * 1.6); }
.universe h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 54rem; margin-inline: auto; }
.universe__copy > p { max-width: 38rem; margin: 1.5rem auto 0; font-size: var(--fs-lead); color: var(--text-muted); }
.planets { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); margin-top: clamp(2rem, 5vh, 3rem); }
.planet { --c: var(--lime); display: grid; place-items: center; width: clamp(8rem, 12vw, 10rem); aspect-ratio: 1; border: 1.5px solid var(--c); border-radius: 50%; box-shadow: 0 0 0 1.2rem color-mix(in srgb, var(--c) 6%, transparent), 0 0 46px -4px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 34px -12px color-mix(in srgb, var(--c) 70%, transparent); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.15; text-decoration: none; transform: translateX(calc(var(--dir, 0) * var(--fly) * 38vw)) scale(calc(1 + var(--fly) * 1.6)); opacity: calc(1 - var(--fly) * 0.9); transition: border-color 0.3s; }
.planet--coral { --c: var(--coral); --dir: 0; width: clamp(9rem, 14vw, 11.5rem); }
.planet--white { --c: var(--paper); --dir: 1; }
.planet--lime { --dir: -1; }
.planets__link { width: clamp(1.5rem, 4vw, 4rem); height: 1px; background: var(--line-strong); opacity: calc(1 - var(--fly) * 3); }
.universe__hint { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-faint); opacity: calc(1 - var(--fly) * 4); }

/* Loop diagram */
.loop { position: relative; width: min(100%, 22rem); aspect-ratio: 1; margin-inline: auto; }
.loop__ring { position: absolute; inset: 12%; border: 1.5px dashed rgba(58, 157, 214, 0.45); border-radius: 50%; box-shadow: 0 0 40px -10px var(--glow-blue), inset 0 0 40px -16px var(--glow-blue); }
.loop__runner { position: absolute; inset: 12%; border-radius: 50%; animation: loop-run 14s linear infinite; }
.loop__runner::before { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.loop__core { position: absolute; inset: 34%; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: var(--text-lime); }
.loop__node { position: absolute; padding: 0.5rem 1.1rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; transform: translate(-50%, -50%); white-space: nowrap; }
.loop__node--discover { left: 50%; top: 12%; background: var(--lime); color: var(--midnight-800); box-shadow: 0 0 26px -2px var(--glow-lime); }
.loop__node--upskill { left: 88%; top: 50%; background: var(--accent-fill); color: var(--white); box-shadow: 0 0 26px -2px var(--glow-coral); }
.loop__node--track { left: 50%; top: 88%; background: var(--paper); color: var(--midnight-800); }
.loop__node--route { left: 12%; top: 50%; border: 1.5px solid var(--paper); background: var(--midnight-800); }
.js .loop__node { opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(0.2s + var(--i, 0) * 0.18s); }
.js .is-revealed .loop__node { opacity: 1; transform: translate(-50%, -50%); }
@keyframes loop-run { to { transform: rotate(360deg); } }

/* Pillars */
.bandcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.bandcard { padding: 1.5rem; border-top: 3px solid var(--slate-400); border-radius: var(--radius); background: var(--surface); }
.bandcard--ready { border-top-color: var(--lime); box-shadow: inset 0 10px 22px -16px var(--glow-lime); }
.bandcard--dev { border-top-color: var(--coral); box-shadow: inset 0 10px 22px -16px var(--glow-coral); }
.bandcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.bandcard p { margin-top: 0.4rem; color: var(--text-muted); font-size: 0.95rem; }
.cans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.cans > div { padding: 1.25rem; }
.cans > div + div { border-left: 1px solid var(--line); }
.cans span { display: block; margin-bottom: 0.6rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lime); }
.scenarios { margin-top: 1.5rem; padding: clamp(1.4rem, 3vw, 2rem); }
.scenarios h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; }
.scenarios__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 1.25rem; }
.scenarios__tab { min-height: 38px; padding: 0.4rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.scenarios__tab:hover { border-color: var(--paper); }
.scenarios__tab[aria-selected="true"] { background: var(--paper); border-color: var(--paper); color: var(--midnight-800); font-weight: 600; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.6rem; }
.roles li { padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--midnight-900); font-weight: 600; font-size: 0.95rem; }
.roles li::before { content: "/ "; color: var(--coral); }
.js [role="tabpanel"].is-entering .roles li { animation: role-in 0.45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 0.05s); }
@keyframes role-in { from { opacity: 0; transform: translateY(8px); } }

/* Gap closure diagram */
.gapviz { padding: clamp(1.4rem, 3vw, 1.9rem); border-radius: var(--radius-lg); background: var(--midnight-800); color: var(--paper); box-shadow: 0 40px 60px -40px rgba(11, 25, 43, 0.7); --text-faint: var(--slate-400); --line: rgba(184, 193, 204, 0.16); }
.gapviz__flow { display: grid; grid-template-columns: minmax(0, 1fr) 4rem minmax(0, 1fr); align-items: center; gap: 0.5rem; margin: 1.25rem 0; }
.gapviz__gaps { display: grid; gap: 0.5rem; }
.gapviz__gaps span { padding: 0.6rem 0.8rem; border: 1px solid var(--coral); border-radius: var(--radius-sm); font-size: 0.9rem; }
.gapviz__wire { height: 3px; border-radius: 2px; background: var(--lime); transform-origin: left; transition: transform 0.8s var(--ease-out) 0.4s; }
.js .gapviz__wire { transform: scaleX(0); }
.gapviz__to { padding: 0.8rem 0.9rem; border: 1px solid var(--lime); border-radius: var(--radius-sm); transition: opacity 0.6s var(--ease-out) 1s, transform 0.6s var(--ease-out) 1s; }
.gapviz__to span { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.gapviz__to b { display: block; margin: 0.2rem 0; }
.gapviz__to small { color: var(--slate-300); }
.js .gapviz__to { opacity: 0; transform: translateX(-10px); }
.js .is-revealed .gapviz__wire { transform: none; }
.js .is-revealed .gapviz__to { opacity: 1; transform: none; }
.markers { display: flex; align-items: center; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.markers i { width: 16px; height: 16px; border: 1px solid var(--slate-400); border-radius: 3px; }
.markers i.on { background: var(--lime); border-color: var(--lime); transition: transform 0.4s var(--ease-out) calc(1.2s + var(--i, 0) * 0.15s); }
.js .markers i.on { transform: scale(0); }
.js .is-revealed .markers i.on { transform: none; }
.markers span:last-child { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.85rem; }
.emerging { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 1.25rem; font-size: 0.92rem; }
.emerging .eyebrow { margin: 0; }
.who { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.who div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.who dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-coral); padding-top: 0.2rem; }

/* Intelligence stats and scopes */
.istats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.istat { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.istat span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lime); }
.istat b { display: block; margin: 0.4rem 0 0.3rem; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1.05; }
.istat p { font-size: 0.88rem; color: var(--text-muted); }
.istat--risk { border-color: var(--coral); box-shadow: 0 0 34px -12px var(--glow-coral); }
.istat--risk span { color: var(--text-coral); }
.srm-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.srm-band > div { padding: 1.4rem; }
.srm-band > div + div { border-left: 1px solid var(--line); }
.srm-band p { margin-top: 0.8rem; font-size: 1.02rem; }
/* ~15% wider than the column, centred, reaching into the page margin but always keeping 2rem clear of the screen edge */
.scopes { --scopes-w: min(115%, 100vw - 4rem); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.85rem; width: var(--scopes-w); margin-left: calc((100% - var(--scopes-w)) / 2); }
.scope { display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; cursor: pointer; transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.scope.is-on { --text-muted: #4E5E73; --text-faint: #4E5E73; --line: rgba(11, 25, 43, 0.12); background: var(--paper); color: var(--midnight-800); transform: translateY(-6px); }
.scope__n { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-lime); transition: color 0.45s; }
.scope.is-on .scope__n { color: var(--signal-700); }
.scope h3 { margin: 0.6rem 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.55vw, 1.4rem); line-height: 1.12; }
.scope q { color: var(--text-muted); font-size: 1.02rem; }
.scope__viz { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.93rem; }
.scope__viz .bar__track { margin: 0.35rem 0 0.7rem; }
.scope__row { display: flex; justify-content: space-between; gap: 0.5rem; }
.scope__row b { color: var(--text-coral); white-space: nowrap; }   /* counts like "8 of 16" never split */
.scope.is-on .scope__row b { color: var(--signal-700); }
.scope__checks li { display: flex; gap: 0.5rem; align-items: baseline; margin-bottom: 0.3rem; }
.scope__checks li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.scope__checks li.miss::before { background: var(--coral); }
.scope__heat { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.scope__heat i { aspect-ratio: 1.6; border-radius: 2px; background: var(--surface-inset); }
.scope__heat i.l { background: var(--lime); }
.scope__heat i.c { background: var(--coral); }
.scope__heat i.s { background: var(--slate-500); }
.scope.is-on .scope__heat i { background: var(--mist-100); }
.scope.is-on .scope__heat i.l { background: var(--cleared-700); }
.scope.is-on .scope__heat i.c { background: var(--signal-600); }
.scope.is-on .scope__heat i.s { background: var(--slate-400); }
.needle { margin-top: 2.5rem; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.needle em { font-style: normal; color: var(--signal-500); }
.needle + .note { text-align: center; }
.talks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-muted); text-align: center; }
.talks strong { color: var(--text); }
.talks__punch { flex-basis: 100%; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--signal-500); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.trust li { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; }
.trust li::before { content: "/ "; color: var(--coral); }


/* -------------------------------------------------------------
   Learners
   ------------------------------------------------------------- */
.learner-photo { position: relative; }
.learner-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.learner-photo .callout { left: -1.5rem; right: auto; bottom: -2rem; width: min(16rem, 62%); }
.learner-photo__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 0.75rem; }
.learner-photo__bars i { height: 4px; border-radius: 2px; background: var(--lime); }
.learner-photo__bars i:last-child { background: var(--slate-500); }
.void h2 { font-size: var(--fs-h2); margin-bottom: 2rem; }
.void__lines p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.4rem); line-height: 1.15; }
.void__lines p:nth-child(2) { margin-left: clamp(1rem, 4vw, 3rem); color: #4E5E73; }
.void__lines p:nth-child(3) { margin-left: clamp(2rem, 8vw, 6rem); color: #6E7F94; }
.void__aside { max-width: 30rem; margin-top: 2.25rem; padding-left: 1rem; border-left: 2px solid var(--signal-600); font-size: 1.05rem; }
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.room { display: flex; flex-direction: column; gap: 0.4rem; }
.room h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; }
.room b { font-weight: 600; }
.room p { color: var(--text-muted); font-size: 0.93rem; }
.room--soon .soon-pill { align-self: flex-start; margin-top: auto; padding: 0.25rem 0.65rem; border: 1px solid var(--lime); border-radius: 999px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); box-shadow: 0 0 16px -4px var(--glow-lime); }
.room .eyebrow { margin-bottom: 0.5rem; }
.map3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.map3 li { padding-top: 1.25rem; border-top: 2px solid var(--paper); }
.map3 li:nth-child(1) { border-top-color: var(--lime); box-shadow: 0 -8px 18px -14px var(--glow-lime); }
.map3 li:nth-child(2) { border-top-color: var(--coral); box-shadow: 0 -8px 18px -14px var(--glow-coral); }
.map3 h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; }
.map3 p { margin-top: 0.5rem; color: var(--text-muted); }
.pullquote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; margin-top: 2.5rem; padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 1.1rem; }
.pullquote::before { content: "\201C"; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 0.8; color: var(--coral); }

.arena { overflow: hidden; border-top: 2px solid var(--coral); border-bottom: 2px solid var(--coral); }
.arena__stripes { position: absolute; top: -10%; bottom: -10%; right: 4%; width: 26rem; pointer-events: none; }
.arena__stripes i { position: absolute; top: 0; bottom: 0; width: 5rem; transform: skewX(-22deg); transition: transform 1.4s var(--ease-out); }
.js .arena__stripes i { transform: skewX(-22deg) translateX(40rem); }
.arena__stripes i:nth-child(1) { left: 0; background: rgba(235, 87, 61, 0.35); width: 2.2rem; }
.arena__stripes i:nth-child(2) { left: 4rem; background: var(--signal-500); box-shadow: 0 0 60px 6px var(--glow-coral); transition-delay: 0.15s; }
.js .arena.is-revealed .arena__stripes i { transform: skewX(-22deg); }
.arena__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.arena__brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.live { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.55rem; border-radius: 3px; background: var(--accent-fill); color: var(--white); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--white); animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: 0.25; } }
.arena h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 7.5vw, 6.2rem); line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; }
.arena__lead { margin-top: 1.5rem; font-size: 1.2rem; }
.arena__sub { margin-top: 1rem; color: var(--text-muted); }
.arena .pills { margin-top: 1.5rem; }
.arena__form { width: 100%; min-height: 402px; max-width: 500px; margin-top: 1.75rem; }
.arena__form iframe { display: block; }
.board { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--midnight-900); box-shadow: var(--shadow), 0 0 70px -24px var(--glow-coral); }
.board__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.board__head small { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-coral); }
.board__head b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.board__clock { text-align: right; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-faint); }
.board__clock b { font-size: 1.6rem; color: var(--lime); letter-spacing: 0; }
.board ol li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: center; gap: 0.5rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.88rem; }
.board ol li b { font-family: var(--font-display); font-size: 1.15rem; color: var(--slate-300); }
.board ol li:first-child { background: rgba(235, 87, 61, 0.1); box-shadow: inset 3px 0 0 var(--coral); }
.board ol li:first-child b { color: var(--signal-400); }
.board ol li.you { color: var(--lime); }
.board__foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.25rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.js .board ol li { opacity: 0; transform: translateX(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(0.4s + var(--i, 0) * 0.1s); }
.js .is-revealed .board ol li { opacity: 1; transform: none; }
.soon-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3.5rem; padding: 1.1rem 1.5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.soon-bar p b { font-family: var(--font-display); font-size: 1.2rem; margin-right: 0.4rem; }
.soon-bar span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--text-lime); }


/* -------------------------------------------------------------
   Quote tiles: a row of four tiles; hovering, focusing or tapping
   one widens it to reveal the quote while the others keep their
   width, and the row slides so the open tile stays in view
   (script.js → initQuoteTiles). Below 760px the tiles stack open.
   ------------------------------------------------------------- */
.quotes { overflow-x: clip; }
.quotes__viewport { --tile-gap: 1rem; }
.quotes__track { display: flex; gap: var(--tile-gap); width: max-content; transition: transform 0.6s var(--ease-out); }
.quote-tile {
  position: relative;
  flex: 0 0 var(--tile-w, 270px);
  height: clamp(380px, 28vw, 410px);   /* tall enough for the longest cluster (Cybersecurity, 8 roles) */
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 40%, transparent);
  border-radius: var(--radius-lg);
  /* Midnight tile lit by its field colour (--tile-accent), over a fine tech grid.
     Optional artwork: set --tile-image: url('/assets/img/…') on a tile; it is tinted to match. */
  background:
    radial-gradient(110% 70% at 85% 0%, color-mix(in srgb, var(--tile-accent) 32%, transparent), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--tile-accent) 14%, transparent), transparent 70%),
    linear-gradient(rgba(184, 193, 204, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(184, 193, 204, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--tile-image, none) center / cover,
    linear-gradient(170deg, #13253F, var(--midnight-900));
  background-blend-mode: normal, normal, normal, normal, luminosity, normal;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tile-accent) 60%, transparent), 0 24px 60px -34px color-mix(in srgb, var(--tile-accent) 70%, transparent);
  color: var(--text-on-accent);
  cursor: pointer;
  transition: flex-basis 0.6s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.quote-tile.is-open { flex-basis: var(--tile-w-open, 620px); cursor: default; border-color: color-mix(in srgb, var(--tile-accent) 75%, transparent); box-shadow: inset 0 1px 0 var(--tile-accent), 0 0 70px -18px color-mix(in srgb, var(--tile-accent) 80%, transparent); }
.quote-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.quote-tile__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  place-content: center;
  padding: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  line-height: 1.1;
  text-align: center;
  transition: opacity 0.3s ease 0.15s;
}
.quote-tile.is-open .quote-tile__mark { opacity: 0; transition-delay: 0s; }
/* The body is laid out at the open width from the start, so text never reflows while the tile widens */
.quote-tile__body {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--tile-w-open, 620px);
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.quote-tile.is-open .quote-tile__body { opacity: 1; transition: opacity 0.4s ease 0.25s; }
.quote-tile__logo { color: color-mix(in srgb, var(--tile-accent) 55%, white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.quote-tile__head { display: flex; align-items: center; gap: 0.6rem; }
.quote-tile__stat { margin: 0.85rem 0 0; max-width: 36rem; font-size: 1rem; line-height: 1.45; color: #FFFFFF; }
.quote-tile__stat strong { font-family: var(--font-display); font-weight: 700; font-size: 1.15em; color: color-mix(in srgb, var(--tile-accent) 55%, white); }
.quote-tile__source { display: block; margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.72); }
.quote-tile__intro { margin: 0.85rem 0 0.7rem; max-width: 36rem; font-size: 0.95rem; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
/* Roles as pills, tinted with the cluster's colour */
.tile-roles { display: flex; flex-wrap: wrap; gap: 0.45rem; max-width: 36rem; color: #FFFFFF; }
.tile-roles li { padding: 0.28rem 0.7rem; border: 1px solid color-mix(in srgb, var(--tile-accent) 60%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--tile-accent) 12%, transparent); font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
/* "Coming soon" cluster (Quantum Computing): dashed edge and a label, like the employers card */
.quote-tile--soon { border-style: dashed; }
.quote-tile__soon { display: inline-block; padding: 0.15rem 0.55rem; border: 1px solid var(--tile-accent); border-radius: 999px; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--tile-accent) 55%, white); }
.quote-tile__mark .quote-tile__soon { display: block; width: max-content; margin: 0.6rem auto 0; }


/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; padding: 3.5rem 0 3rem; border-top: 1px solid var(--line); background: rgba(8, 22, 37, 0.85); }
.site-footer__grid { display: flex; justify-content: space-between; gap: 2rem; }
.site-footer__logo img { height: 22px; width: auto; }
.site-footer__line { margin-top: 1rem; max-width: 26rem; }
.site-footer__mission { margin-top: 0.6rem; max-width: 26rem; font-size: 0.88rem; color: var(--text-muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-size: 0.92rem; }
.site-footer__links a { text-decoration: none; color: var(--slate-300); }
.site-footer__links a:hover { color: var(--paper); }
.site-footer__social .eyebrow { margin: 0 0 0.6rem; }
.socials { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--slate-300); transition: color 0.2s, border-color 0.2s; }
.socials a:hover, .socials a:focus-visible { color: var(--paper); border-color: var(--signal-500); }


/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .scopes { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-left: 0; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .rooms, .istats, .cans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cans > div:nth-child(3) { border-left: 0; }
  .cans > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-nav__links, .site-nav__cta, .site-nav__login { display: none; }
  .site-nav__toggle { display: block; }
  .site-nav.is-open .site-nav__mobile { display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 0.5rem var(--container-pad) 1.25rem; background: var(--midnight-900); border-bottom: 1px solid var(--line); }
  .site-nav__mobile a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .site-nav__mobile-ctas { margin-top: 1rem; }
  .site-nav__mobile .btn { display: inline-flex; padding: 0.8rem 1.4rem; border-bottom: 0; }
  .hero__grid, .split, .head--split, .keep, .feature, .request, .findings-lead, .arena__grid, .keepgain { grid-template-columns: minmax(0, 1fr); }
  .feature--flip > :first-child { order: 0; }
  .flips, .orbs, .audiences, .bandcards, .steps, .map3, .srm-cols, .srm-band { grid-template-columns: minmax(0, 1fr); }
  .srm-band > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .callout { position: relative; right: auto; bottom: auto; width: auto; margin-top: 1rem; }
  .devices { width: 100%; margin: 2rem 0 0; }
  .learner-photo .callout { left: auto; bottom: auto; width: auto; }
  .stage-map { grid-template-columns: minmax(0, 1fr); --p: 1 !important; }
  .stage { grid-column: 1 !important; grid-row: auto !important; }
  .stage--outer { transform: none; opacity: 1; }
  .stage--start { order: -1; }
  .compare__before ul, .compare__before .eyebrow { max-width: none; }
  .compare__with { position: static; clip-path: none; }
  .compare__with-inner { margin-left: 0; }
  .compare__line, .compare__knob { display: none; }
  .arena__stripes { opacity: 0.35; }
}

@media (max-width: 640px) {
  .quotes__track { flex-direction: column; width: 100%; transform: none !important; }
  .quote-tile { flex: none; height: auto; min-height: 260px; cursor: default; }
  .quote-tile__mark { display: none; }
  .quote-tile__body { position: relative; width: auto; min-height: 260px; opacity: 1; }
  .scopes, .rooms, .istats, .cans, .trust, .findings, .roles { grid-template-columns: minmax(0, 1fr); }
  .cans > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(4) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .planets { flex-direction: column; }
  .planets__link { width: 1px; height: 1.5rem; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .bar { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .site-footer__grid, .stats-panel__head, .soon-bar { flex-direction: column; align-items: flex-start; }
  .stats-panel__head small { text-align: left; }
  .covers { height: 19rem; }
  .cover { width: 12rem; height: 16rem; }
}

@media (hover: none) {
  .hint--hover { display: none; }
  .hint--tap { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .loop__runner, .depth__orb i, .live::before, .ring-card::before, .marquee__track { animation: none; }
  .marquee::before, .marquee::after { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 1.25rem; }
  .marquee__track li[aria-hidden] { display: none; }
  .streaks { display: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
}
