/* ============================================================
   ARENA — the world's first AI-native school
   Editorial homepage. Tokens extend the Skylarq DNA
   (rust accent #C45D35, warm paper) into a warmer, literary
   register: Newsreader display + Geist body/mono.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..600;1,6..72,200..500&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  /* ---------- Light editorial primary (Arena's home) ---------- */
  --bg-paper:        #F4EFE3;
  --bg-paper-soft:   #EDE6D6;
  --text-ink:        #1A1A1D;
  --text-ink-soft:   #52525B;
  --text-ink-muted:  #88857B;
  --border-paper:    #D6CFBC;

  /* ---------- Dark contrast bands ---------- */
  --bg-dark:         #0F0E0C;
  --bg-dark-surface: #16140F;
  --text-cream:      #F0EEE8;
  --text-cream-soft: #A6A39A;
  --border-dark:     #2A2620;

  /* ---------- Arena accent — saffron / ember ---------- */
  --accent:          #C45D35;
  --accent-soft:     rgba(196, 93, 53, 0.12);
  --accent-strong:   #A24A26;
  --accent-blue:     #1E3A5F;

  /* ---------- Type families ---------- */
  --font-display: 'Newsreader', 'Source Serif 4', Georgia, serif;
  --font-body:    'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* ---------- Fluid scale ---------- */
  --text-hero:    clamp(52px, 6.5vw, 112px);
  --text-h2:      clamp(38px, 4.2vw, 72px);
  --text-h3:      clamp(23px, 2.4vw, 32px);
  --text-body-lg: clamp(19px, 1.4vw, 22px);
  --text-body:    17px;
  --text-small:   15px;
  --text-eyebrow: 11px;

  /* ---------- Weights ---------- */
  --w-display:  300;
  --w-body:     400;
  --w-emphasis: 500;

  /* ---------- Tracking ---------- */
  --tr-display: -0.018em;
  --tr-eyebrow: 0.14em;

  /* ---------- Spacing & layout ---------- */
  --section-py:       clamp(120px, 14vh, 200px);
  --section-px:       clamp(24px, 4vw, 80px);
  --container-max:    1240px;
  --container-narrow: 720px;
  --container-essay:  640px;

  /* ---------- Motion (Skylarq grammar, brief-tuned) ---------- */
  --ease:    cubic-bezier(0.2, 0, 0, 1);
  --dur:     560ms;
  --dur-fast: 240ms;
  --dur-250: 250ms;
  --ticker-h: 30px;

  /* ---------- Radius & shadow (inherited from Skylarq) ---------- */
  --radius:    16px;
  --radius-sm: 12px;
  --shadow-card:       0 1px 3px rgba(40,30,15,0.06), 0 1px 2px rgba(40,30,15,0.03);
  --shadow-card-hover: 0 16px 40px -16px rgba(40,30,15,0.22), 0 2px 6px rgba(40,30,15,0.06);
  --shadow-lift:       0 24px 60px -24px rgba(0,0,0,0.45);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg-paper);
  color: var(--text-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--w-body);
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(196,93,53,0.20); }

/* ============================================================
   PRIMITIVES
   ============================================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding-inline: var(--section-px); }
.narrow    { max-width: var(--container-narrow); }
.essay     { max-width: var(--container-essay); }

section { padding-block: var(--section-py); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--text-ink-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.dark-band .eyebrow { color: var(--text-cream-soft); }

.display {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  letter-spacing: var(--tr-display);
  line-height: 1.02;
}
.display em { font-style: italic; }

.mono { font-family: var(--font-mono); }

/* ---------- Section headers ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: var(--text-h2);
  line-height: 1.04;
  letter-spacing: var(--tr-display);
}
.h2 em { font-style: italic; }
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h3);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.lede {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: var(--text-ink-soft);
}
.dark-band .lede { color: var(--text-cream-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: var(--w-emphasis);
  letter-spacing: -0.004em;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #FBF4EC;
  box-shadow: 0 1px 2px rgba(120,50,20,0.25);
}
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 8px 24px -8px rgba(162,74,38,0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text-ink);
  border-color: var(--border-paper);
}
.btn-ghost:hover { border-color: var(--text-ink); background: rgba(26,26,29,0.03); }

.dark-band .btn-ghost { color: var(--text-cream); border-color: var(--border-dark); }
.dark-band .btn-ghost:hover { border-color: var(--text-cream-soft); background: rgba(255,255,255,0.05); }

/* ---------- Inline text link ---------- */
.tlink {
  color: var(--accent);
  font-weight: var(--w-emphasis);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink .arr { transition: transform var(--dur-fast) var(--ease); }
.tlink:hover .arr { transform: translateX(3px); }

/* ============================================================
   STATUS TICKER
   ============================================================ */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--ticker-h);
  background: var(--bg-dark);
  color: var(--text-cream);
  display: flex; align-items: center;
  transition: transform var(--dur-fast) var(--ease);
}
.ticker-inner {
  max-width: var(--container-max);
  margin: 0 auto; width: 100%;
  padding: 0 var(--section-px);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.ticker-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-cream-soft);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 500; }
.ticker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(196,93,53,0.5);
  animation: tickerPulse 2.4s var(--ease) infinite;
}
@keyframes tickerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(196,93,53,0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(196,93,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,93,53,0); }
}
.ticker-sep { color: var(--text-faint, #5C5850); margin: 0 4px; opacity: 0.5; }
.ticker-x {
  position: absolute; right: var(--section-px);
  background: none; border: 0; cursor: pointer;
  color: var(--text-cream-soft); padding: 6px; line-height: 0;
  transition: color var(--dur-fast) var(--ease);
}
.ticker-x:hover { color: var(--text-cream); }
@media (prefers-reduced-motion: reduce) { .ticker-dot { animation: none; } }
@media (max-width: 600px) { .ticker-x { display: none; } .ticker-msg { font-size: 10px; letter-spacing: 0.06em; } }

/* When dismissed or page scrolled, ticker retracts and nav rises to top. */
body.ticker-up .ticker { transform: translateY(-100%); }
body.ticker-up .nav { top: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 50;
  transition: top var(--dur-250) var(--ease), background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), backdrop-filter var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244,239,227,0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: var(--border-paper);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px var(--section-px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--text-ink);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.nav-crest {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  /* italic Newsreader's optical center sits below its geometric center —
     drop the crest a touch so the two read as one mark */
  transform: translateY(3px);
}
@media (max-width: 480px) {
  .nav-crest { width: 30px; height: 30px; transform: translateY(2px); }
  .wordmark { font-size: 21px; }
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-size: var(--text-small);
  color: var(--text-ink-soft);
  font-weight: var(--w-body);
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--text-ink); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-paper); border-bottom: 1px solid var(--border-paper);
    padding: 20px var(--section-px); gap: 18px;
  }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(150px, 22vh, 240px); padding-bottom: clamp(90px, 12vh, 150px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero .sub { max-width: 46ch; margin-bottom: 30px; }
.hero-eyebrow-row { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-meta {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text-ink-muted);
}

/* Monogram visual */
.monogram-wrap { display: flex; justify-content: center; align-items: center; }
.monogram { width: min(100%, 360px); height: auto; overflow: visible; }
.mono-tri { animation: spin 60s linear infinite; transform-origin: 200px 200px; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mono-tri { animation: none !important; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .monogram-wrap { order: -1; margin-bottom: 12px; }
  .monogram { width: 220px; }
  .monogram-wrap .crest { max-width: 260px; }
  .hero h1 { max-width: 100%; }
}
@media (max-width: 480px) {
  .monogram-wrap .crest { max-width: 220px; }
  .crest-text { font-size: 15px; letter-spacing: 0.26em; }
  .crest-text-bot { font-size: 11px; letter-spacing: 0.18em; }
}

/* ============================================================
   PILOT PROOF BAND
   ============================================================ */
.proof { background: var(--bg-paper-soft); }
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border-paper);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num .unit { font-size: 0.42em; color: var(--text-ink-muted); font-family: var(--font-body); font-weight: var(--w-emphasis); letter-spacing: -0.01em; }
.stat .label { margin-top: 14px; font-size: var(--text-small); color: var(--text-ink-soft); line-height: 1.45; }
.stat .label strong { color: var(--text-ink); font-weight: var(--w-emphasis); }

.proof-story {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
  margin-top: clamp(48px, 6vw, 72px);
}

/* ---- Next pilot — ISB Beijing announcement card ---- */
.next-pilot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin: clamp(40px, 5vw, 56px) auto 0;
  max-width: 980px;
  padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px);
  background: var(--bg-paper-soft);
  border: 1px solid var(--border-paper);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.np-left { min-width: 0; }
.np-eyebrow { color: var(--accent); display: block; margin-bottom: 12px; }
.np-h {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-ink);
  margin: 0 0 12px;
}
.np-body {
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--text-ink-soft);
  margin: 0;
  max-width: 58ch;
}
.np-body strong { color: var(--text-ink); font-weight: 500; }
.np-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-paper);
  background: var(--text-ink);
  white-space: nowrap;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.np-cta .np-cta-arr {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}
.np-cta:hover { background: var(--accent); }
.np-cta:hover .np-cta-arr { transform: translateX(3px); }
@media (max-width: 720px) {
  .next-pilot { grid-template-columns: 1fr; gap: 20px; }
  .np-cta { justify-self: start; }
}

/* ---------- Editorial pilot gallery (6 tiles, asymmetric) ---------- */
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
  margin-top: clamp(48px, 6vw, 72px);
}
.pg-tile {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-paper-soft);
  border: 1px solid var(--border-paper);
  position: relative;
  box-shadow: var(--shadow-card);
}
.pg-tile img,
.pg-tile video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  background: var(--bg-paper-soft);
}
.pg-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(15, 14, 12, 0.78) 0%, rgba(15, 14, 12, 0.45) 60%, transparent 100%);
  color: var(--text-cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Layout: classroom wide hero | hands video | collab video stacked
            sticky | check | cohort selfie wide */
.pg-classroom { grid-column: span 4; grid-row: span 2; }
.pg-hands     { grid-column: span 2; grid-row: span 1; }
.pg-collab    { grid-column: span 2; grid-row: span 1; }
.pg-sticky    { grid-column: span 2; grid-row: span 2; }
.pg-check     { grid-column: span 2; grid-row: span 2; }
.pg-cohort    { grid-column: span 2; grid-row: span 2; }

@media (max-width: 760px) {
  .proof-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .pg-classroom { grid-column: span 2; grid-row: span 2; }
  .pg-hands, .pg-collab, .pg-sticky, .pg-check, .pg-cohort { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Credibility strip ---------- */
.proof-creds {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 40px);
  border-top: 1px solid var(--border-paper);
  text-align: center;
}
.cred-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
  margin-bottom: 18px;
}
.creds-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}
.creds-list li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--text-ink);
  letter-spacing: -0.005em;
  position: relative;
}
.creds-list li + li::before {
  content: "·";
  color: var(--accent);
  margin-right: 26px;
  margin-left: -26px;
  font-style: normal;
}
@media (max-width: 600px) {
  .creds-list { flex-direction: column; gap: 6px; }
  .creds-list li + li::before { display: none; }
  .creds-list li { font-size: 16px; }
}
.proof-photo {
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-paper);
  overflow: hidden;
  background: var(--bg-paper-soft);
}
.proof-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof-photo figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
  padding: 12px 16px;
  border-top: 1px solid var(--border-paper);
  background: var(--bg-paper);
}
.proof-prose p + p { margin-top: 18px; }
.proof-prose .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-ink);
  margin-bottom: 22px;
}
.proof-attr { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--text-ink-muted); letter-spacing: 0.02em; }

@media (max-width: 760px) {
  .stat-bar { grid-template-columns: 1fr; gap: 32px; }
  .proof-story { grid-template-columns: 1fr; }
}

/* ============================================================
   THE STRUCTURE
   ============================================================ */
.sec-head { max-width: 56ch; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .h2 { margin-top: 20px; }
.sec-head .lede { margin-top: 22px; }

.structure-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--border-paper);
}
.structure-row:last-child { border-bottom: 1px solid var(--border-paper); }
.structure-glyph { width: 48px; height: 48px; color: var(--accent); }
.structure-row .rtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h3);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.structure-row .rtitle em { font-style: italic; color: var(--text-ink-soft); }
.structure-row .rbody { color: var(--text-ink-soft); font-size: var(--text-body); line-height: 1.6; }
.structure-row .rbody .hl { color: var(--text-ink); font-weight: var(--w-emphasis); }
.rmeta { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--text-ink-muted); letter-spacing: 0.02em; }

@media (max-width: 760px) {
  .structure-row { grid-template-columns: 1fr; gap: 16px; }
  .structure-glyph { width: 40px; height: 40px; }
}

/* ============================================================
   DARK BANDS (generic)
   ============================================================ */
.dark-band { background: var(--bg-dark); color: var(--text-cream); }
.dark-band h2, .dark-band h3, .dark-band .h2, .dark-band .h3 { color: var(--text-cream); }

/* ---------- Hubs map ---------- */
.hubs { position: relative; overflow: hidden; }
.hubs .sec-head { margin-inline: auto; text-align: center; max-width: 60ch; }
.map-wrap { margin-top: clamp(40px, 5vw, 64px); position: relative; }
.map-svg { width: 100%; height: auto; display: block; }
.cohort-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  opacity: 0.85;
}
.cohort-path.drawn { animation: draw 2400ms var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .cohort-path { stroke-dashoffset: 0; } }

.hub-dot-core { fill: var(--accent); }
.hub-dot-glow { fill: var(--accent); opacity: 0.18; animation: pulse 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%,100% { opacity: 0.12; transform: scale(1); } 50% { opacity: 0.28; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .hub-dot-glow { animation: none; } }

.hub-captions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 60px);
}
details.hub-cap {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
details.hub-cap[open] {
  border-color: var(--accent);
  background: rgba(196, 93, 53, 0.04);
}
details.hub-cap summary {
  list-style: none; cursor: pointer; outline: none;
}
details.hub-cap summary::-webkit-details-marker { display: none; }
details.hub-cap summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px;
}
.hc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hc-toggle {
  font-family: var(--font-mono);
  font-size: 22px; line-height: 1;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}
details.hub-cap[open] .hc-toggle { transform: rotate(45deg); }
.hub-cap .city { font-family: var(--font-display); font-size: var(--text-h3); font-weight: 400; color: var(--text-cream); }
.hub-cap .what { margin-top: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.hub-cap .desc { margin-top: 14px; color: var(--text-cream-soft); font-size: var(--text-small); line-height: 1.55; }
.hc-expand {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  animation: hcFade 320ms var(--ease);
}
.hc-expand p { color: var(--text-cream-soft); font-size: var(--text-small); line-height: 1.7; margin: 0 0 14px; }
.hc-expand p:last-child { margin-bottom: 0; }
.hc-expand strong { color: var(--text-cream); font-weight: 500; font-family: var(--font-body); }
@keyframes hcFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  details.hub-cap, details.hub-cap[open] { transition: none; }
  .hc-toggle, details.hub-cap[open] .hc-toggle { transition: none; }
  .hc-expand { animation: none; }
}
.hubs-quote {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-h3);
  line-height: 1.3;
  color: var(--text-cream);
  max-width: 30ch; margin-inline: auto;
}
@media (max-width: 720px) { .hub-captions { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile: SVG arc → vertical timeline with a saffron line that draws on scroll */
.hub-line { display: none; }
@media (max-width: 519px) {
  .map-wrap { display: none; }
  .hub-captions {
    position: relative; grid-template-columns: 1fr; gap: 32px;
    padding-left: 34px; margin-top: 8px;
  }
  .hub-line {
    display: block; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px;
    background: var(--accent);
    transform: scaleY(0); transform-origin: top;
    transition: transform 1300ms var(--ease);
  }
  .hub-line.drawn { transform: scaleY(1); }
  .hub-cap { position: relative; }
  .hub-cap::before {
    content: ""; position: absolute; left: -33px; top: 7px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 4px rgba(196,93,53,0.16);
  }
}
@media (prefers-reduced-motion: reduce) { .hub-line { transition: none; transform: scaleY(1); } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--bg-dark-surface); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.manifesto-side { position: sticky; top: 96px; }
.manifesto-crest .crest-text,
.manifesto-crest .crest-motto { fill: var(--accent); }
.manifesto-body { max-width: 720px; }
.manifesto-body .man-block + .man-block { margin-top: clamp(56px, 7vw, 88px); }
.manifesto-body .eyebrow { color: var(--accent); margin-bottom: 18px; display: block; }
.manifesto-body .man-h {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-cream);
  margin: 0 0 24px;
}
.manifesto-body p {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.65;
  color: var(--text-cream);
  margin: 0 0 18px;
}
.manifesto-body p em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.manifesto-body blockquote.roosevelt {
  margin: 28px 0 12px;
  padding: 26px 28px;
  border-left: 2px solid var(--accent);
  background: rgba(196, 93, 53, 0.06);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text-cream);
}
.manifesto-body blockquote.roosevelt em {
  color: var(--accent);
  font-weight: 400;
}
.manifesto-body .roosevelt-attr {
  margin: 0 0 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-cream-soft);
}
.manifesto .attr { margin-top: clamp(48px, 6vw, 64px); }
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-side { position: static; max-width: 220px; margin-inline: auto; }
}
.essay-link {
  display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: transform var(--dur-fast) var(--ease);
}
.essay-link .by { color: var(--text-cream-soft); }
.essay-link .essay-read { color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.essay-link .essay-read .arr { transition: transform var(--dur-fast) var(--ease); }
.essay-link:hover { transform: translateY(-2px); }
.essay-link:hover .essay-read .arr { transform: translateX(3px); }

/* ============================================================
   PHILOSOPHY — Why / What AI changed / What's left
   ============================================================ */

/* Shared editorial prose used in the philosophy sections */
.prose {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--text-ink-soft);
  text-wrap: pretty;
}
.prose + .prose { margin-top: 22px; }

/* --- Section 4: Why school exists --- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.why-head .h2 { margin-top: 20px; }
.why-head .h2 em { font-style: italic; }
.why-body { position: relative; }
.factoid {
  display: inline-flex; flex-direction: column; align-items: flex-end;
  float: right; margin: 4px 0 14px 28px;
  text-align: right;
}
.factoid .f-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.factoid .f-cap {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-ink-muted); margin-top: 4px;
  padding-top: 8px; border-top: 1px solid var(--accent); width: 100%; text-align: right;
}
@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .factoid { float: none; align-items: flex-start; margin: 0 0 22px; }
  .factoid .f-cap { text-align: left; }
}

/* --- Section 5: What AI changed --- */
.ai-changed { background: var(--bg-paper-soft); }
.ai-changed-inner { text-align: center; }
.ac-eyebrow { display: flex; justify-content: center; }
.ac-eyebrow .eyebrow::before { display: none; }
.ac-head { margin: 22px auto clamp(28px, 4vw, 40px); max-width: 18ch; }
.ai-changed .prose { text-align: left; margin-inline: auto; max-width: 64ch; }
.inset-stat {
  margin: clamp(36px, 5vw, 52px) auto 0;
  max-width: 520px;
  display: flex; align-items: center; gap: 22px;
  text-align: left;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(196,93,53,0.05), rgba(196,93,53,0) 70%), var(--bg-paper);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}
.inset-stat .is-num {
  font-family: var(--font-display); font-weight: var(--w-display);
  font-size: clamp(44px, 5vw, 60px); line-height: 1; color: var(--accent);
  letter-spacing: -0.02em; flex-shrink: 0;
}
.inset-stat .is-cap { font-family: var(--font-display); font-style: italic; font-size: var(--text-body-lg); line-height: 1.35; color: var(--text-ink-soft); }
@media (max-width: 520px) { .inset-stat { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* --- Section 6: What's left for humans --- */
.humans-head { max-width: 60ch; margin-inline: auto; text-align: center; }
.humans-head .h2 { margin-top: 20px; }
.humans-head .eyebrow { justify-content: center; }
.humans-head .eyebrow::before { display: none; }
.humans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 72px);
}
.human-col { border-top: 2px solid var(--accent); padding-top: 22px; }
.hc-name {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.012em;
}
.hc-def { margin-top: 14px; font-size: var(--text-body); color: var(--text-ink); font-weight: var(--w-emphasis); line-height: 1.45; }
.hc-tex { margin-top: 12px; font-size: var(--text-small); color: var(--text-ink-soft); line-height: 1.6; }
.hc-example {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-paper);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-ink);
}
.hc-example em { font-style: italic; font-weight: 300; }
.humans-close {
  margin-top: clamp(48px, 6vw, 72px); text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3;
  color: var(--text-ink); letter-spacing: -0.01em;
}
@media (max-width: 760px) {
  .humans-grid { grid-template-columns: 1fr; gap: 0; }
  .human-col { border-top: 1px solid var(--accent); padding-block: 24px; }
  .human-col + .human-col { border-top: 1px solid var(--border-paper); }
}

/* ============================================================
   OPEN-SOURCE — one quiet line
   ============================================================ */
.opensource { text-align: center; }
.opensource-line {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4;
  letter-spacing: -0.01em; color: var(--text-ink);
  margin-inline: auto; max-width: 30ch; text-wrap: balance;
}
.opensource-labels {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-ink-muted);
}
.opensource-labels .dot { color: var(--accent); }

/* ============================================================
   THE BET — count-up stats
   ============================================================ */
.bet-lede { max-width: 30ch; margin-bottom: clamp(48px, 6vw, 72px); }
.bet-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--border-paper);
  padding-top: clamp(40px, 5vw, 56px);
}
.bet-stat .num {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.bet-stat .num .plus { color: var(--text-ink); }
.bet-stat .label { margin-top: 16px; font-size: var(--text-small); color: var(--text-ink-soft); line-height: 1.45; }
.bet-stat .label em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-ink);
  font-size: 1.05em;
}
@media (max-width: 820px) { .bet-stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }

/* ============================================================
   COHORT ZERO STRIP
   ============================================================ */
.cohort { background: var(--bg-paper-soft); }
.cohort-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.elig-list { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.elig-list li {
  list-style: none;
  display: flex; align-items: baseline; gap: 14px;
  padding-block: 14px;
  border-top: 1px solid var(--border-paper);
  font-size: var(--text-body);
  color: var(--text-ink-soft);
}
.elig-list { padding: 0; margin-block: 24px 0; }
.elig-list li:last-child { border-bottom: 1px solid var(--border-paper); }
.elig-list .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); min-width: 96px; flex-shrink: 0; }
.elig-list .v strong { color: var(--text-ink); font-weight: var(--w-emphasis); }
.cohort-cta { text-align: left; }
.cohort-form {
  background: var(--bg-paper);
  border: 1px solid var(--border-paper);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 36px) clamp(24px, 3.5vw, 32px);
  box-shadow: var(--shadow-card);
}
.cohort-form .big {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: var(--text-h3); line-height: 1.2; margin: 0 0 8px;
}
.cohort-form .seats { color: var(--text-ink-soft); font-size: var(--text-small); margin: 0 0 28px; }
.form-row { display: block; margin-bottom: 16px; }
.form-row label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-ink-muted); margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-ink);
  background: #FBF8EF;
  border: 1px solid var(--border-paper);
  border-radius: 6px;
  padding: 11px 14px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 93, 53, 0.15);
}
.form-row textarea { resize: vertical; min-height: 84px; font-family: var(--font-body); }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cohort-form .cf-submit {
  width: 100%; justify-content: center; margin-top: 8px;
  position: relative;
}
.cohort-form .cf-submit-loading { display: none; }
.cohort-form.is-loading .cf-submit-label { display: none; }
.cohort-form.is-loading .cf-submit-loading { display: inline-flex; align-items: center; gap: 6px; }
.cohort-form.is-loading .cf-submit::after {
  content: ""; width: 12px; height: 12px; margin-left: 6px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; display: inline-block;
  animation: cfSpin 700ms linear infinite;
}
@keyframes cfSpin { to { transform: rotate(360deg); } }
.cf-status {
  margin: 14px 0 0; min-height: 1.4em;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.02em;
}
.cf-status-ok  { color: var(--accent); }
.cf-status-err { color: #B33C2A; }
.cohort-form .closes { margin: 16px 0 0; text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--text-ink-muted); }
.cf-privacy {
  margin: 12px 0 0; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--text-ink-muted);
}
@media (max-width: 480px) { .form-row-split { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .cohort-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .cohort-form.is-loading .cf-submit::after { animation: none; }
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing { text-align: center; }
.closing .big {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--text-cream);
  margin-bottom: 14px;
}
.closing .sub { color: var(--text-cream-soft); font-size: var(--text-body-lg); max-width: 40ch; margin: 0 auto 40px; }
.closing-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: var(--text-cream-soft); padding-block: clamp(64px, 8vw, 96px) 48px; }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-mark { display: block; margin-bottom: 16px; }
.footer .wordmark { color: var(--text-cream); display: block; margin-bottom: 12px; }
.footer-license-line {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.footer .tag {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 18px; line-height: 1.4; max-width: 28ch;
  color: var(--text-cream); margin-bottom: 14px;
}
.footer-countdown {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-dark);
  display: flex; align-items: baseline; gap: 10px;
  max-width: 32ch;
}
.footer-countdown .fc-num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 22px; color: var(--accent);
  letter-spacing: -0.01em;
}
.footer-countdown .fc-cap {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-cream-soft); line-height: 1.4;
}
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-cream-soft); font-weight: 500; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-cream); font-size: var(--text-small); padding-block: 6px; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-cream-soft); letter-spacing: 0.01em;
}
.footer-bottom .license { color: var(--text-cream); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px 24px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* image-slot theming */
image-slot {
  --is-bg: var(--bg-paper);
  border-radius: var(--radius);
}

/* ============================================================
   EDITORIAL ANIMATIONS — restrained, on-brand motion
   All effects gated by prefers-reduced-motion via the @media block at the end.
   ============================================================ */

/* Hero crest — very slow, almost imperceptible rotation */
.monogram-wrap .crest-img {
  animation: crest-drift 90s linear infinite;
  will-change: transform;
}
@keyframes crest-drift {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Pilot gallery tiles — subtle lift on hover, image scales gently */
.pg-tile {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.pg-tile img,
.pg-tile video {
  transition: transform var(--dur) var(--ease);
}
.pg-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(15, 14, 12, 0.18);
}
.pg-tile:hover img,
.pg-tile:hover video {
  transform: scale(1.025);
}

/* Structure rows — saffron underline grows under the title on hover */
.structure-row { position: relative; }
.structure-row .rtitle {
  position: relative;
  display: inline-block;
}
.structure-row .rtitle::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 500ms var(--ease);
}
.structure-row:hover .rtitle::after { width: 100%; }

/* Bet stats — subtle slide-in on reveal (in addition to existing reveal/count-up) */
.bet-stat {
  transition: transform 600ms var(--ease);
}
.bet-stat.reveal.in:hover {
  transform: translateY(-2px);
}

/* Next-pilot card — full card hover lift + accent border deepen */
.next-pilot {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
}
.next-pilot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 14, 12, 0.10);
  border-left-color: var(--accent-strong, var(--accent));
}

/* Cohort form CTA — gentle attention pulse when the form is idle */
.cohort-form .cf-submit:not(:disabled) {
  position: relative;
  overflow: hidden;
}
.cohort-form .cf-submit:not(:disabled)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: cta-shimmer 6s ease-in-out infinite;
  animation-delay: 4s;
  pointer-events: none;
}
@keyframes cta-shimmer {
  0%   { transform: translateX(-100%); }
  18%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Manifesto crest fade-and-rise on reveal */
.manifesto-crest {
  transition: transform 1100ms var(--ease), opacity 1100ms var(--ease);
}

/* Hub-cap details — saffron border pulse when an item opens */
details.hub-cap[open] {
  animation: hub-open 600ms var(--ease);
}
@keyframes hub-open {
  0%   { box-shadow: 0 0 0 0 rgba(196, 93, 53, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(196, 93, 53, 0); }
}

/* Founder-strip logos — gentle, sequenced fade-in on reveal */
.fs-logos.reveal.in li {
  opacity: 0;
  animation: logo-rise 600ms var(--ease) forwards;
}
.fs-logos.reveal.in li:nth-child(1) { animation-delay: 0ms;  }
.fs-logos.reveal.in li:nth-child(2) { animation-delay: 80ms; }
.fs-logos.reveal.in li:nth-child(3) { animation-delay: 160ms; }
.fs-logos.reveal.in li:nth-child(4) { animation-delay: 240ms; }
.fs-logos.reveal.in li:nth-child(5) { animation-delay: 320ms; }
.fs-logos.reveal.in li:nth-child(6) { animation-delay: 400ms; }
@keyframes logo-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero CTA arrow nudge on hover (saffron primary button) */
.btn-primary .arr {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}
.btn-primary:hover .arr { transform: translateX(4px); }

/* Section-eyebrow underline draw on first reveal */
.eyebrow {
  position: relative;
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .monogram-wrap .crest-img { animation: none; }
  .pg-tile,
  .pg-tile img,
  .pg-tile video,
  .bet-stat,
  .next-pilot,
  .manifesto-crest { transition: none !important; }
  .structure-row .rtitle::after { transition: none; }
  .cohort-form .cf-submit:not(:disabled)::before { animation: none; display: none; }
  details.hub-cap[open] { animation: none; }
  .fs-logos.reveal.in li { animation: none; opacity: 1; }
}

/* ============================================================
   FOUNDER CREDENTIALS STRIP — between pilot proof and philosophy
   Cream-soft alternate band; grayscale logos, accent on hover.
   ============================================================ */
.founder-strip {
  background: var(--bg-paper-soft);
  border-top: 1px solid var(--border-paper);
  border-bottom: 1px solid var(--border-paper);
  padding-block: clamp(64px, 8vw, 96px);
}
.fs-head { text-align: center; max-width: 56ch; margin-inline: auto; margin-bottom: clamp(40px, 5vw, 56px); }
.fs-head .eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
  margin-bottom: 14px;
}
.fs-h {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-ink);
  margin: 0;
}
.fs-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* 2 rows of 3 — even, balanced, breathing */
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4.5vw, 56px) clamp(24px, 3vw, 48px);
  align-items: center;
  justify-items: center;
  max-width: 880px;
  margin-inline: auto;
}
.fs-logos li {
  /* uniform optical box — each logo centered in an identical cell */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 100%;
}
.fs-logos img {
  max-width: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.72);
  transition: filter var(--dur) var(--ease);
}
.fs-logos li:hover img,
.fs-logos li:focus-visible img {
  filter: grayscale(0%) opacity(1);
}
/* Per-logo height — equalize optical weight across single-line vs stacked marks */
.fs-logos li:nth-child(1) img { max-height: 30px; } /* Caltech */
.fs-logos li:nth-child(2) img { max-height: 26px; } /* McKinsey & Company */
.fs-logos li:nth-child(3) img { max-height: 46px; } /* Goldman Sachs — stacked 2-line, sized so each line matches the others' cap height */
.fs-logos li:nth-child(4) img { max-height: 28px; } /* Harvard */
.fs-logos li:nth-child(5) img { max-height: 26px; } /* Y Combinator wordmark */
.fs-logos li:nth-child(6) img { max-height: 24px; } /* Tsinghua University */

@media (max-width: 860px) {
  .fs-logos { gap: 40px 32px; }
  .fs-logos li { height: 60px; }
}
@media (max-width: 520px) {
  .fs-logos { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .fs-logos li { height: 52px; }
}
.fs-attr {
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-ink-muted);
  max-width: 80ch;
  margin-inline: auto;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .fs-logos { grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
  .fs-logos li:nth-child(5) { grid-column: 2 / 3; }
  .fs-logos li:nth-child(6) { grid-column: 3 / 4; }
}
@media (max-width: 560px) {
  .fs-logos { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  .fs-logos li:nth-child(5),
  .fs-logos li:nth-child(6),
  .fs-logos li:nth-child(7) { grid-column: auto; }
  .fs-logos img { max-height: 28px; filter: grayscale(100%) opacity(0.7); }
}

/* ============================================================
   ARENA CREST — circular seal used in hero + footer
   ============================================================ */
.crest { width: 100%; max-width: 440px; height: auto; display: block; }
.crest-img { width: 100%; max-width: 380px; height: auto; display: block; }
.manifesto-crest.crest-img { max-width: 240px; }
.footer-crest.crest-img { max-width: 96px; margin-bottom: 14px; }
@media (max-width: 860px) {
  .monogram-wrap .crest-img { max-width: 240px; }
}
@media (max-width: 480px) {
  .monogram-wrap .crest-img { max-width: 200px; }
}
.crest-text {
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.32em;
  fill: var(--accent);
  text-transform: uppercase;
}
.crest-text-bot { font-size: 14px; letter-spacing: 0.24em; }
.crest-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.12em;
  fill: var(--accent);
}
.crest-amphi { fill: none; stroke: var(--accent); }
.crest-hubs circle:first-child,
.crest-hubs circle:nth-child(2),
.crest-hubs circle:nth-child(3) {
  animation: hubPulse 2.4s ease-in-out infinite;
}
.crest-hubs circle:nth-child(2) { animation-delay: 0.4s; }
.crest-hubs circle:nth-child(3) { animation-delay: 0.8s; }
@keyframes hubPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .crest-hubs circle { animation: none; }
}

/* Footer crest — smaller treatment */
.footer .crest { max-width: 110px; margin-bottom: 18px; }
.footer .crest .crest-text { fill: var(--text-cream); }
.footer .crest .crest-motto { fill: var(--accent); }
.footer .crest circle[stroke="var(--accent)"] { stroke: var(--accent); }
.footer .crest .crest-amphi { stroke: var(--accent); opacity: 0.85; }
