/* ============================================================
   oribot. design system — implements brand assets/robot-com-style-reference.md
   Laws: one chromatic color (#fff65d). No shadows. No gradients. No serifs.
   Radius ladder: 4px utility · 10px content cards · 24-30px chrome · 9999px tags.
   ============================================================ */

:root {
  /* Colors */
  --color-yellix-yellow: #fff65d;
  --color-bone-white: #ffffff;
  --color-warm-parchment: #f8f6f3;
  --color-fog-gray: #d9d7d5;
  --color-ash-gray: #8f8e8d;
  --color-stone-gray: #727272;
  --color-ink-black: #262626;
  --color-charcoal: #2d2d2d;
  --color-pure-black: #000000;

  /* Typography */
  --font-yellix: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --spacing-4: 4px; --spacing-8: 8px; --spacing-12: 12px; --spacing-16: 16px;
  --spacing-20: 20px; --spacing-24: 24px; --spacing-28: 28px; --spacing-32: 32px;
  --spacing-40: 40px;

  /* Layout */
  --page-max-width: 1280px;
  --section-gap: 80px;
  --card-padding: 24px;

  /* Radius */
  --radius-tight: 4px;      /* utility buttons */
  --radius-card: 10px;      /* content cards, thumbnails */
  --radius-nav-large: 17px; /* dropdown panels */
  --radius-nav: 24px;       /* nav pill, tags, small pills */
  --radius-button: 30px;    /* action buttons */
  --radius-full: 9999px;    /* tag pills */

  /* Surfaces */
  --surface-canvas: #ffffff;
  --surface-warm-card: #f8f6f3;
  --surface-fog: #d9d7d5;
  --surface-charcoal-block: #262626;
  --surface-yellow-accent: #fff65d;
}

/* ---------- Base ---------- */
html {
  font-family: var(--font-yellix);
  font-feature-settings: "ss01" on, "salt" on;
  color: var(--color-ink-black);
  background: var(--surface-canvas);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; font-size: 16px; line-height: 1.25; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--color-yellix-yellow); color: var(--color-ink-black); }

/* ---------- Type scale (tracking tightens as size grows — editorial law) ---------- */
.t-caption   { font-size: 12px; line-height: 1.22; }
.t-body-sm   { font-size: 14px; line-height: 1.22; }
.t-body      { font-size: 16px; line-height: 1.25; }
.t-sub       { font-size: 18px; line-height: 1.22; letter-spacing: -0.01em; font-weight: 500; }
.t-h-sm      { font-size: 24px; line-height: 1.16; letter-spacing: -0.02em; font-weight: 500; }
.t-h         { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.10; letter-spacing: -0.025em; font-weight: 500; }
.t-h-lg      { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 500; }
.t-display   { font-size: clamp(40px, 6.5vw, 72px); line-height: 1.00; letter-spacing: -0.03em; font-weight: 500; }
.t-display-xl{ font-size: clamp(46px, 8.5vw, 100px); line-height: 0.96; letter-spacing: -0.03em; font-weight: 500; }

h1, h2, h3, h4, p { margin: 0; }
.measure { max-width: 34em; }
.text-stone { color: var(--color-stone-gray); }
.text-ash { color: var(--color-ash-gray); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-stone-gray);
}

/* Highlighter mark — the yellow behaves like a highlighter on a printed page */
.hl {
  background: var(--color-yellix-yellow);
  color: var(--color-ink-black);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container { max-width: var(--page-max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-gap) 0; }
.band-dark { background: var(--surface-charcoal-block); color: var(--color-bone-white); }
.band-yellow { background: var(--surface-yellow-accent); color: var(--color-ink-black); }
.band-parchment { background: var(--surface-warm-card); }

.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } }
.split > .split-media { min-width: 0; }

.grid-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* Education page: five module cards fit one row on wide screens; the yellow
   top rule is the deck's "coloured top border" card motif in the brand accent. */
.grid-modules { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card-top { border-top: 3px solid var(--color-yellix-yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-button);
  padding: 12px 24px;
  font-family: var(--font-yellix); font-size: 16px; font-weight: 500; line-height: 1.25;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
.band-dark .btn:focus-visible, .hero .btn:focus-visible { outline-color: var(--color-bone-white); }

.btn-black { background: var(--color-pure-black); color: var(--color-bone-white); } /* max one per view */
.btn-black:hover { background: var(--color-ink-black); }

.btn-ghost { background: transparent; border-color: var(--color-ink-black); color: var(--color-ink-black); }
.btn-ghost:hover { background: var(--color-ink-black); color: var(--color-bone-white); }

.btn-white { background: var(--color-bone-white); color: var(--color-ink-black); }
.btn-white:hover { transform: translateY(-1px); }

/* Primary CTA (owner 2026-10-09): yellow across the homepage, same as the nav pill. */
.btn-yellow { background: var(--color-yellix-yellow); color: var(--color-ink-black); }
.btn-yellow:hover { transform: translateY(-1px); }

/* Proof chips + CTA row for the robot panel's pitch block. */
.proof-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--color-ink-black); border-radius: 9999px;
  font-size: 13px; font-weight: 600;
}
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.link-ul { font-weight: 600; color: var(--color-ink-black); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .cta-row .btn { width: 100%; }
}

.btn-ghost-inv { background: transparent; border-color: var(--color-bone-white); color: var(--color-bone-white); }
.btn-ghost-inv:hover { background: var(--color-bone-white); color: var(--color-ink-black); }

.btn-yellow { background: var(--color-yellix-yellow); color: var(--color-ink-black); }
.btn-yellow:hover { transform: translateY(-1px); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex; align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-ink-black);
  background: transparent; color: var(--color-ink-black);
  padding: 6px 14px; font-family: var(--font-yellix);
  font-size: 14px; font-weight: 500; line-height: 1.22;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease;
}
.tag:hover { background: var(--surface-warm-card); }
.tag:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
.tag.is-active { background: var(--color-ink-black); color: var(--color-bone-white); }
.tag-soft { border-color: var(--color-fog-gray); color: var(--color-stone-gray); cursor: default; }
.tag-soft:hover { background: transparent; }

/* ---------- Cards (content = 10px, never pill) ---------- */
.card {
  background: var(--surface-warm-card);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
}
.card-white { background: var(--color-bone-white); }
.card-yellow { background: var(--surface-yellow-accent); color: var(--color-ink-black); }
.card-dark { background: var(--color-charcoal); color: var(--color-bone-white); }
a.card { text-decoration: none; display: block; transition: transform 0.15s ease; }
a.card:hover { transform: translateY(-2px); }
a.card:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }

/* ---------- Photography (Phase 2 imagery — one shoot, one formula) ---------- */
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 0.6s ease;
}
.hero-video.is-on { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  /* bottom-heavy dark scrim for text contrast on photography (photo treatment, not UI gradient).
     Deep lower half: the reel's bright acts were washing out the hero stat labels. */
  background: linear-gradient(180deg, rgba(38,38,38,0.15) 0%, rgba(38,38,38,0.45) 55%, rgba(38,38,38,0.82) 100%);
}
.hero-inner { position: relative; }
.media-img { width: 100%; height: auto; display: block; } /* full-bleed, never framed */
.thumb-img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-card); flex: none; display: block; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); display: block; }

/* ---------- Bento grid (vanilla port of components/ui/bento.tsx) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-w { grid-column: span 4; }
  .bento-n { grid-column: span 2; }
}
a.bento-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; border-radius: var(--radius-card); overflow: hidden;
  background: var(--color-charcoal); color: var(--color-bone-white);
  text-decoration: none;
  transition: transform 0.15s ease;
}
@media (min-width: 900px) { a.bento-card { min-height: 400px; } }
a.bento-card:hover { transform: translateY(-2px); }
a.bento-card:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
.bento-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.4s ease;
}
a.bento-card:hover .bento-img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { a.bento-card:hover .bento-img { transform: none; } }
.bento-scrim {
  position: absolute; inset: 0;
  /* photo-contrast scrim (photo treatment, not UI gradient) */
  background: linear-gradient(180deg, rgba(38,38,38,0) 42%, rgba(38,38,38,0.82) 100%);
}
.bento-body { position: relative; padding: 24px; }
.bento-body .eyebrow { color: var(--color-fog-gray); }

/* ---------- Interactive 3D stage (vanilla port of components/ui/splite.tsx) ---------- */
.spline-stage {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-charcoal); /* shows behind canvas while the scene boots */
}
.spline-stage .spline-fallback { transition: opacity 0.5s ease; }
.spline-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; touch-action: pan-y; /* taps trigger tricks; scrolling stays free on touch */
  opacity: 0; transition: opacity 0.5s ease;
}
.spline-stage.is-3d .spline-canvas { opacity: 1; }
.spline-stage.is-3d .spline-fallback { opacity: 0; }
.spline-hint { margin-top: 10px; color: var(--color-ash-gray); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* Ori's speech bubble — terminal voice, typed by site.js on click. VT323 is the
   licensed stand-in for the owner's pixel-font pick (OFL; loads with the page's
   Google Fonts request). Rectangle per the brief: 4px utility radius, ink border. */
.g1-bubble {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  max-width: min(360px, calc(100% - 40px));
  background: var(--color-bone-white);
  color: var(--color-ink-black);
  border: 2px solid var(--color-ink-black);
  border-radius: var(--radius-tight);
  padding: 8px 14px 10px;
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 23px; line-height: 1.2;
}
.g1-bubble::after {
  content: "\2588"; /* block caret */
  margin-left: 3px;
  animation: g1-caret 1s steps(1) infinite;
}
@keyframes g1-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .g1-bubble::after { animation: none; } }
/* Standing invitation on Ori's stage; site.js hides it after the first click. */
.g1-cta {
  position: absolute; bottom: 18px; left: 50%;
  z-index: 2; pointer-events: none;
  background: var(--color-bone-white); color: var(--color-ink-black);
  border: 2px solid var(--color-ink-black);
  border-radius: var(--radius-tight);
  padding: 6px 12px;
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 19px; line-height: 1; white-space: nowrap;
  transform: translateX(-50%);
  animation: g1-cta-bob 2.2s ease-in-out infinite;
}
@keyframes g1-cta-bob { 50% { transform: translateX(-50%) translateY(-5px); } }

/* ---------- Contact card (vanilla port of components/ui/contact-card.tsx) ----------
   Bordered card with registration-mark corners; info panel left, form panel right
   on a warm surface behind a divider. Shadow from the source swapped for an ink
   border (no-shadow law); stacks with a top divider under 900px. */
.contact-card {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  background: var(--color-bone-white);
  border: 1px solid var(--color-ink-black);
  border-radius: var(--radius-tight);
}
@media (min-width: 900px) { .contact-card { grid-template-columns: 1fr 1fr; } }
.cc-plus { position: absolute; width: 24px; height: 24px; color: var(--color-ink-black); }
.cc-tl { top: -12px; left: -12px; }
.cc-tr { top: -12px; right: -12px; }
.cc-bl { bottom: -12px; left: -12px; }
.cc-br { bottom: -12px; right: -12px; }
.cc-info { padding: 32px 24px; }
.cc-form {
  padding: 24px;
  background: var(--surface-warm-card);
  border-top: 1px solid var(--color-ink-black);
  display: flex; align-items: center;
}
@media (min-width: 900px) {
  .cc-info { padding: 48px; }
  .cc-form { padding: 40px; border-top: 0; border-left: 1px solid var(--color-ink-black); }
}
.cc-rows { margin-top: 28px; }
.cc-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.cc-chip {
  display: flex; flex: none; padding: 12px;
  background: var(--surface-fog);
  border-radius: var(--radius-card);
}
.cc-chip svg { width: 20px; height: 20px; }
.cc-row .k { font-weight: 600; font-size: 15px; }
.cc-row .v { font-size: 13px; color: var(--color-stone-gray); margin-top: 2px; }
.cc-row .v a { font-weight: 600; }

/* ---------- Placeholder media (product cards await manufacturer press photos) ---------- */
.img-ph {
  background: var(--surface-fog);
  aspect-ratio: var(--ph-ratio, 3 / 2);
  display: grid; place-items: center;
  color: var(--color-stone-gray);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  text-align: center; padding: 12px;
}
.img-ph.rounded { border-radius: var(--radius-card); }
.img-ph.dark { background: var(--color-charcoal); color: var(--color-ash-gray); }

/* ---------- Floating pill nav ---------- */
.site-nav {
  position: fixed; top: 20px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  /* Translucent + blur so content scrolling under the pill doesn't show
     through (owner 2026-10-10); falls back to the rgba alone. */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-fog-gray);
  border-radius: var(--radius-nav);
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 18px;
  position: relative;
}
.nav-brand {
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--color-ink-black); text-decoration: none; margin-right: 12px;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--color-ink-black);
  text-decoration: none; padding: 8px 12px; border-radius: var(--radius-nav);
}
.nav-link:hover { background: var(--surface-warm-card); }
.nav-link:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: -2px; }
.nav-link[aria-current="page"] { background: var(--color-ink-black); color: var(--color-bone-white); }
.nav-cta {
  font-size: 14px; font-weight: 500; color: var(--color-ink-black);
  background: var(--color-yellix-yellow);
  text-decoration: none; padding: 9px 16px; border-radius: var(--radius-nav);
  margin-left: 10px; white-space: nowrap;
  transition: transform 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; border-radius: var(--radius-tight);
  flex-direction: column; gap: 4px;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--color-ink-black); }
.nav-burger:focus-visible { outline: 2px solid var(--color-ink-black); }

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--color-bone-white);
    border: 1px solid var(--color-fog-gray);
    border-radius: var(--radius-nav-large);
    padding: 8px; flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; /* full-screen reel (owner request); svh below avoids mobile URL-bar jump */
  min-height: 100svh;
  background: var(--surface-charcoal-block); /* stand-in for full-bleed robot video (Phase 2) */
  color: var(--color-bone-white);
  display: flex; align-items: flex-end;
  padding: 140px 0 72px;
}
.hero-inner { display: flex; flex-direction: column; gap: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.corner-arrow {
  position: absolute; right: 24px; bottom: 24px;
  width: 40px; height: 40px;
  background: var(--color-bone-white); color: var(--color-ink-black);
  border-radius: var(--radius-tight);
  display: grid; place-items: center;
  text-decoration: none; font-size: 16px;
}
.corner-arrow:hover { transform: translateY(2px); }
.corner-arrow:focus-visible { outline: 2px solid var(--color-bone-white); outline-offset: 2px; }

/* Page hero (light pages) */
.page-hero { padding: 180px 0 48px; }

/* ---------- Logo / brand strip ---------- */
.brand-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px;
}
.brand-strip .mark {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--color-ink-black); opacity: 0.85;
}

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step-num {
  font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -0.03em;
  font-weight: 500; color: var(--color-fog-gray);
}

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-card .img-ph { margin: -24px -24px 8px; border-radius: var(--radius-card) var(--radius-card) 0 0; aspect-ratio: 4 / 3; }
.product-card .product-img {
  width: calc(100% + 48px); max-width: none;
  margin: -24px -24px 8px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-size: 14px; font-weight: 500; color: var(--color-stone-gray); white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-charcoal-block); color: var(--color-bone-white); padding: 72px 0 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--color-bone-white); }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-ash-gray); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a.f-link { color: var(--color-fog-gray); text-decoration: none; font-size: 14px; }
.footer a.f-link:hover { color: var(--color-bone-white); }
.footer a.f-link:focus-visible { outline: 2px solid var(--color-bone-white); outline-offset: 2px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--color-charcoal);
  color: var(--color-ash-gray); font-size: 12px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Education: learning-path ladder ----------
   A numbered progression (order is real information: it's a curriculum).
   The format bar is data, not decoration: yellow = the hands-on share. */
.path-row {
  display: grid; gap: 16px 28px;
  grid-template-columns: 56px 1fr;
  padding: 32px 0;
  border-top: 1px solid var(--color-fog-gray);
}
.path-row:last-of-type { border-bottom: 1px solid var(--color-fog-gray); }
.path-num {
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -0.03em;
  font-weight: 500; color: var(--color-fog-gray);
}
.path-cols { display: grid; gap: 24px; grid-template-columns: 1fr; min-width: 0; }
@media (min-width: 900px) { .path-cols { grid-template-columns: 1.25fr 1fr 1fr; } }
.path-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.path-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.path-kv { display: flex; flex-direction: column; gap: 6px; }
.path-kv + .path-kv { margin-top: 18px; }
.path-kv .k {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-ash-gray);
}
.format-bar {
  display: flex; height: 6px; width: 100%; max-width: 240px;
  border-radius: var(--radius-tight); overflow: hidden;
  background: var(--color-ink-black);
}
.format-bar .f-hands { background: var(--color-yellix-yellow); height: 100%; }
/* Key details pop in ink against the stone-gray running text */
.path-row strong { color: var(--color-ink-black); font-weight: 500; }
.band-dark .card strong { color: var(--color-bone-white); font-weight: 500; }

/* ---------- Landing: stat tiles (data wears text tokens — ink numerals,
   quiet labels; yellow only ever highlights, never carries identity) ---------- */
.stat-row { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat-num {
  font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -0.03em;
  font-weight: 500; color: currentColor; font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-stone-gray); margin-top: 10px;
}
.band-dark .stat-label { color: var(--color-ash-gray); }
.hero .stat-label { color: var(--color-fog-gray); }
/* Highlighter underline sweep for the crucial stats — fires after the count-in
   (.counted is added by site.js when the number starts rolling). */
.stat-ul { position: relative; display: inline-block; }
.stat-ul::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: var(--color-yellix-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease 1s;
}
.stat-ul.counted::after { transform: scaleX(1); }
/* Spotlight for the skills-gap stats (JS-built on wide screens; the plain tile
   row stays for mobile/reduced-motion/no-JS). The whole header+stat split is
   "pinned" by a translateY driven from scroll — sticky is broken site-wide —
   and the track is SHORT: ~one wheel-notch of scroll steps to the next stat
   (height set by JS: 100svh + N × 120px). */
.spot-track { position: relative; height: calc(90vh + 480px); }
.spot-stage {
  height: 90vh; height: 90svh; /* shorter than the viewport: less dead headroom */
  display: flex; align-items: center;
  will-change: transform;
}
#gap.section { padding-bottom: 32px; } /* the pinned stage carries its own air */
.spot-stage > .split { width: 100%; }
@media (min-width: 900px) { .gap-split { grid-template-columns: 7fr 5fr; } }
.spot-body { will-change: transform, opacity; }
.spot-num {
  font-size: clamp(80px, 9vw, 150px); line-height: 1; letter-spacing: -0.045em;
  font-weight: 600; font-variant-numeric: tabular-nums; color: var(--color-ink-black);
}
.spot-num .stat-ul::after { height: 10px; bottom: -12px; transition: transform 0.45s ease 0.15s; }
.spot-label {
  margin-top: 24px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-stone-gray);
  max-width: 26em;
}
.spot-dots { display: flex; gap: 10px; margin-top: 32px; }
.spot-dots i { width: 10px; height: 10px; border-radius: 9999px; background: var(--surface-fog); }
.spot-dots i.on { background: var(--color-ink-black); }

/* Proportion bars under the industry stats — drawn when the count-in module adds
   .counted to the tile's number. --p on the fill is the stat's true share. */
.stat-bar {
  height: 6px; max-width: 220px; margin-top: 12px;
  background: var(--surface-fog);
  border-radius: var(--radius-tight); overflow: hidden;
}
.stat-bar + .stat-bar { margin-top: 4px; }
.stat-bar i {
  display: block; height: 100%;
  background: var(--color-yellix-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
}
.stat-bar + .stat-bar i { transition-delay: 0.55s; }
.stat-num.counted ~ .stat-bar i,
.stat-top:has(.stat-num.counted) ~ .stat-bar i { transform: scaleX(var(--p)); }
.stat-bar-cap { margin-top: 6px; color: var(--color-ash-gray); }
@media (prefers-reduced-motion: reduce) { .stat-bar i { transition: none; } }
/* Highlighter treatment for the industry trio (owner mock): the number sits on
   a solid block; captions/labels get per-line highlighter runs. */
.hl-num { display: inline-block; background: var(--color-yellix-yellow); padding: 2px 12px; }
.hl-run {
  background: var(--color-yellix-yellow);
  padding: 3px 8px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.stat-label .hl-run, .stat-bar-cap .hl-run { color: var(--color-ink-black); }
/* The industry word heads its label: big, bold, on its own highlighted line. */
.hl-ind { font-size: 21px; font-weight: 700; letter-spacing: 0.08em; display: inline-block; margin-bottom: 5px; }

/* ---------- Industry pictograms (owner request): technical line art beside each
   number — articulated arm, 3-of-4 parcels, cow + climbing bars. Animations are
   transform/opacity only, started by the count-in's .counted flag; hovering the
   tile replays them (site.js). ---------- */
.stat-top { display: flex; align-items: flex-end; justify-content: flex-start; gap: 18px; }
.stat-pic { width: 112px; height: 90px; flex: none; color: var(--color-ink-black); overflow: visible; }
.stat-pic .y { fill: var(--color-yellix-yellow); }
.stat-pic .fog { fill: var(--surface-fog); }

/* Arm: shoulder sways, forearm counter-swings toward the yellow part. */
.pic-arm .arm, .pic-arm .fore { transform-box: view-box; }
.pic-arm .arm { transform-origin: 34px 74px; }
.pic-arm .fore { transform-origin: 58px 38px; }
.stat-num.counted + .pic-arm .arm { animation: pic-arm 2.6s ease-in-out infinite alternate; }
.stat-num.counted + .pic-arm .fore { animation: pic-fore 2.6s ease-in-out infinite alternate; }
@keyframes pic-arm { from { transform: rotate(-6deg); } to { transform: rotate(5deg); } }
@keyframes pic-fore { from { transform: rotate(10deg); } to { transform: rotate(-14deg); } }

/* Parcels: staggered pop-in, three fill yellow, hold, then the set resets and
   replays — a continuous loop so touch screens get motion without hover. */
.pic-parcels .p { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; }
.pic-parcels .py { opacity: 0; fill: var(--color-yellix-yellow); stroke: none; }
.stat-num.counted + .pic-parcels .p { animation: pic-pop-loop 5s cubic-bezier(0.2, 0.7, 0.3, 1.25) infinite; }
.stat-num.counted + .pic-parcels .p:nth-of-type(2) { animation-delay: 0.12s; }
.stat-num.counted + .pic-parcels .p:nth-of-type(3) { animation-delay: 0.24s; }
.stat-num.counted + .pic-parcels .p:nth-of-type(4) { animation-delay: 0.36s; }
.stat-num.counted + .pic-parcels .py { animation: pic-fill-loop 5s ease infinite 0.7s; }
.stat-num.counted + .pic-parcels .p:nth-of-type(2) .py { animation-delay: 0.82s; }
.stat-num.counted + .pic-parcels .p:nth-of-type(3) .py { animation-delay: 0.94s; }
@keyframes pic-pop-loop {
  0% { opacity: 0; transform: scale(0.6); }
  9% { opacity: 1; transform: scale(1); }
  86% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.6); }
}
@keyframes pic-fill-loop {
  0% { opacity: 0; }
  7% { opacity: 1; }
  82% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

/* Cow idles with a gentle bob; bars climb left to right, yellow on top. */
.pic-cow .cow { transform-box: fill-box; transform-origin: center; }
.pic-cow .bar { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; }
.stat-num.counted + .pic-cow .cow { animation: pic-bob 3s ease-in-out infinite; }
.stat-num.counted + .pic-cow .bar { animation: pic-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 0.15s; }
.stat-num.counted + .pic-cow .bar:nth-of-type(2) { animation-delay: 0.3s; }
.stat-num.counted + .pic-cow .bar:nth-of-type(3) { animation-delay: 0.45s; }
.stat-num.counted + .pic-cow .bar:nth-of-type(4) { animation-delay: 0.6s; }
@keyframes pic-bob { 50% { transform: translateY(-2px); } }
@keyframes pic-rise { to { transform: scaleY(1); } }

/* Reduced motion and no-JS get the finished frame, no movement. */
@media (prefers-reduced-motion: reduce) {
  .stat-pic .arm, .stat-pic .fore, .stat-pic .cow { animation: none !important; }
  .pic-parcels .p, .pic-parcels .py, .pic-cow .bar {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}
html:not(.js) .pic-parcels .p, html:not(.js) .pic-parcels .py, html:not(.js) .pic-cow .bar {
  opacity: 1; transform: none;
}

.src-note { font-size: 12px; line-height: 1.4; color: var(--color-ash-gray); }
.hero .src-note { color: var(--color-fog-gray); }
.counter { font-variant-numeric: tabular-nums; }

/* Two-value comparison meter (funding: 2025 vs mid-2026). Monochrome marks,
   direct labels in text tokens; no legend needed. */
.compare-row { display: grid; grid-template-columns: 128px 1fr auto; gap: 12px; align-items: center; max-width: 480px; }
.compare-row .k {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-ash-gray);
}
.compare-bar { height: 10px; border-radius: var(--radius-tight); background: var(--color-fog-gray); }
.compare-bar.is-lead { background: var(--color-ink-black); }
.compare-row .v { font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ---------- Landing: FAQ (native <details>, no JS) ---------- */
.faq { border-top: 1px solid var(--color-fog-gray); }
.faq details { border-bottom: 1px solid var(--color-fog-gray); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 500;
  color: var(--color-stone-gray); transition: transform 0.2s ease; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 0 18px; max-width: 42em; }
.faq summary:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* One collapsed FAQ bar: the whole section folds into a single row */
.faq-shell {
  border: 1px solid var(--color-fog-gray); border-radius: var(--radius-card);
  padding: 0 24px;
}
.faq-shell > summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em;
}
.faq-shell > summary::-webkit-details-marker { display: none; }
.faq-shell > summary::after {
  content: "+"; font-size: 26px; font-weight: 500;
  color: var(--color-stone-gray); transition: transform 0.2s ease; flex-shrink: 0;
}
.faq-shell[open] > summary::after { transform: rotate(45deg); }
.faq-shell > summary:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
.faq-shell .faq details:last-child { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq-shell > summary::after { transition: none; } }

/* ---------- Landing: lead form (fields are utility chrome: 4px radius,
   fog borders, ink focus ring; no shadows, no new hues) ---------- */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-stone-gray);
}
.field input, .field select, .field textarea {
  font: inherit; width: 100%; box-sizing: border-box;
  padding: 12px 14px; color: var(--color-ink-black);
  background: var(--color-bone-white);
  border: 1px solid var(--color-fog-gray); border-radius: var(--radius-tight);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--color-ink-black); outline-offset: 2px;
}
.field ::placeholder { color: var(--color-ash-gray); }
.form-note { margin-top: 4px; }

/* Mobile nav: with the CTA hidden <760px, a duplicate link inside the burger
   menu keeps "Reserve a seat" reachable on phones. */
.nav-link-cta { display: none; }
@media (max-width: 760px) { .nav-link-cta { display: block; font-weight: 600; } }

/* Anchor targets clear the floating nav pill on in-page jumps */
#gap, #partnership, #why, #singapore, #course, #syllabus, #waitlist { scroll-margin-top: 90px; }

/* ---------- Reveal on scroll (transform/opacity only) ----------
   Hidden state only applies under .js (set by site.js) so content is never
   lost without JavaScript. Screenshot scripts force the end state. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Education page redesign (2026-10-10)
   Every piece ships in its END state; animations only play the way in,
   so the global reduced-motion kill-switch and no-JS both read correctly.
   ============================================================ */

/* Reveal stagger helpers (pair with .reveal) */
.js .reveal-d1 { transition-delay: 0.12s; }
.js .reveal-d2 { transition-delay: 0.24s; }
.js .reveal-d3 { transition-delay: 0.36s; }

/* Visually hidden (form labels on the inline waitlist) */
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Marker-pen sweep on the hero highlight */
.hl-sweep {
  position: relative; display: inline-block; isolation: isolate;
  padding: 0 0.12em; color: var(--color-ink-black);
}
.hl-sweep::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--color-yellix-yellow);
  transform-origin: left center;
  animation: hl-sweep 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.35s backwards;
}
@keyframes hl-sweep { from { transform: scaleX(0); } }

/* Hero media: one-shot slow zoom (the page's only long animation) */
.media-crop { overflow: hidden; border-radius: var(--radius-card); }
.hero-zoom { animation: hero-zoom 7s ease-out 0.2s forwards; }
@keyframes hero-zoom { to { transform: scale(1.05); } }

/* The learning loop (dark band). Markup ships fully lit (.on + line full);
   site.js resets it and drives --p (0..1) from the section's viewport
   position — transform scrub only, image swaps are time-driven. */
.loop-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.loop-track {
  position: absolute; top: 23px; left: 36px; right: 36px; height: 2px;
  background: rgba(255, 255, 255, 0.16);
}
.loop-fill {
  width: 100%; height: 100%;
  background: var(--color-yellix-yellow);
  transform: scaleX(var(--p, 1)); transform-origin: left center;
}
.loop-dot {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--surface-charcoal-block);
  color: var(--color-bone-white);
  display: grid; place-items: center;
  position: relative; z-index: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.loop-dot svg { width: 22px; height: 22px; }
.loop-step.on .loop-dot {
  background: var(--color-yellix-yellow);
  border-color: var(--color-yellix-yellow);
  color: var(--color-ink-black);
}
.loop-media {
  position: relative; margin-top: 44px;
  aspect-ratio: 5 / 2; border-radius: var(--radius-card); overflow: hidden;
  background: var(--color-charcoal);
}
.loop-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.3s ease;
}
.loop-media img.is-show { opacity: 1; }
@media (max-width: 759px) {
  .loop-steps { grid-template-columns: 1fr; gap: 28px; }
  .loop-track { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .loop-fill { transform: scaleY(var(--p, 1)); transform-origin: center top; }
  .loop-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
  .loop-step .loop-copy h3 { margin-top: 4px !important; }
  .loop-media { aspect-ratio: 4 / 3; }
}

/* Course structure: proportional hours bar (desktop) + vertical rows (mobile).
   Segment width = flex-grow set inline to the module's hours. */
.hours-bar { display: flex; gap: 4px; }
.hours-seg {
  position: relative; display: flex; align-items: flex-start; flex-direction: column;
  justify-content: space-between; min-height: 96px; min-width: 0;
  padding: 12px 14px;
  border: 0; border-radius: var(--radius-card);
  background: var(--color-ink-black); color: var(--color-bone-white);
  font-family: var(--font-yellix); cursor: pointer;
  transform-origin: left center;
}
.hours-seg .k { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; opacity: 0.72; }
.hours-seg .t {
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.25; text-align: left; margin-top: 16px;
}
.hours-seg:hover { background: var(--color-charcoal); }
.hours-seg:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
.hours-seg[aria-selected="true"] { background: var(--color-yellix-yellow); color: var(--color-ink-black); }
.js .hours-bar.armed .hours-seg { animation: seg-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.js .hours-bar.armed .hours-seg:nth-child(2) { animation-delay: 0.08s; }
.js .hours-bar.armed .hours-seg:nth-child(3) { animation-delay: 0.16s; }
.js .hours-bar.armed .hours-seg:nth-child(4) { animation-delay: 0.24s; }
.js .hours-bar.armed .hours-seg:nth-child(5) { animation-delay: 0.32s; }
@keyframes seg-grow { from { transform: scaleX(0); opacity: 0; } }
.module-rows { display: none; }
.module-detail { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; transition: opacity 0.24s ease; }
.module-detail.is-fading { opacity: 0; transition-duration: 0.17s; }
.module-detail > div { min-width: 220px; flex: 1; }
@media (max-width: 759px) {
  .hours-bar { display: none; }
  .module-rows { display: grid; gap: 10px; }
  .module-row {
    display: grid; gap: 8px; padding: 12px 14px; text-align: left;
    border: 1px solid var(--color-ink-black); border-radius: var(--radius-tight);
    background: var(--color-bone-white); color: var(--color-ink-black);
    font-family: var(--font-yellix); cursor: pointer;
  }
  .module-row .k { font-size: 13px; font-weight: 600; }
  .module-row .bar { height: 6px; border-radius: var(--radius-full); background: var(--surface-warm-card); overflow: hidden; }
  .module-row .bar i { display: block; height: 100%; width: calc(var(--h) / 9 * 100%); background: var(--color-yellix-yellow); }
  .module-row:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
  .module-row[aria-selected="true"] { background: var(--surface-warm-card); }
}

/* Outcome cards: line icon + bold statement + detail */
.oc-ic { width: 28px; height: 28px; margin-bottom: 14px; color: var(--color-ink-black); }

/* Requirements strip (replaces the old kv card) */
.req-strip {
  display: grid; gap: 24px 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--color-fog-gray);
  padding-top: 28px; margin-top: 40px;
}

/* Paths photo band */
.paths-photo { border-radius: var(--radius-card); overflow: hidden; margin-bottom: 16px; }
.paths-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; display: block; }
@media (max-width: 759px) { .paths-photo img { aspect-ratio: 3 / 2; } }

/* ---------- Footer v2 (vanilla port of footer-section-5.tsx) ----------
   Giant outlined wordmark tucked behind a flat brand-yellow panel. The
   template's WebGL fluted-glass shader and React runtime are dropped on
   purpose: static no-build stack, and the design laws allow no gradients,
   so the panel is flat yellow with ink text. */
.footer-v2 { overflow: hidden; background: var(--surface-canvas); }
.footer-mark {
  display: flex; justify-content: center; align-items: flex-end;
  padding: clamp(48px, 9vw, 120px) 8px 0;
}
.footer-mark span {
  font-size: clamp(40px, 13.2vw, 206px);
  font-weight: 600; line-height: 0.75; letter-spacing: -0.03em;
  white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px var(--color-ink-black);
  opacity: 0.32;
  margin-bottom: -0.08em; /* baseline tucks behind the yellow panel */
}
.footer-panel { background: var(--surface-yellow-accent); color: var(--color-ink-black); }
.footer-panel-grid { display: grid; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.fp-left { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; max-width: 26rem; }
.fp-brand { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: inherit; text-decoration: none; }
.fp-tag { font-size: 14px; line-height: 1.45; margin-top: 10px; color: rgba(38, 38, 38, 0.72); }
.fp-legal { font-size: 12px; line-height: 1.6; color: rgba(38, 38, 38, 0.6); }
.fp-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.fp-cols h4 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.fp-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fp-cols a { font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(38, 38, 38, 0.7); }
.fp-cols a:hover { color: var(--color-ink-black); }
.fp-cols a:focus-visible { outline: 2px solid var(--color-ink-black); outline-offset: 2px; }
.fp-cols li > span { font-size: 14px; font-weight: 500; color: rgba(38, 38, 38, 0.55); }
@media (min-width: 900px) {
  .footer-panel-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding-top: 96px; padding-bottom: 96px; }
  .fp-cols { justify-content: flex-end; gap: 48px 96px; }
}

/* ================= Education page v3 (2026-10-11) =================
   Homepage design language only: display type, .hl emphasis, count-in
   numbers, band flips. One idea per screen. */

/* Tighter section rhythm, scoped to this page (owner: −30%) */
.page-tight .section { padding: 56px 0; }

/* Screen 2: three huge numbers, nothing else */
.num-strip { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.num-strip .stat-num {
  font-size: clamp(46px, 8.5vw, 100px); line-height: 0.96;
  letter-spacing: -0.03em; font-weight: 500;
}
.num-strip .eyebrow { margin-top: 12px; }

/* Screen 3: pathway timeline (vanilla equivalent of the 21st.dev timeline).
   Ships fully lit (.on + --p:1) for no-JS/reduced-motion; site.js resets it
   and drives --p from scroll, markers flip at their MEASURED positions. */
.pathway { position: relative; margin-top: 56px; }
.pathway-track { position: absolute; top: 8px; bottom: 8px; left: 7px; width: 2px; background: var(--color-fog-gray); }
.pathway-fill {
  width: 100%; height: 100%;
  background: var(--color-yellix-yellow);
  transform: scaleY(var(--p, 1)); transform-origin: center top;
}
.pathway-item { position: relative; display: grid; gap: 20px 48px; padding: 0 0 72px 44px; }
.pathway-item:last-child { padding-bottom: 8px; }
@media (min-width: 900px) { .pathway-item { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } }
.pathway-dot {
  position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-fog-gray); background: var(--color-bone-white);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.pathway-item.on .pathway-dot { background: var(--color-yellix-yellow); border-color: var(--color-ink-black); }
.pathway-img { border-radius: var(--radius-card); overflow: hidden; }
.pathway-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Screen 4: three big words */
.word-grid { display: grid; gap: 48px 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Screen 5: bordered cards + inverse chips on the dark band */
.card-line { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-card); padding: 28px; }
.chip-inv { border-color: rgba(255, 255, 255, 0.45); color: var(--color-bone-white); font-weight: 500; }

/* Screen 6: two-column form band */
.syllabus-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .syllabus-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* ---------- Education hero v4: scroll video (2026-10-11) ----------
   Vanilla port of animated-video-on-scroll. Base styles are the STATIC
   layout (no-JS and reduced-motion): ink text on canvas, rounded poster,
   CTAs. With motion allowed, site.js adds .vhero-on/.vhero-live and pins
   the stage via transform (sticky is broken site-wide), scrubbing ONLY
   transform + clip-path; text/CTA flips are time-driven classes. */
.vhero-track { position: relative; }
.js .vhero-track.vhero-on { height: 250vh; }
@media (max-width: 759px) { .js .vhero-track.vhero-on { height: 180vh; } }
.vhero-stage {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  background: var(--surface-canvas);
  padding: 140px 24px 40px;
  text-align: center;
}
.vhero-stage.vhero-live { height: 100svh; will-change: transform; }
.vhero-copy { position: relative; z-index: 1; max-width: 920px; transition: color 0.25s ease; }
.vhero-media {
  position: relative; z-index: 0;
  margin: 36px auto 0; width: min(920px, 100%);
  border-radius: var(--radius-card); overflow: hidden;
}
.vhero-media video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  background: var(--color-charcoal);
}
.vhero-live .vhero-media {
  position: absolute; inset: 0; margin: 0; width: auto;
  border-radius: 0; clip-path: inset(46% 26% 14% round 24px);
}
.vhero-live .vhero-media video { height: 100%; aspect-ratio: auto; }
.vhero-ctas { position: relative; z-index: 1; justify-content: center; margin-top: 28px; }
.vhero-live .vhero-ctas { margin-top: auto; }
.vhero-ctas .btn:hover { transform: scale(1.015); }
.vhero-ctas .btn:active { transform: scale(0.985); }
.vhero-stage.is-full .vhero-copy { color: var(--color-bone-white); }
.vhero-stage.is-full .vhero-copy .eyebrow { color: var(--color-fog-gray); }
.vhero-stage.is-full .vhero-ghost { border-color: var(--color-bone-white); color: var(--color-bone-white); }
.vhero-stage.is-full .vhero-ghost:hover { background: var(--color-bone-white); color: var(--color-ink-black); }

/* Mobile sticky CTA bar: appears after the hero, hides at the form.
   Only exists with JS at phone width; hidden state sits below the viewport. */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-fog-gray);
  transform: translateY(102%); transition: transform 0.3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 760px) { .js .sticky-cta { display: block; } }

/* Final CTA band: full-bleed photo + flat ink scrim (no gradients) */
.cta-photo { position: relative; overflow: hidden; }
.cta-photo .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo .cta-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.52); }
.cta-photo > .container { position: relative; color: var(--color-bone-white); }
.waitlist-inline { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.waitlist-inline input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  border: 1px solid transparent; border-radius: var(--radius-tight);
  background: var(--color-bone-white); color: var(--color-ink-black);
  padding: 12px 14px; font-family: var(--font-yellix); font-size: 15px;
}
.waitlist-inline input[type="email"]:focus-visible { outline: 2px solid var(--color-yellix-yellow); outline-offset: 2px; }
.waitlist-inline .form-note { flex-basis: 100%; }
@media (max-width: 760px) { .waitlist-inline .btn { width: 100%; } }
