/* ════════════════════════════════════════════════════════════════════
   KAIZENFLOW — flight-hardware web system
   Near-black canvas · one molten-amber accent · condensed technical type
   Single stylesheet. Custom properties are the only theming surface.
   ════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* canvas + surfaces (kept from the v2 token contract) */
  --void: #060a14;
  --void-88: rgba(6, 10, 20, .88);
  --void-60: rgba(6, 10, 20, .60);
  --void-0: rgba(6, 10, 20, 0);
  --carbon: #0a0f1c;
  --carbon-2: #0d1321;
  --steel: rgba(255, 255, 255, .07);
  --steel-2: rgba(255, 255, 255, .14);

  /* type colors */
  --bone: #e9edf3;
  --bone-dim: #c6cdd8;
  --ash: #8b95a5;
  --ash-dim: #565f6e;

  /* THE accent. one only. molten amber — furnace glow, weld spark. */
  --amber: #ff9e2c;
  --amber-bright: #ffb85c;
  --amber-deep: #d97b12;
  --amber-hot: #ffd9a1;
  --amber-glow: rgba(255, 158, 44, .16);
  --amber-08: rgba(255, 158, 44, .08);
  --amber-30: rgba(255, 158, 44, .30);

  /* status (data panels only, never decorative) */
  --crit: #ef4444;

  /* type stacks */
  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* motion: slow, physics-eased. no bounce. */
  --dur-1: 600ms;
  --dur-2: 900ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1440px;

  --focus-ring: rgba(255, 158, 44, .65);
}

/* ── RESET-ADJACENT BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--amber); color: var(--void); }
:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
input, textarea { caret-color: var(--amber); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #232c3d; border-radius: 3px; }
* { scrollbar-width: thin; scrollbar-color: #232c3d transparent; }

/* plexus background — injected by main.js; sits behind all content and is
   naturally covered by any section that paints its own background */
#bg-plexus { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* hero constellation — vibrant interactive network scoped to the home hero */
.hero-net { position: absolute; inset: 0; z-index: -2; pointer-events: none; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 10px 18px; background: var(--amber); color: var(--void);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────── */
/* Condensed-technical display: Archivo variable, uppercase, engraved. */
.h-display, .h-1, .h-2, .h-3 {
  font-family: var(--font-display);
  font-weight: 640;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: -.015em;
  color: var(--bone);
  text-wrap: balance;
}
.h-display { font-size: clamp(52px, 9.5vw, 148px); }
.h-1 { font-size: clamp(40px, 6vw, 88px); }
.h-2 { font-size: clamp(30px, 4vw, 56px); }
.h-3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.08; }
.h-display em, .h-1 em, .h-2 em, .h-3 em { font-style: normal; color: var(--amber); }

/* molten fill — furnace gradient drifting through the glyphs.
   base words carry a faint brushed-steel sheen; the em runs white-hot.
   Solid bone/amber remain the fallback outside @supports. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h--molten, .h--molten em {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 240% 100%;
    background-position: 0% 50%;
  }
  .h--molten {
    background-image: linear-gradient(105deg,
      var(--bone-dim) 0%, var(--bone) 18%, #fff 34%, var(--bone) 50%,
      var(--bone-dim) 66%, var(--bone) 84%, var(--bone-dim) 100%);
  }
  .h--molten em {
    background-image: linear-gradient(105deg,
      var(--amber-deep) 0%, var(--amber) 16%, var(--amber-hot) 32%, var(--amber-bright) 44%,
      var(--amber) 60%, var(--amber-deep) 76%, var(--amber) 90%, var(--amber-bright) 100%);
  }
  @media (prefers-reduced-motion: no-preference) {
    .h--molten { animation: molten-drift 12s var(--ease-io) infinite alternate; }
    .h--molten em { animation: molten-drift 7s var(--ease-io) infinite alternate; }
    /* the reveal's h1-unmask sets `animation` too — run both, don't lose the drift */
    .js .h-display.h--molten.rv.is-in {
      animation: h1-unmask .9s cubic-bezier(.16, 1, .3, 1),
                 molten-drift 12s var(--ease-io) infinite alternate;
    }
  }
}
@keyframes molten-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ── CIRCUIT GLASS HEADLINE (home hero) — five layers clipped into the
   glyphs, top to bottom:
     1 glass glare — a white streak sweeping across each cycle
     2 bevel — per-line top highlight / bottom shade (.94em = one line box)
     3+4 etched circuit tile — white traces + colored pads, two depths
         scrolling opposite directions
     5 color field — saturated blue→violet→pink→amber→mint, cycling fast
   The drop-shadow stack lifts the glass off the canvas. Solid bone/amber
   fallback where background-clip:text is unsupported; static fill (no
   motion) under prefers-reduced-motion. ── */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h--circuit, .h--circuit em {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image:
      linear-gradient(115deg,
        transparent 42%, rgba(255, 255, 255, .78) 47%,
        rgba(255, 255, 255, .22) 50%, transparent 55%),
      linear-gradient(180deg,
        rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 22%,
        transparent 70%, rgba(2, 6, 18, .38) 92%, rgba(2, 6, 18, .5) 100%),
      url("/assets/img/circuit-tile.svg?v=2"),
      url("/assets/img/circuit-tile.svg?v=2"),
      linear-gradient(100deg,
        #35c0ff 0%, #7a5cff 18%, #ff2e88 38%, #ff9e2c 56%,
        #35f2a2 76%, #35c0ff 100%);
    background-size: 260% 100%, 100% .94em, 1.5em 1.5em, 2.3em 2.3em, 320% 100%;
    background-position: 230% 0, 0 0, 0 0, 1.1em .6em, 0% 50%;
  }
  /* the accent word runs hotter — amber/pink/violet field, same glass */
  .h--circuit em {
    background-image:
      linear-gradient(115deg,
        transparent 42%, rgba(255, 255, 255, .78) 47%,
        rgba(255, 255, 255, .22) 50%, transparent 55%),
      linear-gradient(180deg,
        rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 22%,
        transparent 70%, rgba(2, 6, 18, .38) 92%, rgba(2, 6, 18, .5) 100%),
      url("/assets/img/circuit-tile.svg?v=2"),
      url("/assets/img/circuit-tile.svg?v=2"),
      linear-gradient(100deg,
        #ffb42e 0%, #ff6a3d 24%, #ff2e88 48%, #b44dff 74%, #ffb42e 100%);
  }
  .h--circuit {
    filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, .22))
            drop-shadow(0 3px 8px rgba(2, 6, 18, .6))
            drop-shadow(0 14px 30px rgba(2, 6, 18, .55));
  }
  @media (prefers-reduced-motion: no-preference) {
    .h--circuit, .h--circuit em { animation: circuit-flow 3.6s linear infinite; }
    /* the reveal's h1-unmask sets `animation` too — run both, don't lose the flow */
    .js .h-display.h--circuit.rv.is-in {
      animation: h1-unmask .9s cubic-bezier(.16, 1, .3, 1),
                 circuit-flow 3.6s linear infinite;
    }
  }
}
@keyframes circuit-flow {
  from { background-position: 230% 0, 0 0, 0 0, 1.1em .6em, 0% 50%; }
  to   { background-position: -30% 0, 0 0, 3em 1.5em, -1.2em 2.9em, 320% 50%; }
}

/* ── HERO TYPE ASSET — extruded circuit-glass headline. The visual is an
   inline SVG in index.html (sr-only real text beside it): specular-lit
   bevels, dark-cased multicolor PCB pattern, signal pulses on the traces,
   hue-cycling color fields, sweeping glare. Classes below drive it. ── */
.hero-type { width: min(1160px, 100%); line-height: 0; }
.hero-type .herotype { display: block; width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .6)); }
.ht-t { font-family: 'Archivo', 'Arial Narrow', sans-serif; font-weight: 700;
  font-variation-settings: 'wdth' 118, 'wght' 660; letter-spacing: -2px; font-size: 150px; }
.pl { stroke-dasharray: 34 620; }
/* rest state: glare parked off-canvas so reduced-motion never freezes a
   white smear across the letters. Motion re-homes and sweeps it.
   The -18deg slant lives here, not on the rect: a CSS class beats an SVG
   presentation attribute, so a transform="skewX()" would be silently dropped. */
.ht-glare { transform: translateX(1500px) skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) {
  .ht-field1 { animation: ht-hue1 9s linear infinite; }
  .ht-field2 { animation: ht-hue2 7s linear infinite; }
  .pl { animation: ht-pulse var(--d, 2s) linear infinite; animation-delay: var(--dl, 0s); }
  .ht-glare { animation: ht-sweep 4.2s cubic-bezier(.4, 0, .2, 1) infinite; }
}
@keyframes ht-hue1 { to { filter: hue-rotate(360deg); } }
@keyframes ht-hue2 { to { filter: hue-rotate(-360deg); } }
@keyframes ht-pulse { from { stroke-dashoffset: 654; } to { stroke-dashoffset: 0; } }
@keyframes ht-sweep { 0% { transform: translateX(-1400px) skewX(-18deg); } 55%, 100% { transform: translateX(1500px) skewX(-18deg); } }

/* §-numbering system, carried over: "§01 / OUTCOMES" */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--amber); flex: none; }
.kicker--bare::before { display: none; }
.kicker b, .kicker span { color: var(--ash); font-weight: 400; }

.sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 560px;
  text-wrap: pretty;
  /* keeps lead copy legible where it sits over busy artwork */
  text-shadow: 0 1px 3px rgba(6, 10, 20, .85), 0 2px 18px rgba(6, 10, 20, .6);
}
.mono-note {
  font-family: var(--font-mono);
  font-size: 10.5px; line-height: 1.7; letter-spacing: .04em;
  color: var(--ash);
}
.mono-note a { color: var(--ash); }
.mono-note a:hover { color: var(--amber); }

/* numbers are proof: tabular everywhere digits appear */
.stat__num, .term__val, .ticker, .calc, .price-card__price {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1;
}

/* ── BUTTONS ────────────────────────────────────────────────────────── */
/* Dark liquid-metal pill: a rotating masked conic ring gives the metallic sheen,
   a blurred prismatic under-glow echoes the reference. No accent color on the button. */
@property --btn-angle { syntax: '<angle>'; inherits: false; initial-value: 120deg; }
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--bone-dim);
  background: linear-gradient(180deg, #1a1f2c 0%, #080b14 100%);
  border: none; border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 12px 24px -16px rgba(0, 0, 0, .9);
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), color var(--dur-1) var(--ease), box-shadow .3s var(--ease);
}
/* metallic sheen border: conic ring masked to a 1px frame, slow ambient rotation */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--btn-angle),
    #2b3040, #c7cfdd 12%, #6b7280 26%, #eff3f9 38%, #3f4553 52%, #b6bdcc 66%, #2b3040 80%, #dbe0ea 92%, #2b3040);
  -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;
  animation: btn-metal 7s linear infinite;
  pointer-events: none;
}
@keyframes btn-metal { to { --btn-angle: 480deg; } }
.btn:hover { color: var(--bone); transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .5), 0 18px 30px -16px rgba(0, 0, 0, .95); }
.btn:hover::before, .btn:focus-visible::before { animation-duration: 2.4s; }
.btn:active { transform: translateY(1px) scale(.985); }
/* primary CTA: near-black, brighter white label */
.btn--prime { color: #fff; font-weight: 600; background: linear-gradient(180deg, #10131c 0%, #04060c 100%); }
.btn--lg { padding: 17px 40px; letter-spacing: .22em; }

/* ── NAV — invisible until needed ───────────────────────────────────── */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), padding var(--dur-1) var(--ease);
}
.site-nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: var(--void-88);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom-color: var(--steel);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--bone); text-decoration: none;
}
.logo::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.site-nav__links { display: flex; gap: 30px; list-style: none; }
.site-nav__links a {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--bone-dim);
  transition: color .3s;
  padding: 6px 0;
  /* nav floats over the hero's thinnest veil band until .is-scrolled */
  text-shadow: 0 1px 3px rgba(6, 10, 20, .85);
}
.site-nav__links a:hover { color: var(--bone); }
.site-nav__links a[aria-current] { color: var(--amber); }
.site-nav__acts { display: flex; gap: 8px; }
.site-nav__acts .btn { padding: 10px 18px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 16px; background: none; border: 0; cursor: pointer; z-index: 210;
}
.nav-toggle span { height: 1px; background: var(--bone); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── SPLIT HERO + LIVE ARCHITECTURE DIAGRAM (platform) ──────────────── */
.hero-cols {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-diagram { width: 100%; max-width: 560px; justify-self: end; }
.hero-diagram svg { width: 100%; height: auto; overflow: visible; }
.hero-diagram text {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  fill: var(--ash); text-transform: uppercase;
}
.hero-diagram .dg-cap { fill: var(--amber); font-size: 10px; }
.hero-diagram .dg-chip { animation: chip-breathe 3.6s var(--ease-io) infinite; transform-origin: center; transform-box: fill-box; }
.hero-diagram .dg-chip:nth-child(2n) { animation-delay: 1.2s; }
.hero-diagram .dg-chip:nth-child(3n) { animation-delay: 2.4s; }
@keyframes chip-breathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@media (max-width: 1080px) {
  .hero-cols { grid-template-columns: 1fr; }
  .hero-diagram { justify-self: center; max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-diagram .dg-pulse { display: none; }
  .hero-diagram .dg-chip { animation: none; }
}

/* ── FULL-BLEED SCREEN — one idea per viewport ──────────────────────── */
.screen {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 120px var(--gutter) clamp(72px, 12vh, 140px);
  isolation: isolate;
  overflow: clip; /* clip, not hidden: hidden makes .screen a scroll container and captures view() timelines */
}
.screen--center { align-content: center; justify-items: center; text-align: center; }
.screen--hero { align-content: end; }

.media {
  position: absolute; inset: 0; z-index: -3;
  /* hand-authored scene-tone placeholder acts as the blur-up layer */
  background: var(--media-tone, linear-gradient(180deg, #0a0f1c 0%, #060a14 100%));
}
.media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--dur-2) var(--ease);
}
/* blur-up hiding only when JS is present to reveal it (no-JS keeps photos visible) */
.js .media img { opacity: 0; }
.media img.is-loaded { opacity: 1; }
.media--parallax img { height: 116%; will-change: transform; }
@keyframes media-parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .media--parallax img { animation: media-parallax linear both; animation-timeline: view(); animation-range: cover; }
  }
}

/* film: darken for legibility + grain for texture */
.veil { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,10,20,.42) 0%, rgba(6,10,20,.18) 40%, rgba(6,10,20,.86) 100%);
}
.veil--flat { background: rgba(6, 10, 20, .55); }
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.screen__content { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; display: grid; gap: 28px; justify-items: start; }
.screen--center .screen__content { justify-items: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.screen__content .btn-row { margin-top: 10px; }

/* ── DARK DATA PANEL ────────────────────────────────────────────────── */
.panel { position: relative; padding: clamp(88px, 14vh, 160px) var(--gutter); }
.panel--line { border-top: 1px solid var(--steel); }
.panel--carbon { background: var(--carbon); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.wrap { max-width: var(--wrap); margin: 0 auto; }

.panel__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 8vh, 88px); max-width: 980px; }

/* ── TICKER — mission-control chyron ────────────────────────────────── */
.ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  border-top: 1px solid var(--steel);
  background: var(--void-60);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker:focus .ticker__track { animation-play-state: paused; }
.ticker span {
  padding: 12px 30px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash); white-space: nowrap;
}
.ticker b { color: var(--amber); font-weight: 500; }
.ticker i { color: var(--ash-dim); font-style: normal; padding: 0 4px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── GIANT STATS — confidence as data ───────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.stats--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 720px) { .stats--4 { grid-template-columns: repeat(2, 1fr); } }
.stat { display: grid; gap: 12px; align-content: start; }
.stat__num {
  font-family: var(--font-display); font-weight: 660; font-stretch: 116%;
  font-size: clamp(56px, 7.5vw, 124px); line-height: .9; letter-spacing: -.02em;
  color: var(--amber);
  /* no text-transform: unit casing is meaningful (Gt, MWh, h) */
}
.stat__num small { font-size: .38em; font-weight: 560; letter-spacing: 0; color: var(--amber-deep); }
.stat__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); }
.stat__note { font-family: var(--font-mono); font-size: 10px; line-height: 1.65; letter-spacing: .03em; color: var(--ash); max-width: 300px; }

/* flight-test disclaimer strip */
.disclaimer {
  margin-top: clamp(36px, 6vh, 64px); padding-top: 22px;
  border-top: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 10px; line-height: 1.75;
  letter-spacing: .05em; color: var(--ash); max-width: 760px;
}
.disclaimer::before { content: '▲ '; color: var(--amber); }

/* fine print that renders over imagery steps up a rung and gets the same
   halo as .sub — flat-panel instances keep the quiet --ash register */
.screen .mono-note, .screen .disclaimer, .screen .stat__note {
  color: var(--bone-dim);
  text-shadow: 0 1px 3px rgba(6, 10, 20, .85), 0 2px 18px rgba(6, 10, 20, .6);
}

/* ── TERMINAL / LEDGER — every number settles ───────────────────────── */
.term {
  background: #070b16;
  border: 1px solid var(--steel);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.term__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 13px 20px; border-bottom: 1px solid var(--steel); background: var(--carbon-2);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ash);
}
.term__live { color: var(--amber); display: flex; align-items: center; gap: 7px; }
.term__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px var(--amber);
  animation: pulse 1.6s var(--ease-io) infinite; }
.term__body { padding: 8px 20px 14px; }
.term__row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 118px; align-items: center; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--steel);
}
.term__row:last-child { border-bottom: 0; }
.term__lbl { font-size: 14.5px; color: var(--bone-dim); }
.term__val {
  font-family: var(--font-display); font-weight: 620; font-stretch: 112%;
  font-size: clamp(20px, 2vw, 28px); color: var(--ash); text-align: right;
  transition: color var(--dur-1) var(--ease);
}
.term__pill {
  justify-self: end; padding: 5px 12px; border-radius: 99px; text-align: center;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ash); background: rgba(255, 255, 255, .05);
  transition: color var(--dur-1), background var(--dur-1);
}
.term__pill::before { content: 'pending'; }
.term__scan { display: none; }
@keyframes scan { 0% { transform: translateX(-30%); } 100% { transform: translateX(30%); } }
.term__row.is-settled .term__val { color: var(--amber); }
.term__row.is-settled .term__pill { color: var(--amber); background: var(--amber-glow); }
.term__row.is-settled .term__pill::before { content: 'verified'; }
.term__row.is-settled .term__scan { display: none; }
.term__row--total { border-top: 1px solid var(--steel-2); margin-top: 6px; }
.term__row--total .term__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.term__row--total .term__val { font-size: clamp(30px, 3.4vw, 46px); }
.term__row--total.is-settled .term__pill::before { content: '✓ signed'; }

/* ── HORIZONTAL TIMELINE — live in two weeks ────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); position: relative; counter-reset: phase; }
.timeline::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--steel-2); }
.phase { position: relative; padding-top: 34px; display: grid; gap: 12px; align-content: start; }
.phase::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px;
  border-radius: 50%; border: 1px solid var(--amber); background: var(--void); }
.phase::after { content: ''; position: absolute; top: 4.5px; left: 4.5px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.phase__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.phase__meta b { color: var(--ash); font-weight: 400; margin-left: 12px; }
.phase h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.phase p { font-size: 14.5px; color: var(--bone-dim); line-height: 1.65; max-width: 380px; }
.phase__pts { display: grid; gap: 8px; margin-top: 6px; }
.phase__pts span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ash); display: flex; gap: 9px; }
.phase__pts span::before { content: '▸'; color: var(--amber); }

/* ── SPECIALIST GRID — nine agents ──────────────────────────────────── */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.agent {
  position: relative; background: var(--void); padding: 34px 28px;
  display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: background var(--dur-1) var(--ease);
}
.agent:hover { background: var(--carbon); }
.agent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-1) var(--ease); }
.agent:hover::before { transform: scaleX(1); }
.agent__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--amber); }
.agent h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: 24px; line-height: 1.02; text-transform: uppercase; letter-spacing: -.005em; }
.agent p { font-size: 13.5px; color: var(--bone-dim); line-height: 1.6; }
.agent__methods { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--steel);
  display: flex; flex-wrap: wrap; gap: 6px;
  opacity: .45; transform: translateY(4px);
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease); }
.agent:hover .agent__methods { opacity: 1; transform: none; }
.agent__methods span { padding: 4px 9px; background: rgba(255,255,255,.05);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--bone-dim); }

/* ── GLOBE ──────────────────────────────────────────────────────────── */
.globe-section { position: relative; overflow: hidden; }
.globe-stage { position: relative; width: min(920px, 92vw); aspect-ratio: 1; margin: 0 auto; }
.globe-stage::before { content: ''; position: absolute; inset: -14%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(11, 26, 54, .8) 0%, rgba(8, 16, 34, .35) 38%, rgba(6, 10, 20, 0) 62%); }
.globe-stage canvas, .globe-stage .globe-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-fallback { display: none; }
.globe-stage.is-static .globe-fallback { display: block; }
.globe-cap {
  text-align: center; margin-top: -40px; position: relative; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bone-dim);
}
.globe-cap b { color: var(--amber); font-weight: 500; }

/* earth centerpiece (impact §01) — sourced stats flank the rotating planet */
.earth-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(300px, 620px) minmax(200px, 1fr);
  gap: clamp(24px, 3vw, 56px); align-items: center; }
.earth-grid__col { display: grid; gap: clamp(28px, 5vh, 56px); align-content: center; }
.earth-grid__col--r { justify-items: end; text-align: right; }
.earth-grid .globe-stage { width: 100%; }
.earth-grid .stat__num { font-size: clamp(40px, 3.4vw, 60px); }
@media (max-width: 980px) {
  .earth-grid { grid-template-columns: 1fr 1fr; }
  .earth-grid .globe-stage { grid-column: 1 / -1; grid-row: 1; max-width: 420px; margin: 0 auto; }
  .earth-grid__col--r { justify-items: start; text-align: left; }
}
@media (max-width: 560px) { .earth-grid { grid-template-columns: 1fr; } }

/* connector marquee - two rows scrolling opposite directions */
.conn-marquee { margin-top: clamp(40px, 7vh, 72px); border-top: 1px solid var(--steel); }
.conn-marquee__row { position: relative; overflow: hidden; border-bottom: 1px solid var(--steel);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.conn-marquee__track { display: flex; width: max-content; animation: conn-marquee 55s linear infinite; }
.conn-marquee__track--rev { animation-direction: reverse; }
.conn-marquee__row:hover .conn-marquee__track, .conn-marquee__row:focus-within .conn-marquee__track { animation-play-state: paused; }
.conn-marquee__item { flex: none; padding: 14px 22px; border-right: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ash);
  white-space: nowrap; transition: color .4s; }
.conn-marquee__item:hover { color: var(--bone); }
.conn-marquee__item b { color: var(--bone); font-weight: 500; }
.conn-marquee__more { margin-top: 20px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ash); }
.conn-marquee__more a { color: var(--ash); text-decoration: none; }
.conn-marquee__more a:hover { color: var(--amber); }
@keyframes conn-marquee { to { transform: translateX(-50%); } }

/* integration-partner logos - brand-colored 3D coverflow with a center scan */
.logo-marquee { padding: 4px 0 clamp(34px, 5vh, 56px); }
.logo-marquee__note { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ash-dim); margin-bottom: 26px; }
.logo-marquee__viewport { position: relative; overflow: hidden; perspective: 1100px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logo-marquee__track { display: flex; width: max-content; align-items: center; gap: clamp(30px, 4vw, 60px);
  transform-style: preserve-3d; padding: 26px 0; animation: logo-marquee 32s linear infinite; }
.logo-marquee__viewport:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item { flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: 82px; padding: 0 clamp(22px, 2.4vw, 34px); border-radius: 15px; color: var(--brand, var(--ash));
  background: linear-gradient(180deg, rgba(22,28,44,.92) 0%, rgba(8,11,20,.92) 100%);
  border: 1px solid var(--steel-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 34px -20px rgba(0,0,0,.95);
  will-change: transform, filter; }
.logo-marquee svg { height: 46px; width: auto; fill: currentColor; display: block;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--brand, #8b95a5) 55%, transparent)); }
@keyframes logo-marquee { to { transform: translateX(-50%); } }


/* ── DEVICE / PRODUCT FRAME ─────────────────────────────────────────── */
.frame {
  position: relative; border: 1px solid var(--steel-2); background: var(--carbon-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8);
}
.frame::before { content: ''; position: absolute; top: -1px; left: -1px; right: auto; width: 44px; height: 1px; background: var(--amber); }
.frame::after { content: ''; position: absolute; top: -1px; left: -1px; width: 1px; height: 44px; background: var(--amber); }
.frame__bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  border-bottom: 1px solid var(--steel); background: var(--carbon);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ash); }
.frame__bar::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.frame img { width: 100%; }

/* ── DEVICE STAGE — the product on branded hardware, drawn in HTML ──── */
.devices { position: relative; perspective: 1700px; width: min(1060px, 100%); }
.device { transform-style: preserve-3d; }
.device--monitor { width: min(880px, 94%); animation: dev-float 9s var(--ease-io) infinite alternate; }
.device__tilt { transform: rotateX(calc(5deg + var(--mty, 0deg))) rotateY(calc(-7deg + var(--mtx, 0deg))); transform-style: preserve-3d; }
.device__screen {
  position: relative; padding: clamp(7px, 1vw, 12px); border-radius: 12px;
  border: 1px solid var(--steel-2);
  background: linear-gradient(160deg, rgba(19, 28, 48, .5) 0%, rgba(10, 15, 28, .42) 55%, rgba(7, 11, 22, .38) 100%);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  box-shadow: 0 70px 150px -50px rgba(0, 0, 0, .95),
              inset 0 0 0 1px rgba(255, 255, 255, .03),
              0 0 110px -60px var(--amber-30);
}
/* glass screens — dashboard surfaces go translucent so the scene reads through */
.device .dash { background: rgba(7, 11, 22, .40); }
.device .dash__side { background: rgba(10, 15, 28, .48); }
.device .dash__kpi { background: rgba(7, 11, 22, .44); }
.device .dash__strip { background: rgba(10, 15, 28, .48); }
/* power LED on the bottom bezel */
.device__screen::after {
  content: ''; position: absolute; left: 50%; bottom: 3.5px; translate: -50% 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 7px var(--amber);
}
.device__screen .dash { box-shadow: none; border-color: var(--steel); border-radius: 5px; overflow: hidden; }

.device--tablet { position: absolute; right: clamp(-8px, 2vw, 48px); bottom: -6px;
  width: clamp(210px, 27vw, 320px); z-index: 2;
  animation: dev-float 7s var(--ease-io) 1.4s infinite alternate; }
.device--tablet .device__tilt { transform: rotateX(calc(4deg + var(--mty, 0deg))) rotateY(calc(16deg + var(--mtx, 0deg))) rotateZ(1.5deg) translateZ(70px); }
.device--tablet .device__screen { border-radius: 16px; padding: 8px; }
/* front camera on the top bezel instead of a LED */
.device--tablet .device__screen::after { bottom: auto; top: 3.5px; background: #33415c; box-shadow: none; }

@keyframes dev-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 880px) {
  .devices { perspective: none; }
  .device--monitor { width: 100%; animation: none; }
  .device__tilt, .device--tablet .device__tilt { transform: none; }
  .device--tablet { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .device--monitor, .device--tablet { animation: none; }
}

/* ── DASHBOARD MOCK — the product, drawn in HTML ────────────────────── */
.dash {
  border: 1px solid var(--steel-2); background: #070b16; text-align: left;
  box-shadow: 0 80px 160px -60px rgba(0, 0, 0, .95);
  font-size: 12px; line-height: 1.45;
}
.dash__body { display: grid; grid-template-columns: 212px 1fr; }
.dash__side { border-right: 1px solid var(--steel); background: var(--carbon); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; min-height: 100%; }
.dash__logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); }
.dash__logo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.dash__group { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ash-dim); padding: 12px 8px 6px; }
.dash__item { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 4px; color: var(--bone-dim); font-size: 11.5px; }
.dash__item i { font-style: normal; color: var(--ash-dim); font-size: 10px; width: 12px; }
.dash__item.is-active { background: var(--amber-08); color: var(--amber); }
.dash__item.is-active i { color: var(--amber); }
.dash__badge { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; color: var(--amber); background: var(--amber-glow); border-radius: 9px; padding: 1px 7px; }
.dash__kai { margin-top: 18px; border-top: 1px solid var(--steel); padding: 12px 10px 4px; font-size: 11px; color: var(--bone-dim); }
.dash__kai b { display: block; font-weight: 500; color: var(--bone); }
.dash__kai span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--ash); text-transform: uppercase; }

.dash__main { padding: 16px 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dash__title { font-size: 15px; font-weight: 500; color: var(--bone); }
.dash__sub { font-size: 11px; color: var(--ash); }
.dash__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dash__chip { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone-dim); border: 1px solid var(--steel); padding: 4px 9px; white-space: nowrap; }
.dash__chip b { color: var(--amber); font-weight: 500; }
.dash__chip--live { color: var(--amber); border-color: var(--amber-30); }

.dash__kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.dash__kpi { background: #070b16; padding: 11px 13px; display: grid; gap: 2px; min-width: 0; }
.dash__kpi .k { display: flex; justify-content: space-between; gap: 6px;
  font-family: var(--font-mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.dash__kpi .k b { color: var(--amber); font-weight: 500; letter-spacing: .04em; }
.dash__kpi .v { font-family: var(--font-display); font-stretch: 114%; font-weight: 640; font-size: 23px; line-height: 1.05; color: var(--bone); }
.dash__kpi .v small { font-size: 10px; font-weight: 400; font-stretch: 100%; color: var(--ash); margin-left: 3px; letter-spacing: 0; }
.dash__kpi .t { font-size: 9.5px; color: var(--ash-dim); }

.dash__cols { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; align-items: start; }
.dash__panel { border: 1px solid var(--steel); min-width: 0; }
.dash__panel-head { display: flex; justify-content: space-between; gap: 10px; padding: 9px 13px; border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.dash__panel-head b { color: var(--amber); font-weight: 500; }
.dash__row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: baseline; padding: 9px 13px; border-bottom: 1px solid var(--steel); }
.dash__row:last-child { border-bottom: 0; }
.dash__rank { font-family: var(--font-mono); font-size: 9px; color: var(--ash-dim); }
.dash__opp { min-width: 0; font-size: 11.5px; color: var(--bone); }
.dash__opp small { display: block; font-size: 9.5px; color: var(--ash); }
.dash__usd { font-family: var(--font-display); font-stretch: 112%; font-weight: 620; font-size: 14px; color: var(--amber); }
.dash__conf { font-family: var(--font-mono); font-size: 8.5px; color: var(--ash); white-space: nowrap; }
.dash__row--feed { grid-template-columns: 1fr auto; }

.dash__strip { display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; padding: 11px 18px;
  border-top: 1px solid var(--steel-2); background: var(--carbon);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }
.dash__strip b { color: var(--amber); font-weight: 500; }
.dash__strip .live { color: var(--amber); display: flex; align-items: center; gap: 6px; }
.dash__strip .live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: pulse 1.6s var(--ease-io) infinite; }

@media (max-width: 1080px) {
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__cols { grid-template-columns: 1fr; }
}

/* compact variant for the tablet screen */
.dash--mini { font-size: 10px; border-radius: 10px; }
.dash--mini .dash__body { grid-template-columns: 1fr; }
.dash--mini .dash__main { padding: 12px 12px 14px; gap: 10px; }
.dash--mini .dash__kpis { grid-template-columns: 1fr 1fr; }
.dash--mini .dash__kpi .v { font-size: 19px; }
.dash--mini .dash__panel-head { padding: 7px 10px; }
.dash--mini .dash__row { padding: 7px 10px; gap: 8px; }

/* ── ROI CALCULATOR — machined controls ─────────────────────────────── */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.calc__controls { display: grid; gap: 34px; }
.calc__ctl-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.calc__ctl label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.calc__ctl output { font-family: var(--font-display); font-weight: 640; font-stretch: 112%; font-size: 24px; color: var(--amber); letter-spacing: 0; }
.calc input[type=range] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 22px; background: transparent; cursor: pointer;
}
.calc input[type=range]::-webkit-slider-runnable-track { height: 2px;
  background: linear-gradient(90deg, var(--amber) var(--fill, 50%), var(--steel-2) var(--fill, 50%)); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin-top: -8px; border-radius: 50%;
  background: linear-gradient(145deg, #3a4356, #171d2b);
  border: 1px solid var(--amber); box-shadow: 0 0 0 3px var(--void), 0 0 14px var(--amber-30); }
.calc input[type=range]::-moz-range-track { height: 2px; background: var(--steel-2); }
.calc input[type=range]::-moz-range-progress { height: 2px; background: var(--amber); }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(145deg, #3a4356, #171d2b);
  border: 1px solid var(--amber); box-shadow: 0 0 0 3px var(--void), 0 0 14px var(--amber-30); }
.calc__ctl .ticks { display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--ash); }

.calc__out { position: relative; border: 1px solid var(--steel); background: var(--carbon); padding: clamp(28px, 3.5vw, 44px); }
.calc__out::before { content: ''; position: absolute; top: -1px; left: -1px; width: 44px; height: 1px; background: var(--amber); }
.calc__out::after { content: ''; position: absolute; top: -1px; left: -1px; width: 1px; height: 44px; background: var(--amber); }
.calc__out-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 16px; }
.calc__big { font-family: var(--font-display); font-weight: 680; font-stretch: 114%;
  font-size: clamp(56px, 6vw, 92px); line-height: 1; letter-spacing: -.02em; color: var(--amber); }
.calc__range { font-family: var(--font-mono); font-size: 11px; color: var(--bone-dim); margin: 10px 0 28px; }
.calc__rows { display: grid; gap: 13px; border-top: 1px solid var(--steel); padding-top: 22px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; }
.calc__row .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.calc__row .v { font-family: var(--font-display); font-weight: 600; font-stretch: 112%; font-size: 21px; color: var(--bone); }
.calc__foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--steel);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; line-height: 1.7; color: var(--ash); }
.calc__out .btn { margin-top: 26px; }

/* ── PRICING — minimal cards ────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.price-card { position: relative; background: var(--void); padding: clamp(32px, 3.4vw, 48px) clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; transition: background var(--dur-1) var(--ease); }
.price-card:hover { background: var(--carbon); }
.price-card--hot { background: var(--carbon); }
.price-card--hot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--amber); }
.price-card__badge { position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--amber); text-transform: uppercase; }
.price-card__name { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--amber); margin-bottom: 22px; }
.price-card__price { font-family: var(--font-display); font-weight: 640; font-stretch: 114%;
  font-size: clamp(34px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; }
.price-card__price small { display: block; margin-top: 9px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .16em; color: var(--bone-dim); text-transform: uppercase; }
.price-card__desc { font-size: 13.5px; font-weight: 400; color: var(--bone-dim); line-height: 1.6;
  margin: 22px 0; padding: 22px 0; border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; align-content: start; }
.price-card li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--bone); display: flex; gap: 11px; }
.price-card li::before { content: '+'; color: var(--amber); flex: none; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--steel); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 17px; font-weight: 400; color: var(--bone); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 22px; line-height: 1; color: var(--amber); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--amber); }
.faq details p { padding: 0 0 24px; max-width: 680px; font-size: 15px; line-height: 1.7; color: var(--bone-dim); }

/* ── BADGES ─────────────────────────────────────────────────────────── */
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 6px 12px; border: 1px solid var(--steel-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-dim); text-decoration: none; transition: border-color .3s, color .3s; }
.badge:hover { border-color: var(--amber); color: var(--amber); }
.badge--cta { color: var(--amber); border-color: var(--amber-30); }

/* ── DATA TABLE ─────────────────────────────────────────────────────── */
.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber); padding: 13px 16px; border-bottom: 1px solid var(--steel-2); }
.table td { font-size: 14px; font-weight: 400; color: var(--bone); padding: 13px 16px;
  border-bottom: 1px solid var(--steel); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table figcaption, .table caption { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  color: var(--ash); margin-top: 10px; text-align: left; caption-side: bottom; padding-top: 10px; }

/* ── SPEC SHEET (security) ──────────────────────────────────────────── */
.spec-sheet { border-top: 1px solid var(--steel); }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 64px);
  padding: clamp(26px, 4vh, 44px) 0; border-bottom: 1px solid var(--steel); }
.spec-row > .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); padding-top: 5px; }
.spec-row h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 10px; }
.spec-row p { color: var(--bone-dim); font-size: 15px; max-width: 640px; }
.spec-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.spec-row .tags span { padding: 6px 12px; border: 1px solid var(--steel-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--bone-dim); text-transform: uppercase; }

/* ── CARD GRID (academy paths, solutions industries) ────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel); border: 1px solid var(--steel); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 13px;
  background: var(--void); padding: 34px 28px; min-height: 220px;
  text-decoration: none; transition: background var(--dur-1) var(--ease); }
.card:hover { background: var(--carbon); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-1) var(--ease); }
.card:hover::before { transform: scaleX(1); }
.card__kick { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.card h3 { font-family: var(--font-display); font-weight: 620; font-stretch: 116%;
  font-size: 22px; line-height: 1.04; text-transform: uppercase; }
.card p { font-size: 13.5px; color: var(--bone-dim); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: 16px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ash); display: flex; justify-content: space-between; gap: 10px; }
.card__foot b { color: var(--amber); font-weight: 500; }

/* ── FEATURE ROW (platform: one per viewport) ───────────────────────── */
.feature { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature:nth-child(even) { direction: rtl; }
.feature:nth-child(even) > * { direction: ltr; }
.feature__copy { display: grid; gap: 18px; justify-items: start; }

/* ── FORMS (contact) ────────────────────────────────────────────────── */
.form { display: grid; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); }
.field input, .field select, .field textarea {
  background: var(--carbon); border: 1px solid var(--steel-2); color: var(--bone);
  padding: 13px 15px; font-size: 15px; font-weight: 400; border-radius: 0;
  transition: border-color .3s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field textarea { min-height: 130px; resize: vertical; }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; align-items: center;
  gap: clamp(32px, 5vw, 80px); padding: 140px var(--gutter) 80px; max-width: var(--wrap); margin: 0 auto; }
.split .globe-stage { width: 100%; }

/* form error banner (role=alert inside .form) */
.form [role="alert"] { border: 1px solid var(--crit); background: rgba(239, 68, 68, .07);
  padding: 12px 15px; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--bone); }

/* visually hidden, available to AT */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer { position: relative; border-top: 1px solid var(--steel); background: var(--void); overflow: hidden; }
.site-footer__grid { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) var(--gutter);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(24px, 2.4vw, 40px); }
.site-footer__brand { grid-column: 1 / -1; margin-bottom: clamp(12px, 2vh, 24px); }
.site-footer__brand p { font-size: 13px; color: var(--bone-dim); max-width: 280px; line-height: 1.65; margin-top: 16px; }
.site-footer h2, .site-footer h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer ul a { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--bone-dim); text-decoration: none; transition: color .25s; }
.site-footer ul a:hover { color: var(--amber); }
.site-footer__legal {
  position: relative; z-index: 1; border-top: 1px solid var(--steel);
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(28px, 5vh, 44px) var(--gutter);
  display: grid; gap: 18px;
}
.site-footer__legal p {
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  letter-spacing: normal; line-height: 1.7; text-transform: none;
  color: var(--ash);
}
.site-footer__legal a { color: var(--bone-dim); text-decoration: none; }
.site-footer__legal a:hover { color: var(--amber); }
.site-footer__bottom { position: relative; z-index: 1; border-top: 1px solid var(--steel);
  padding: 18px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--ash); }
/* small US flag beside the copyright — nod to the Minneapolis, USA HQ */
.site-footer__bottom p:first-child::after {
  content: ''; display: inline-block; width: 19px; height: 10px;
  margin-left: 10px; vertical-align: -1px; opacity: .85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 100'%3E%3Crect width='190' height='100' fill='%23e9edf3'/%3E%3Cg fill='%23b22234'%3E%3Crect width='190' height='7.7'/%3E%3Crect y='15.4' width='190' height='7.7'/%3E%3Crect y='30.8' width='190' height='7.7'/%3E%3Crect y='46.2' width='190' height='7.7'/%3E%3Crect y='61.5' width='190' height='7.7'/%3E%3Crect y='76.9' width='190' height='7.7'/%3E%3Crect y='92.3' width='190' height='7.7'/%3E%3C/g%3E%3Crect width='76' height='53.8' fill='%233c3b6e'/%3E%3Cg fill='%23e9edf3'%3E%3Ccircle cx='10' cy='9' r='3.2'/%3E%3Ccircle cx='24' cy='9' r='3.2'/%3E%3Ccircle cx='38' cy='9' r='3.2'/%3E%3Ccircle cx='52' cy='9' r='3.2'/%3E%3Ccircle cx='66' cy='9' r='3.2'/%3E%3Ccircle cx='17' cy='22' r='3.2'/%3E%3Ccircle cx='31' cy='22' r='3.2'/%3E%3Ccircle cx='45' cy='22' r='3.2'/%3E%3Ccircle cx='59' cy='22' r='3.2'/%3E%3Ccircle cx='10' cy='35' r='3.2'/%3E%3Ccircle cx='24' cy='35' r='3.2'/%3E%3Ccircle cx='38' cy='35' r='3.2'/%3E%3Ccircle cx='52' cy='35' r='3.2'/%3E%3Ccircle cx='66' cy='35' r='3.2'/%3E%3Ccircle cx='17' cy='46' r='3.2'/%3E%3Ccircle cx='31' cy='46' r='3.2'/%3E%3Ccircle cx='45' cy='46' r='3.2'/%3E%3Ccircle cx='59' cy='46' r='3.2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.footer-globe { position: absolute; right: -140px; bottom: -260px; width: 560px; height: 560px;
  opacity: .5; pointer-events: none; z-index: 0; }

/* ── SCROLL-EXPANSION CLOSER ────────────────────────────────────────────
   The final screen starts as a clipped rectangle and opens to full-bleed
   as you scroll; content fades in at the crescendo. Driven per-frame by
   main.js via --xc (clip inset), --xz (image zoom), --xo (content). */
/* default = static open section (no-JS / unsupported / reduced-motion) */
.expando { position: relative; }
.expando .screen { position: relative; min-height: 80svh; clip-path: none; }
.expando .media img { transform: none; transform-origin: center; }
.expando .screen__content { opacity: 1; transform: none; }
@keyframes expando-clip { from { clip-path: inset(16%); } to { clip-path: inset(0%); } }
@keyframes expando-zoom { from { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes expando-content { 0%, 45% { opacity: 0; transform: translateY(26px); } 75%, 100% { opacity: 1; transform: none; } }
/* scroll-scrubbed reveal where CSS scroll-driven animations exist (replaces the JS scroll listener) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .expando { height: 240vh; view-timeline-name: --expando; view-timeline-axis: block; }
    .expando .screen { position: sticky; top: 0; min-height: 100svh; height: 100svh;
      animation: expando-clip linear both; animation-timeline: --expando; animation-range: contain; }
    .expando .media img { will-change: transform;
      animation: expando-zoom linear both; animation-timeline: --expando; animation-range: contain; }
    .expando .screen__content {
      animation: expando-content linear both; animation-timeline: --expando; animation-range: contain; }
    @media (max-width: 880px) { .expando { height: 175vh; } }
  }
}

/* ── SCROLL-EXPANSION HERO ──────────────────────────────────────────────
   A small centered media card grows to full-bleed as the headline halves
   slide apart; the dek lands once expanded. Driven per-frame by main.js
   via --xp (progress 0→1) and --xq (dek/content fade). */
/* default = static stacked hero, everything visible (no-JS / unsupported / reduced-motion) */
.xhero { position: relative; }
.xhero__stage {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px var(--gutter) 72px;
}
.xhero__kick { order: 0; margin-bottom: 20px; z-index: 3; }
.xhero__title { order: 1; position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.xhero__l, .xhero__r { display: block; transform: none; }
.xhero__card {
  --cw: min(540px, 62vw); --ch: 46svh;
  order: 2; margin-top: 32px; position: relative; z-index: 1;
  width: 100%; max-width: 960px; height: 56svh; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .75);
}
.xhero__card picture, .xhero__card img { width: 100%; height: 100%; object-fit: cover; }
.xhero__tint { position: absolute; inset: 0; background: rgba(4, 7, 15, .30); }
.xhero__hint { display: none; }  /* was "Scroll to expand" - a banned scroll cue */
.xhero__after {
  order: 3; margin-top: 28px; z-index: 3;
  display: grid; justify-items: center; gap: 20px; text-align: center;
}
.xhero__after .sub { max-width: 640px; }
@keyframes xhero-l { from { transform: none; } to { transform: translateX(-100vw); } }
@keyframes xhero-r { from { transform: none; } to { transform: translateX(100vw); } }
@keyframes xhero-card { from { width: var(--cw); height: var(--ch); border-radius: 14px; }
  to { width: 100vw; height: 100svh; border-radius: 0; } }
@keyframes xhero-tint { from { background: rgba(4, 7, 15, .60); } to { background: rgba(4, 7, 15, .24); } }
@keyframes xhero-after { 0%, 78% { opacity: 0; transform: translateY(22px); } 100% { opacity: 1; transform: none; } }
/* scroll-scrubbed reveal where supported (replaces the JS scroll listener) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .xhero { height: 240vh; view-timeline-name: --xhero; view-timeline-axis: block; }
    .xhero__stage { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0 var(--gutter); }
    .xhero__kick { position: absolute; top: 92px; margin: 0; }
    .xhero__l { animation: xhero-l linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; will-change: transform; }
    .xhero__r { animation: xhero-r linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; will-change: transform; }
    .xhero__card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; max-width: none;
      animation: xhero-card linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; }
    .xhero__tint { animation: xhero-tint linear both; animation-timeline: --xhero; animation-range: contain 0% contain 80%; }
    .xhero__after { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9svh, 96px); padding: 0 var(--gutter); margin: 0;
      animation: xhero-after linear both; animation-timeline: --xhero; animation-range: contain; }
    @media (max-width: 880px) { .xhero { height: 180vh; } .xhero__card { --cw: 78vw; --ch: 36svh; } }
  }
}

/* ── GLOWING BORDERS ────────────────────────────────────────────────────
   Pointer-tracking conic border glow on the box components, in brand
   colors (one amber accent, deep to bright). main.js drives --gs
   (pointer angle) and --ga (active); @property lets CSS tween the angle. */
@property --gs { syntax: '<number>'; inherits: true; initial-value: 0; }
.term { position: relative; }
.card::after, .agent::after, .price-card::after, .term::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  border: 2px solid transparent;
  background: conic-gradient(from calc((var(--gs) - 90) * 1deg),
      transparent 0deg, var(--amber-deep) 28deg, var(--amber) 58deg, var(--amber-bright) 90deg,
      var(--amber) 122deg, var(--amber-deep) 152deg, transparent 180deg) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: var(--ga, 0);
  transition: opacity .35s ease, --gs .55s cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .card::after, .agent::after, .price-card::after, .term::after { display: none; }
}


/* ── VISUALIZATION FIGURES + MEDIA BANDS (content pages) ───────────────── */
.viz { margin: clamp(30px, 4vh, 48px) 0 0; }
.viz__frame { position: relative; border: 1px solid var(--steel); background: var(--carbon-2);
  padding: clamp(20px, 2.6vw, 36px); overflow: hidden; }
.viz__frame::before { content: ''; position: absolute; top: -1px; left: -1px; width: 44px; height: 1px; background: var(--amber); }
.viz__frame::after { content: ''; position: absolute; top: -1px; left: -1px; width: 1px; height: 44px; background: var(--amber); }
.viz svg { width: 100%; height: auto; display: block; }
.viz__cap { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; line-height: 1.7;
  letter-spacing: .08em; color: var(--ash); max-width: 760px; }
.media-band { position: relative; margin: clamp(30px, 4vh, 48px) 0 0; }
.media-band__img { position: relative; border: 1px solid var(--steel); overflow: clip; }
.media-band img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 6.4; object-fit: cover; }
.media-band__cap { margin-top: 12px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; color: var(--ash); }
@media (max-width: 700px) { .media-band img { aspect-ratio: 16 / 10; } }

/* ── BOOKING WALL - the month as a tilted wall of day panels ─────────
   Home #book. JS builds the grid (main.js "booking wall"); without JS the
   section's plain contact button stands alone. The resting tilt is a static
   pose, not motion; only the pointer-follow (JS) is reduced-motion gated. */
.calwall { margin-top: clamp(30px, 5vh, 54px); width: min(1160px, 100%); }
.calwall__bar { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.calwall__month {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--bone-dim); min-width: 16ch; text-align: center;
}
.calwall__nav {
  width: 34px; height: 34px; display: grid; place-items: center; background: none;
  border: 1px solid var(--steel-2); color: var(--ash);
  font-family: var(--font-mono); font-size: 13px; cursor: pointer;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.calwall__nav:hover:not(:disabled) { color: var(--amber); border-color: var(--amber-30); }
.calwall__nav:disabled { opacity: .3; cursor: default; }
.calwall__persp { perspective: 1100px; }
.calwall__wall {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(5px, .8vw, 12px);
  transform-style: preserve-3d;
  transform: rotateX(var(--wx, 14deg)) rotateY(var(--wy, 0deg));
}
.calwall__wd {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ash-dim); text-align: center; padding-bottom: 8px;
}
.calwall__day {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(46px, 7vw, 104px); padding: clamp(6px, 1vw, 14px);
  background: linear-gradient(165deg, var(--carbon-2), var(--carbon));
  border: 1px solid var(--steel); text-decoration: none;
  transform: translateZ(var(--z, 0px));
  transition: transform var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}
.calwall__num {
  font-family: var(--font-display); font-weight: 620; font-stretch: 112%;
  font-size: clamp(13px, 1.6vw, 21px); line-height: 1; color: var(--ash);
}
button.calwall__day { cursor: pointer; text-align: left; }
button.calwall__day .calwall__num { color: var(--bone); }
.calwall__tag {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber-deep);
}
button.calwall__day:hover, button.calwall__day:focus-visible {
  border-color: var(--amber-30);
  box-shadow: 0 0 26px -10px var(--amber-30);
  transform: translateZ(calc(var(--z, 0px) + 26px));
}
button.calwall__day:hover .calwall__tag, button.calwall__day:focus-visible .calwall__tag { color: var(--amber); }
button.calwall__day.is-sel {
  border-color: var(--amber);
  box-shadow: 0 0 30px -8px var(--amber-30);
  transform: translateZ(calc(var(--z, 0px) + 26px));
}
button.calwall__day.is-sel .calwall__tag { color: var(--amber); }
.calwall__day.is-off { opacity: .38; }
.calwall__tray {
  margin-top: 20px; padding: clamp(16px, 2vw, 26px);
  width: min(720px, 100%);
  background: linear-gradient(165deg, var(--carbon-2), var(--carbon));
  border: 1px solid var(--steel-2); outline: none;
}
.calwall__tray-day {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px;
}
.calwall__slots { display: flex; flex-wrap: wrap; gap: 10px; }
.calwall__slot {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  padding: 9px 16px; border: 1px solid var(--steel-2); color: var(--bone-dim);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
              background var(--dur-1) var(--ease);
}
.calwall__slot:hover, .calwall__slot:focus-visible {
  color: var(--amber); border-color: var(--amber-30); background: var(--amber-08);
}
.calwall__slot--any { color: var(--ash); border-style: dashed; }
.calwall__tray-note {
  margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ash);
}
.calwall__hint {
  margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ash);
}
@media (max-width: 640px) {
  .calwall__wall { --wx: 8deg; }
  .calwall__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .calwall__day { transition: none; }
}

/* ── MOTION V2 - cross-page transitions + scroll-driven layer ───────────
   Single amber accent, every effect motivated, double-gated behind
   @supports + prefers-reduced-motion. Browsers without View Transitions
   or scroll-driven animations keep todays behavior untouched. */

/* cross-document view transitions: the nav persists while content hands off */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-nav { view-transition-name: site-nav; }
  ::view-transition-old(root) { animation: vt-leave .22s cubic-bezier(.65, 0, .35, 1) both; }
  ::view-transition-new(root) { animation: vt-enter .3s .05s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes vt-leave { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-enter { from { opacity: 0; transform: translateY(14px); } }

/* editorial wipes: photos and diagrams reveal as they enter the viewport */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .media-band__img img { animation: band-wipe cubic-bezier(.16, 1, .3, 1) both;
      animation-timeline: view(); animation-range: entry 5% entry 100%; }
    .viz__frame { animation: viz-rise cubic-bezier(.16, 1, .3, 1) both;
      animation-timeline: view(); animation-range: entry 0% entry 85%; }
    /* the hero recedes with depth as the story scrolls past it */
    .screen--hero .screen__content { animation: hero-recede linear both;
      animation-timeline: view(); animation-range: exit 0% exit 100%; }
    /* keyboard focus inside scrubbed content cancels the scrub (content snaps fully visible) */
    .screen--hero .screen__content:focus-within,
    .expando .screen__content:focus-within { animation: none; }
  }
}
@keyframes band-wipe { from { clip-path: inset(0 0 96% 0); transform: scale(1.05); }
  to { clip-path: inset(0); transform: none; } }
@keyframes viz-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-recede { to { opacity: .12; transform: translateY(-44px); } }

/* masked rise on the display headline the moment its reveal lands */
@media (prefers-reduced-motion: no-preference) {
  .js .h-display.rv.is-in { animation: h1-unmask .9s cubic-bezier(.16, 1, .3, 1); }
}
@keyframes h1-unmask { from { clip-path: inset(0 0 92% 0); } to { clip-path: inset(0); } }

/* ── REVEAL SYSTEM ──────────────────────────────────────────────────── */
/* reveal hiding is gated on the .js flag so no-JS visitors see everything */
.js .rv { opacity: 0; transform: translateY(26px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.rv--d1.is-in { transition-delay: 90ms; }
.rv--d2.is-in { transition-delay: 180ms; }
.rv--d3.is-in { transition-delay: 270ms; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .agents, .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .spec-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 880px) {
  .site-nav__links, .site-nav__acts { display: none; }
  .nav-toggle { display: flex; }
  .site-nav__links.is-open {
    display: flex; position: fixed; top: 60px; left: 0; right: 0; z-index: 205;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: var(--void-88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--steel);
  }
  .site-nav__links.is-open li { border-bottom: 1px solid var(--steel); }
  .site-nav__links.is-open a { display: block; padding: 16px var(--gutter); font-size: 12px; }
  .site-nav__links.is-open li:last-child { border-bottom: 0; }
  /* the primary CTA rides along with the open mobile menu */
  .site-nav:has(.site-nav__links.is-open) .site-nav__acts {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 205;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--void-88); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    border-top: 1px solid var(--steel);
  }
  .site-nav:has(.site-nav__links.is-open) .site-nav__acts .btn { width: 100%; justify-content: center; }
  .screen { min-height: 80svh; }
  .screen--hero { min-height: 100svh; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { display: none; }
  .calc { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; padding-top: 110px; }
  .ticker span { padding: 10px 18px; font-size: 9px; }
  .term__row { grid-template-columns: 1fr auto 92px; gap: 10px; }
}
@media (max-width: 560px) {
  .agents, .cards, .cards--4 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .screen { padding-bottom: 88px; }
  .footer-globe { display: none; }
}

/* ── REDUCED MOTION — everything calms down ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .media--parallax img { height: 100%; transform: none !important; }
  .ticker__track { animation: none; flex-wrap: wrap; }
  .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .logo-marquee__dup { display: none; }
  .conn-marquee__track { animation: none; flex-wrap: wrap; }
  .conn-marquee__dup { display: none; }
  .agent__methods { opacity: 1; transform: none; }
  .media img { opacity: 1; }
}

/* ── REDUCED TRANSPARENCY ─ glass surfaces fall back to solid fills ── */
@media (prefers-reduced-transparency: reduce) {
  .site-nav.is-scrolled, .site-nav__links.is-open,
  .site-nav:has(.site-nav__links.is-open) .site-nav__acts {
    -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--void);
  }
  .device__screen { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--carbon-2); }
}

/* ── DOCUMENT / CONTENT PAGES (privacy, terms, about, resources, guides,
   academy course pages) — long-form prose + centered CTAs ──────────────── */
.doc { max-width: 760px; display: grid; gap: 18px; }
.doc > p { color: var(--bone-dim); font-size: 15.5px; line-height: 1.78; }
/* label lines inside a .doc (Prerequisite, How it's assessed, FAQ questions):
   read as a sub-heading, not an orphan sentence. */
.doc > p.doc__label { color: var(--bone); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; }
.doc > p.doc__label:first-child { margin-top: 0; }
.doc ul { display: grid; gap: 10px; padding-left: 20px; margin-top: 2px; }
.doc li { color: var(--bone-dim); font-size: 15px; line-height: 1.6; }
.doc li::marker { color: var(--amber); }
.doc a { color: var(--amber); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.spec-row .doc { margin: 0; max-width: 640px; gap: 12px; }
.spec-row .doc > p { font-size: 15px; line-height: 1.7; }
.cta-block { max-width: 720px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta-block .btn-row { justify-content: center; }
.meta-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-bar .badge b { color: var(--amber); font-weight: 500; margin-right: 6px; }
.cards--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── COURSE READER (academy /learn/ pages) — sidebar TOC + one module at a
   time with localStorage progress. No-JS shows every module stacked. ────── */
.course { display: grid; grid-template-columns: 268px 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: start; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(96px, 13vh, 140px) var(--gutter) clamp(64px, 10vh, 104px); }
.course__toc { display: grid; gap: 3px; align-content: start; }
.course__back { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ash); text-decoration: none; display: inline-flex;
  gap: 8px; margin-bottom: 16px; }
.course__back:hover { color: var(--amber); }
.course__meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ash-dim); margin-bottom: 12px; }
.course__prog { height: 3px; background: var(--steel); margin-bottom: 18px; overflow: hidden; }
.course__prog i { display: block; height: 100%; width: 0; background: var(--amber); box-shadow: 0 0 8px var(--amber-30); transition: width var(--dur-1) var(--ease); }
.toc__item { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline;
  width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--bone-dim);
  padding: 9px 10px; border-radius: 5px; transition: background .25s, color .25s; }
.toc__item:hover { background: var(--carbon); color: var(--bone); }
.toc__item.is-active { background: var(--amber-08); color: var(--amber); }
.toc__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--ash); }
.toc__item.is-active .toc__num { color: var(--amber); }
.toc__item.is-done .toc__num { color: var(--amber); }
.toc__item.is-done .toc__num::after { content: '✓'; margin-left: 3px; }

.course__main { min-width: 0; }
.js .lesson { display: none; }
.js .lesson.is-active { display: block; }
.lesson { max-width: 720px; }
.lesson + .lesson { margin-top: 64px; }
.js .lesson + .lesson { margin-top: 0; }
.lesson__eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lesson h2 { font-family: var(--font-display); font-weight: 640; font-stretch: 116%;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--bone); }
.lesson h2:focus { outline: none; }
.lesson__section { margin-top: 30px; display: grid; gap: 14px; }
.lesson__section h3 { font-family: var(--font-display); font-weight: 600; font-stretch: 112%;
  font-size: clamp(17px, 1.8vw, 21px); text-transform: uppercase; letter-spacing: -.005em; color: var(--bone); }
.lesson__section p { color: var(--bone-dim); font-size: 15.5px; line-height: 1.78; }
.lesson__section ul { display: grid; gap: 9px; padding-left: 20px; }
.lesson__section li { color: var(--bone-dim); font-size: 15px; line-height: 1.6; }
.lesson__section li::marker { color: var(--amber); }
.takeaway { margin-top: 30px; border-left: 2px solid var(--amber); background: var(--amber-08);
  padding: 16px 20px; }
.takeaway b { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 7px; }
.takeaway p { color: var(--bone-dim); font-size: 14.5px; line-height: 1.7; }
.course__nav { display: none; justify-content: space-between; gap: 12px; margin-top: 48px;
  border-top: 1px solid var(--steel); padding-top: 26px; }
.js .course__nav { display: flex; }
.course__nav .btn[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 880px) {
  .course { grid-template-columns: 1fr; }
  .course__toc { position: static; }
}

/* ── SLIDES — the course reader is a deck: one section / figure group /
   takeaway / quiz question at a time. No-JS renders every slide stacked. ── */
.js .slide { display: none; }
.js .slide.is-active { display: block; animation: slide-in .35s var(--ease) both; }
.slide { outline: none; }
@keyframes slide-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .slide.is-active { animation: none; }
}
.lesson__slidepos { color: var(--ash-dim); white-space: nowrap; }
.lesson__slidepos:empty { display: none; }
.js .slide .lesson__section:first-child { margin-top: 22px; }
.js .slide > .fig:first-child, .js .slide > .worked:first-child,
.js .takeaway--slide, .js .slide > .quiz { margin-top: 26px; }
.takeaway--slide { padding: 22px 24px; }

/* ── FIGURES — build-time technical drawings (academy lessons + exams).
   Each figure is a "sheet": mono title block, drafting grid, amber accent. ── */
.fig { margin-top: 30px; border: 1px solid var(--steel-2); background: var(--carbon); }
.fig__head { display: flex; align-items: baseline; gap: 14px; padding: 10px 16px;
  border-bottom: 1px solid var(--steel); }
.fig__num { font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: .18em; color: var(--amber); white-space: nowrap; }
.fig__title { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em;
  color: var(--bone-dim); text-transform: uppercase; min-width: 0; }
.fig__ref { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  color: var(--ash-dim); margin-left: auto; white-space: nowrap; }
.fig__canvas { padding: 6px 8px 2px; }
.fig__canvas svg { width: 100%; height: auto; }
.fig__caption { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.65;
  letter-spacing: .03em; color: var(--ash); padding: 10px 16px 13px;
  border-top: 1px solid var(--steel); }

/* worked example / field-note callout inside lessons */
.worked { margin-top: 30px; border: 1px solid var(--steel-2); background: var(--carbon-2); padding: 18px 22px; }
.worked b { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 9px; }
.worked p { color: var(--bone-dim); font-size: 14.5px; line-height: 1.75; }
.worked p + p { margin-top: 9px; }
.worked .formula { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--bone);
  background: var(--void); border: 1px solid var(--steel); padding: 12px 16px; margin: 12px 0;
  overflow-x: auto; white-space: pre; line-height: 1.8; }

/* ── QUIZ — module knowledge checks + practice exams ─────────────────── */
.quiz { margin-top: 34px; border: 1px solid var(--steel-2); background: var(--carbon); }
.quiz__head { display: flex; align-items: baseline; gap: 14px; padding: 12px 18px;
  border-bottom: 1px solid var(--steel); }
.quiz__kicker { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber); }
.quiz__score { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  color: var(--ash); }
.quiz__body { padding: 6px 18px 18px; }
.q { padding: 16px 0 4px; }
.q + .q { border-top: 1px solid var(--steel); }
.q__scenario { font-family: var(--font-mono); font-size: 11px; line-height: 1.7; letter-spacing: .02em;
  color: var(--ash); background: var(--void); border-left: 2px solid var(--steel-2);
  padding: 10px 14px; margin-bottom: 12px; }
.q__prompt { color: var(--bone); font-size: 15px; line-height: 1.55; font-weight: 500; margin-bottom: 12px; }
.q__num { font-family: var(--font-mono); font-size: 10.5px; color: var(--amber); margin-right: 8px; }
.q__opts { display: grid; gap: 8px; }
.q__opt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  width: 100%; text-align: left; cursor: pointer; border: 1px solid var(--steel-2);
  background: var(--carbon-2); color: var(--bone-dim); padding: 12px 14px; border-radius: 5px;
  font-size: 14.5px; line-height: 1.55; transition: border-color .2s, background .2s; }
.q__opt:hover:not([disabled]) { border-color: var(--amber-30); background: var(--amber-08); }
.q__opt[disabled] { cursor: default; }
.q__key { font-family: var(--font-mono); font-size: 12px; color: var(--ash); line-height: 1.5; }
.q__opt.is-right { border-color: var(--ok, #3fae6a); background: rgba(63,174,106,.07); }
.q__opt.is-right .q__key { color: #3fae6a; }
.q__opt.is-wrong { border-color: var(--crit); background: rgba(239,68,68,.07); }
.q__opt.is-wrong .q__key { color: var(--crit); }
.q__opt.is-picked:not(.is-right):not(.is-wrong) { border-color: var(--amber); }
.q__why { font-size: 13px; line-height: 1.6; color: var(--ash); margin-top: 7px; display: none; }
.q__opt.is-right .q__why, .q__opt.is-wrong .q__why { display: block; }
.q__opt.is-right .q__why { color: #7cc99a; }
/* No-JS: the quiz reads as an answered key — mark the correct option and
   reveal every rationale so the stacked document is self-contained. */
html:not(.js) .q__opt[data-correct] { border-color: var(--ok, #3fae6a); background: rgba(63,174,106,.07); }
html:not(.js) .q__opt[data-correct] .q__key { color: #3fae6a; }
html:not(.js) .q__why { display: block; }
.quiz__verdict { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--ash); padding: 12px 0 2px; }
.quiz__verdict.is-pass { color: #7cc99a; }

/* course completion panel — shown by default so the no-JS stacked document is
   complete (with the exam CTA); JS hides it until the last slide is reached. */
.complete { margin-top: 40px; border: 1px solid var(--amber-30); background: var(--amber-08);
  padding: 30px 28px; text-align: center; }
.js .complete { display: none; }
.js .complete.is-visible { display: block; }
.complete h3 { font-family: var(--font-display); font-weight: 640; font-stretch: 116%;
  text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); color: var(--bone); }
.complete h3 em { font-style: normal; color: var(--amber); }
.complete p { color: var(--bone-dim); font-size: 14.5px; line-height: 1.7; max-width: 520px; margin: 12px auto 20px; }
.complete .btn-row { justify-content: center; }

/* ── EXAM — timed practice final ─────────────────────────────────────── */
.exam { max-width: 860px; margin: 0 auto;
  padding: clamp(96px, 13vh, 140px) var(--gutter) clamp(64px, 10vh, 104px); }
.exam__rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  background: var(--steel); border: 1px solid var(--steel); margin: 28px 0 6px; }
.exam__rule { background: var(--carbon); padding: 16px 18px; }
.exam__rule b { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ash-dim); margin-bottom: 7px; }
.exam__rule span { font-family: var(--font-mono); font-size: 15px; color: var(--amber); }
.exam__bar { position: sticky; top: 0; z-index: 40; display: none; align-items: center; gap: 16px;
  background: var(--void-88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--steel);
  padding: 12px 4px; margin: 0 0 10px; }
.exam.is-running .exam__bar { display: flex; }
.exam__timer { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; color: var(--bone);
  font-variant-numeric: tabular-nums; }
.exam__timer.is-low { color: var(--crit); }
.exam__count { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--ash);
  margin-left: auto; white-space: nowrap; }

/* question map — one numbered cell per question */
.exam__dots { display: flex; gap: 5px; flex-wrap: wrap; margin-left: 8px; }
.exam__dot { width: 24px; height: 24px; padding: 0; border-radius: 4px;
  border: 1px solid var(--steel-2); background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--ash);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, background .2s; }
.exam__dot:hover { border-color: var(--amber-30); color: var(--bone); }
.exam__dot.is-answered { border-color: var(--amber-30); background: var(--amber-08); color: var(--amber); }
.exam__dot.is-current { border-color: var(--amber); color: var(--amber); }

/* No-JS: the Start button does nothing, so hide it — the stacked paper below
   and the noscript note carry the page. */
html:not(.js) [data-start] { display: none; }
/* one question per slide while running; stacked marked paper in review */
.js .exam__paper .quiz__body [data-q] { display: none; }
.js .exam__paper .quiz__body [data-q].is-active { display: block; animation: slide-in .3s var(--ease) both; outline: none; }
.js .exam__paper.is-review .quiz__body [data-q] { display: block; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .js .exam__paper .quiz__body [data-q].is-active { animation: none; }
}
.exam__navrow { display: flex; }
@media (max-width: 720px) {
  .exam__bar { flex-wrap: wrap; }
  .exam__dots { order: 3; width: 100%; margin-left: 0; }
}
.exam__intro.is-hidden, .exam__paper.is-hidden, .exam__result.is-hidden { display: none; }
.exam__result { text-align: center; padding-top: 26px; }
.exam__gauge { width: 168px; height: 168px; margin: 0 auto 20px; }
.exam__grade { font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.exam__grade.is-pass { color: #7cc99a; }
.exam__grade.is-fail { color: var(--amber); }
.exam__review { text-align: left; margin-top: 36px; }
.exam__review-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash-dim); margin: 26px 0 8px; }
.exam .q__module { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash-dim); margin-top: 8px; }
.exam .q__module a { color: var(--amber); text-decoration: none; }
.exam .q__module a:hover { text-decoration: underline; }

/* ── TRAIL — certification trail map on /academy/ ────────────────────── */
.trail { max-width: 980px; }
.trail svg { width: 100%; height: auto; }
.trail__legend { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; }
.trail__legend span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ash); display: inline-flex; align-items: center; gap: 8px; }
.trail__legend i { width: 10px; height: 10px; border-radius: 50%; border: 1.4px solid var(--ash-dim); }
.trail__legend .t-prog i { border-color: var(--amber); background: var(--amber-08); }
.trail__legend .t-done i { border-color: var(--amber); background: var(--amber); }
.trail__scroll { overflow-x: auto; }
.trail__scroll svg { min-width: 880px; }
.trail-node { cursor: pointer; }
.trail-node text { pointer-events: none; }
.trail-node__ring { fill: var(--carbon-2); stroke: var(--ash-dim); stroke-width: 1.6;
  transition: stroke .25s, fill .25s; }
.trail-node__dot { fill: transparent; transition: fill .25s; }
.trail-node__check { fill: none; stroke: var(--void); stroke-width: 2.4; stroke-linecap: round;
  stroke-linejoin: round; opacity: 0; transition: opacity .25s; }
.trail-node__code { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1.2px; fill: var(--ash-dim); }
.trail-node__name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .4px; fill: var(--bone-dim); }
.trail-node__stat { font-family: var(--font-mono); font-size: 10px; letter-spacing: .5px; fill: var(--ash-dim); }
.trail-node:hover .trail-node__ring { stroke: var(--amber); }
.trail-node:hover .trail-node__name { fill: var(--amber); }
.trail-node.is-prog .trail-node__ring { stroke: var(--amber); }
.trail-node.is-prog .trail-node__dot { fill: var(--amber); }
.trail-node.is-prog .trail-node__code { fill: var(--amber); }
.trail-node.is-prog .trail-node__stat { fill: var(--ash); }
.trail-node.is-done .trail-node__ring { fill: var(--amber); stroke: var(--amber); }
.trail-node.is-done .trail-node__check { opacity: 1; }
.trail-node.is-done .trail-node__code { fill: var(--amber); }
.trail-node.is-done .trail-node__name { fill: var(--bone); }
.trail-node.is-done .trail-node__stat { fill: var(--ash); }
@media (max-width: 720px) {
  .exam__rules { grid-template-columns: 1fr 1fr; }
}
