/* Global Talent Bridge
   Warm cream, deep navy and brand red, with a soft serif accent. */

:root {
  --red: #D62839;
  --red-600: #B71C2D;
  --red-50: #FDEDEE;
  --navy: #16213E;
  --navy-700: #1F2C50;
  --navy-500: #3A4870;
  --ink: #1C2333;
  --body: #4A5263;
  --muted: #747C8D;
  --cream: #FAF6EF;
  --sand: #F2EADC;
  --sand-2: #EADFCB;
  --line: #E8E1D3;
  --white: #FFFFFF;
  --gold: #B8893B;
  --gold-50: #FBF3E4;
  --teal: #1F7A6D;
  --teal-50: #E5F3F0;
  --lav: #ECEBFB;
  --sky: #E5F2FA;
  --good: #1F7A4D;
  --good-50: #E6F4EC;
  --warn: #9A6200;
  --warn-50: #FFF4DE;
  --bad: #B3261E;
  --bad-50: #FDECEA;

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22,33,62,.06), 0 2px 8px rgba(22,33,62,.04);
  --shadow: 0 12px 32px rgba(22,33,62,.08);
  --shadow-lg: 0 30px 60px rgba(22,33,62,.14);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.site-header { transition: transform .45s var(--ease), border-color .3s, box-shadow .3s, background .3s !important; }
.site-header.is-hidden { transform: translateY(-100%); }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: inline-block; will-change: transform; }
.parallax { will-change: transform; }
.media img { transition: transform 1.2s var(--ease); }
.card--lift:hover .media img, .news-card:hover .media img { transform: scale(1.04); }
.regions-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.regions-band__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.regions-band__label { flex: none; margin: 0; padding-right: 28px; border-right: 1px solid var(--line); font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__track li { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font-family: var(--font-serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--navy-500); transition: color .3s; }
.marquee__track li::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--red); opacity: .55; border-radius: 1px; }
.marquee__track li:hover { color: var(--red); }
.marquee:not(.is-js) .marquee__track { animation: marquee 45s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.media--video { background: var(--navy); }
.media--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .regions-band__label { display: none; } .regions-band__inner { min-height: 64px; } }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
em.accent, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(214,40,57,.45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #C9D0E2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #F5B8BF; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 1.5fr 1fr; }
.stack > * + * { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(214,40,57,.25); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--red); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.link-arrow .ico { transition: transform .2s var(--ease); color: var(--red); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Topbar and header */
.topbar { background: var(--navy); color: #C9D0E2; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #E4E8F2; }
.topbar a:hover { color: #fff; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,239,.88); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(22,33,62,.06); background: rgba(255,255,255,.92); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #F06272, var(--red) 55%, var(--red-600));
  box-shadow: 0 8px 18px rgba(214,40,57,.3);
}
.brand__text { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.1; letter-spacing: -.01em; }
.brand__text small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text small { color: #96A0BA; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.nav ul a:hover { background: rgba(22,33,62,.05); color: var(--navy); }
.nav ul a[aria-current="page"] { color: var(--red); background: var(--red-50); }
.nav__actions { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 8px; }

.demo-ribbon { background: var(--gold-50); color: var(--warn); text-align: center; font-size: .82rem; font-weight: 600; padding: 6px 16px; border-bottom: 1px solid #F1E2C4; }
.flash-wrap { padding-top: 20px; display: grid; gap: 10px; }

/* Alerts and badges */
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 500; border: 1px solid; }
.alert--success { background: var(--good-50); color: var(--good); border-color: #BFE3CD; }
.alert--error { background: var(--bad-50); color: var(--bad); border-color: #F5C6C1; }
.alert--info { background: var(--sky); color: #1D4E89; border-color: #C8E1F3; }
.alert--warn { background: var(--warn-50); color: var(--warn); border-color: #F3DDAE; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }
.badge--good { background: var(--good-50); color: var(--good); }
.badge--warn { background: var(--warn-50); color: var(--warn); }
.badge--bad { background: var(--bad-50); color: var(--bad); }
.badge--info { background: var(--sky); color: #1D4E89; }
.badge--muted { background: #EFEDE8; color: var(--muted); }
.badge--red { background: var(--red-50); color: var(--red); }
.badge--navy { background: var(--navy); color: #fff; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: .82rem; font-weight: 600; }

/* Media placeholders */
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ph {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(214,40,57,.10), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(31,122,109,.12), transparent 55%),
    repeating-linear-gradient(135deg, rgba(22,33,62,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #F6EFE2, #ECE2D0);
  display: grid; place-items: center; border: 1px dashed rgba(22,33,62,.14);
}
.ph-inner { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--navy-500); padding: 16px; }
.ph-label { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); }
.ph-file { font-size: .72rem; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }

/* Hero video */
.hero-film { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-film__media { position: absolute; inset: 0; }
.hero-film__media video { width: 100%; height: 100%; object-fit: cover; }
.hero-film__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(214,40,57,.55), transparent 60%),
    radial-gradient(50% 60% at 85% 30%, rgba(108,99,255,.45), transparent 60%),
    radial-gradient(60% 60% at 60% 100%, rgba(31,122,109,.55), transparent 60%),
    linear-gradient(160deg, #16213E, #0E1630);
  animation: drift 18s ease-in-out infinite alternate;
  background-size: 140% 140%;
}
@keyframes drift { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
.hero-film__grid {
  position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-film__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,22,48,.72) 0%, rgba(14,22,48,.45) 45%, rgba(14,22,48,.1) 100%),
  linear-gradient(180deg, rgba(14,22,48,.35) 0%, rgba(14,22,48,.2) 40%, rgba(14,22,48,.88) 100%); }
.hero-film h1, .hero-film .lead, .hero-film__meta { text-shadow: 0 2px 24px rgba(10,15,30,.45); }
.hero-film__ph { position: absolute; top: 24px; right: 24px; font-size: .75rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #E4E8F2; }
.hero-film__content { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero-film h1 { color: #fff; max-width: 900px; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; }
.hero-film h1 .serif { color: #FFB3BB; }
.hero-film .lead { color: #DCE1EE; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; }
.hero-film__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-film__meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: .92rem; color: #C9D0E2; }
.hero-film__meta strong { color: #fff; font-family: var(--font-head); }
.play-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; font-family: var(--font-head); font-weight: 700; cursor: pointer; font-size: .98rem; padding: 6px 4px; }
.play-btn__circle { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .2s var(--ease), background .2s; }
.play-btn:hover .play-btn__circle { transform: scale(1.06); background: rgba(255,255,255,.26); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Exam finder band */
.finder-band { position: relative; margin-top: -1px; padding: 80px 0; background: var(--cream); }
.finder { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.finder-card { background: var(--white); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.finder-card h3 { font-size: 1.4rem; }
.finder-card .field + .field { margin-top: 16px; }
.finder-result { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--cream); display: none; gap: 6px; }
.finder-result.is-on { display: grid; }
.finder-result strong { color: var(--navy); font-family: var(--font-head); }
.finder-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.finder-actions .btn { flex: 1 1 160px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; max-width: 460px; }
.countdown div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px; text-align: center; }
.countdown strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }

/* Stats */
.stats { position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 10% 0%, rgba(214,40,57,.25), transparent 60%), radial-gradient(50% 80% at 100% 100%, rgba(31,122,109,.25), transparent 60%); pointer-events: none; }
.stats .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 36px 24px 8px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num span { color: #FF8A96; }
.stat__label { font-family: var(--font-head); font-weight: 700; color: #fff; margin-top: 12px; font-size: 1.05rem; }
.stat__note { font-size: .9rem; color: #9AA4BF; margin: 4px 0 0; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); }
.card--lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DCD3C2; }
.card h3 { margin-bottom: 8px; }
.icon-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 18px; flex: none; }
.icon-badge--navy { background: var(--navy); color: #fff; }
.icon-badge--teal { background: var(--teal-50); color: var(--teal); }
.icon-badge--gold { background: var(--gold-50); color: var(--gold); }
.icon-badge--sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 0; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.feature-list .ico { color: var(--red); margin-top: 3px; }

/* Stream cards */
.stream-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.stream-card .media { border-radius: 0; }
.stream-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.stream-card__top { display: flex; align-items: center; gap: 12px; }
.stream-card__top .icon-badge { margin: 0; }
.stream-card h3 { margin: 0; font-size: 1.35rem; }
.stream-card .tag { font-size: .85rem; color: var(--muted); }
.stream-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .93rem; }
.stream-card ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.stream-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

/* Journey steps */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; position: relative; }
.journey::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--sand-2) 0 8px, transparent 8px 14px); }
.journey__step { position: relative; text-align: left; }
.journey__num { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--sand-2); color: var(--navy); font-family: var(--font-head); font-weight: 800; position: relative; z-index: 1; margin-bottom: 16px; }
.journey__step.is-key .journey__num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(214,40,57,.3); }
.journey__when { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.journey__step h4 { margin: 4px 0 6px; }
.journey__step p { font-size: .9rem; margin: 0; }

/* Pricing */
.price-card { position: relative; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-card.is-featured { border-color: var(--navy); box-shadow: var(--shadow-lg); }
.price-card.is-featured::before { content: "Most chosen"; position: absolute; top: -13px; left: 28px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); }
.price-card__total { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.price-card__total small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-split { display: grid; gap: 10px; padding: 16px; background: var(--cream); border-radius: 14px; }
.price-split div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.price-split strong { color: var(--navy); }

/* News */
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.news-side { display: grid; gap: 24px; }
.news-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.news-card .media { border-radius: 0; }
.news-card__body { padding: 24px; display: grid; gap: 10px; }
.news-card__meta { display: flex; gap: 12px; align-items: center; font-size: .85rem; color: var(--muted); }
.news-card h3 { margin: 0; font-size: 1.2rem; }
.news-card--feature h3 { font-size: 1.6rem; }
.news-card--row { flex-direction: row; }
.news-card--row .media { width: 42%; flex: none; aspect-ratio: auto !important; }
.news-card--row .news-card__body { padding: 20px; }

/* Testimonials */
.testi { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 24px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { scroll-snap-align: start; background: var(--white); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.testi-card blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.4; color: var(--navy); }
.testi-card .stars { color: var(--gold); display: flex; gap: 2px; }
.testi-card .stars .ico { fill: currentColor; }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-person .media { width: 52px; height: 52px; border-radius: 50%; flex: none; aspect-ratio: 1 !important; border: 0; }
.testi-person .media .ph-label, .testi-person .media .ph-file { display: none; }
.testi-person .media .ph-inner { padding: 0; }
.testi-person strong { display: block; color: var(--navy); font-family: var(--font-head); }
.testi-person span { font-size: .87rem; color: var(--muted); }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.slider-nav button:hover { border-color: var(--navy); }
.slider-nav button:first-child .ico { transform: rotate(180deg); }

/* Logos strip */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-ph { height: 72px; border-radius: 14px; border: 1px dashed var(--sand-2); display: grid; place-items: center; color: var(--muted); font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.5); text-align: center; padding: 8px; }

/* Accordion */
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.acc-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--red); transition: transform .25s var(--ease); line-height: 1; }
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item .acc-body { padding: 0 24px 22px; }
.acc-item .acc-body p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); color: #C9D0E2; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 90% at 100% 0%, rgba(214,40,57,.45), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(108,99,255,.3), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; }
.page-hero__art { position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(214,40,57,.16), transparent 60%), radial-gradient(circle at 70% 70%, rgba(31,122,109,.14), transparent 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 24px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--muted); }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316213E' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22,33,62,.08); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .93rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check strong { color: var(--navy); }
.check--warn { background: var(--warn-50); border-color: #F3DDAE; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label { display: grid; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s; }
.radio-card label strong { color: var(--navy); font-family: var(--font-head); }
.radio-card label span { font-size: .85rem; color: var(--muted); }
.radio-card input:checked + label { border-color: var(--red); background: var(--red-50); }
.radio-card input:focus-visible + label { outline: 3px solid rgba(214,40,57,.35); }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .82rem; font-weight: 600; padding: 6px 8px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { width: 100%; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-google:hover { border-color: var(--navy); color: var(--ink); }
.form-foot { margin-top: 18px; font-size: .92rem; text-align: center; }
.error-text { color: var(--bad); font-size: .85rem; }

.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 120px); }
.auth-aside { position: relative; background: var(--navy); color: #C9D0E2; padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 0% 0%, rgba(214,40,57,.4), transparent 60%), radial-gradient(60% 60% at 100% 100%, rgba(31,122,109,.35), transparent 60%); }
.auth-aside > * { position: relative; }
.auth-aside h2 { color: #fff; }
.auth-aside .feature-list .ico { color: #FF8A96; }
.auth-main { padding: clamp(32px, 6vw, 72px); display: grid; align-items: center; }
.auth-main .form-card { max-width: 520px; width: 100%; margin: 0 auto; box-shadow: none; border: 0; padding: 0; background: transparent; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #FBF8F2; font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table td strong { color: var(--navy); }

/* Exam pages */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-bar button { border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 10px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.filter-bar button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.exam-card { display: flex; flex-direction: column; gap: 14px; }
.exam-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.exam-card__head .icon-badge { margin: 0; }
.exam-card h3 { margin: 0; }
.exam-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .85rem; }
.exam-card__facts strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.exam-card__actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.exam-card[hidden] { display: none; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.part { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.part__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.part__marks { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--red); line-height: 1; }
.part__marks small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.sticky-card { position: sticky; top: 110px; }
.key-dates { display: grid; gap: 0; }
.key-dates div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.key-dates div:last-child { border-bottom: 0; }
.key-dates strong { color: var(--navy); text-align: right; }
.grade-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grade { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.grade strong { display: block; color: var(--red); font-family: var(--font-head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* Kit */
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kit-item { display: flex; gap: 16px; align-items: flex-start; }
.kit-item .icon-badge { margin: 0; }
.kit-item h4 { margin: 0 0 4px; }
.kit-item p { margin: 0; font-size: .92rem; }

/* Timeline (vertical) */
.vtl { list-style: none; padding: 0; margin: 0; position: relative; }
.vtl::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.vtl li { position: relative; padding: 0 0 26px 48px; }
.vtl li:last-child { padding-bottom: 0; }
.vtl li::before { content: ""; position: absolute; left: 7px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--sand-2); }
.vtl li.is-done::before { background: var(--good); border-color: var(--good); box-shadow: inset 0 0 0 3px #fff; }
.vtl li.is-now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px var(--red-50); }
.vtl li.is-bad::before { background: var(--bad); border-color: var(--bad); }
.vtl h4 { margin: 0 0 2px; }
.vtl p { margin: 0; font-size: .92rem; }
.vtl .when { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Dashboard */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 40px; padding-bottom: 96px; align-items: start; }
.dash-side { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.dash-user { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: none; }
.dash-user strong { color: var(--navy); font-family: var(--font-head); display: block; line-height: 1.2; }
.dash-user span { font-size: .8rem; color: var(--muted); word-break: break-all; }
.dash-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.dash-nav a:hover { background: var(--cream); color: var(--navy); }
.dash-nav a[aria-current="page"] { background: var(--red-50); color: var(--red); font-weight: 600; }
.dash-main { display: grid; gap: 24px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.dash-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel__head h2, .panel__head h3 { margin: 0; font-size: 1.2rem; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.mini-stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.mini-stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); margin-top: 4px; line-height: 1.2; }
.next-step { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px; border-radius: var(--r); background: linear-gradient(120deg, var(--navy), var(--navy-700)); color: #C9D0E2; }
.next-step h3 { color: #fff; margin: 0 0 4px; }
.next-step p { margin: 0; }
.next-step .icon-badge { margin: 0; background: rgba(255,255,255,.1); color: #fff; }
.next-step--warn { background: linear-gradient(120deg, #7A1420, var(--red)); color: #FDE3E6; }
.next-step--good { background: linear-gradient(120deg, #155A3A, var(--good)); color: #DDF1E5; }
.reg-card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 18px; background: #fff; }
.reg-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.reg-card__head h3 { margin: 0; }
.reg-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 16px; background: var(--cream); border-radius: 14px; font-size: .88rem; }
.reg-meta strong { display: block; color: var(--navy); font-family: var(--font-head); }
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.progress span { height: 6px; border-radius: 4px; background: var(--line); }
.progress span.on { background: var(--red); }
.progress-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; font-size: .74rem; color: var(--muted); }
.kit-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kit-row:last-child { border-bottom: 0; }
.kit-row .grow { flex: 1; min-width: 0; }
.kit-row h4 { margin: 0; font-size: 1rem; }
.kit-row p { margin: 0; font-size: .88rem; color: var(--muted); }
.score-bars { display: grid; gap: 14px; }
.score-bar { display: grid; gap: 6px; }
.score-bar__top { display: flex; justify-content: space-between; font-size: .9rem; }
.score-bar__track { height: 10px; background: var(--cream); border-radius: 6px; overflow: hidden; }
.score-bar__fill { height: 100%; background: linear-gradient(90deg, var(--red), #F0707C); border-radius: 6px; }
.empty { text-align: center; padding: 48px 24px; }
.empty .icon-badge { margin: 0 auto 16px; }

/* Receipt and admit card */
.doc-page { padding: 48px 0 96px; }
.doc { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.doc__head { background: var(--navy); color: #fff; padding: 28px 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.doc__head .brand, .doc__head .brand:hover { color: #fff; }
.doc__body { padding: 36px; }
.doc__paid { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--good-50); color: var(--good); font-weight: 700; font-family: var(--font-head); font-size: .85rem; }
.doc__total { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--cream); border-radius: 14px; margin-top: 24px; }
.doc__total strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); }
.doc-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* Pay page */
.pay-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: 48px 0 96px; align-items: start; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-line strong { color: var(--navy); text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.summary-total strong { font-family: var(--font-head); font-size: 2rem; color: var(--navy); }
.secure-note { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin-top: 16px; }
#paypal-buttons { min-height: 50px; }

/* Alumni */
.alumni-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.alumni-card .media { border-radius: 0; }
.alumni-card__body { padding: 24px; display: grid; gap: 10px; }
.alumni-card__body p { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); line-height: 1.45; }
.alumni-card__who strong { color: var(--navy); font-family: var(--font-head); display: block; }
.alumni-card__who span { font-size: .87rem; color: var(--muted); }

/* Values */
.value { display: grid; gap: 10px; padding: 28px; border-left: 3px solid var(--red); background: #fff; border-radius: 0 var(--r) var(--r) 0; }
.value h3 { margin: 0; }
.value p { margin: 0; }

.org { display: grid; gap: 16px; justify-items: center; }
.org-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; text-align: center; width: 100%; max-width: 420px; }
.org-box strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.org-box span { font-size: .88rem; color: var(--muted); }
.org-box--top { background: var(--navy); border-color: var(--navy); }
.org-box--top strong { color: #fff; }
.org-box--top span { color: #AEB7CE; }
.org-line { width: 2px; height: 24px; background: var(--sand-2); }
.org-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 860px; }
.org-row .org-box { max-width: none; }

/* Contact */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.contact-card .icon-badge { margin: 0; }
.contact-card h4 { margin: 0 0 2px; }
.contact-card p { margin: 0; font-size: .93rem; }

/* Prose (legal) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 110px; font-size: .9rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-left: 2px solid var(--line); }
.toc a { color: var(--body); padding-left: 14px; display: block; }
.toc a:hover { color: var(--red); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; background: rgba(10,15,30,.82); backdrop-filter: blur(6px); }
.modal.is-open { display: grid; }
.modal__box { width: min(1080px, 100%); position: relative; }
.modal__box .media, .modal__box video { border-radius: var(--r); width: 100%; aspect-ratio: 16/9; background: #000; }
.modal__close { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; cursor: pointer; }

/* Footer */
.site-footer { background: #0F1730; color: #9AA4BF; padding: 72px 0 32px; font-size: .95rem; }
.site-footer a { color: #C9D0E2; }
.site-footer a:hover { color: #fff; }
.footer-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0; }
.subscribe { display: flex; gap: 10px; background: rgba(255,255,255,.06); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); }
.subscribe input { background: transparent; border: 0; color: #fff; padding: 12px 18px; }
.subscribe input::placeholder { color: #7D88A6; }
.subscribe input:focus { box-shadow: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 56px 0 40px; }
.footer-grid h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand p { margin: 18px 0 20px; max-width: 360px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--red); flex: none; margin-top: 3px; }
.footer-contact a, .footer-contact span { word-break: break-word; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.socials a:hover { background: var(--red); border-color: var(--red); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-trust span { display: inline-flex; gap: 8px; align-items: center; }
.footer-trust .ico { color: #4ADE80; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-film__fallback, .dot-live, .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Admin */
.admin-bar { background: var(--navy); color: #fff; }
.admin-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 16px; flex-wrap: wrap; }
.admin-bar a { color: #C9D0E2; margin-left: 18px; font-weight: 600; }
.admin-bar a:hover, .admin-bar a.on { color: #fff; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 18px; }
.toolbar .field { min-width: 160px; }
.score-inputs { display: grid; grid-template-columns: repeat(3, 70px) auto; gap: 6px; align-items: center; }
.score-inputs input { padding: 8px; text-align: center; }

/* Print */
@media print {
  .topbar, .site-header, .site-footer, .demo-ribbon, .doc-actions, .flash-wrap { display: none !important; }
  body { background: #fff; }
  .doc { box-shadow: none; border: 0; }
  .doc__head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav ul a { padding: 10px 10px; font-size: .9rem; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .journey::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  /* Header must not create a containing block, or the fixed menu gets trapped inside it */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250,246,239,.97); }
  .site-header.is-scrolled { background: rgba(255,255,255,.98); }
  .site-header__inner { min-height: 68px; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(360px, 88vw); background: var(--white);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 88px 24px calc(32px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); z-index: 60;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    /* clip instead of moving it off screen, so it never widens the page */
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease), visibility 0s; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 16px; font-size: 1.05rem; }
  .nav__actions { flex-direction: column; }
  .nav__actions .btn { width: 100%; }
  .nav-toggle { position: relative; z-index: 70; min-width: 44px; min-height: 44px; }
  body.nav-open .site-header { z-index: 90; transform: none !important; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,15,30,.45); z-index: 80; }
  body.nav-open { overflow: hidden; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .kit-grid, .parts { grid-template-columns: 1fr 1fr; }
  .split, .finder, .news-grid, .pay-wrap, .footer-cta, .cta-band, .prose-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 28px; }
  .testi-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { order: 2; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .mini-stats, .reg-meta { grid-template-columns: repeat(2, 1fr); }
  .toc { display: none; }
  .sticky-card { position: static; }
  .topbar__links { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .kit-grid, .parts, .form-grid, .radio-cards, .org-row, .grade-row { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .testi-track { grid-auto-columns: 88%; }
  .news-card--row { flex-direction: column; }
  .news-card--row .media { width: 100%; aspect-ratio: 16/9 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .hero-film__meta { gap: 14px; flex-direction: column; }
  .hero-film__actions .btn { flex: 1 1 100%; }
  .next-step { grid-template-columns: 1fr; }
  .exam-card__facts { grid-template-columns: 1fr 1fr 1fr; }
  .brand__text small { display: none; }
  .topbar p { font-size: .78rem; }
  .subscribe { flex-direction: column; border-radius: 18px; }
  .countdown strong { font-size: 1.5rem; }
  .doc__body { padding: 24px; }
  .table th, .table td { padding: 12px; }
  .section-head--split { align-items: start; }
}

/* Hero film always sits above its placeholder; the poster shows until frames arrive */
.hero-film__media { z-index: 0; isolation: isolate; }
.hero-film__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-film__grid { z-index: 2; }
.hero-film__shade { z-index: 1; }
.hero-film__content { z-index: 2; }
.scroll-cue { z-index: 2; }

/* ---------- Phone and tablet hardening ---------- */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
img, video, svg, iframe { max-width: 100%; }
.hero-film { min-height: min(92vh, 860px); min-height: min(92svh, 860px); }
@media (hover: none), (max-width: 980px) {
  /* Touch devices: no hover lift, no sticky hover states */
  .card--lift:hover, .news-card:hover, .btn:hover { transform: none; }
  .card--lift:hover .media img, .news-card:hover .media img { transform: none; }
}
@media (max-width: 980px) {
  input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero-film__content { padding-top: 88px; padding-bottom: 48px; }
  .finder-band { padding: 56px 0; }
  .finder-card { padding: 24px; }
  .countdown { max-width: none; }
  .sticky-card, .dash-side { position: static; }
  .split > * { min-width: 0; }
  .site-footer a, .footer-bottom nav a, .link-arrow { display: inline-flex; min-height: 40px; align-items: center; }
  .testi-card blockquote { font-size: 1.2rem; }
  .cta-band { padding: 32px 24px; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .dash { gap: 20px; padding-top: 24px; padding-bottom: 64px; }
  .dash-nav { scrollbar-width: none; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .pay-wrap { padding: 24px 0 64px; gap: 20px; }
  .auth-wrap { min-height: 0; }
  .page-hero__art { width: 320px; height: 320px; right: -140px; top: -140px; }
  .media--video { max-width: 520px; margin: 0 auto; }
  /* Dashboard: one column that never grows wider than the screen */
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash > *, .dash-main > *, .pay-wrap > *, .split > *, .finder > * { min-width: 0; }
  .dash-nav { max-width: 100%; }
  .dash-side { padding: 14px; }
  .dash-user { padding-bottom: 12px; margin-bottom: 10px; }
  .pay-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero-film h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-film .lead { font-size: 1rem; }
  .hero-film__meta { margin-top: 32px; padding-top: 18px; font-size: .88rem; }
  .hero-film__actions { gap: 10px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 28px; }
  .lead { font-size: 1.02rem; }
  .finder-actions .btn { flex: 1 1 100%; }
  .stat__num { font-size: 2.3rem; }
  .stat__label { font-size: .95rem; }
  .card, .part, .price-card, .testi-card { padding: 22px; }
  .card.stream-card, .card.alumni-card { padding: 0; }
  .stream-card__body, .alumni-card__body { padding: 20px; }
  .price-card__total { font-size: 2.4rem; }
  .journey { grid-template-columns: 1fr; gap: 20px; }
  .journey__step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; }
  .journey__num { grid-row: span 3; margin: 0; }
  .news-card--feature h3 { font-size: 1.3rem; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button, .filter-bar .btn { flex: none; }
  .filter-bar > span { display: none; }
  .exam-card__facts { gap: 6px; font-size: .78rem; }
  .key-dates div { flex-direction: column; gap: 2px; }
  .key-dates strong { text-align: left; }
  .summary-line { flex-direction: column; gap: 2px; }
  .summary-line strong { text-align: left; }
  .reg-meta { grid-template-columns: 1fr 1fr; padding: 14px; }
  .progress-labels { display: none; }
  .panel { padding: 20px; }
  .form-card { padding: 22px; }
  .doc__head { padding: 20px; }
  .doc__total strong { font-size: 1.4rem; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .mini-stat strong { font-size: 1.2rem; }
  .countdown { gap: 8px; }
  .countdown div { padding: 12px 4px; }
  .footer-cta { padding-bottom: 32px; }
  .footer-grid { padding: 40px 0 28px; }
  .footer-trust { gap: 10px; flex-direction: column; }
  .crumbs { margin-bottom: 16px; }
  .page-hero { padding: 40px 0 36px; }
  .topbar__inner { min-height: 36px; }
  .topbar p { line-height: 1.35; padding: 6px 0; }
  .admit-grid { grid-template-columns: 1fr 110px !important; }
}
