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

html { background: var(--bg); color: var(--fg); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; scroll-behavior: auto; }
body { background: var(--bg); overflow-x: hidden; }

/* Loader */
#loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: opacity 800ms cubic-bezier(0.4,0,0.2,1); }
#loader.out { opacity: 0; pointer-events: none; }
.ld-brand { font-family: var(--font-ui); font-weight: 700; font-size: 17px; color: var(--fg); display: flex; align-items: center; gap: 10px; letter-spacing: 0.04em; }
.ld-brand .dot { width: 9px; height: 9px; background: var(--mint); border-radius: 2px; }
.ld-brand .x { color: var(--fg-dim); margin: 0 4px; font-weight: 400; }
.ld-bar-track { width: 260px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ld-bar-fill { height: 100%; width: 0%; background: var(--accent); transition: width 60ms linear; }
.ld-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); font-family: var(--font-mono); }

/* Nav */
nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 200; pointer-events: none; }
.nav-left { display: flex; align-items: center; gap: 22px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; color: var(--fg); text-decoration: none; }
.nav-brand .dot { width: 9px; height: 9px; background: var(--mint); border-radius: 2px; }
.nav-brand .x { color: var(--fg-dim); margin: 0 2px; font-weight: 400; }
.nav-sep { width: 1px; height: 20px; background: var(--line); }
.nav-meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); }
.nav-meta b { color: var(--fg-mid); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mid); text-decoration: none; transition: color 200ms ease; cursor: pointer; background: none; border: none; padding: 0; }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-cta { padding: 8px 16px; border: 1px solid rgba(107,150,146,0.55); border-radius: 4px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--accent); text-decoration: none; transition: all 200ms ease; cursor: pointer; background: rgba(176,206,203,0.08); font-family: var(--font-mono); }
.nav-cta:hover { background: var(--accent); color: var(--btn-primary-fg); border-color: var(--accent); }

/* ═════ SCROLL-CHAPTER STAGE ═════ */
#stage { position: relative; width: 100%; }
#stage-sticky {
  position: sticky; top: 0;
  width: 100%; height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

#stage-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--bg-warm); will-change: transform; }
#stage-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transform: translateZ(0);
}
#stage-video-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, var(--stage-overlay-from) 0%, var(--stage-overlay-mid) 30%, var(--stage-overlay-mid) 70%, var(--stage-overlay-to) 100%),
    linear-gradient(90deg, var(--stage-overlay-side) 0%, var(--stage-overlay-edge) 45%, var(--stage-overlay-far) 70%);
}
#stage-video-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 55% 70% at 22% 50%, var(--stage-overlay-radial) 0%, transparent 65%),
    radial-gradient(ellipse 60% 55% at 100% 100%, rgba(176,206,203,0.10) 0%, transparent 60%);
}
#stage-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.03; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* Fixed top strip & bottom chrome */
.stage-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px clamp(24px, 5vw, 88px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: nowrap;
  border-bottom: 1px solid var(--line);
  background: var(--bg-glass); backdrop-filter: blur(20px);
}
@media (max-width: 1100px) {
  .stage-strip { padding: 10px clamp(18px, 4vw, 40px); gap: 8px 14px; }
  .stage-strip-right { gap: 12px; }
  .stage-strip-right .unit { font-size: 9px; }
  .stage-strip-right .val { font-size: 10.5px; }
  .hero-breadcrumb { font-size: 9px; }
  .hero-chip { font-size: 9px; padding: 5px 8px 5px 6px; }
  .stage-strip-brand { font-size: 12px; }
  .stage-strip-vsep { display: none; }
}
.stage-strip-left { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; flex: 1; min-width: 0; overflow: hidden; }
.stage-strip-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.stage-strip-brand img { display: block; height: 26px; width: auto; object-fit: contain; }
.stage-strip-brand img[alt="NUNATAK"] { height: 20px; align-self: center; margin-top: 5px; }
.stage-strip-brand img[alt="Client"] { height: 30px; align-self: center; }
.stage-strip-brand .x { color: var(--fg-dim); font-weight: 300; font-size: 14px; font-family: var(--font-ui); }
.stage-strip-vsep { width: 1px; height: 18px; background: var(--line); flex-shrink: 0; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border: 1px solid rgba(107,150,146,0.45); border-radius: 4px; background: rgba(176,206,203,0.12); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.hero-chip .blink { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hero-breadcrumb { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hero-breadcrumb b { color: var(--fg-mid); font-weight: 500; }
.hero-breadcrumb .sep { margin: 0 10px; color: var(--line); }
.stage-strip-right { display: flex; align-items: center; gap: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }
.stage-strip-right .unit { display: flex; align-items: baseline; gap: 6px; }
.stage-strip-right .val { color: var(--fg); font-weight: 600; font-size: 12px; letter-spacing: 0.05em; }

/* Logo theme switching */
.stage-strip-brand img.logo-dark-only { display: none; }
.stage-strip-brand img.logo-light-only { display: block; }
[data-theme="dark"] .stage-strip-brand img.logo-dark-only { display: block; }
[data-theme="dark"] .stage-strip-brand img.logo-light-only { display: none; }

/* Theme toggle button */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg-glass-s); backdrop-filter: blur(8px);
  color: var(--fg-mid); cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: rgba(107,150,146,0.08); }
.theme-toggle-icon { display: none; }
/* Light mode: show moon (click → go dark) */
[data-theme="light"] .theme-toggle .theme-toggle-moon { display: block; }
/* Dark mode: show sun (click → go light) */
[data-theme="dark"] .theme-toggle .theme-toggle-sun { display: block; }

/* Bottom progress bar + chapter pill */
.stage-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 0 clamp(24px, 5vw, 88px) 18px;
  display: flex; align-items: center; gap: 20px;
  padding-right: calc(clamp(24px, 5vw, 88px) + 120px);
}
.stage-progress { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 480px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }
#ch-label { white-space: nowrap; }
.stage-progress-track { position: relative; flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stage-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--accent); transition: width 120ms linear; }
.stage-progress-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; pointer-events: none; }
.stage-progress-ticks span { width: 1px; background: rgba(30,36,44,0.12); }
.stage-chapter-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mid); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.stage-chapter-badge b { color: var(--accent); font-weight: 600; }
.stage-scroll-cue { display: none; }

/* ═════ CHAPTERS ═════ */
.chapters-wrap {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding: 108px clamp(24px, 5vw, 88px) 140px;
  display: grid; place-items: center;
}
.chapter {
  position: absolute;
  inset: 108px clamp(24px, 5vw, 88px) 140px;
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.2, 0, 0, 1), transform 600ms cubic-bezier(0.2, 0, 0, 1);
  display: grid; align-items: center;
}
.chapter.active { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Chapter 1: TITLE */
.ch-title { grid-template-columns: 1fr; }
.ch-title-left { align-self: center; max-width: 760px; }
.ch-title-left-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.ch-title-left-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.ch-title-left-eyebrow::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: rDot 1.6s ease-in-out infinite; }
@keyframes rDot { 0%,100% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.1); } }
.hero-title { font-family: var(--font-ui); font-weight: 300; font-size: clamp(64px, 10vw, 176px); line-height: 0.88; letter-spacing: 0.02em; text-transform: uppercase; color: var(--anthracite, #363E48); margin-bottom: 28px; }

/* Hero metric strip */
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 28px; max-width: 620px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--bg-glass-s); backdrop-filter: blur(8px); }
.hero-metric { padding: 8px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.hero-metric:last-child { border-right: none; }
.hero-metric .m-v { font-family: var(--font-ui); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.hero-metric .m-v small { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; color: var(--accent); margin-left: 4px; text-transform: uppercase; }
.hero-metric .m-v--icon { display: flex; align-items: center; gap: 8px; height: 36px; }
.hero-metric .m-v--icon svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--fg); opacity: 0.85; }
.hero-metric .m-v--icon span { font-family: var(--font-ui); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.hero-metric .m-k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); font-weight: 600; margin-top: 8px; }
.hero-title .ai { color: var(--accent); }
.hero-title .colon { color: var(--nk-mint-300, #C4DBD9); font-weight: 300; margin: 0 -0.02em; }
.hero-title .now { color: var(--anthracite, #363E48); font-style: italic; }
.hero-title .now::after { content: "_"; color: var(--mint); animation: cursor 1.1s step-end infinite; margin-left: 0.02em; font-style: normal; font-weight: 300; }
@keyframes cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-sub { font-family: var(--font-ui); font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; line-height: 1.25; color: var(--fg-mid); max-width: 640px; margin-bottom: 14px; }
.hero-sub .accent { color: var(--accent); font-weight: 600; }
.hero-tagline { font-size: 15px; line-height: 1.65; color: var(--fg-dim); max-width: 520px; margin-bottom: 38px; }
.hero-tagline b { color: var(--fg); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-btn-primary { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px 15px 28px; background: var(--btn-primary-bg); color: var(--btn-primary-fg); font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border: none; border-radius: 4px; cursor: pointer; transition: all 240ms cubic-bezier(0.2,0,0,1); box-shadow: var(--shadow-2); }
.hero-btn-primary:hover { background: var(--btn-primary-bg-hover); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.hero-btn-primary .arrow { transition: transform 240ms cubic-bezier(0.2,0,0,1); }
.hero-btn-primary:hover .arrow { transform: translateX(4px); }
.hero-btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 4px; color: var(--fg-mid); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; font-weight: 600; font-family: var(--font-mono); cursor: pointer; background: var(--bg-glass-s); backdrop-filter: blur(8px); transition: all 220ms ease; }
.hero-btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(176,206,203,0.08); }
.hero-btn-ghost .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

/* Generic chapter header */
.ch-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.ch-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.ch-eyebrow .n { color: var(--fg-dim); font-weight: 500; }
.ch-title-text { font-family: var(--font-ui); font-weight: 300; font-size: clamp(40px, 6vw, 84px); line-height: 0.96; letter-spacing: 0.01em; text-transform: uppercase; color: var(--fg); }
.ch-title-text .accent { color: var(--accent); }
.ch-lede { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; color: var(--fg-mid); max-width: 620px; margin-top: 18px; }
.ch-lede b { color: var(--fg); font-weight: 600; }

/* Chapter 2: AGENDA */
.ch-agenda { grid-template-columns: minmax(340px, 1fr) minmax(0, 2fr); gap: clamp(40px, 5vw, 72px); }
.agenda-left { align-self: center; max-width: 460px; }
.agenda-title { font-family: var(--font-ui); font-weight: 600; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0; color: var(--fg); margin-bottom: 14px; }
.agenda-timeline { display: flex; flex-direction: column; gap: 4px; max-height: calc(76vh - 44px); overflow: hidden; }
.agenda-section { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); padding: 6px 2px 2px; }
.agenda-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; background: var(--bg-glass); border: 1px solid var(--line-s); border-radius: 4px; backdrop-filter: blur(12px); transition: all 220ms ease; cursor: default; }
.agenda-row:hover { border-color: rgba(107,150,146,0.45); background: rgba(176,206,203,0.08); transform: translateX(4px); }

.agenda-row.hot { border-color: rgba(107,150,146,0.35); background: rgba(176,206,203,0.12); }
.agenda-row .time { font-family: var(--font-mono); font-size: 10px; color: var(--fg); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.agenda-row.hot .time { color: var(--accent); }
.agenda-row .label { font-size: 13px; color: var(--fg); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.agenda-row .label small { color: var(--fg-mid); font-size: 10.5px; font-weight: 400; margin-left: 6px; }
.agenda-row .tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); padding: 3px 7px; border: 1px solid var(--line); border-radius: 2px; white-space: nowrap; }
.agenda-row.hot .tag { color: var(--accent); border-color: rgba(107,150,146,0.4); background: rgba(176,206,203,0.1); }
.flame { color: var(--accent); font-size: 10px; }

/* Agenda break separators */
.agenda-break { display: flex; align-items: center; gap: 0; margin: 2px 0; }
.agenda-break::before { content: ""; flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--line)); }
.agenda-break::after  { content: ""; flex: 1; height: 1px; background: linear-gradient(to left, transparent, var(--line)); }
.agenda-break-icon  { font-size: 12px; flex-shrink: 0; margin: 0 5px; }
.agenda-break-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mid); background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; flex-shrink: 0; margin: 0 3px; }
.agenda-break-lunch .agenda-break-label { color: var(--accent); background: rgba(176,206,203,0.08); border-color: rgba(107,150,146,0.25); }


/* Starting grid callout */
.ch-starting-grid { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; margin-bottom: 16px; background: rgba(176,206,203,0.1); border: 1px solid rgba(107,150,146,0.35); border-left: 3px solid var(--accent); border-radius: 4px; font-size: 13px; line-height: 1.4; color: var(--fg-mid); backdrop-filter: blur(8px); }
.ch-starting-grid b { color: var(--fg); font-weight: 600; }
.ch-sg-flag { font-size: 15px; flex-shrink: 0; }

/* Chapter: MODULES (06) */
.ch-modules { justify-content: center; align-items: flex-start; }
.ch-modules-inner { display: flex; flex-direction: column; gap: 20px; max-width: 600px; }
.ch-modules .ch-title-text { font-size: clamp(30px, 4vw, 52px); }
.ch-modules .ch-lede { font-size: clamp(13px, 1.1vw, 15px); margin-top: 4px; }

/* Chapter: LEARNING PATHS */
.ch-paths { justify-content: center; align-items: flex-start; }
.paths-inner { display: flex; flex-direction: column; gap: 14px; max-width: 900px; width: 100%; }
.ch-paths .ch-title-text { font-size: clamp(30px, 4vw, 52px); }
.ch-paths .ch-lede { font-size: clamp(13px, 1.1vw, 15px); margin-top: 10px; }
.paths-section-label {
  font-family: var(--font-ui); font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--fg); margin-bottom: 14px; padding-left: 2px;
}
.paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.path-card { background: var(--bg-glass); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; position: relative; backdrop-filter: blur(20px); display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.path-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.path-leadership::before { background: linear-gradient(90deg, transparent, #A0D0CB, transparent); }
.path-user::before       { background: linear-gradient(90deg, transparent, #FA928C, transparent); }
.path-trainer::before    { background: linear-gradient(90deg, transparent, #6B9692, transparent); }
.path-header { padding: 10px 14px 8px; border-bottom: 1px solid var(--line-s); display: flex; align-items: flex-start; gap: 12px; }
.path-header-info { display: flex; flex-direction: column; gap: 4px; }
.path-num { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: #A0D0CB; line-height: 1; min-width: 22px; }
.path-user .path-num    { color: #FA928C; }
.path-trainer .path-num { color: #6B9692; }
.path-title { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--fg); margin-bottom: 2px; }
.path-audience { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }
.path-body { padding: 8px 14px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.path-desc { font-size: 12px; line-height: 1.5; color: var(--fg-mid); flex: 1; min-width: 140px; }
.path-meta-row { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.path-tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); padding: 3px 6px; border: 1px solid var(--line); border-radius: 2px; }
.path-extra { display: flex; align-items: baseline; gap: 6px; padding: 6px 9px; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 4px; font-size: 10.5px; line-height: 1.4; color: var(--fg-mid); flex-shrink: 0; }
.path-extra-global { margin-top: 10px; }
.path-extra-dot { color: var(--fg-dim); font-size: 10px; flex-shrink: 0; }
.path-extra b { color: var(--fg); font-weight: 600; }
.path-recommend { display: flex; align-items: baseline; gap: 6px; padding: 6px 9px; background: rgba(176,206,203,0.08); border: 1px solid rgba(107,150,146,0.28); border-radius: 4px; font-size: 10.5px; line-height: 1.4; color: var(--fg-mid); flex-shrink: 0; }
.path-recommend-dot { color: var(--accent); font-size: 8px; flex-shrink: 0; margin-top: 2px; }
.path-recommend b { color: var(--accent); font-weight: 600; }

/* Certificate list */
.path-certs { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.path-cert { display: flex; align-items: center; gap: 0; padding: 5px 8px 5px 10px; border-radius: 4px; border-left: 2px solid; background: var(--bg-warm); }
.path-cert-champion { border-left-color: var(--accent); background: rgba(107,150,146,0.06); }
.path-cert-advanced { border-left-color: var(--accent-s); background: rgba(143,182,178,0.08); }
.path-cert-fe2 { border-left-color: var(--line); border-left-style: dashed; }
.path-cert-left { display: flex; flex-direction: column; gap: 2px; }
.path-cert-name { font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--fg); line-height: 1.3; }
.path-cert-champion .path-cert-name { color: var(--accent); }
.path-cert-advanced .path-cert-name { color: var(--accent-s); }
.path-cert-fe2 .path-cert-name { color: var(--fg-dim); }
.path-cert-opt { font-size: 9px; font-weight: 400; opacity: 0.6; margin-left: 4px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.path-cert-items { font-size: 10.5px; color: var(--fg-dim); line-height: 1.3; }

/* Chapter: CHALLENGES */
.ch-challenges { grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: center; }
.challenges-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; max-width: 1280px; }
.ch-card { background: var(--bg-glass); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px 24px; backdrop-filter: blur(20px); position: relative; overflow: hidden; box-shadow: var(--shadow-1); }
.ch-card::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--mint); }
.ch-card .num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.ch-card h3 { font-family: var(--font-ui); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--fg); margin-bottom: 10px; }
.ch-card p { font-size: 14px; line-height: 1.6; color: var(--fg-mid); margin-bottom: 16px; }
.ch-card .meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.ch-card .meta b { color: var(--fg); font-weight: 600; }
.ch-card .meta .pip { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

/* Chapter: OUTCOMES */
.ch-outcomes { grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: center; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px; max-width: 1280px; }
.out-card { background: var(--bg-glass); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px 20px; backdrop-filter: blur(16px); box-shadow: var(--shadow-1); }
.out-card .v { font-family: var(--font-ui); font-weight: 800; font-size: 48px; letter-spacing: -0.02em; line-height: 0.95; color: var(--accent); margin-bottom: 6px; }
.out-card .v small { font-size: 20px; font-weight: 700; color: var(--fg); margin-left: 4px; }
.out-card .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mid); font-weight: 600; margin-bottom: 10px; }
.out-card p { font-size: 12.5px; line-height: 1.55; color: var(--fg-dim); }

/* Chapter side-tracker */
.stage-tracker { position: absolute; right: clamp(14px, 2.2vw, 28px); top: 50%; transform: translateY(-50%); z-index: 22; display: flex; flex-direction: column; gap: 2px; pointer-events: auto; }
.stage-tracker-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; color: rgba(255,255,255,0.45); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; transition: color 200ms ease; text-shadow: 0 1px 4px rgba(0,0,0,0.7); }
.stage-tracker-item .tick { width: 12px; height: 1px; background: currentColor; transition: width 240ms ease, background 240ms ease; }
.stage-tracker-item.active { color: var(--nk-mint-400); font-weight: 700; }
.stage-tracker-item.active .tick { width: 26px; height: 2px; background: var(--nk-mint-400); }
.stage-tracker-item:hover { color: rgba(255,255,255,0.85); }
.stage-tracker-label { display: none; }
[data-theme="light"] .stage-tracker-item { color: var(--fg-2); text-shadow: none; }
[data-theme="light"] .stage-tracker-item.active { color: var(--nk-mint-700); }
[data-theme="light"] .stage-tracker-item:hover { color: var(--fg); }
@media (min-width: 1100px) {
  .stage-tracker-label { display: inline; }
  .chapter { right: 220px; }
}

/* Next chapter button */
.ch-next-btn {
  position: absolute; bottom: 58px; left: 50%; transform: translateX(-50%);
  z-index: 25;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px 10px 20px;
  background: var(--bg-glass); border: 1px solid var(--line);
  border-radius: 4px; color: var(--fg);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: all 220ms ease;
  backdrop-filter: blur(12px); white-space: nowrap;
  box-shadow: var(--shadow-1);
}
.ch-next-btn:hover { background: var(--btn-secondary-hover-bg); color: var(--btn-secondary-hover-fg); border-color: var(--btn-secondary-hover-bg); box-shadow: var(--shadow-2); }
.ch-next-btn.hidden { opacity: 0; pointer-events: none; }
.ch-next-btn svg { transform: rotate(90deg); }

/* CTA section */
.cta { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 88px); background: var(--bg); border-top: 1px solid var(--line); }
.cta::before { content: ""; pointer-events: none; position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 80% 20%, rgba(176,206,203,0.22) 0%, transparent 60%), radial-gradient(ellipse 60% 80% at 10% 90%, rgba(176,206,203,0.10) 0%, transparent 60%); }
.cta::after { content: ""; pointer-events: none; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(107,150,146,0.4) 40%, transparent 100%); }
.cta-inner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; }
.cta-lion { position: absolute; right: clamp(-60px, -4vw, -20px); top: 50%; transform: translateY(-50%); width: min(420px, 38vw); opacity: 0.04; pointer-events: none; user-select: none; filter: saturate(0); z-index: 0; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.cta-title { font-family: var(--font-ui); font-weight: 300; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; color: var(--fg); margin-bottom: 32px; position: relative; z-index: 1; }
.cta-title .accent { color: var(--accent); }
.cta-sub { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; color: var(--fg-mid); max-width: 560px; margin-bottom: 44px; position: relative; z-index: 1; }
.cta-sub b { color: var(--fg); font-weight: 600; }
.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; background: var(--btn-primary-bg); color: var(--btn-primary-fg); font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: all 200ms ease; cursor: pointer; border: none; box-shadow: var(--shadow-2); }
.cta-btn:hover { background: var(--btn-primary-bg-hover); transform: translateY(-2px); }
.cta-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 4px; color: var(--fg-mid); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; font-weight: 600; transition: all 200ms ease; cursor: pointer; background: var(--bg-glass-s); }
.cta-ghost:hover { border-color: var(--accent); color: var(--accent); }
.cta-ref { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; font-family: var(--font-mono); }
.cta-ref-item { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); }
.cta-ref-item b { color: var(--accent); font-weight: 600; }

/* ── Proposal Picker ── */
.proposal-picker {
  background: var(--nk-anthracite-950);
  padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 88px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pp-inner { max-width: 1200px; margin: 0 auto; }
.pp-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--nk-mint-400); font-weight: 600;
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.pp-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--nk-mint-400); }
.pp-title {
  font-family: var(--font-ui); font-weight: 300;
  font-size: clamp(40px, 6vw, 80px); line-height: 0.95;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--nk-white); margin-bottom: 16px;
}
.pp-title .accent { color: var(--nk-mint-400); }
.pp-sub { font-size: 16px; color: var(--nk-anthracite-400); margin-bottom: 56px; }
.pp-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 48px;
}
.pp-card {
  position: relative;
  background: var(--nk-anthracite-900);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.25s, transform 0.25s;
  cursor: default;
}
.pp-card:hover { border-color: rgba(176,206,203,0.25); transform: translateY(-3px); }
.pp-card.selected {
  border-color: var(--nk-mint-400);
  background: rgba(176,206,203,0.06);
}
.pp-card-badge {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(176,206,203,0.12); border: 1.5px solid rgba(176,206,203,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--nk-mint-400); letter-spacing: 0.05em;
}
.pp-card.selected .pp-card-badge { background: var(--nk-mint-400); color: var(--nk-anthracite-950); border-color: var(--nk-mint-400); }
.pp-card-theme {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--nk-anthracite-500);
}
.pp-card-name {
  font-family: var(--font-ui); font-weight: 600; font-size: 18px;
  color: var(--nk-white); letter-spacing: 0.01em;
}
.pp-card-desc { font-size: 13.5px; line-height: 1.55; color: var(--nk-anthracite-400); }
.pp-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pp-card-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pp-preview-btn {
  width: 100%; padding: 9px 16px;
  background: transparent; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: var(--nk-anthracite-400);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.18s, color 0.18s;
}
.pp-preview-btn:hover { border-color: rgba(255,255,255,0.25); color: var(--nk-white); }
.pp-select-btn {
  width: 100%; padding: 11px 16px;
  background: var(--nk-mint-400); border: none; border-radius: 8px;
  color: var(--nk-anthracite-950); font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: background 0.18s, opacity 0.18s;
}
.pp-select-btn:hover { background: var(--nk-mint-300); }
.pp-card.selected .pp-select-btn { background: rgba(176,206,203,0.15); color: var(--nk-mint-400); cursor: default; }
.pp-selected-badge {
  display: none; position: absolute; top: 16px; right: 16px;
  background: var(--nk-mint-400); color: var(--nk-anthracite-950);
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
.pp-card.selected .pp-selected-badge { display: block; }
.pp-confirm {
  display: none; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: 12px;
  background: rgba(176,206,203,0.08); border: 1px solid rgba(176,206,203,0.2);
}
.pp-confirm.visible { display: flex; }
.pp-confirm-text {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--nk-mint-400);
}
.pp-confirm-btn {
  padding: 12px 24px; background: var(--nk-anthracite-800);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  color: var(--nk-white); font-family: var(--font-mono); font-size: 10.5px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: background 0.18s; white-space: nowrap;
}
.pp-confirm-btn:hover { background: var(--nk-anthracite-700); }
@media (max-width: 860px) { .pp-cards { grid-template-columns: 1fr; } }

footer { padding: 22px 40px; border-top: 1px solid var(--line); background: var(--bg-warm); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: var(--fg-dim); }
.footer-brand .dot { width: 6px; height: 6px; background: var(--mint); border-radius: 1px; }
.footer-meta { font-family: var(--font-mono); font-size: 10px; color: var(--fg-dim); letter-spacing: 0.12em; text-transform: uppercase; }
.footer-meta--faint { color: rgba(255,255,255,0.15); }
.accent { color: var(--accent); }

@media (max-width: 1100px) {
  .ch-title, .ch-agenda, .ch-paths { grid-template-columns: 1fr; gap: 20px; align-content: start; }
  .paths-grid { grid-template-columns: 1fr; }
  .challenges-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-tracker { display: none; }
  .hero-title { font-size: clamp(48px, 9vw, 88px); margin-bottom: 16px; }
  .hero-sub { font-size: clamp(16px, 2vw, 20px); margin-bottom: 8px; }
  .hero-tagline { margin-bottom: 18px; font-size: 13px; }
  .ch-title-left-eyebrow { margin-bottom: 14px; }
}
.chapter { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.chapter::-webkit-scrollbar { width: 0; height: 0; }
@media (max-height: 700px) {
  .hero-title { font-size: clamp(40px, 7vw, 68px); margin-bottom: 12px; }
  .hero-sub { font-size: 16px; margin-bottom: 6px; line-height: 1.15; }
  .hero-tagline { font-size: 12.5px; margin-bottom: 14px; line-height: 1.5; }
  .ch-title-left-eyebrow { margin-bottom: 10px; font-size: 9.5px; }
  .hero-btn-primary, .hero-btn-ghost { padding: 11px 18px; font-size: 10.5px; }
  .chapters-wrap { padding-top: 80px; padding-bottom: 110px; }
  .chapter { inset: 80px clamp(24px, 5vw, 88px) 110px; }
}
@media (max-width: 640px) {
  nav { padding: 0 18px; }
  .nav-sep, .nav-meta { display: none; }
  .hero-title { font-size: clamp(48px, 14vw, 78px); }
  .stage-strip-right { display: none; }
  .hero-breadcrumb { display: none; }
  .hero-metrics { grid-template-columns: 1fr; max-width: 100%; }
  .hero-metric { flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; padding: 10px 16px; border-right: none; border-bottom: 1px solid var(--line); }
  .hero-metric .m-v--icon { gap: 24px; }
  .hero-metric:last-child { border-bottom: none; }
  .hero-metric .m-v, .hero-metric .m-v--icon { flex-shrink: 0; justify-content: flex-start; }
  .hero-metric .m-k { margin-top: 0; letter-spacing: 0.1em; }
  .agenda-row { grid-template-columns: 96px 1fr; }
  .agenda-row .tag { grid-column: 2; margin-top: 4px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  footer { padding: 18px 22px; }
}

/* Track map HUD */
.track-map {
  position: absolute; bottom: 8px; right: 8px; z-index: 30;
  width: 160px; pointer-events: none;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(107,150,146,0.2);
  border-radius: 6px;
  padding: 6px;
}
.track-map-svg { width: 100%; display: block; overflow: visible; }
.track-map-border {
  stroke: none; fill: none;
}
.track-map-bg {
  stroke: var(--line); fill: none;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.track-map-progress {
  stroke: var(--accent); fill: none;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 0 99999;
}
.track-map-dot {
  fill: var(--accent);
}
.track-map-label {
  font-family: var(--font-mono); font-size: 8.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-dim); text-align: center;
  margin-top: 5px;
}
@media (max-width: 640px) { .track-map { display: none; } }

/* ══════════════════════════════════════════════════
   HERO — executive copy additions
══════════════════════════════════════════════════ */
.hero-exec-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  color: var(--fg-2) !important;
  max-width: 540px;
  margin-bottom: 0.6rem !important;
}
.hero-exec-body {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════
   CH 02 — THE STRATEGIC GAP
══════════════════════════════════════════════════ */
.ch-gap { justify-content: center; align-items: flex-start; }
.gap-inner { display: flex; flex-direction: column; gap: 2rem; max-width: 900px; width: 100%; }
.gap-title { font-size: clamp(1.6rem, 3.5vw, 3.2rem) !important; margin-bottom: 0 !important; }
.gap-blocks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gap-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gap-block:hover { border-color: var(--fg-dim); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.gap-block-accent { border-color: var(--line); }
.gap-block-message { border-color: var(--line); justify-content: center; }
.gap-data {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700;
  color: var(--fg); line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
}
.gap-data span { font-size: 0.5em; color: var(--accent); }
.gap-vs { font-size: 0.35em !important; color: var(--fg-dim) !important; margin: 0 4px; }
.gap-label {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.gap-desc {
  font-size: 1rem; line-height: 1.6; color: var(--fg-dim);
}
.gap-message {
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 300; line-height: 1.6;
  color: var(--fg-2); text-align: center;
}
.gap-message-attr { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); margin-top: 10px; display: inline-block; }
@media (max-width: 760px) {
  .gap-blocks { grid-template-columns: 1fr; gap: 0.75rem; }
  .gap-block { padding: 1rem 1.25rem; gap: 0.4rem; }
  .gap-data { font-size: 1.6rem; }
  .gap-desc { font-size: 0.85rem; line-height: 1.45; }
}

/* ══════════════════════════════════════════════════
   CH 03 — PROOF OF CONCEPT
══════════════════════════════════════════════════ */
.ch-proof { justify-content: center; align-items: flex-start; }
.ch-proof .ch-title-text { font-size: clamp(1.6rem, 3.5vw, 3.2rem) !important; }
.proof-inner { display: flex; flex-direction: column; gap: 0.75rem; max-width: 900px; width: 100%; }

.proof-feature {
  display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem;
  background: var(--bg-card);
  border: 1.5px solid rgba(176,206,203,0.2);
  border-radius: 16px; padding: 1rem 2rem;
  align-items: center;
}
.proof-feature-logo {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(1rem, 2.5vw, 1.8rem); font-weight: 700; letter-spacing: 0.08em;
  color: var(--fg);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 10px; padding: 1.5rem;
  text-align: center;
}
.proof-feature-tag {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
}
@media (min-width: 641px) {
  .proof-feature-tag { grid-column: 2; grid-row: 1; }
  .proof-feature-logo { grid-column: 1; grid-row: 1 / 3; }
  .proof-feature-content { grid-column: 2; grid-row: 2; }
}
.proof-feature-stat {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; line-height: 1;
  color: var(--fg); margin-bottom: 0.75rem;
}
.proof-feature-stat-unit { font-size: 0.45em; color: var(--fg-dim); }
.proof-feature-desc { font-size: 0.875rem; line-height: 1.6; color: var(--fg-dim); }

.proof-logos-label {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-dim); margin-bottom: 0.25rem;
}
.proof-logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}.proof-logos-track {
  display: flex; align-items: center; gap: 3.5rem;
  width: max-content;
  animation: logo-marquee 28s linear infinite;
}
.proof-logos-track:hover { animation-play-state: paused; }
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.proof-logo-img {
  height: 28px; width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
  flex-shrink: 0;
}
.proof-logo-img:hover { opacity: 1; filter: grayscale(0%); }


.proof-closing {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.2vw, 1rem); font-weight: 300; font-style: italic;
  color: var(--fg-1); text-align: right;
  border-top: 1px solid var(--line-s);
  padding-top: 1rem;
}

@media (max-width: 640px) {
  .ch-proof { display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto; }
  .ch-proof .proof-inner { align-self: flex-start; }
  .proof-feature { grid-template-columns: 1fr; padding: 0.75rem 1rem; gap: 0.5rem; }
  .proof-feature-logo { padding: 0.6rem 0.75rem; font-size: 0.8rem; }
  .proof-feature-stat { font-size: 1.5rem !important; margin-bottom: 0.2rem; }
  .proof-feature-desc { font-size: 0.8rem; line-height: 1.4; }
  .proof-feature-tag { grid-column: auto; grid-row: auto; margin-bottom: 0.2rem; }
  .ch-proof .ch-title-text { font-size: clamp(1.6rem, 3.5vw, 3.2rem) !important; }
  .proof-inner { gap: 0.4rem; }
  .proof-slider { margin-top: 0.75rem; }
  .proof-logos-label { margin-top: 0.75rem; }
  .proof-slider-btn { width: 30px !important; height: 30px !important; }
  .proof-slider-btn svg { width: 13px !important; height: 13px !important; }
  .proof-slider-nav { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
}

/* ── Proof slider ── */
.proof-slider { display: flex; flex-direction: column; gap: 0.75rem; }

.proof-slider-wrapper {
  position: relative;
  display: flex; align-items: center; gap: 0.75rem;
}
.proof-slider-viewport { overflow: hidden; width: 100%; border-radius: 16px; flex: 1; }
.proof-slider-track {
  display: flex; width: 100%;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.proof-slider-slide { min-width: 100%; width: 100%; flex-shrink: 0; box-sizing: border-box; }
.proof-slider-slide .proof-feature { border-radius: 16px; }

.proof-slider-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(107,150,146,0.12);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.proof-slider-btn:hover { background: var(--accent); color: #fff; transform: scale(1.08); }
.proof-slider-btn:disabled { opacity: 0.2; cursor: default; transform: none; }
.proof-slider-btn svg { width: 18px; height: 18px; }

.proof-slider-nav {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.proof-slider-dots { display: flex; gap: 0.5rem; align-items: center; }
.proof-dot {
  width: 28px; height: 5px; border-radius: 3px;
  background: rgba(176,206,203,1); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, width 0.2s;
}
.proof-dot.active { background: var(--accent); width: 44px; }

.proof-feature-logo--anon {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.4rem;
}
.proof-anon-label {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem); font-weight: 700; letter-spacing: 0.08em;
  color: var(--fg);
}
.proof-anon-meta {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim);
}

/* ══════════════════════════════════════════════════
   CH 04 — DESIGN PRINCIPLES
══════════════════════════════════════════════════ */
.ch-principles { justify-content: center; align-items: flex-start; }
.ch-principles .ch-title-text { font-size: clamp(1.6rem, 3.5vw, 3.2rem) !important; }
.principles-inner { display: flex; flex-direction: column; gap: 1.75rem; max-width: 900px; width: 100%; }

.principles-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem;
}
.principle-tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 1.5rem 1.25rem;
  cursor: default; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 0.5rem;
  transition: border-color 0.22s, background 0.22s;
  min-height: 160px;
  opacity: 0; transform: translateY(28px);
}
.principle-tile::before {
  content: attr(data-num);
  position: absolute; right: -0.05em; bottom: -0.2em;
  font-family: var(--font-ui); font-size: 6rem; font-weight: 700; line-height: 1;
  letter-spacing: -0.04em; color: rgba(107,150,146,0.08);
  pointer-events: none; z-index: 0;
}
[data-theme="dark"] .principle-tile::before { color: rgba(176,206,203,0.18); }
.principle-tile > * { position: relative; z-index: 1; }

@keyframes tile-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tiles-fly-in .principle-tile {
  animation: tile-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.tiles-fly-in .principle-tile:nth-child(1) { animation-delay: 0ms; }
.tiles-fly-in .principle-tile:nth-child(2) { animation-delay: 80ms; }
.tiles-fly-in .principle-tile:nth-child(3) { animation-delay: 160ms; }
.tiles-fly-in .principle-tile:nth-child(4) { animation-delay: 240ms; }
.tiles-fly-in .principle-tile:nth-child(5) { animation-delay: 320ms; }
.pt-num {
  display: none;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--fg-dim);
}
.pt-title {
  font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 700; line-height: 1.25;
  color: var(--fg);
  min-height: 2.2rem;
}
.pt-reveal {
  font-size: 0.75rem; line-height: 1.55; color: var(--fg-2);
}
.principle-tile:hover { border-color: var(--accent) !important; }

@media (max-width: 900px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .ch-principles { display: flex; flex-direction: column; }
  .ch-principles .principles-inner { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; padding-top: 0.1rem; }
  .principles-grid { flex: 1; grid-template-columns: 1fr 1fr; gap: 0.6rem; align-content: stretch; }
  .principle-tile:last-child { grid-column: 1 / -1; }
  .principle-tile { padding: 1rem; min-height: 0; gap: 0.35rem; }
  .pt-title { font-size: 0.85rem; min-height: 2.6rem; }
  .pt-reveal { font-size: 0.75rem; line-height: 1.45; }
  .ch-principles .ch-title-text { font-size: clamp(1.6rem, 3.5vw, 3.2rem) !important; }
}

/* ══════════════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════════════ */
.team-section {
  background: var(--bg);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 6vw, 100px);
  border-top: 1px solid var(--line);
}
.team-inner { max-width: 1100px; margin: 0 auto; }

.team-header {
  margin-bottom: clamp(40px, 6vh, 64px);
  max-width: 680px;
}
.team-eyebrow {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.team-eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0; }
.team-title {
  font-family: var(--font-sans, "HK Grotesk", sans-serif);
  font-weight: 300; font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1rem;
}
.team-sub {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.65; color: var(--fg-dim);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.22s, transform 0.22s;
}
.team-card:hover {
  border-color: rgba(176,206,203,0.3);
  transform: translateY(-4px);
}

.team-photo {
  width: 100%; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--bg-warm);
}
.team-photo--1 { background: var(--team-photo-1); }
.team-photo--2 { background: var(--team-photo-2); }
.team-photo--3 { background: var(--team-photo-3); }
.team-photo--4 { background: var(--team-photo-4); }

.team-photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.team-photo:has(.team-photo-img) .team-photo-initials { display: none; }
.team-photo-initials {
  font-family: var(--font-sans, "HK Grotesk", sans-serif);
  font-size: 2.2rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--team-initials-color);
  user-select: none;
}

.team-card-body {
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  flex: 1;
}
.team-name {
  font-family: var(--font-sans, "HK Grotesk", sans-serif);
  font-size: 0.95rem; font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}
.team-role {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.team-credentials {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.4rem;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line-s);
  padding-top: 0.75rem;
}
.team-credentials li {
  font-size: 0.75rem; line-height: 1.45;
  color: var(--fg-dim);
  display: flex; align-items: flex-start; gap: 7px;
}
.team-credentials li::before {
  content: "◆";
  color: var(--accent);
  font-size: 0.4rem;
  margin-top: 0.35em;
  flex-shrink: 0;
}

/* ─── TTT MODAL ─── */
.path-ttt-hint { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 9px; background: rgba(107,150,146,0.08); border: 1px solid rgba(107,150,146,0.28); border-radius: 4px; font-size: 10.5px; color: #6B9692; font-weight: 600; letter-spacing: 0.04em; }
.path-ttt-hint-icon { font-size: 12px; }
.path-trainer-clickable:hover { border-color: rgba(107,150,146,0.45) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,150,146,0.18); transition: all 200ms ease; }

.ttt-modal-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(10,10,20,0.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.ttt-modal-overlay.open { opacity: 1; pointer-events: auto; }
.ttt-modal-box { position: relative; background: #fff; border-radius: 12px; max-width: 720px; width: 100%; padding: 32px 36px 28px; box-shadow: 0 24px 64px rgba(0,0,0,0.22); transform: translateY(16px) scale(0.98); transition: transform 260ms cubic-bezier(0.2,0,0,1); }
.ttt-modal-overlay.open .ttt-modal-box { transform: translateY(0) scale(1); }
.ttt-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e0e0e0; background: #f5f5f5; color: #555; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 180ms ease; }
.ttt-modal-close:hover { background: #eee; color: #111; }
.ttt-modal-header { margin-bottom: 20px; }
.ttt-modal-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #6B9692; font-weight: 700; display: block; margin-bottom: 6px; }
.ttt-modal-title { font-size: 22px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.5px; line-height: 1.2; display: inline; margin-right: 10px; }
.ttt-modal-badge { display: inline-block; vertical-align: middle; background: #6B9692; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; margin-left: 8px; }
.ttt-modal-svg-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ttt-modal-svg-wrap svg { min-width: 480px; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 3 / 1; }
}
