/* ============================================================
   THE LEARNING PLANET — site stylesheet
   Base design system ported from the landing page, extended
   for the full multi-page site.
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #fbfcfd;
  --surface: #f5f7fa;
  --surface-2: #eef1f5;
  --line: #e3e7ec;
  --line-strong: #d3d9e1;
  --ink: #131820;
  --muted: #687180;
  --subtle: #8c96a5;
  --violet: #6555ff;
  --violet-2: #886fff;
  --sky: #38bdf8;
  --orange: #ff7d2f;
  --yellow: #ffc83d;
  --mint: #25ceb1;
  --rose: #eb4d8f;
  --gold: #e8a012;
  --shadow-sm: 0 8px 24px rgba(26, 33, 43, 0.06);
  --shadow-md: 0 20px 60px rgba(26, 33, 43, 0.09);
  --shadow-lg: 0 35px 100px rgba(30, 36, 47, 0.13);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --content: 1240px;
  --px: 0;
  --py: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(101, 85, 255, .055), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, .055), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(101, 85, 255, .18); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-shell { min-height: 100vh; }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--violet));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent, var(--violet)) 10%, transparent);
}

.section-title {
  margin: 14px 0 14px;
  max-width: 760px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.section-copy {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

/* ---------- Announcement bar ---------- */
.announce {
  position: relative;
  z-index: 101;
  background: linear-gradient(100deg, #171c26, #232b3a 55%, #1c2f4a);
  color: #cfd6e2;
  font-size: .78rem;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 40px;
  padding-block: 7px;
  text-align: center;
}
.announce strong { color: #fff; }
.announce a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s ease, transform .2s ease;
}
.announce a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.announce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(37, 206, 177, .5);
  animation: pingDot 1.8s ease-out infinite;
}
@keyframes pingDot { 70% { box-shadow: 0 0 0 9px rgba(37, 206, 177, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 206, 177, 0); } }

/* ---------- Navigation ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0 8px;
  transition: padding .25s ease;
}
.nav-wrap.is-scrolled { padding-top: 8px; }
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(216, 222, 230, .88);
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 10px 40px rgba(39, 47, 60, .055);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav-wrap.is-scrolled .nav {
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 12px 44px rgba(39, 47, 60, .09);
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 178px; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.brand-name {
  display: grid;
  font-family: "Space Grotesk", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.03em;
}
.brand-name small {
  margin-top: 6px;
  color: var(--subtle);
  font-family: Inter, sans-serif;
  font-size: .49rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > a,
.nav-links .drop-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: #515a68;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease;
}
.nav-links > a::after,
.nav-links .drop-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
  transform: translateX(-50%) scale(0);
  transition: transform .2s ease;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-links .drop-toggle:hover, .nav-links .drop-toggle.active { color: var(--ink); background: var(--surface); }
.nav-links > a.active::after,
.nav-links .drop-toggle.active::after { transform: translateX(-50%) scale(1); }

.nav-drop { position: relative; }
.nav-drop .chev { width: 11px; height: 11px; transition: transform .2s ease; }
.nav-drop.open .chev, .nav-drop:hover .chev { transform: rotate(180deg); }
.drop-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  width: 330px;
  padding: 10px;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel,
.nav-drop.open .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  transition: background .18s ease;
}
.drop-item:hover { background: var(--surface); }
.drop-item:hover .drop-go { opacity: 1; transform: translateX(0); }
.drop-planet {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, color-mix(in srgb, var(--accent) 60%, white) 22%, var(--accent) 62%, color-mix(in srgb, var(--accent) 68%, black));
  box-shadow: inset -4px -5px 8px rgba(0, 0, 0, .18), 0 4px 10px color-mix(in srgb, var(--accent) 30%, transparent);
}
.drop-text { display: grid; }
.drop-text strong { font-size: .88rem; letter-spacing: -.01em; }
.drop-text small { margin-top: 2px; color: var(--subtle); font-size: .7rem; }
.drop-go { margin-left: auto; color: var(--subtle); opacity: 0; transform: translateX(-5px); transition: opacity .18s ease, transform .18s ease; }
.drop-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 4px 2px;
  padding: 11px;
  color: var(--violet);
  font-size: .82rem;
  font-weight: 700;
  border-top: 1px solid var(--line);
}
.drop-all:hover span { transform: translateX(3px); }
.drop-all span { transition: transform .2s ease; }

.nav-actions { display: flex; align-items: center; gap: 8px; min-width: 178px; justify-content: flex-end; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle.open span { opacity: 0; }
.menu-toggle.open::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}
.mobile-panel.open { display: grid; gap: 4px; animation: panelIn .22s ease both; }
.mobile-panel a { padding: 13px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; }
.mobile-panel a:hover { color: var(--ink); background: var(--surface); }
.mobile-programs { display: grid; gap: 2px; margin: 2px 0 2px 8px; padding-left: 10px; border-left: 2px solid var(--line); }
.mobile-programs a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .9rem; }
.mobile-programs .drop-planet { flex-basis: 20px; width: 20px; height: 20px; }
.mobile-cta { color: var(--violet) !important; font-weight: 800; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-color: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  overflow: hidden;
  color: var(--btn-color);
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21, 26, 34, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -100%;
  z-index: -1;
  background: conic-gradient(from 90deg, transparent, rgba(255,255,255,.25), transparent 25%);
  animation: buttonSheen 4.5s linear infinite;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(21, 26, 34, .16); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --btn-bg: linear-gradient(120deg, var(--violet), #7a64ff); }
.btn-accent { --btn-bg: linear-gradient(120deg, var(--accent, var(--violet)), color-mix(in srgb, var(--accent, var(--violet)) 70%, #fff)); }
.btn-light {
  --btn-bg: #fff;
  --btn-color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost::before { display: none; }
.btn-sm { min-height: 46px; padding-inline: 19px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
@keyframes buttonSheen { to { transform: rotate(360deg); } }

.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: .87rem; font-weight: 700; white-space: nowrap; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Flash messages ---------- */
.flash {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid;
  border-radius: 16px;
  animation: panelIn .3s ease both;
}
.flash p { margin: 0; font-size: .9rem; font-weight: 600; }
.flash-success { color: #0c6b52; border-color: rgba(37, 206, 177, .4); background: rgba(37, 206, 177, .1); }
.flash-error { color: #a03c22; border-color: rgba(255, 125, 47, .4); background: rgba(255, 125, 47, .1); }
.flash-icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.flash-success .flash-icon { background: #1db894; }
.flash-error .flash-icon { background: var(--orange); }
.flash-close { margin-left: auto; border: 0; background: none; color: inherit; font-size: 1.2rem; cursor: pointer; opacity: .6; }
.flash-close:hover { opacity: 1; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 780px;
  padding: 64px 0 46px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 31, 41, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 31, 41, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 56%;
  top: 19%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 85, 255, .1), rgba(56, 189, 248, .045) 34%, transparent 70%);
  filter: blur(20px);
  animation: ambientBreath 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ambientBreath {
  0%, 100% { transform: scale(.86); opacity: .55; }
  50% { transform: scale(1.08); opacity: .95; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 44px;
}
.hero-copy { padding: 22px 0 18px; }
.hero h1 {
  margin: 15px 0 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem, 7.2vw, 6.6rem);
  line-height: .85;
  letter-spacing: -.07em;
}
.hero h1 span { display: block; }
.hero h1 .accent {
  color: var(--violet);
  background: linear-gradient(110deg, #5e50ff, #856aff 58%, #38bdf8 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}
.play-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 18px rgba(21, 26, 34, .06);
  transition: transform .2s ease;
}
.play-link:hover .play-icon { transform: scale(1.08); }
.social-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.avatars { display: flex; }
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(22, 28, 38, .12);
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(1) { background: linear-gradient(135deg, #ffbd70, #f26a5a); }
.avatar:nth-child(2) { background: linear-gradient(135deg, #55d3c1, #2788b5); }
.avatar:nth-child(3) { background: linear-gradient(135deg, #9876ff, #5a4cce); }
.avatar:nth-child(4) { background: linear-gradient(135deg, #f4d35e, #e87624); }
.social-proof p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.social-proof strong { color: var(--ink); }

/* ---------- Interactive 6-planet solar system ---------- */
.solar-stage {
  position: relative;
  min-height: 640px;
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 10px), 0);
  transition: transform .35s ease-out;
}
.solar-system {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(640px, 100%);
  aspect-ratio: 1;
}
.solar-system::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 35%, rgba(255,255,255,.85), rgba(255,255,255,.25) 34%, transparent 68%);
  filter: blur(2px);
  animation: haloBreath 5s ease-in-out infinite;
}
@keyframes haloBreath {
  0%, 100% { transform: scale(.94); opacity: .5; }
  50% { transform: scale(1.06); opacity: .95; }
}

/* Each subject rides its own orbit ring. --i staggers start angle via
   negative delays; the satellite counter-rotates to keep labels upright. */
.s-orbit {
  position: absolute;
  inset: var(--inset);
  border: 1px dashed rgba(104, 113, 128, .2);
  border-radius: 50%;
  animation: orbitSpin var(--speed) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}
.solar-system:hover .s-orbit,
.solar-system:hover .s-sat { animation-play-state: paused; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.s-sat {
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
  animation: satSpin var(--speed) linear infinite;
  animation-delay: var(--delay);
}
/* Counter-rotation must restate the centering translate, or the
   single-keyframe interpolation would drop it mid-cycle. */
@keyframes satSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
.s-dot {
  width: var(--size, 18px);
  height: var(--size, 18px);
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, #fff, color-mix(in srgb, var(--accent) 58%, white) 22%, var(--accent) 60%, color-mix(in srgb, var(--accent) 65%, black));
  box-shadow: inset -5px -6px 10px rgba(0, 0, 0, .2), 0 8px 18px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform .25s ease;
}
.s-tag {
  padding: 4px 10px;
  color: var(--ink);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px rgba(24, 31, 42, .1);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.s-sat:hover .s-dot, .s-sat:focus-visible .s-dot { transform: scale(1.35); }
.s-sat:hover .s-tag, .s-sat:focus-visible .s-tag {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
  transform: translateY(2px) scale(1.06);
}

.planet-main {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 27%, rgba(255,255,255,.96), rgba(255,255,255,.38) 12%, transparent 25%),
    radial-gradient(circle at 62% 66%, rgba(105, 112, 124, .5), transparent 28%),
    radial-gradient(circle at 44% 42%, #f7f8fa, #cbd0d8 55%, #8f98a6 82%, #67717f 100%);
  box-shadow:
    inset -24px -28px 45px rgba(60, 70, 82, .24),
    inset 16px 14px 30px rgba(255,255,255,.75),
    0 40px 90px rgba(48, 57, 71, .18),
    0 0 0 1px rgba(91, 102, 117, .08);
  animation: planetBreath 5s ease-in-out infinite;
  will-change: transform;
}
.planet-main::before,
.planet-main::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(111, 121, 135, .16);
  box-shadow: inset 3px 3px 7px rgba(86, 95, 109, .18), inset -2px -2px 5px rgba(255,255,255,.45);
}
.planet-main::before { width: 25px; height: 25px; left: 29%; top: 25%; }
.planet-main::after { width: 38px; height: 38px; right: 22%; bottom: 27%; }
@keyframes planetBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(.98) rotate(-1deg); }
  50% { transform: translate(-50%, -50%) scale(1.035) rotate(1deg); }
}
.planet-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 59%;
  height: 18%;
  transform: translate(-50%, -50%) rotate(-15deg);
  border: 9px solid rgba(255,255,255,.9);
  border-left-color: #a9b0ba;
  border-bottom-color: #7f8997;
  border-radius: 50%;
  filter: drop-shadow(0 12px 10px rgba(29, 37, 48, .14));
  animation: ringFloat 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ringFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-15deg) scale(.98); }
  50% { transform: translate(-50%, -53%) rotate(-13deg) scale(1.03); }
}
.tiny-star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7b8492;
  opacity: .5;
  animation: twinkle var(--twinkle, 3s) ease-in-out infinite;
}
@keyframes twinkle { 50% { opacity: 1; transform: scale(1.7); } }

.stage-cta {
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stage-cta:hover { transform: translateX(-50%) translateY(-3px); box-shadow: var(--shadow-md); }

/* Comets streaking across the hero */
.comet {
  position: absolute;
  width: 130px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(101, 85, 255, 0), rgba(101, 85, 255, .55) 55%, #fff);
  filter: drop-shadow(0 0 6px rgba(101, 85, 255, .45));
  opacity: 0;
  transform: rotate(-24deg);
  animation: cometFly var(--dur, 7s) linear infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}
.comet::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px rgba(120, 108, 255, .65);
}
@keyframes cometFly {
  0% { opacity: 0; transform: rotate(-24deg) translateX(-140px); }
  6% { opacity: 1; }
  16% { opacity: 1; }
  24% { opacity: 0; transform: rotate(-24deg) translateX(60vw); }
  100% { opacity: 0; transform: rotate(-24deg) translateX(60vw); }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.stat { text-align: center; padding: 6px 8px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -.05em;
}
.stat small { color: var(--muted); font-size: .74rem; font-weight: 600; }

/* ---------- Trust row ---------- */
.trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto repeat(5, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: 34px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: #858e9b;
}
.trust-row small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.trust-row span { text-align: center; font-family: Georgia, serif; font-size: 1.12rem; filter: grayscale(1); }
.trust-row span:nth-child(3) { font-family: Inter, sans-serif; font-weight: 800; font-size: .92rem; }
.trust-row span:nth-child(4) { font-family: Inter, sans-serif; font-weight: 700; font-size: .74rem; letter-spacing: .18em; }

/* ---------- Wins marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid var(--line);
  background: #fff;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { color: var(--muted); font-size: .84rem; font-weight: 600; white-space: nowrap; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 108px 0; }
.section-soft { background: linear-gradient(180deg, rgba(245,247,250,.72), rgba(255,255,255,.94)); }
.section-tight { padding: 76px 0; }

/* ---------- Feature panel ---------- */
.feature-panel {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(101,85,255,.07), transparent 22rem),
    #fff;
  box-shadow: var(--shadow-md);
}
.feature-panel::before {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -42%;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #fff, #e1e4e9 56%, #b9c0ca 100%);
  opacity: .8;
}
.feature-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.feature-head h2 {
  max-width: 500px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.feature-head p { max-width: 330px; margin: 0; color: var(--muted); line-height: 1.6; }
.feature-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(30,38,50,.045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(101,85,255,.22); box-shadow: 0 22px 50px rgba(30,38,50,.09); }
.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--icon, var(--violet));
  box-shadow: 0 8px 24px rgba(34,43,55,.06);
}
.icon-box svg { width: 23px; height: 23px; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }

/* ---------- Section heads ---------- */
.courses-head, .journey-head, .why-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.courses-head h2, .journey-head h2, .why-head h2 {
  margin: 0;
  max-width: 720px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

/* ---------- Program cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.course-card {
  --accent: var(--violet);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.course-card:hover { border-color: color-mix(in srgb, var(--accent) 25%, transparent); box-shadow: var(--shadow-md); }
.course-visual {
  position: relative;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 35%, white), transparent 26%),
    linear-gradient(180deg, #f7f8fb, #eceff4);
  border-bottom: 1px solid var(--line);
}
.course-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: radial-gradient(circle, #7e8794 1px, transparent 1.5px);
  background-size: 27px 27px;
  mask-image: radial-gradient(circle at center, black, transparent 73%);
}
.mini-planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff, color-mix(in srgb, var(--accent) 62%, white) 20%, var(--accent) 58%, color-mix(in srgb, var(--accent) 70%, black));
  box-shadow: inset -14px -16px 24px rgba(0,0,0,.18), 0 22px 44px color-mix(in srgb, var(--accent) 24%, transparent);
  animation: miniFloat 5s ease-in-out infinite;
}
.mini-planet::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 148%;
  height: 36%;
  transform: translate(-50%, -50%) rotate(-13deg);
  border: 7px solid color-mix(in srgb, var(--accent) 55%, white);
  border-left-color: color-mix(in srgb, var(--accent) 82%, black);
  border-bottom-color: color-mix(in srgb, var(--accent) 75%, black);
  border-radius: 50%;
  opacity: .88;
}
.course-card:nth-child(2) .mini-planet { animation-delay: -.8s; }
.course-card:nth-child(3) .mini-planet { animation-delay: -1.6s; }
.course-card:nth-child(4) .mini-planet { animation-delay: -2.4s; }
.course-card:nth-child(5) .mini-planet { animation-delay: -3.2s; }
.course-card:nth-child(6) .mini-planet { animation-delay: -4s; }
@keyframes miniFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(5px) rotate(-1deg); }
  50% { transform: translate(-50%, -50%) translateY(-8px) rotate(1deg); }
}
.course-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 5px 11px;
  color: color-mix(in srgb, var(--accent) 80%, black);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 13%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, white);
}
.course-content { position: relative; display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.course-label { margin: 0 0 6px; color: var(--subtle); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.course-content h3 { margin: 0 0 6px; font-family: "Space Grotesk", sans-serif; font-size: 1.28rem; letter-spacing: -.035em; }
.course-tagline { margin: 0 0 14px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.course-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .78rem; color: var(--muted); }
.rating-stars { color: var(--gold); letter-spacing: 1px; font-size: .82rem; }
.rating-row b { color: var(--ink); }
.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; letter-spacing: -.03em; }
.price s { color: var(--subtle); font-size: .8rem; }
.round-link {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.course-card:hover .round-link { transform: translateX(4px); color: #fff; background: var(--accent); border-color: transparent; }

/* ---------- Journey metrics ---------- */
.journey-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.journey-head { margin-bottom: 26px; }
.journey-head h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.metrics { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 0; }
.metric {
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 18px 28px;
  border-left: 1px solid var(--line);
}
.metric:first-child { border-left: 0; padding-left: 0; }
.metric strong { display: block; margin-top: 8px; font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; letter-spacing: -.05em; }
.metric small { color: var(--muted); }
.metric-icon { margin-right: 13px; font-size: 1.55rem; }
.progress-ring {
  --progress: 72;
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: conic-gradient(var(--violet) calc(var(--progress) * 1%), var(--surface-2) 0);
  box-shadow: inset 0 0 0 1px rgba(101,85,255,.05);
  animation: progressPulse 4s ease-in-out infinite;
}
.progress-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.progress-ring .inside { position: relative; z-index: 1; text-align: center; }
.progress-ring b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; line-height: 1; }
.progress-ring small { font-size: .68rem; }
@keyframes progressPulse { 50% { box-shadow: 0 0 0 10px rgba(101,85,255,.05); } }

/* ---------- Why / parents ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.why-card, .portrait-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.why-card { padding: 38px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.why-item { padding: 22px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); transition: transform .25s ease, background .25s ease; }
.why-item:hover { transform: translateY(-5px); background: #fff; }
.why-item .mini-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; color: var(--violet); background: rgba(101,85,255,.09); }
.why-item h3 { margin: 0 0 8px; font-size: 1rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }

.portrait-card {
  position: relative;
  min-height: 510px;
  background:
    radial-gradient(circle at 68% 34%, rgba(101,85,255,.14), transparent 30%),
    linear-gradient(150deg, #f8f9fb, #eef1f5);
}
.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(88,97,109,.22) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: linear-gradient(135deg, transparent 10%, #000 55%, transparent 95%);
}
.portrait-copy { position: relative; z-index: 2; padding: 38px; max-width: 360px; }
.portrait-copy h3 { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; line-height: 1; letter-spacing: -.05em; }
.portrait-copy p { margin: 0; color: var(--muted); line-height: 1.65; }

.astronaut-kid {
  position: absolute;
  right: 4%;
  bottom: -4%;
  width: 60%;
  min-width: 300px;
  filter: drop-shadow(0 30px 35px rgba(38,47,61,.18));
  animation: astronautFloat 5.5s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes astronautFloat {
  0%, 100% { transform: translateY(5px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* ---------- Success stories ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-card {
  --accent: var(--violet);
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story-quote { margin: 0 0 20px; font-size: .95rem; line-height: 1.7; color: #3c4452; }
.story-quote::before { content: "“"; color: var(--accent); font-family: Georgia, serif; font-size: 1.6rem; line-height: 0; margin-right: 2px; }
.story-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.story-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--accent) 55%, white), var(--accent) 70%);
  box-shadow: inset -4px -5px 8px rgba(0,0,0,.14);
}
.story-foot b { display: block; font-size: .86rem; }
.story-foot small { color: var(--subtle); font-size: .72rem; }
.story-result {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  color: color-mix(in srgb, var(--accent) 75%, black);
  font-size: .7rem;
  font-weight: 800;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, white);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, white);
}

/* ---------- Testimonial (big quote) ---------- */
.testimonial-card {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 365px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.quote-area { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.quote-mark { color: var(--violet); font-family: Georgia, serif; font-size: 4.7rem; line-height: .5; }
blockquote { margin: 14px 0 24px; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -.045em; }
.quote-author { color: var(--muted); font-size: .86rem; }
.space-window {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(135,106,255,.7), transparent 18%),
    radial-gradient(circle at 30% 70%, rgba(53,187,246,.45), transparent 22%),
    linear-gradient(135deg, #11182d 0%, #261b55 48%, #172748 100%);
  clip-path: ellipse(93% 100% at 100% 50%);
}
.space-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, white 1px, transparent 1.5px);
  background-size: 36px 36px;
  opacity: .5;
}
.window-ring {
  position: absolute;
  left: 7%;
  top: 50%;
  width: 106%;
  height: 130%;
  transform: translateY(-50%);
  border: 26px solid rgba(255,255,255,.85);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(99,111,128,.26), -20px 0 50px rgba(255,255,255,.25);
}
.silhouette { position: absolute; left: 16%; bottom: -20px; width: 170px; height: 245px; }
.silhouette::before { content: ""; position: absolute; left: 44px; top: 0; width: 83px; height: 83px; border-radius: 50%; background: #0e1321; box-shadow: inset 15px 8px 20px rgba(255,255,255,.05); }
.silhouette::after { content: ""; position: absolute; left: 15px; bottom: 0; width: 150px; height: 175px; border-radius: 70px 70px 20px 20px; background: #0e1321; }
.window-planet { position: absolute; border-radius: 50%; box-shadow: inset -10px -12px 18px rgba(0,0,0,.24), 0 10px 26px rgba(0,0,0,.18); animation: miniFloat 6s ease-in-out infinite; }
.window-planet.p1 { right: 17%; top: 17%; width: 76px; height: 76px; background: radial-gradient(circle at 30% 28%, #fff, #8c70ff 22%, #563dd0 70%); }
.window-planet.p2 { right: 35%; bottom: 13%; width: 42px; height: 42px; background: radial-gradient(circle at 30% 28%, #fff, #ff9b56 23%, #e95319 70%); animation-delay: -2s; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  min-height: 330px;
  padding: 54px 58px;
  color: #fff;
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 25%, rgba(255,255,255,.28), transparent 17%),
    linear-gradient(115deg, #5845f8, #755aff 48%, #32bfe9 105%);
  box-shadow: 0 30px 90px rgba(92, 72, 237, .28);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.72) 1px, transparent 1.4px);
  background-size: 32px 32px;
  opacity: .16;
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}
.cta-copy { position: relative; z-index: 2; }
.cta h2 { margin: 0 0 18px; max-width: 650px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.45rem, 5vw, 5rem); line-height: .94; letter-spacing: -.062em; }
.cta p { max-width: 560px; margin: 0 0 28px; color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.65; }
.cta .btn-light { border-color: rgba(255,255,255,.55); }
.rocket-wrap { position: relative; min-height: 240px; }
.rocket {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 180px;
  transform: translate(-50%, -50%) rotate(24deg);
  animation: rocketFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 25px 25px rgba(23,22,78,.28));
}
@keyframes rocketFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(24deg) translateY(6px); }
  50% { transform: translate(-50%, -50%) rotate(21deg) translateY(-12px); }
}
.rocket-trail {
  position: absolute;
  left: 30%;
  bottom: 12%;
  width: 180px;
  height: 75px;
  background: radial-gradient(ellipse, rgba(255,255,255,.9), rgba(255,206,82,.64) 28%, transparent 69%);
  filter: blur(7px);
  transform: rotate(25deg);
  animation: trailPulse 1.6s ease-in-out infinite;
}
@keyframes trailPulse { 50% { opacity: .55; transform: rotate(25deg) scaleX(.82); } }

/* ============================================================
   INNER-PAGE COMPONENTS
   ============================================================ */

/* ---------- Page hero (programs / about / contact / enroll) ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 31, 41, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 31, 41, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  margin: 14px 0 16px;
  max-width: 820px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.06em;
}

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; color: var(--subtle); font-size: .76rem; font-weight: 600; }
.crumbs a { color: var(--muted); transition: color .2s ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .6; }
.crumbs .here { color: var(--ink); }

/* ---------- Category filter ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 34px; }
.filter-btn {
  padding: 10px 18px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-btn.active { color: #fff; background: var(--ink); border-color: var(--ink); }

/* ---------- Program detail hero ---------- */
.program-hero {
  --accent: var(--violet);
  position: relative;
  padding: 56px 0 60px;
  overflow: hidden;
}
.program-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
    radial-gradient(circle at 8% 90%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 30%);
  pointer-events: none;
}
.program-hero .container { position: relative; z-index: 2; }
.program-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.program-hero h1 {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.program-tagline { margin: 0 0 20px; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.65; max-width: 560px; }
.program-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.program-hero .rating-row { margin-bottom: 24px; font-size: .84rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Orbit visual on program pages */
.program-visual { position: relative; min-height: 430px; }
.p-orbit-stage { position: absolute; inset: 0; margin: auto; width: min(430px, 100%); aspect-ratio: 1; }
.p-orbit {
  position: absolute;
  inset: var(--inset, 0);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, #9aa3b0);
  border-radius: 50%;
  animation: orbitSpin var(--speed, 22s) linear infinite;
}
.p-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: var(--size, 15px);
  height: var(--size, 15px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, #fff, color-mix(in srgb, var(--accent) 55%, white) 24%, var(--accent) 64%, color-mix(in srgb, var(--accent) 62%, black));
  box-shadow: inset -4px -5px 8px rgba(0,0,0,.2), 0 6px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.p-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, color-mix(in srgb, var(--accent) 58%, white) 20%, var(--accent) 58%, color-mix(in srgb, var(--accent) 68%, black));
  box-shadow: inset -20px -24px 40px rgba(0,0,0,.2), inset 12px 12px 26px rgba(255,255,255,.5), 0 34px 80px color-mix(in srgb, var(--accent) 32%, transparent);
  animation: planetBreath 5.5s ease-in-out infinite;
}
.p-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 146%;
  height: 34%;
  transform: translate(-50%, -50%) rotate(-14deg);
  border: 10px solid rgba(255,255,255,.92);
  border-left-color: color-mix(in srgb, var(--accent) 62%, black);
  border-bottom-color: color-mix(in srgb, var(--accent) 50%, black);
  border-radius: 50%;
  filter: drop-shadow(0 10px 10px rgba(29,37,48,.15));
}
.p-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 6vw, 4.4rem);
  filter: drop-shadow(0 10px 16px rgba(20,26,36,.3));
  animation: astronautFloat 5s ease-in-out infinite;
}

/* ---------- Highlight band ---------- */
.high-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.high-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; transition: background .2s ease; }
.high-item:hover { background: var(--surface); }
.high-check {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  background: var(--accent, var(--violet));
  box-shadow: 0 6px 14px color-mix(in srgb, var(--accent, var(--violet)) 35%, transparent);
}
.high-item p { margin: 0; font-size: .82rem; font-weight: 600; line-height: 1.4; }

/* ---------- Program body layout ---------- */
.program-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
.program-main > section { margin-bottom: 64px; }
.program-main h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  letter-spacing: -.045em;
}
.program-main .lede { margin: 0 0 26px; color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 620px; }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.outcome {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease;
}
.outcome:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent, var(--violet)) 30%, var(--line)); }
.outcome .high-check { margin-top: 1px; flex-basis: 24px; width: 24px; height: 24px; font-size: .62rem; }
.outcome p { margin: 0; font-size: .87rem; line-height: 1.55; }

/* ---------- Accordion (curriculum & FAQ) ---------- */
.acc { display: grid; gap: 10px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(30,38,50,.035);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.acc-item.open { border-color: color-mix(in srgb, var(--accent, var(--violet)) 30%, var(--line)); box-shadow: var(--shadow-sm); }
.acc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 19px 22px;
  color: var(--ink);
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
}
.acc-num {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 11px;
  color: color-mix(in srgb, var(--accent, var(--violet)) 80%, black);
  background: color-mix(in srgb, var(--accent, var(--violet)) 11%, white);
}
.acc-title { flex: 1; }
.acc-title b { display: block; font-size: .97rem; letter-spacing: -.01em; }
.acc-title small { display: block; margin-top: 3px; color: var(--subtle); font-size: .72rem; font-weight: 600; }
.acc-chev { flex: 0 0 auto; color: var(--subtle); transition: transform .3s ease; }
.acc-item.open .acc-chev { transform: rotate(180deg); }
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1);
}
.acc-body > div { overflow: hidden; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-content { padding: 0 22px 20px 70px; }
.acc-content p { margin: 0; color: var(--muted); font-size: .89rem; line-height: 1.7; }
.topic-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.topic-list li { position: relative; padding-left: 20px; color: #3f4856; font-size: .87rem; line-height: 1.5; }
.topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, var(--violet)) 75%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--violet)) 12%, transparent);
}

/* ---------- Mentor card ---------- */
.mentor-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--accent, var(--violet)) 8%, transparent), transparent 40%),
    #fff;
  box-shadow: var(--shadow-sm);
}
.mentor-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  background: radial-gradient(circle at 32% 26%, color-mix(in srgb, var(--accent, var(--violet)) 50%, white), var(--accent, var(--violet)) 68%);
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.18), 0 16px 34px color-mix(in srgb, var(--accent, var(--violet)) 30%, transparent);
}
.mentor-info b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; letter-spacing: -.02em; }
.mentor-role { display: inline-flex; margin: 7px 0 12px; padding: 4px 11px; color: color-mix(in srgb, var(--accent, var(--violet)) 78%, black); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; background: color-mix(in srgb, var(--accent, var(--violet)) 11%, white); }
.mentor-exp { margin-left: 8px; color: var(--subtle); font-size: .74rem; font-weight: 600; }
.mentor-info p { margin: 0; color: var(--muted); font-size: .89rem; line-height: 1.65; max-width: 520px; }

/* ---------- Enroll aside (sticky) ---------- */
.enroll-card {
  position: sticky;
  top: 118px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.enroll-band { height: 7px; background: linear-gradient(90deg, var(--accent, var(--violet)), color-mix(in srgb, var(--accent, var(--violet)) 55%, #fff)); }
.enroll-inner { padding: 24px; }
.enroll-price { display: flex; align-items: baseline; gap: 10px; }
.enroll-price b { font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; letter-spacing: -.04em; }
.enroll-price s { color: var(--subtle); font-size: .95rem; }
.save-badge { padding: 4px 10px; color: #0c6b52; font-size: .66rem; font-weight: 800; border-radius: 999px; background: rgba(37, 206, 177, .13); }
.enroll-monthly { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
.enroll-monthly b { color: var(--ink); }
.enroll-divider { height: 1px; margin: 18px 0; background: var(--line); }
.enroll-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: .82rem; }
.enroll-row small { color: var(--muted); font-weight: 600; }
.enroll-row b { font-size: .84rem; }
.seats { margin: 4px 0 18px; }
.seats-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.seats-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent, var(--violet)), color-mix(in srgb, var(--accent, var(--violet)) 60%, #fff)); animation: seatsGrow 1.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes seatsGrow { from { width: 0 !important; } }
.seats small { display: block; margin-top: 7px; color: #c2543a; font-size: .72rem; font-weight: 700; }
.enroll-list { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.enroll-list li { display: flex; align-items: center; gap: 10px; color: #3f4856; font-size: .82rem; }
.enroll-list .high-check { flex-basis: 20px; width: 20px; height: 20px; font-size: .56rem; }
.enroll-actions { display: grid; gap: 10px; }
.enroll-note { margin: 14px 0 0; color: var(--subtle); font-size: .72rem; text-align: center; line-height: 1.5; }
.enroll-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .78rem; font-weight: 600; }
.enroll-phone a { color: var(--ink); font-weight: 800; }

/* ---------- FAQ tweaks ---------- */
.faq .acc-content { padding-left: 22px; }
.faq .acc-head { padding-block: 17px; }
.faq .acc-title b { font-size: .93rem; }

/* ---------- Related programs ---------- */
.related-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.related-head h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.045em; }

/* ---------- About page ---------- */
.mission-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.mission-copy p { color: var(--muted); font-size: .98rem; line-height: 1.85; margin: 0 0 18px; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 22px rgba(30,38,50,.04); transition: transform .25s ease; }
.value-card:hover { transform: translateY(-6px); }
.value-emoji { font-size: 1.6rem; }
.value-card h3 { margin: 14px 0 8px; font-size: 1rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }

.timeline { position: relative; display: grid; gap: 0; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 13px);
}
.tl-item { position: relative; display: flex; gap: 24px; padding: 0 0 34px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-planet {
  position: relative;
  z-index: 2;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, color-mix(in srgb, var(--accent, var(--violet)) 55%, white) 24%, var(--accent, var(--violet)) 64%);
  box-shadow: inset -6px -7px 12px rgba(0,0,0,.18), 0 10px 22px color-mix(in srgb, var(--accent, var(--violet)) 30%, transparent);
}
.tl-body b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; letter-spacing: -.02em; }
.tl-body small { display: inline-block; margin: 4px 0 8px; color: var(--accent, var(--violet)); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tl-body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; max-width: 560px; }

/* ---------- Forms ---------- */
.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; }
.field label .req { color: var(--orange); }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(101, 85, 255, .12);
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23687180' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-error { color: #c2543a; font-size: .74rem; font-weight: 600; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #e0703f; background: #fff9f6; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--subtle); font-size: .74rem; max-width: 340px; line-height: 1.5; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .drop-planet { flex-basis: 22px; width: 22px; height: 22px; }
.pick b { font-size: .82rem; }
.pick:hover { background: #fff; }
.pick:has(input:checked) {
  background: #fff;
  border-color: var(--accent, var(--violet));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--violet)) 12%, transparent), var(--shadow-sm);
}
/* Fallback for browsers without :has() — ring the planet itself. */
.pick input:checked + .drop-planet { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent, var(--violet)), inset -4px -5px 8px rgba(0, 0, 0, .18); }
.pick:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30,38,50,.04);
  transition: transform .25s ease;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card .icon-box { margin-bottom: 0; flex: 0 0 48px; }
.contact-card h3 { margin: 2px 0 6px; font-size: .98rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.6; display: block; }
.contact-card a:hover { color: var(--ink); }

/* ---------- 404 / lost ---------- */
.lost { text-align: center; padding: 96px 0 110px; }
.lost .p-orbit-stage { position: relative; width: 260px; margin: 0 auto 30px; }
.lost h1 { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.055em; }
.lost p { margin: 0 auto 28px; max-width: 460px; color: var(--muted); line-height: 1.7; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ---------- Footer ---------- */
footer { padding: 82px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-intro p { max-width: 300px; margin: 20px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.footer-contact { display: grid; gap: 6px; margin-top: 16px; }
.footer-contact a { color: var(--ink); font-size: .84rem; font-weight: 700; }
.footer-contact a:hover { color: var(--violet); }
.footer-col h3 { margin: 0 0 18px; font-size: .88rem; }
.footer-col a { display: block; margin: 11px 0; color: var(--muted); font-size: .82rem; transition: color .2s ease, transform .2s ease; }
.footer-col a:hover { color: var(--ink); transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; color: var(--subtle); font-size: .75rem; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .2s ease, border-color .2s ease; }
.socials a:hover { transform: translateY(-3px); border-color: rgba(101,85,255,.3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-actions { min-width: 0; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .solar-stage { min-height: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .course-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr; }
  .portrait-card { min-height: 500px; }
  .testimonial-card { grid-template-columns: 1fr; }
  .space-window { min-height: 360px; clip-path: none; }
  .cta { grid-template-columns: 1fr; }
  .rocket-wrap { min-height: 220px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .program-hero-grid { grid-template-columns: 1fr; }
  .program-visual { min-height: 380px; }
  .program-layout { grid-template-columns: 1fr; }
  .enroll-card { position: static; }
  .high-band { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 720px) {
  .container { width: min(var(--content), calc(100% - 24px)); }
  .announce-inner { font-size: .72rem; }
  .nav { min-height: 64px; padding-left: 13px; }
  .brand-name { display: none; }
  .brand { min-width: 0; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.2rem); }
  .hero-lead { font-size: 1rem; }
  .solar-stage { min-height: 420px; }
  .s-tag { font-size: .54rem; padding: 3px 8px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-row small { grid-column: 1 / -1; text-align: center; }
  .trust-row span:last-child { display: none; }
  .section { padding: 78px 0; }
  .section-tight { padding: 58px 0; }
  .feature-panel { padding: 24px; border-radius: 26px; }
  .feature-head, .courses-head, .journey-head, .why-head, .related-head { align-items: flex-start; flex-direction: column; }
  .feature-grid, .course-grid, .course-grid.cols-4, .why-list, .stories-grid, .outcomes, .pick-grid, .value-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .metrics { grid-template-columns: 1fr; }
  .metric, .metric:first-child { min-height: 120px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
  .journey-card { padding: 24px; }
  .why-card { padding: 24px; }
  .portrait-card { min-height: 560px; }
  .portrait-copy { padding: 28px; }
  .astronaut-kid { width: 88%; right: -9%; }
  .quote-area { padding: 34px 26px; }
  .space-window { min-height: 300px; }
  .cta { padding: 40px 28px; border-radius: 28px; }
  .rocket-wrap { min-height: 205px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 16px; }
  .stat { border-left: 0; }
  .high-band { grid-template-columns: 1fr; }
  .mentor-card { flex-direction: column; align-items: flex-start; }
  .acc-content { padding-left: 22px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .program-hero { padding-top: 40px; }
  .page-hero { padding: 52px 0 40px; }
}

@media (max-width: 470px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .play-link { justify-content: center; }
  .solar-stage { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .hero-cta-row .btn { width: 100%; }
}

/* ---------- Print (curriculum) ---------- */
@media print {
  .announce, .nav-wrap, footer, .enroll-card, .hero-cta-row, .btn, .stage-cta,
  .program-visual, .comet, .marquee, .flash { display: none !important; }
  .program-layout { grid-template-columns: 1fr; }
  .acc-body { grid-template-rows: 1fr !important; }
  body { background: #fff; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .comet { display: none; }
  .marquee-track { animation: none; }
}
