/* ==========================================================================
   Bright Future Academy — landing page
   Implemented from the Claude Design canvas "Bright Future Academy.dc.html".

   The design was authored with inline styles; every value below is that design's
   value. What changed is only the shape: tokens at the top, classes underneath,
   so that a colour is edited once instead of ninety times.

   Layout language: flex/grid with `clamp()` for fluid type and spacing. There are
   no media queries for the main grid — the columns are `flex: 1 1 <basis>` and
   wrap on their own. Media queries appear only where a breakpoint is a real
   decision (the nav collapsing at 1080px, motion, print).
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Brand — taken from the logo gradient, warm end to cool end */
  --teal:        #0084B3;
  --teal-light:  #43ADD1;
  --teal-dark:   #00648A;
  --blue:        #2E5FA8;
  --purple:      #5B3F9E;
  --magenta:     #B33F92;
  --magenta-alt: #C0479B;
  --pink:        #E85F8A;
  --orange:      #F0A03C;
  --yellow:      #FDC10C;
  --yellow-lift: #FFD34D;

  --spectrum: linear-gradient(90deg, #43ADD1, #2E5FA8, #5B3F9E, #B33F92, #E85F8A, #F0A03C, #FDC10C);

  /* Ground */
  --navy-950: #050F1C;   /* footer */
  --navy-900: #08182A;   /* nav, dark sections */
  --navy-800: #0A2338;
  --navy-700: #123B57;

  --ink:      #231F20;
  --body-bg:  #F5F7F8;
  --surface:  #ffffff;
  --surface-2:#FBFCFD;
  --surface-3:#F7FAFB;

  /* Text */
  --text:       #231F20;
  --text-muted: #5B6B75;
  --text-soft:  #3D4C56;
  --text-faint: #96A5AE;
  --text-hint:  #7A8B95;
  --text-mono:  #8B9AA4;

  /* Lines */
  --line:        #E2E8EB;
  --line-soft:   #EDF2F4;
  --line-softer: #E7EDF0;
  --line-input:  #DCE5EA;
  --line-dash:   #CBD7DE;

  /* Type */
  --font: Jost, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --section-y: clamp(64px, 8vw, 110px);
  --gutter: 24px;
  --wrap: 1200px;

  /* The hatched "to be filled in" fill, used in a dozen places in the design */
  --hatch: repeating-linear-gradient(135deg, #F4F8FA 0 9px, #EDF2F5 9px 18px);
  --hatch-strong: repeating-linear-gradient(135deg, #EDF2F5 0 9px, #E5EBEF 9px 18px);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--body-bg);
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; }
/* `hidden` is how this page hides things, and a class that sets `display` would
   otherwise beat it — the menu, the login link and the form's sent-state are all
   toggled this way. */
[hidden] { display: none !important; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #C9D6DD; border-radius: 9px; }

/* Keyboard focus must be visible everywhere. The design has no focus styling at
   all — on a page whose primary action is a form, that is a defect, not a style. */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .nav :focus-visible, .footer :focus-visible {
  outline-color: var(--yellow);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink);
  font: 600 15px var(--font); padding: 12px 20px; border-radius: 0 0 12px 12px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: var(--ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes bfFloat   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bfMarquee { to { transform: translateX(-50%); } }
@keyframes bfRise    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bfTravel  { 0% { left: -2%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 102%; opacity: 0; } }

/* ── Shared layout ──────────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1240px; }
.wrap--narrow { max-width: 1000px; }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); }
.section--bordered { border-bottom: 1px solid var(--line); }

.section--dark {
  position: relative;
  color: #fff;
  padding: var(--section-y) 0;
  overflow: hidden;
}

/* ── Shared type ────────────────────────────────────────────────────────── */
.kicker {
  font: 600 12px var(--font-cond);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
}
.kicker--gold { color: var(--yellow); }
.kicker--faint { color: var(--text-faint); letter-spacing: .2em; }

.h2 {
  margin: 14px 0 0;
  font: 600 clamp(31px, 4vw, 52px)/1.05 var(--font);
  letter-spacing: -.025em;
  color: var(--text);
  text-wrap: balance;
}
.section--dark .h2 { color: #fff; }
.h2--tight { max-width: 22ch; }
.h2--tighter { max-width: 20ch; }

.lede {
  font: 300 17px/1.6 var(--font);
  color: var(--text-muted);
  text-wrap: pretty;
}

.section-head {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
}
.section-head > :first-child { flex: 1 1 420px; min-width: 0; }
.section-head .lede { flex: 1 1 300px; max-width: 44ch; }

/* The dashed, hatched "waiting for real content" block. Used verbatim from the
   design — its job is to look unfinished on purpose, so nobody mistakes a
   placeholder for a published claim. */
.tbd {
  border: 1px dashed var(--line-dash);
  border-radius: 11px;
  padding: 11px 14px;
  background: var(--hatch);
  font: 400 12px/1.4 var(--font-mono);
  letter-spacing: .03em;
  color: #7E8E98;
}
.tbd--dark {
  border-color: rgba(255,255,255,.22);
  background: none;
  color: rgba(255,255,255,.5);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11.5px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer;
  font: 600 17px var(--font);
  padding: 16px 28px;
  border-radius: 999px;
  transition: background .25s, color .25s, transform .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn--gold { background: var(--yellow); color: var(--ink); box-shadow: 0 14px 34px -14px rgba(253,193,12,.6); }
.btn--gold:hover { background: var(--yellow-lift); color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 500; padding: 16px 26px; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--navy { background: var(--navy-900); color: #fff; font-size: 16px; padding: 14px 24px; }
.btn--navy:hover { background: var(--teal); color: #fff; }
.btn--sm { font-size: 15px; padding: 11px 20px; }
.btn--block { width: 100%; }

.btn-link {
  background: transparent; border: 0; cursor: pointer; padding: 0;
  font: 500 14.5px var(--font); color: rgba(255,255,255,.5);
  transition: color .2s;
}
.btn-link:hover { color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 80; padding: 14px 0 0; }
.nav {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  background: rgba(8,24,42,.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  padding: 9px 12px 9px 22px;
  box-shadow: 0 16px 44px -20px rgba(4,14,26,.75);
}
.nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav__logo img { height: 28px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav__link {
  padding: 8px 13px; border-radius: 999px;
  color: rgba(255,255,255,.76);
  font: 500 15px var(--font); letter-spacing: .01em;
  transition: background .2s, color .2s;
}
.nav__link:hover, .nav__link:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.nav__spacer { flex: 1 1 auto; }
.nav__cta { flex: 0 0 auto; background: var(--yellow); color: var(--ink); font: 600 15px var(--font); padding: 11px 20px; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.nav__cta:hover { background: var(--yellow-lift); color: var(--ink); }
.nav__app {
  flex: 0 0 auto; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.82);
  font: 500 14.5px var(--font); white-space: nowrap; transition: background .2s, color .2s;
}
.nav__app:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Language switch */
.lang { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.09); border-radius: 999px; padding: 3px; }
.lang__btn {
  border: 0; cursor: pointer; padding: 6px 11px; border-radius: 999px;
  font: 600 13px var(--font-cond); letter-spacing: .12em;
  background: transparent; color: rgba(255,255,255,.6);
  transition: background .2s, color .2s;
}
.lang__btn[aria-pressed="true"] { background: #fff; color: var(--navy-900); }

.nav__burger {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0;
}
.nav__burger span { display: block; width: 17px; height: 1.6px; background: #fff; border-radius: 2px; }
.nav__burger span:last-child { width: 11px; background: var(--yellow); }

.menu {
  margin-top: 10px; background: var(--navy-900);
  border: 1px solid rgba(255,255,255,.12); border-radius: 24px;
  padding: 14px; display: grid; gap: 2px;
  box-shadow: 0 24px 60px -24px rgba(4,14,26,.8);
  animation: bfRise .28s ease both;
}
.menu a { padding: 13px 16px; border-radius: 14px; color: #fff; font: 500 17px var(--font); }
.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu .menu__cta { margin-top: 8px; text-align: center; background: var(--yellow); color: var(--ink); font-weight: 600; }

/* Desktop / mobile split. 1080px is the design's own `w < 1080` breakpoint.

   These utilities only ever HIDE. An earlier version set `display: initial` to
   show, which silently overwrote each element's own layout mode — the burger is
   a `display: grid` button, and `initial` flattened its three bars into one
   4.8px smear. Hiding is the only thing a visibility utility may decide. */
@media (max-width: 1079px) {
  .only-desktop { display: none !important; }
  .nav__links   { display: none; }
}
@media (min-width: 1080px) {
  .only-mobile  { display: none !important; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  margin-top: -72px;
  padding: 150px 0 0;
  background: radial-gradient(120% 90% at 78% 8%, var(--navy-700) 0%, var(--navy-800) 42%, var(--navy-900) 100%);
  overflow: hidden;
}
.hero__canvas-holder {
  position: absolute; right: -12%; top: 46%;
  width: min(860px, 114vw); height: min(860px, 114vw);
  transform: translateY(-50%); pointer-events: none;
}
.hero__canvas-holder canvas { display: block; width: 100%; height: 100%; }

.spectrum-rule {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--spectrum);
}
.spectrum-rule--bottom { bottom: 0; }
.spectrum-rule--top { top: 0; }
.spectrum-rule .spark {
  position: absolute; top: -2.5px; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 4px rgba(255,255,255,.55);
  animation: bfTravel 11s linear infinite;
}

.hero__inner {
  position: relative;
  display: flex; flex-wrap: wrap;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  padding-bottom: clamp(60px, 7vw, 96px);
}
.hero__copy { flex: 1 1 460px; min-width: 0; }
.hero__media { flex: 1 1 380px; min-width: 0; position: relative; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  padding: 7px 16px 7px 12px; border-radius: 999px;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253,193,12,.18); }
.badge span:last-child {
  font: 600 12px var(--font-cond); letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.82);
}

.hero__title {
  margin: 26px 0 0;
  font: 600 clamp(40px, 6.2vw, 74px)/1.02 var(--font);
  letter-spacing: -.03em; color: #fff; text-wrap: balance;
}
.gradient-text {
  background: linear-gradient(96deg, #43ADD1, #5B3F9E, #B33F92, #F0A03C, #FDC10C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  margin: 22px 0 0; max-width: 56ch;
  font: 300 clamp(17px, 1.5vw, 20px)/1.62 var(--font);
  color: rgba(255,255,255,.74); text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin: 22px 0 0; font: 400 14px/1.5 var(--font); color: rgba(255,255,255,.45); letter-spacing: .01em; }

.hero__frame {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
}
.hero__frame img { display: block; width: 100%; height: clamp(300px, 42vw, 460px); object-fit: cover; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,24,42,.65), transparent 55%);
}
.hero__chip {
  position: absolute; left: -6px; bottom: -22px;
  background: #fff; border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 24px 50px -22px rgba(4,14,26,.6);
  animation: bfFloat 7s ease-in-out infinite;
}
.hero__chip strong { display: block; font: 700 30px/1 var(--font-cond); letter-spacing: .02em; color: var(--teal); }
.hero__chip span {
  display: block; margin-top: 4px;
  font: 500 12px var(--font-cond); letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: bfMarquee 44s linear infinite; }
.marquee__group { display: flex; gap: 38px; padding-right: 38px; align-items: center; }
.marquee__group span {
  font: 500 13px var(--font-cond); letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.42); white-space: nowrap;
}
.marquee__group i { font-style: normal; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(48px, 5vw, 64px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value { display: flex; align-items: baseline; gap: 2px; }
.stat__value b { font: 700 clamp(46px, 5vw, 62px)/1 var(--font-cond); letter-spacing: .01em; color: var(--teal); font-variant-numeric: tabular-nums; }
.stat__value i { font-style: normal; font: 600 clamp(20px, 2vw, 26px)/1 var(--font-cond); color: #B7C4CC; }
.stat__rule { width: 34px; height: 2px; background: linear-gradient(90deg, var(--teal-light), var(--magenta)); }
.stat__label { font: 400 15px/1.45 var(--font); color: var(--text-muted); max-width: 24ch; text-wrap: pretty; }

/* ── Subject tabs ───────────────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.tab {
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid #DFE6EA; background: #fff; color: var(--text-soft);
  font: 600 17px var(--font); transition: all .25s;
}
.tab__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.tab[aria-selected="true"] { color: #fff; background: var(--tab-color); border-color: var(--tab-color); }
.tab[aria-selected="true"] .tab__dot { background: #fff; }
.tab:not([aria-selected="true"]) .tab__dot { background: var(--tab-color); }
.tab:not([aria-selected="true"]):hover { border-color: #C9DCE5; }

.subject-card {
  margin-top: 26px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 70px -46px rgba(11,33,56,.45);
}
.subject-card__motif { position: relative; height: clamp(104px, 11vw, 148px); background: var(--navy-800); overflow: hidden; }
.subject-card__motif canvas { display: block; width: 100%; height: 100%; }
.subject-card__motif-label {
  position: absolute; left: clamp(18px, 2.4vw, 32px); top: 14px;
  font: 600 11px var(--font-cond); letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.subject-card__accent { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.subject-card__body { display: flex; flex-wrap: wrap; }
.subject-card__main { flex: 1 1 440px; min-width: 0; padding: clamp(28px, 3.4vw, 46px); }
.subject-card__side {
  flex: 1 1 340px; min-width: 0;
  background: var(--surface-3); border-left: 1px solid var(--line-soft);
  padding: clamp(28px, 3.4vw, 46px);
  display: flex; flex-direction: column; gap: 18px;
}

.subject-head { display: flex; align-items: center; gap: 14px; }
.subject-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-content: center;
  font: 700 20px var(--font-cond); color: #fff;
}
.subject-head h3 { font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--font); letter-spacing: -.02em; color: var(--text); }
.subject-blurb { margin: 20px 0 0; font: 300 17px/1.62 var(--font); color: var(--text-muted); max-width: 52ch; text-wrap: pretty; }
.subject-label { margin-top: 28px; font: 600 12px var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  border: 1px solid var(--line); background: #FAFCFD; border-radius: 999px;
  padding: 8px 15px; font: 400 15px var(--font); color: var(--text-soft);
}

.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 30px; }
.format-item { display: flex; gap: 11px; align-items: flex-start; }
.format-item i { flex: 0 0 auto; margin-top: 6px; width: 8px; height: 8px; transform: rotate(45deg); }
.format-item span { font: 400 15.5px/1.45 var(--font); color: var(--text-soft); }

/* Sample question */
.quiz-q { margin: 12px 0 0; font: 500 19px/1.45 var(--font); color: var(--text); text-wrap: pretty; }
.answers { display: grid; gap: 9px; }
.answer {
  cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  font: 500 16px var(--font); color: var(--text-soft);
  transition: all .2s;
}
.answer:hover:not([data-state]) { border-color: #C9DCE5; background: var(--surface-2); }
.answer__key {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-content: center;
  font: 700 13px var(--font-cond);
  background: #F1F5F7; color: var(--text-hint);
}
.answer[data-state="good"] { background: #EAF7F1; border-color: #9AD9BE; color: #136B47; }
.answer[data-state="good"] .answer__key { background: #1B8459; color: #fff; }
.answer[data-state="bad"]  { background: #FDEDF0; border-color: #F0B3BF; color: #95243C; }
.answer[data-state="bad"] .answer__key { background: #B72B47; color: #fff; }
.answer-feedback { min-height: 24px; font: 400 15px/1.5 var(--font); color: var(--text-faint); }
.answer-feedback[data-tone="good"] { color: #1B8459; }
.answer-feedback[data-tone="bad"]  { color: #B72B47; }

/* ── Programs ───────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; margin-top: 44px; }
.program {
  position: relative; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.program:hover { border-color: #C9DCE5; box-shadow: 0 26px 54px -30px rgba(11,33,56,.4); transform: translateY(-3px); }
.program__accent { position: absolute; left: 0; top: 0; right: 0; height: 3px; }
.program__kicker { font: 600 11px var(--font-cond); letter-spacing: .2em; text-transform: uppercase; }
.program h3 { margin: 10px 0 0; font: 600 22px/1.18 var(--font); letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.program__list { display: grid; gap: 9px; }
.program__list div { display: flex; gap: 10px; align-items: flex-start; }
.program__list i { flex: 0 0 auto; margin-top: 7px; width: 6px; height: 6px; transform: rotate(45deg); background: #C0CBD2; }
.program__list span { font: 400 15.5px/1.4 var(--font); color: #4A5A64; }
.program__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid #E9EFF2;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.program__foot dt { font: 500 13px var(--font-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.program__foot dd { margin: 0; font: 600 14px var(--font); color: var(--text); text-align: right; }

/* ── The path (scroll-lit timeline) ─────────────────────────────────────── */
.path-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.path { position: relative; margin-top: 52px; padding-left: clamp(30px, 4vw, 54px); }
.path__rail, .path__fill {
  position: absolute; left: clamp(9px, 1.2vw, 17px); top: 6px; width: 2px; border-radius: 2px;
}
.path__rail { bottom: 6px; background: rgba(255,255,255,.13); }
.path__fill { background: linear-gradient(180deg, var(--teal-light), var(--magenta), var(--yellow)); height: 0; transition: height .18s linear; }
.path__steps { display: grid; gap: clamp(26px, 3.4vw, 44px); }
.step {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 34px);
  align-items: baseline; transition: opacity .4s; opacity: .38;
}
.step[data-on="1"] { opacity: 1; }
.step__dot {
  position: absolute; left: 0;
  width: clamp(20px, 2.6vw, 36px); height: clamp(20px, 2.6vw, 36px);
  border-radius: 50%; display: grid; place-content: center; margin-top: 2px;
  transform: translateX(calc(-50% + clamp(10px, 1.3vw, 18px)));
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.22);
  transition: background .4s, border-color .4s;
}
.step__dot span { font: 700 13px var(--font-cond); color: rgba(255,255,255,.65); transition: color .4s; }
.step[data-on="1"] .step__dot { background: var(--yellow); border-color: var(--yellow); }
.step[data-on="1"] .step__dot span { color: var(--ink); }
.step h3 { flex: 0 1 300px; font: 600 clamp(20px, 2.1vw, 27px)/1.2 var(--font); letter-spacing: -.02em; color: #fff; }
.step p { flex: 1 1 320px; max-width: 52ch; font: 300 16.5px/1.6 var(--font); color: rgba(255,255,255,.66); text-wrap: pretty; }

/* ── Why Bright ─────────────────────────────────────────────────────────── */
.split { display: flex; flex-wrap: wrap; gap: clamp(30px, 4vw, 60px); align-items: center; }
.split__copy { flex: 1 1 400px; min-width: 0; }
.split__media { flex: 1 1 340px; min-width: 0; display: grid; gap: 14px; }

.features { display: grid; gap: 16px; margin-top: 34px; }
.feature {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 22px;
}
.feature__n {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-content: center;
  font: 700 17px var(--font-cond); color: #fff;
}
.feature h3 { font: 600 19px/1.25 var(--font); letter-spacing: -.01em; color: var(--text); }
.feature p { margin: 7px 0 0; font: 400 15.5px/1.55 var(--font); color: var(--text-muted); text-wrap: pretty; }

.photo-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.photo-frame img { display: block; width: 100%; height: clamp(230px, 26vw, 320px); object-fit: cover; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair .photo-frame { border-radius: 20px; }
.photo-pair .photo-frame img { height: clamp(130px, 14vw, 170px); }
.photo-slot {
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--hatch-strong);
  display: grid; place-content: center; text-align: center; padding: 14px; min-height: 130px;
}
.photo-slot span { font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--text-mono); }

/* ── Results ────────────────────────────────────────────────────────────── */
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 44px; }
.result {
  border: 1px dashed var(--line-dash); border-radius: 22px; padding: 26px;
  background: var(--hatch);
  display: flex; flex-direction: column; gap: 14px; min-height: 180px;
}
.result[data-filled="1"] { border-style: solid; border-color: var(--line); background: var(--surface); }
.result__value { font: 700 clamp(34px, 3.4vw, 44px)/1 var(--font-cond); color: #B7C4CC; }
.result[data-filled="1"] .result__value { color: var(--teal); }
.result__label { font: 500 16px/1.35 var(--font); color: var(--text-muted); text-wrap: pretty; }
.result__note { margin-top: auto; font: 400 11.5px/1.5 var(--font-mono); letter-spacing: .03em; color: var(--text-mono); }
.results-disclaimer { margin: 20px 0 0; max-width: 64ch; font: 400 15px/1.6 var(--font); color: var(--text-hint); text-wrap: pretty; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.video-slot {
  position: relative; border: 1px solid var(--line); border-radius: 22px;
  background: var(--hatch-strong); min-height: 210px;
  display: grid; place-items: center; padding: 22px; text-align: center;
  overflow: hidden;
}
.video-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-slot__play {
  width: 52px; height: 52px; margin: 0 auto; border-radius: 50%;
  background: #fff; border: 1px solid #DDE5EA;
  display: grid; place-content: center; font: 400 16px var(--font); color: var(--teal);
}
.video-slot__label { margin-top: 14px; font: 400 11.5px/1.5 var(--font-mono); letter-spacing: .04em; color: var(--text-mono); }

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery-head {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px);
}
.gallery-head h2 { font: 600 clamp(26px, 3vw, 38px)/1.08 var(--font); letter-spacing: -.025em; color: var(--text); }
.gallery-head p { font: 400 15px var(--font); color: var(--text-faint); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.gallery__item {
  cursor: zoom-in; padding: 0; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; background: #EDF2F5; display: block; position: relative;
  min-height: 190px; transition: border-color .3s, transform .3s;
}
.gallery__item:hover { border-color: #C9DCE5; transform: translateY(-2px); }
.gallery__item img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; }

/* <dialog> gives the lightbox a focus trap and Esc-to-close for free. The UA
   rule that hides a closed dialog loses to any author rule, so `display` is
   scoped to [open] rather than set unconditionally. */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  background: rgba(4,12,22,.92);
  padding: 24px; border: 0;
}
.lightbox[open] {
  display: grid; place-items: center;
  animation: bfRise .25s ease both;
}
.lightbox::backdrop { background: rgba(4,12,22,.6); }
.lightbox img {
  width: min(1100px, 94vw); max-height: 86vh; object-fit: contain;
  border-radius: 18px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8);
}
.lightbox__close {
  position: absolute; top: 20px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font: 400 22px/1 var(--font); cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.18); }
.lightbox__caption { margin-top: 14px; font: 400 14px var(--font); color: rgba(255,255,255,.6); text-align: center; }

/* ── Locations ──────────────────────────────────────────────────────────── */
.locations { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 36px); margin-top: 42px; align-items: stretch; }
.map-panel {
  flex: 1 1 420px; min-width: 0; background: var(--navy-900);
  border-radius: 26px; padding: clamp(20px, 2.4vw, 32px);
  position: relative; overflow: hidden;
}
.map {
  position: relative; width: 100%; aspect-ratio: 1.686; border-radius: 16px;
  background: linear-gradient(160deg, #0E2E45, #0A2033);
  border: 1px solid rgba(255,255,255,.09); overflow: hidden;
}
.map__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 12.5% 20%;
}
.map__pin {
  position: absolute; transform: translate(-50%, -50%);
  cursor: pointer; background: transparent; border: 0; padding: 6px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.map__pin i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(67,173,209,.16); transition: all .3s;
}
.map__pin span {
  font: 600 11.5px var(--font-cond); letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; color: rgba(255,255,255,.5); transition: color .3s;
}
.map__pin[aria-pressed="true"] i { width: 13px; height: 13px; background: var(--yellow); box-shadow: 0 0 0 6px rgba(253,193,12,.22); }
.map__pin[aria-pressed="true"] span { color: #fff; }
.map__note {
  position: absolute; right: 12px; bottom: 10px;
  font: 400 10.5px var(--font-mono); letter-spacing: .06em; color: rgba(255,255,255,.28);
}

.location-side { flex: 1 1 330px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.location-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(24px, 2.6vw, 34px); flex: 1 1 auto;
}
.location-card h3 { margin: 10px 0 0; font: 600 clamp(26px, 3vw, 36px)/1.05 var(--font); letter-spacing: -.025em; color: var(--text); }
.location-card__body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }
.location-card__label { font: 500 11.5px var(--font-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.location-card__value { margin-top: 6px; font: 400 15.5px/1.45 var(--font); color: var(--text-soft); }
.location-card .btn { margin-top: 26px; }

.online-banner {
  background: linear-gradient(100deg, var(--teal), var(--purple));
  border-radius: 22px; padding: 22px 26px; color: #fff;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.online-banner__label { font: 600 11.5px var(--font-cond); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.online-banner__value { margin-top: 7px; font: 500 16px var(--font); color: #fff; }
.online-banner .tbd { margin-top: 7px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { margin-top: 40px; border-top: 1px solid var(--line-softer); }
.faq__item { border-bottom: 1px solid var(--line-softer); }
.faq__q {
  width: 100%; cursor: pointer; background: transparent; border: 0;
  padding: 24px 4px; display: flex; gap: 20px;
  align-items: flex-start; justify-content: space-between; text-align: left;
  transition: background .2s;
}
.faq__q:hover { background: var(--surface-2); }
.faq__q > span:first-child {
  font: 500 clamp(18px, 1.8vw, 21px)/1.4 var(--font);
  color: var(--text); transition: color .2s; text-wrap: pretty;
}
.faq__q[aria-expanded="true"] > span:first-child { color: var(--teal); }
.faq__icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #DCE5EA; display: grid; place-content: center;
  font: 400 18px/1 var(--font); color: var(--teal);
  background: transparent; transition: background .25s;
}
.faq__q[aria-expanded="true"] .faq__icon { background: #E6F4F9; }
.faq__a { padding: 0 60px 26px 4px; font: 300 17px/1.65 var(--font); color: var(--text-muted); text-wrap: pretty; animation: bfRise .3s ease both; }
.faq__a[hidden] { display: none; }

/* ── Enrol ──────────────────────────────────────────────────────────────── */
.enrol__inner { display: flex; flex-wrap: wrap; gap: clamp(24px, 3.4vw, 48px); align-items: flex-start; }
.enrol__quiz { flex: 1 1 380px; min-width: 0; }
.enrol__form { flex: 1 1 400px; min-width: 0; background: var(--surface); border-radius: 28px; padding: clamp(24px, 2.8vw, 40px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.enrol .h2 { max-width: 18ch; font-size: clamp(29px, 3.6vw, 46px); }

.quiz-box {
  margin-top: 30px; background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13); border-radius: 26px;
  padding: clamp(22px, 2.4vw, 32px); backdrop-filter: blur(8px);
}
.quiz-progress { display: flex; align-items: center; gap: 10px; }
.quiz-progress i { height: 3px; flex: 1 1 auto; border-radius: 2px; background: rgba(255,255,255,.16); transition: background .3s; }
.quiz-progress i[data-on="1"] { background: var(--yellow); }
.quiz-progress span { font: 600 12px var(--font-cond); letter-spacing: .14em; color: rgba(255,255,255,.5); }
.quiz-box p.quiz-question { margin: 22px 0 0; font: 500 clamp(19px, 2vw, 23px)/1.35 var(--font); color: #fff; text-wrap: pretty; }
.quiz-options { display: grid; gap: 9px; margin-top: 20px; }
.quiz-option {
  cursor: pointer; text-align: left; padding: 15px 18px; border-radius: 15px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04);
  font: 500 16.5px var(--font); color: rgba(255,255,255,.9); transition: all .2s;
}
.quiz-option:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.4); color: #fff; }
.quiz-result { animation: bfRise .35s ease both; }
.quiz-result h3 { margin: 12px 0 0; font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--font); letter-spacing: -.02em; color: #fff; }
.quiz-result p { margin: 14px 0 0; font: 300 17px/1.6 var(--font); color: rgba(255,255,255,.72); text-wrap: pretty; }
.quiz-result__subjects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.quiz-result__subjects span {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07);
  border-radius: 999px; padding: 9px 17px; font: 600 15px var(--font); color: #fff;
}
.quiz-result__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }

/* Form */
.form-grid { display: grid; gap: 14px; margin-top: 26px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span, .field-label {
  font: 500 12.5px var(--font-cond); letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-hint);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line-input); border-radius: 13px; padding: 14px 16px;
  font: 400 16px var(--font); color: var(--text); background: var(--surface-2);
  outline: none; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%237A8B95' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0,132,179,.12);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #D6455F; box-shadow: 0 0 0 4px rgba(214,69,95,.1);
}
.field__error { font: 400 13.5px/1.4 var(--font); color: #B72B47; }
.field__error[hidden] { display: none; }

.subject-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chip {
  cursor: pointer; border-radius: 999px; padding: 11px 19px;
  font: 500 15.5px var(--font); transition: all .2s;
  border: 1px solid var(--line-input); background: var(--surface-2); color: var(--text-soft);
}
.subject-chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.form-submit {
  margin-top: 6px; cursor: pointer; border: 0;
  background: var(--navy-900); color: #fff;
  font: 600 17px var(--font); padding: 17px; border-radius: 14px;
  transition: background .25s;
}
.form-submit:hover:not(:disabled) { background: var(--teal); color: #fff; }
.form-submit:disabled { opacity: .6; cursor: progress; }

.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-actions a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--line-input); border-radius: 13px; padding: 13px;
  font: 600 15.5px var(--font); color: var(--text-soft); transition: all .2s;
}
.contact-actions a:hover { border-color: var(--teal); color: var(--teal); background: #F4FBFD; }
.contact-actions a.is-whatsapp:hover { border-color: #25D366; color: #128C4A; background: #F2FCF6; }

.form-consent { margin: 4px 0 0; font: 400 13.5px/1.5 var(--font); color: var(--text-faint); text-wrap: pretty; }
.form-error {
  border: 1px solid #F0B3BF; background: #FDEDF0; border-radius: 13px;
  padding: 13px 15px; font: 400 15px/1.5 var(--font); color: #95243C;
}
.form-error[hidden] { display: none; }

.form-sent { text-align: center; padding: clamp(20px, 4vw, 50px) 0; animation: bfRise .35s ease both; }
.form-sent__tick {
  width: 66px; height: 66px; margin: 0 auto; border-radius: 50%;
  background: #E6F4F9; display: grid; place-content: center;
  font: 400 26px var(--font); color: var(--teal);
}
.form-sent h3 { margin: 22px 0 0; font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--font); letter-spacing: -.02em; color: var(--text); }
.form-sent p { margin: 12px auto 0; max-width: 34ch; font: 300 17px/1.6 var(--font); color: var(--text-muted); text-wrap: pretty; }
.form-sent button {
  margin-top: 26px; cursor: pointer; background: transparent;
  border: 1px solid var(--line-input); border-radius: 999px;
  padding: 12px 22px; font: 500 15px var(--font); color: var(--text-muted);
  transition: all .2s;
}
.form-sent button:hover { border-color: var(--teal); color: var(--teal); }

/* The honeypot. Off-screen rather than display:none — some bots skip hidden
   inputs, and a real user with a screen reader never reaches it (aria-hidden +
   tabindex -1 on the field itself). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--navy-950); color: #fff; padding: clamp(50px, 6vw, 80px) 0 0; }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); padding-bottom: 44px; }
.footer__brand { flex: 1 1 280px; min-width: 0; }
.footer__brand img { width: min(210px, 60%); height: auto; display: block; }
.footer__brand p { margin: 22px 0 0; max-width: 34ch; font: 300 15.5px/1.6 var(--font); color: rgba(255,255,255,.55); text-wrap: pretty; }
.footer__col { flex: 1 1 180px; min-width: 0; }
.footer__col h2 { font: 600 11.5px var(--font-cond); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.footer__list { display: grid; gap: 11px; margin-top: 16px; }
.footer__list a, .footer__list span { font: 400 16px var(--font); color: rgba(255,255,255,.74); }
.footer__list a:hover { color: var(--yellow); }
.footer__rule { height: 1px; background: var(--spectrum); opacity: .5; }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  padding: 22px 0 30px;
}
.footer__base span { font: 400 14px var(--font); color: rgba(255,255,255,.38); }
@media (max-width: 1079px) { .footer__base { padding-bottom: 96px; } }

/* ── Mobile action bar ──────────────────────────────────────────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(8,24,42,.94); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 10px 14px; display: flex; gap: 9px; align-items: center;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.mobile-bar a {
  flex: 0 0 auto; border: 1px solid rgba(255,255,255,.22); border-radius: 13px;
  padding: 14px 18px; font: 600 15px var(--font); color: #fff;
}
.mobile-bar a.is-primary { flex: 1 1 auto; text-align: center; background: var(--yellow); color: var(--ink); padding: 14px; font-size: 16px; }

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

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .header, .mobile-bar, .marquee, .lightbox, canvas, .hero__canvas-holder { display: none !important; }
  body { background: #fff; }
  .section--dark, .hero, .footer { background: #fff !important; color: #000 !important; }
  .section--dark *, .hero *, .footer * { color: #000 !important; }
}
