/* ==========================================================================
   AFTREAT — site stylesheet
   Brand colours from the AFTREAT logo: teal, aqua, ocean, deep navy.
   One typeface (Plus Jakarta Sans). Friendly rounded cards, pill buttons,
   real photography and VR stills. Nothing is set below 15px.
   ========================================================================== */

:root {
  --navy: #0E273A;          /* brand navy: headings, dark bands */
  --navy-2: #15344D;
  --ocean: #004D7A;
  --teal: #008280;          /* primary: buttons, links (4.7:1 on white) */
  --teal-dark: #00696A;
  --aqua: #00DCCE;          /* accent on dark grounds */
  --mint: #E8F7F5;          /* tinted sections */
  --mint-2: #CFEFEB;
  --sky: #F4F8FA;
  --white: #fff;
  --ink: #0E273A;
  --body: #3D5267;
  --muted: #5B6F82;
  --line: #D8E5E9;
  --on-dark: #C5D4DF;

  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 48px -28px rgba(14, 39, 58, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip-icon {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px;
  background: var(--mint); color: var(--teal);
  transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease);
}
.chip-icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.chip-icon--sm { width: 44px; height: 44px; border-radius: 12px; }
.chip-icon--sm .icon { width: 22px; height: 22px; }
.on-dark .chip-icon, .chip-icon--dark { background: rgba(0, 220, 206, .12); color: var(--aqua); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--mint { background: var(--mint); }
.section--sky { background: var(--sky); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* ---------- Type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--teal); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--aqua); }
.on-dark .kicker, .section--navy .kicker { color: var(--aqua); }
.h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; letter-spacing: -.015em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--body); max-width: 62ch; text-wrap: pretty; }
.section--navy .lead, .on-dark .lead { color: var(--on-dark); }
.prose { max-width: 66ch; text-wrap: pretty; }
.prose > * + * { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose h4 { color: var(--ink); font-size: 17px; font-weight: 700; margin-top: 26px; }
.prose h4 + * { margin-top: 10px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.prose--modal { max-width: none; }
.prose--modal > h4:first-child { margin-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }
.section-head--row > div { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 19px; height: 19px; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover .icon--down { transform: translateY(3px); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 22px -12px rgba(0, 130, 128, .8); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--mint-2); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--aqua { background: var(--aqua); color: var(--navy); }
.btn--aqua:hover { background: #3CE8DC; }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.link .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .3s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.on-dark .link, .section--navy .link { color: var(--aqua); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -24px rgba(14, 39, 58, .35); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--body); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--ink); background: var(--sky); }
[data-active] > .nav__link, .nav__link[aria-current="page"] { color: var(--teal); background: var(--mint); }
.nav__cta { min-height: 46px; padding: 10px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); background: var(--mint); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__org { display: block; max-width: 46ch; margin-bottom: 18px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--teal); }
.hero .h1 { max-width: 15ch; }
.hero .lead { margin-top: 22px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fact-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: 0 1px 0 rgba(14, 39, 58, .06); }
.fact-pill .icon { width: 20px; height: 20px; color: var(--teal); }
.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1.05; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  display: block; position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 28px; width: min(320px, 78%);
  padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
.hero__card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hero__card:hover { transform: translateY(-3px); }
.hero__card-head { display: flex; align-items: center; gap: 12px; }
.hero__card-head img { width: 52px; height: 52px; object-fit: contain; }
.hero__card-head p { font-size: 15px; line-height: 1.4; color: var(--muted); }
.hero__card-head strong { display: block; font-size: 17px; color: var(--ink); }
.hero__card ul { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero__card li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero__card li .icon { width: 20px; height: 20px; color: var(--teal); }

/* ---------- Trust strip ---------- */
.trust { padding-block: 28px; border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 36px; }
.trust p { font-size: 16px; font-weight: 600; color: var(--ink); text-align: center; }
.trust__logos { display: flex; align-items: center; gap: 22px; }
.trust__logos img { height: 52px; width: auto; }
.trust__logos .seal { height: 64px; }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.mosaic img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.points { display: grid; gap: 14px; margin-top: 28px; }
.points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: var(--body); }
.points .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--teal); stroke-width: 2; }
.points strong { color: var(--ink); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card h3 { font-size: 19px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--body); }
a.card:hover, .card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-2); }
a.card:hover .chip-icon { background: var(--teal); color: var(--white); }
.card__foot { margin-top: auto; padding-top: 6px; }
.card--cta { background: var(--navy); border-color: var(--navy); color: var(--on-dark); justify-content: space-between; }
.card--cta h3 { color: var(--white); font-size: 21px; }
.card--cta .link { color: var(--aqua); }
.section--mint .card { border-color: transparent; }

/* Curriculum topics */
.topics { --cols: 4; }
.topic { flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
.topic h3 { font-size: 17px; }

/* Why choose us */
.reasons { display: grid; gap: 14px; }
.reason { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.reason h3 { font-size: 19px; font-weight: 700; }
.reason p { margin-top: 6px; font-size: 16px; }
.sticky-head { position: sticky; top: calc(var(--header-h) + 32px); }

/* Featured program band */
.feature-band { border-radius: 32px; background: var(--navy); color: var(--on-dark); padding: clamp(32px, 5vw, 64px); overflow: hidden; position: relative; isolation: isolate; }
.feature-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature-band h2 { color: var(--white); }
.feature-band .lead { color: var(--on-dark); margin-top: 18px; }
.feature-band__logos { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.feature-band__logos span { display: grid; place-items: center; height: 64px; padding: 8px 14px; border-radius: 14px; background: var(--white); }
.feature-band__logos img { height: 48px; width: auto; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.fact .icon { width: 26px; height: 26px; color: var(--aqua); }
.fact strong { display: block; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.fact span { font-size: 15px; line-height: 1.45; color: var(--on-dark); }

/* Support chips */
.support-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.support-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--ink); }
.support-chip .icon { width: 22px; height: 22px; color: var(--teal); }

/* Partners */
.partner-names { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.partner-names li { padding: 12px 22px; border-radius: 999px; background: var(--white); font-size: 17px; font-weight: 700; color: var(--ink); box-shadow: 0 1px 0 rgba(14, 39, 58, .06); }
.partner-names li.more { background: transparent; box-shadow: none; color: var(--muted); padding-inline: 8px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat__value { font-size: clamp(42px, 5vw, 58px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .5em; color: var(--teal); margin-left: 2px; }
.stat__label { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--body); }
.section--navy .stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section--navy .stat__value { color: var(--white); }
.section--navy .stat__value small { color: var(--aqua); }
.section--navy .stat__label { color: var(--on-dark); }

/* Get involved */
.involve { --cols: 4; }
.involve .card { padding: 26px 24px 24px; }

/* Final call to action */
.cta-panel {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 60px); border-radius: 32px; background: var(--teal); color: rgba(255, 255, 255, .88);
}
.cta-panel h2 { color: var(--white); }
.cta-panel p { margin-top: 14px; font-size: 19px; }
.cta-panel .btn-row { margin-top: 0; justify-content: flex-end; }
.cta-panel .btn--dark { background: var(--navy); }
.cta-panel .btn--outline-light { border-color: rgba(255, 255, 255, .5); }

/* ---------- Patient advocacy (home) ---------- */
.advocacy { background: linear-gradient(180deg, var(--sky) 0%, var(--white) 520px); }
.advocacy-block { margin-top: clamp(56px, 7vw, 88px); }
.advocacy-block > .h3 { margin-bottom: 22px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.focus-card { display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -32px rgba(14, 39, 58, .35); }
.focus-card__head { display: flex; align-items: center; gap: 14px; }
.focus-card__head h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.focus-stat { margin-top: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--body); }
.focus-stat strong { display: block; margin-bottom: 6px; font-size: clamp(40px, 4.4vw, 54px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--teal); }
.focus-facts { display: grid; gap: 10px; margin-top: 18px; }
.focus-facts li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.focus-facts li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.sources { margin-top: auto; padding-top: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sources a { color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mint-2); text-underline-offset: 3px; }
.sources a:hover { text-decoration-color: currentColor; }
.sources--dark { color: var(--on-dark); }
.sources--dark a { color: var(--aqua); text-decoration-color: rgba(0, 220, 206, .4); }
.pillars { --cols: 3; }

.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.resource { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.resource:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mint-2); }
.resource h4 { font-size: 18px; line-height: 1.35; font-weight: 800; color: var(--ink); }
.resource p { font-size: 16px; line-height: 1.55; }
.resource__contact { display: grid; gap: 8px; padding: 14px 0 2px; border-top: 1px solid var(--line); }
.resource__contact li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; font-weight: 700; color: var(--ink); }
.resource__contact .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--teal); }
.resource__contact a { color: var(--teal); }
.resource__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.resource__contact span span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.resource__link { margin-top: auto; padding-top: 4px; }
.resource__link .icon { width: 17px; height: 17px; }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.tag--rare { background: var(--mint); color: var(--teal-dark); }
.tag--neuro { background: #EEF0FB; color: #3F4BA8; }
.tag--cancer { background: #FCEEF2; color: #A3294D; }

.trials .h2 { color: var(--white); }
.trials .lead { margin-top: 16px; }
.trials__note { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--on-dark); max-width: 52ch; }
.checks.checks--dark li { color: var(--on-dark); font-size: 16px; line-height: 1.55; }
.checks.checks--dark strong { color: var(--white); }
.checks.checks--dark .icon { color: var(--aqua); }
.checks--dark + .sources { margin-top: 20px; }

.calendar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.calendar__item { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--aqua); }
.calendar__date { font-size: 15px; font-weight: 800; color: var(--teal); }
.calendar__item strong { font-size: 17px; line-height: 1.35; color: var(--ink); }
.calendar__item span:last-child { font-size: 15px; line-height: 1.45; color: var(--muted); }

.note { display: flex; align-items: flex-start; gap: 12px; margin-top: clamp(40px, 5vw, 56px); padding: 18px 20px; border-radius: var(--radius-sm); background: var(--sky); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--body); }
.note .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--teal); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); background: var(--navy); color: var(--on-dark); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 39, 58, .92) 0%, rgba(14, 39, 58, 0) 45%),
    linear-gradient(90deg, rgba(14, 39, 58, .97) 0%, rgba(14, 39, 58, .9) 50%, rgba(14, 39, 58, .68) 100%);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: var(--on-dark); margin-top: 20px; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; font-size: 15px; color: var(--on-dark); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--aqua); font-weight: 600; }
.page-hero__badges { justify-self: end; display: grid; justify-items: center; gap: 18px; width: min(280px, 100%); padding: 26px 24px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.page-hero__badges img { width: 100%; height: auto; max-width: 210px; }
.page-hero__badges .seal { max-width: 128px; }
.page-hero .kicker { color: var(--aqua); }
.wordmark { width: min(240px, 60vw); margin-bottom: 22px; }

/* Facts strip under the program hero */
.facts-strip { position: relative; z-index: 2; margin-top: -40px; }
.facts-strip ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 8px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.facts-strip li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.facts-strip li + li { border-left: 1px solid var(--line); }
.facts-strip strong { display: block; font-size: 18px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.facts-strip span span { display: block; font-size: 15px; color: var(--muted); }

/* Checklists */
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 17px; color: var(--ink); }
.checks .icon { width: 24px; height: 24px; color: var(--teal); stroke-width: 2; }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }

/* Graduation benefits */
.benefits { display: grid; gap: 14px; }
.benefit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.benefit strong { display: block; font-size: 18px; color: var(--ink); }
.benefit p { font-size: 16px; }

/* Media frames */
.frame { position: relative; display: block; width: 100%; padding: 12px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.frame img { width: 100%; border-radius: 14px; }
.zoomable { cursor: zoom-in; }
.zoomable::after {
  content: ""; position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(14, 39, 58, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; transform: none; }

/* Eligibility self-check */
.eligibility { padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.eligibility__list { display: grid; gap: 10px; margin-top: 22px; }
.eligibility__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); cursor: pointer; font-size: 17px; font-weight: 600; color: var(--ink); transition: border-color .2s var(--ease), background .2s var(--ease); }
.eligibility__item:hover { border-color: var(--mint-2); }
.eligibility__item input { position: absolute; opacity: 0; pointer-events: none; }
.box { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--mint-2); background: var(--white); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.box .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.eligibility__item:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.eligibility__item:has(input:checked) .box { background: var(--teal); border-color: var(--teal); color: var(--white); }
.eligibility__item:has(input:focus-visible) { outline: 3px solid var(--aqua); outline-offset: 2px; }
.eligibility__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--sky); font-size: 17px; font-weight: 600; color: var(--ink); }
.eligibility__result.is-ready { background: var(--navy); color: var(--white); }
.eligibility__count { font-variant-numeric: tabular-nums; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 18px; font-weight: 800; }
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; font-size: 16px; }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--navy); overflow: hidden; }
.video img, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; background: linear-gradient(180deg, rgba(14, 39, 58, 0) 45%, rgba(14, 39, 58, .65)); }
.video__play span { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--white); color: var(--teal); box-shadow: 0 0 0 10px rgba(255, 255, 255, .2); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.video__play .icon { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; stroke: none; }
.video__play:hover span { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(0, 220, 206, .3); }
.video__label { position: absolute; left: 20px; bottom: 16px; color: var(--white); font-size: 16px; font-weight: 700; pointer-events: none; }
.video.is-playing .video__play, .video.is-playing .video__label { display: none; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- Course library (shared partial) ---------- */
.tabs__list { display: flex; gap: 6px; padding: 6px; margin-bottom: 28px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--white); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: none; padding: 10px 20px; border-radius: 999px; font-size: 16px; font-weight: 700; color: var(--body); transition: background .25s var(--ease), color .25s var(--ease); }
.tabs__tab:hover { color: var(--ink); background: var(--sky); }
.tabs__tab[aria-selected="true"] { background: var(--teal); color: var(--white); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 190px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.course__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--teal); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.course__title { font-size: 19px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; }
.course__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--teal); }
.course__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course__btn .arrow { transition: transform .3s var(--ease); }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-2); }
.course:hover .course__btn .arrow { transform: translateX(4px); }
.course:hover .course__num { background: var(--teal); color: var(--white); }

/* Features checklist (library page) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.features li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); font-size: 17px; font-weight: 700; color: var(--ink); }
.features .icon { color: var(--teal); stroke-width: 2; }

/* ---------- Modal ---------- */
.modal { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 24px; background: var(--white); color: var(--body); box-shadow: 0 40px 100px -30px rgba(14, 39, 58, .6); overflow: hidden; }
.modal::backdrop { background: rgba(14, 39, 58, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__inner { position: relative; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.modal__body { padding: clamp(28px, 4vw, 44px); }
.modal__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin: 0 52px 22px 0; color: var(--ink); }
.modal__close { position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--ink); transition: background .2s, color .2s; }
.modal__close:hover { background: var(--navy); color: var(--white); }
.modal--media { width: min(1200px, calc(100vw - 32px)); }
.modal--media .modal__body { padding: clamp(16px, 2.4vw, 28px); }
.modal--media .modal__body img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sky); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-about p { margin-top: 18px; max-width: 46ch; font-size: 16px; color: var(--body); }
.footer-about .brand img { width: 180px; }
.footer-col__title { margin-bottom: 14px; font-size: 16px; font-weight: 800; color: var(--ink); }
.footer-col ul { display: grid; gap: 10px; font-size: 16px; }
.footer-col a:hover { color: var(--teal); }
.footer-contact li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.footer-contact a { font-weight: 700; color: var(--teal); }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: .05s, .05s, 0s, 0s; }
.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: .1s, .1s, 0s, 0s; }
.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: .15s, .15s, 0s, 0s; }
.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: .2s, .2s, 0s, 0s; }
.js .reveal-stagger.is-in > :nth-child(n+6) { transition-delay: .25s, .25s, 0s, 0s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Mobile menu below 1140px: the five menu items need about 1100px on one line */
@media (max-width: 1140px) {
  .site-header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { width: 100%; height: 58px; padding: 0 16px; font-size: 19px; border-radius: 14px; }
  .nav__cta { margin-top: 20px; min-height: 56px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1260px) and (min-width: 1141px) {
  .nav__link { padding: 0 11px; font-size: 15px; }
  .nav { gap: 16px; }
}
@media (max-width: 1024px) {
  .hero__grid, .split, .feature-band__grid, .page-hero__grid, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; }
  .hero__card { left: 16px; }
  .topics, .involve { --cols: 2; }
  .cards { --cols: 2; }
  .focus-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sticky-head { position: static; }
  .page-hero__badges { justify-self: start; grid-template-columns: auto auto; align-items: center; width: auto; padding: 16px 22px; }
  .page-hero__badges .seal { max-width: 84px; }
  .page-hero__badges img { max-width: 170px; }
  .facts-strip ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .facts-strip li { grid-column: span 2; }
  .facts-strip li:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .facts-strip li:nth-child(4) { border-left: 0; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel .btn-row { justify-content: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 68px; }
  body { font-size: 16px; }
  .brand img { width: 140px; }
  .topics, .involve, .cards { --cols: 1; }
  .resources { grid-template-columns: minmax(0, 1fr); }
  .calendar { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts-strip { margin-top: 24px; }
  .facts-strip ul { grid-template-columns: minmax(0, 1fr); }
  .facts-strip li, .facts-strip li:nth-child(n+4) { grid-column: auto; }
  .facts-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .checks--2, .features { grid-template-columns: minmax(0, 1fr); }
  .video-grid, .course-grid { grid-template-columns: minmax(0, 1fr); }
  .course { min-height: 0; }
  .reason { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .feature-band, .cta-panel { border-radius: 24px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}

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