/* =========================================================
   Mulave Studios Academy — landing page
   Brand: neon green #01EC0B on near-black #060906
   ========================================================= */

:root {
  --ink: #060906;
  --ink-2: #0a0f0b;
  --surface: #0f1610;
  --surface-2: #162017;
  --line: rgba(242, 245, 239, 0.12);
  --line-strong: rgba(242, 245, 239, 0.24);
  --paper: #f2f5ef;
  --muted: #a6b0a7;
  --accent: #01ec0b;
  --accent-ink: #060906;
  --accent-soft: rgba(1, 236, 11, 0.14);
  --orange: #f6a928;
  --lilac: #b8a4ff;
  --cream: #f4f1e6;

  --font-display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --font-body: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --radius: 24px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
/* Off-screen animation start positions must never widen the page (clip keeps position: sticky working) */
main, .footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 16px; }
.center { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 72px); }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.h-xl {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 5.25rem); line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 980px; }
.section-head__sub { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--muted); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--paper); }
.btn--ghost { border-color: var(--line-strong); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(242, 245, 239, 0.06); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(6, 9, 6, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.lockup { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.lockup img { height: 30px; width: auto; }
.lockup__tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  transform: rotate(-4deg);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-weight: 500; color: var(--muted); transition: color 0.2s, background-color 0.2s;
}
.nav__list a:not(.btn):hover { color: var(--paper); background: rgba(242, 245, 239, 0.06); }
.nav__cta-mobile { display: none; }

.menu-btn { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; position: relative; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn__bars { top: 50%; transform: translate(-50%, -50%); }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; transform: translateX(-50%); }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translate(-50%, 6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translate(-50%, -6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 45% at 72% 38%, rgba(1, 236, 11, 0.18), transparent 70%),
    radial-gradient(30% 35% at 12% 70%, rgba(184, 164, 255, 0.08), transparent 70%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: clamp(56px, 8vw, 104px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 28px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--paper);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.1rem, 8.4vw, 8.5rem); line-height: 0.9; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__sub { margin-top: 28px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__media { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--surface);
  transform: rotate(3deg);
  box-shadow: 0 40px 120px -30px rgba(1, 236, 11, 0.35), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel__toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(242, 245, 239, 0.35); background: rgba(6, 9, 6, 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center;
}
.reel__icon { width: 12px; height: 14px; border-left: 4px solid var(--paper); border-right: 4px solid var(--paper); }
.reel__toggle[aria-pressed="true"] .reel__icon {
  width: 0; height: 0; border: 0; border-left: 12px solid var(--paper);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px;
}

.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em;
  color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
.chip--orange { background: var(--orange); }
.chip--cream { background: var(--cream); }
.chip--lilac { background: var(--lilac); }
.chip--green { background: var(--accent); }
.chip:nth-child(1) { top: 6%; left: -18%; rotate: -8deg; }
.chip:nth-child(2) { top: 16%; right: -14%; rotate: 6deg; animation-delay: -1s; }
.chip:nth-child(3) { top: 46%; left: -22%; rotate: 5deg; animation-delay: -2s; }
.chip:nth-child(4) { top: 58%; right: -16%; rotate: -6deg; animation-delay: -3s; }
.chip:nth-child(5) { bottom: 14%; left: -12%; rotate: -4deg; animation-delay: -4s; }
.chip:nth-child(6) { bottom: 4%; right: -10%; rotate: 7deg; animation-delay: -5s; }
@keyframes float { 50% { translate: 0 -8px; } }

.spark { position: absolute; fill: var(--accent); pointer-events: none; }
.spark--a { width: 34px; height: 34px; top: -18px; right: 8%; }
.spark--b { width: 18px; height: 18px; bottom: 28%; left: -30%; fill: var(--orange); }
.spark--c { width: 40px; height: 40px; top: 0; right: 12%; }

.marquee {
  border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.75rem); line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(1, 236, 11, 0.7);
}
.marquee svg { width: clamp(20px, 2.5vw, 32px); height: clamp(20px, 2.5vw, 32px); fill: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 12vw, 168px); }

.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.intro__text { display: grid; gap: 0; }
.intro__text .h-xl { margin-top: 20px; }
.intro .lead { margin-top: 32px; }

/* Photo stack beside the intro */
.stack { position: relative; aspect-ratio: 5 / 6; width: 100%; }
.stack__item {
  position: absolute; margin: 0; overflow: hidden; border-radius: 22px;
  border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.stack__item img { width: 100%; height: 100%; object-fit: cover; }
.stack__item--1 { top: 0; left: 0; width: 74%; aspect-ratio: 4 / 3; rotate: -5deg; z-index: 1; }
.stack__item--2 { top: 30%; right: 0; width: 58%; aspect-ratio: 1; rotate: 6deg; z-index: 2; }
.stack__item--3 { bottom: 0; left: 8%; width: 64%; aspect-ratio: 16 / 10; rotate: -2deg; z-index: 3; }
.stack__item--3 img { object-position: 70% 50%; }
.stack__spark { width: 36px; height: 36px; top: 26%; left: 2%; z-index: 4; }

/* Generic photo card */
.photo-card { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.why__photo { margin-top: 12px; aspect-ratio: 16 / 10; }
.who__photo { margin-top: 32px; aspect-ratio: 16 / 9; }

/* Inside the Academy: horizontal gallery */
.gallery { position: relative; padding-block: clamp(88px, 10vw, 140px) clamp(56px, 6vw, 80px); overflow: hidden; }
.gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(32px, 5vw, 56px); }
.gallery__head > div { display: grid; gap: 20px; }
.gallery__head .section-head__sub { max-width: 44ch; }
.gallery__viewport {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__track { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 20px); width: max-content; padding-block: 8px; }
.shot { flex: none; scroll-snap-align: start; height: clamp(240px, 44vh, 480px); }
.shot--wide { aspect-ratio: 3 / 2; }
.shot--tall { aspect-ratio: 4 / 5; height: clamp(280px, 53vh, 560px); }
.shot--square { aspect-ratio: 1; height: clamp(220px, 38vh, 420px); }
.shot figure { position: relative; margin: 0; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px; width: max-content; max-width: calc(100% - 28px);
  padding: 7px 12px; border-radius: 999px; background: rgba(6, 9, 6, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 245, 239, 0.18); font-size: 0.8125rem; font-weight: 600; line-height: 1.3;
}
.gallery__bar { height: 2px; margin-top: clamp(28px, 4vw, 48px); background: var(--line); overflow: hidden; display: none; }
.gallery__bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Who: fifth card spans the full row */
.who__cards .who__card--wide { grid-column: 1 / -1; min-height: 0; }
.who__cards .who__card--wide h3 { padding-bottom: 12px; }

/* CTA photo background */
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(0.4) contrast(1.05); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(6, 9, 6, 0.55) 35%, rgba(6, 9, 6, 0.55) 65%, var(--ink) 100%); }
.intro__kicker {
  margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; max-width: 40ch;
}

/* Programs */
.programs { background: var(--ink-2); border-block: 1px solid var(--line); }
.schools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.school {
  position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; height: 100%; min-height: 300px;
  padding: 28px; text-align: left; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.school::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  clip-path: circle(0% at 100% 0%); transition: clip-path 0.6s var(--ease);
}
.school:hover, .school:focus-visible { color: var(--accent-ink); border-color: var(--accent); }
.school:hover::before, .school:focus-visible::before { clip-path: circle(150% at 100% 0%); }
.school__top { display: flex; justify-content: space-between; align-items: center; }
.school__num { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.08em; color: var(--muted); transition: color 0.35s; }
.school:hover .school__num, .school:focus-visible .school__num { color: var(--accent-ink); }
.school__go {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: transform 0.35s var(--ease), border-color 0.35s, background-color 0.35s;
}
.school__go .i { width: 18px; height: 18px; transform: rotate(-45deg); }
.school:hover .school__go, .school:focus-visible .school__go { transform: rotate(45deg); border-color: var(--accent-ink); background: var(--accent-ink); color: var(--accent); }
.school__name { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.school__line { color: var(--muted); font-size: 0.9875rem; transition: color 0.35s; }
.school__courses { font-size: 0.875rem; font-weight: 500; color: var(--paper); opacity: 0.75; transition: color 0.35s; }
.school:hover .school__line, .school:hover .school__courses,
.school:focus-visible .school__line, .school:focus-visible .school__courses { color: var(--accent-ink); opacity: 1; }

.school--cta {
  border: 1px dashed rgba(1, 236, 11, 0.5); background: transparent; justify-content: space-between;
}
.school--cta::before { display: none; }
.school--cta p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; }
.school--cta .btn { align-self: flex-start; }

/* Full course catalog (static, crawlable) */
.catalog { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.catalog__head { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 32px); }
.catalog__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.05; }
.catalog__sub { color: var(--muted); max-width: 36ch; }
.catalog__school { border-bottom: 1px solid var(--line); }
.catalog__school:first-child { border-top: 1px solid var(--line); }
.catalog__school summary {
  display: grid; grid-template-columns: 44px 1fr auto 36px; align-items: center; gap: 16px; min-height: 68px; padding: 14px 0;
  cursor: pointer; list-style: none;
}
.catalog__school summary::-webkit-details-marker { display: none; }
.catalog__school summary::after {
  content: ""; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--paper), var(--paper)) center / 12px 2px no-repeat,
    linear-gradient(var(--paper), var(--paper)) center / 2px 12px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.catalog__school[open] summary::after {
  transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
}
.catalog__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.9375rem; }
.catalog__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.catalog__count { font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.catalog__school summary:hover .catalog__name { color: var(--accent); }
.catalog__body { padding: 0 0 24px 60px; }
.catalog__line { color: var(--muted); margin-bottom: 16px; max-width: 60ch; }
.catalog .course { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 0; }
.catalog .course:first-child { padding-top: 14px; }

/* Formats */
.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.format {
  display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 280px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.format__num { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.format__title { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.05; }
.format p { color: var(--muted); }
.format--feature { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.format--feature .format__num, .format--feature p { color: var(--accent-ink); }
.format--feature .pill-tbc { border-color: rgba(6, 9, 6, 0.35); color: var(--accent-ink); }
.pill-tbc {
  align-self: flex-start; padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--line-strong);
  font-size: 0.8125rem; font-weight: 600; color: var(--muted);
}

.tracks { margin-top: clamp(56px, 8vw, 96px); }
.tracks__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.track { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 4fr); gap: 16px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.track__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.track__name svg { width: 14px; height: 14px; fill: var(--accent); }
.track__path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.track__step { padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.9375rem; font-weight: 500; }
.track__arrow { width: 16px; height: 16px; color: var(--muted); }

/* Why */
.why { background: var(--ink-2); border-block: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.why__list { counter-reset: why; }
.why__list li {
  counter-increment: why; display: grid; grid-template-columns: 72px 1fr; gap: 6px 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list li::before {
  content: "0" counter(why); grid-row: span 2;
  font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.25px var(--accent);
}
.why__list h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.2; }
.why__list p { color: var(--muted); max-width: 52ch; }

/* How */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step__num {
  display: block; margin-bottom: 40px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 7vw, 6.5rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--accent);
}
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Who */
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.who .lead { margin-top: 28px; }
.reassure {
  display: inline-flex; align-items: flex-start; gap: 12px; margin-top: 32px; padding: 16px 20px;
  border-radius: 18px; background: var(--accent-soft); border: 1px solid rgba(1, 236, 11, 0.35);
  font-weight: 600; max-width: 46ch;
}
.reassure svg { width: 20px; height: 20px; fill: var(--accent); flex: none; margin-top: 2px; }
.who__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.who__cards li { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-height: 200px; display: flex; flex-direction: column; gap: 10px; }
.who__cards h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: auto; padding-bottom: 24px; }
.who__cards p { color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child { display: grid; gap: 20px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 18px 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 1.6vw, 1.375rem); cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--paper), var(--paper)) center / 12px 2px no-repeat,
    linear-gradient(var(--paper), var(--paper)) center / 2px 12px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq__list details[open] summary::after {
  transform: rotate(45deg); background-color: var(--accent);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  border-color: var(--accent);
}
.faq__list details p { padding: 0 56px 24px 0; color: var(--muted); }

/* Placeholder copy still to confirm (search the HTML for data-confirm) */
.tbc { color: var(--muted); text-decoration: underline dashed rgba(246, 169, 40, 0.6); text-underline-offset: 4px; }

/* CTA */
.cta { position: relative; overflow: hidden; padding-block: clamp(104px, 14vw, 200px); border-top: 1px solid var(--line); text-align: center; }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(45% 60% at 50% 55%, rgba(1, 236, 11, 0.22), transparent 70%); pointer-events: none; }
.cta__inner { position: relative; display: grid; justify-items: center; gap: 28px; }
.cta__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.25rem, 11vw, 10.5rem); line-height: 0.88; letter-spacing: -0.05em; text-wrap: balance;
}
.cta .lead { margin-inline: auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.footer .lockup img { height: 40px; }
.footer__line { margin-top: 18px; color: var(--muted); max-width: 40ch; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); border-radius: 999px; transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }

/* ---------- Modals ---------- */
.modal {
  width: min(680px, calc(100% - 32px)); max-height: min(92vh, 960px); padding: 0; border: 0;
  background: transparent; color: var(--paper); overflow: visible;
}
.modal::backdrop { background: rgba(6, 9, 6, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] .modal__panel { animation: modal-in 0.4s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__panel {
  max-height: min(92vh, 960px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(1, 236, 11, 0.06);
}
.modal__head {
  position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 28px 28px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.modal__title { margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1; letter-spacing: -0.03em; }
.modal__sub { margin-top: 10px; color: var(--muted); max-width: 48ch; }
.modal__close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: transparent; transition: background-color 0.2s, color 0.2s;
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { background: var(--paper); color: var(--ink); }
.modal__body { padding: 24px 28px 28px; }

.lead-frame { min-height: 480px; border-radius: 18px; background: var(--paper); overflow: hidden; }
.lead-frame iframe { display: block; }
.lead-frame__loading { display: grid; place-items: center; min-height: 480px; color: #3b443c; font-weight: 500; }

.course-list { display: grid; }
.course { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.course:first-child { padding-top: 0; }
.course__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; }
.course__desc { grid-column: 1; color: var(--muted); font-size: 0.9375rem; }
.course__level {
  grid-column: 2; grid-row: 1 / span 2; align-self: start; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.course-cta { margin-top: 24px; width: 100%; }

body:has(.modal[open]) { overflow: hidden; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Motion layer (GSAP) ---------- */
.curtain, .progress { display: none; }
.gsap .curtain { display: block; position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.gsap.intro-seen .curtain { display: none; }
.curtain__layer { position: absolute; inset: 0; }
.curtain__layer--green { background: var(--accent); }
.curtain__layer--ink { background: var(--ink); display: grid; place-items: center; }
.curtain__logo { display: flex; align-items: center; gap: 14px; }
.curtain__logo img { height: clamp(36px, 6vw, 60px); width: auto; }
.gsap .progress {
  display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}
.gsap .reveal { transition: none; }
.gsap .marquee__track { animation: none; }
.gsap .chip { animation: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.02em 0.14em; margin: -0.04em -0.02em -0.14em; }
.w__i { display: inline-block; will-change: transform; }
.programs, .why { transform-origin: 50% 0; }
@media (min-width: 768px) {
  .gsap .gallery { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .gsap .gallery__viewport { overflow: hidden; scroll-snap-type: none; }
  .gsap .gallery__bar { display: block; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .schools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip:nth-child(odd) { left: -10%; }
  .chip:nth-child(even) { right: -8%; }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-grid; margin-left: auto; }
  .header__cta { display: none; }
  .nav { position: absolute; inset: var(--header-h) 0 auto 0; margin: 0; }
  .nav__list {
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px;
    background: rgba(6, 9, 6, 0.97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav__list.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list a:not(.btn) { min-height: 56px; font-size: 1.25rem; font-family: var(--font-display); font-weight: 700; color: var(--paper); border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .nav__cta-mobile { display: block; margin-top: 20px; }
  .nav__cta-mobile .btn { width: 100%; min-height: 56px; }
  .header:has(.is-open) { background: rgba(6, 9, 6, 0.97); border-bottom-color: var(--line); }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 300px; margin-top: 24px; }
  .intro__grid, .why__grid, .who__grid, .faq__grid { grid-template-columns: 1fr; }
  .stack { max-width: 520px; margin-inline: auto; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__head { position: static; }
  .why__head { position: static; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; margin-left: -12px; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .lockup img { height: 24px; }
  .lockup__tag { height: 22px; font-size: 0.625rem; padding: 0 8px; }
  .hero__actions .btn { width: 100%; }
  .hero__media { max-width: 230px; }
  .chip { font-size: 0.8125rem; padding: 6px 12px; }
  .chip:nth-child(odd) { left: -30%; }
  .chip:nth-child(even) { right: -28%; }
  .schools, .format-grid, .steps, .who__cards { grid-template-columns: 1fr; }
  .shot, .shot--wide, .shot--tall, .shot--square { height: auto; }
  .shot--wide { width: 84vw; aspect-ratio: 4 / 3; }
  .shot--tall { width: 68vw; aspect-ratio: 4 / 5; }
  .shot--square { width: 76vw; aspect-ratio: 1; }
  .shot figcaption { font-size: 0.75rem; }
  .catalog__school summary { grid-template-columns: 32px 1fr 36px; gap: 12px; }
  .catalog__count { display: none; }
  .catalog__body { padding-left: 0; }
  .school { min-height: 240px; padding: 24px; }
  .format, .step, .who__cards li { min-height: 0; padding: 24px; }
  .step__num { margin-bottom: 24px; }
  .track { grid-template-columns: 1fr; gap: 12px; }
  .why__list li { grid-template-columns: 52px 1fr; gap: 4px 16px; }
  .why__list li::before { font-size: 1.875rem; }
  .faq__list details p { padding-right: 0; }
  .modal { width: 100%; max-width: none; max-height: 100dvh; margin: auto 0 0; }
  .modal__panel { max-height: 94dvh; border-radius: 28px 28px 0 0; }
  .modal__head { padding: 22px 20px 16px; }
  .modal__body { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
