/* ==========================================================================
   Howard Scholars Academy — Design System
   Mobile-first. Edit tokens in :root to restyle the whole site.
   ========================================================================== */

:root {
  /* Color */
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --blue-600: #1d4f91;
  --blue-500: #2563b0;
  --blue-100: #e3ecf8;
  --blue-50:  #f3f7fc;
  --white:    #ffffff;
  --ink:      #0f1b2d;
  --body:     #3c4a5e;
  --muted:    #64748b;
  --line:     #dbe3ee;
  --gold:     #b8954a;   /* crest accent — use sparingly (rules, small marks) */
  --success:  #1f7a4d;
  --danger:   #b42318;

  /* Type */
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.2rem + .8vw, 1.625rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.6vw, 4rem);

  /* Space & shape */
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 3px rgba(11, 37, 69, .08);
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .22);
  --shadow-lg: 0 30px 60px -24px rgba(11, 37, 69, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- 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; font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.65;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy-800); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding: var(--space-section) 0; }
.section.tight { padding: calc(var(--space-section) * .6) 0; }
.section.tint { background: var(--blue-50); }
.section.dark { background: var(--navy-800); color: #c9d6e8; }
.section.dark h2, .section.dark h3, .section.dark h4, .section.dark strong { color: #fff; }
.grid { display: grid; gap: 1.5rem; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: var(--fs-lg); color: var(--body); }
.section.dark .section-head p { color: #c9d6e8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-sans); font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section.dark .eyebrow, .on-dark .eyebrow { color: #9fc0ea; }
.lead { font-size: var(--fs-lg); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff; --bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 700 .975rem/1.2 var(--font-sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--fg); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary:hover { --bg: var(--blue-600); --bd: var(--blue-600); }
.btn-secondary { --bg: transparent; --fg: var(--navy-800); --bd: var(--navy-800); }
.btn-secondary:hover { --bg: var(--navy-800); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--navy-800); --bd: #fff; }
.btn-light:hover { --bg: var(--blue-100); --bd: var(--blue-100); --fg: var(--navy-800); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); }
.btn-outline-light:hover { --bg: #fff; --fg: var(--navy-800); --bd: #fff; }
.btn-sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row .btn { flex: 1 1 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--blue-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Announcement ---------- */
.announce { background: var(--navy-900); color: #dbe6f5; font-size: var(--fs-xs); }
.announce .container { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 40px; padding-top: .45rem; padding-bottom: .45rem; text-align: center; }
.announce a { color: #fff; font-weight: 700; }
.announce[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,37,69,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.12rem; color: var(--navy-800); letter-spacing: .01em; }
.brand-sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; font-weight: 600; }

.primary-nav { display: none; }
.header-ctas { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 1rem var(--gutter) 2rem; }
.mobile-nav-body > ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav-body > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav-body a { display: block; padding: .95rem 0; font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-nav-body a[aria-current="page"] { color: var(--blue-600); }
.mobile-nav-body .sub { list-style: none; margin: -.4rem 0 .6rem; padding: 0 0 0 1rem; border-left: 2px solid var(--blue-100); }
.mobile-nav-body .sub a { font-size: 1rem; font-weight: 500; padding: .55rem 0; color: var(--body); }
.mobile-nav-foot { padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.mobile-nav-contact { font-size: var(--fs-sm); color: var(--muted); margin-top: 1.25rem; }
.mobile-nav-contact a { display: inline; font-size: inherit; padding: 0; color: var(--blue-600); }
body.nav-open { overflow: hidden; }

/* Desktop nav */
@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
  .primary-nav a, .primary-nav button.dd-btn {
    display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: 999px; font: 600 .95rem/1 var(--font-sans);
    color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  }
  .primary-nav a:hover, .primary-nav button.dd-btn:hover, .primary-nav a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
  .primary-nav .dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
  .has-dd { position: relative; }
  .dd-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 560px; padding: .75rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .dd-panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .has-dd.open .dd-panel, .has-dd:hover .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-dd.open .dd-btn svg, .has-dd:hover .dd-btn svg { transform: rotate(180deg); }
  .dd-panel a { display: block; padding: .8rem .9rem; border-radius: 10px; line-height: 1.3; }
  .dd-panel a span { display: block; font-weight: 500; font-size: .84rem; color: var(--muted); margin-top: .3rem; }
  .dd-panel a.dd-all { grid-column: 1 / -1; background: var(--blue-50); color: var(--navy-800); }
  .header-ctas { display: flex; gap: .5rem; align-items: center; }
  .brand img { width: 54px; height: 54px; }
  .brand-name { font-size: 1.25rem; }
}

/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgba(11,37,69,.45); transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { min-height: 48px; padding: .6rem .5rem; font-size: .9rem; }
@media (min-width: 1100px) { .mobile-cta { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 1099px) { body.has-mobile-cta { padding-bottom: 76px; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(2.5rem, 2rem + 4vw, 6rem) 0 clamp(3rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 60%; height: 100%; background: radial-gradient(ellipse at 80% 20%, var(--blue-50), transparent 65%); z-index: -1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--blue-600); font-weight: 500; }
.hero .lead { max-width: 560px; margin-bottom: 1.75rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-note svg { width: 18px; height: 18px; color: var(--blue-600); }
.hero-media { position: relative; }
.hero-media .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .8rem; border: 1px solid var(--line);
}
.float-card strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-800); line-height: 1; }
.float-card small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; margin-top: .25rem; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.fc-1 { left: -.5rem; bottom: -1.25rem; }
.float-card.fc-2 { right: -.5rem; top: 1.25rem; display: none; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } .float-card.fc-2 { display: flex; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .float-card.fc-1 { left: -2.5rem; bottom: 2rem; }
  .float-card.fc-2 { right: -1.5rem; top: 2rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy-800); color: #c9d6e8; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-800) 30%, rgba(11,37,69,.82) 60%, rgba(11,37,69,.55)); z-index: -1; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2.125rem, 1.5rem + 3vw, 3.5rem); }
.page-hero .lead { max-width: 680px; color: #d6e2f2; margin-bottom: 1.75rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.25rem; font-size: var(--fs-xs); letter-spacing: .04em; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #7f9ac0; }
.breadcrumb a { color: #b7cbe6; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 1.5rem 1.25rem; }
.stat strong { display: block; font-family: var(--font-serif); font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); color: var(--navy-800); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: .6rem; font-size: var(--fs-sm); line-height: 1.45; color: var(--body); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 2rem 1.75rem; } }
.footnote { font-size: var(--fs-xs); color: var(--muted); margin-top: 1rem; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.trust li { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.3; }
.trust svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(5, auto); justify-content: space-between; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.card p { font-size: var(--fs-sm); margin-bottom: 1.25rem; }
.card .link-arrow { margin-top: auto; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4d3e6; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.25rem; }
.card .icon svg { width: 26px; height: 26px; }
.card .tag { position: absolute; top: 1.25rem; right: 1.25rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); padding: .3rem .6rem; border-radius: 999px; }
.section.tint .card { border-color: #d5e0ee; }
.card-photo { padding: 0; overflow: hidden; }
.card-photo .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-100); }
.card-photo .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-photo:hover .ph img { transform: scale(1.04); }
.card-photo .body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

/* Feature list */
.features { display: grid; gap: 2rem 2.5rem; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features.c3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.section.dark .feature .icon { background: rgba(255,255,255,.08); color: #9fc0ea; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-sans); font-size: 1.075rem; font-weight: 700; margin: .2rem 0 .35rem; letter-spacing: 0; }
.feature p { font-size: var(--fs-sm); margin: 0; }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4f91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.section.dark .checks li::before { background-color: rgba(255,255,255,.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fc0ea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks.two { grid-template-columns: 1fr; }
@media (min-width: 720px) { .checks.two { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.pills li { padding: .45rem .9rem; border-radius: 999px; background: var(--blue-50); color: var(--navy-700); font-size: var(--fs-sm); font-weight: 600; border: 1px solid #d5e0ee; }

/* Split */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split.reverse > :first-child { order: 2; } }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 3; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.c4 { grid-template-columns: repeat(4, 1fr); } .steps.c3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--blue-500);
  line-height: 1; margin-bottom: 1rem; font-weight: 600;
}
.steps h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: 0; }
.steps p { font-size: var(--fs-sm); margin: 0; }
.steps .link-arrow { margin-top: .8rem; font-size: var(--fs-sm); }
.section.dark .steps li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section.dark .steps li::before { color: #9fc0ea; }

/* Quote */
.quote { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: .5rem; }
.quote figcaption { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .quotes { grid-template-columns: 1.4fr 1fr; } }
.spotlight { background: var(--navy-800); color: #c9d6e8; border-radius: var(--radius-lg); padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); display: flex; flex-direction: column; }
.spotlight .eyebrow { color: #9fc0ea; }
.spotlight .big { font-family: var(--font-serif); color: #fff; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); line-height: 1.15; margin-bottom: 1rem; }
.spotlight .big span { color: #9fc0ea; }

/* CTA band */
.cta-band { position: relative; background: var(--navy-800); color: #c9d6e8; border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 4rem); overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; border: 1px solid rgba(159,192,234,.18); box-shadow: 0 0 0 60px rgba(159,192,234,.04), 0 0 0 120px rgba(159,192,234,.03); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 680px; }
.cta-band p { max-width: 620px; font-size: var(--fs-lg); color: #d6e2f2; }
.cta-band .btn-row { margin-top: 1.75rem; }
.cta-band .contact-line { margin-top: 1.25rem; font-size: var(--fs-sm); color: #b7cbe6; }
.cta-band .contact-line a { color: #fff; }
.cta-inline { display: grid; gap: 1.5rem; align-items: center; background: var(--blue-50); border: 1px solid #d5e0ee; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.cta-inline h3 { margin-bottom: .3rem; }
.cta-inline p { margin: 0; }
@media (min-width: 900px) { .cta-inline { grid-template-columns: 1fr auto; } }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #c4d3e6; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 700; color: var(--ink); font-size: 1.025rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4f91' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.4rem 1.3rem; }
.faq .answer p:last-child { margin: 0; }

/* Info table / price */
.price-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.price strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--navy-800); line-height: 1; margin: .5rem 0; }
.price span { font-size: var(--fs-sm); color: var(--muted); }
.price h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin: 0; letter-spacing: 0; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.info-list li { display: grid; gap: .25rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-list strong { font-weight: 600; }
@media (min-width: 640px) { .info-list li { grid-template-columns: 220px 1fr; align-items: center; } }

/* Resource links */
.resources { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.resources a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, background .2s; }
.resources a:hover { border-color: var(--blue-500); background: var(--blue-50); }
.resources svg { width: 18px; height: 18px; color: var(--blue-600); flex: none; }
@media (min-width: 720px) { .resources.two { grid-template-columns: 1fr 1fr; } }

/* Program detail layout with side nav */
.with-aside { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .with-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.3rem; }
.aside-card .btn { width: 100%; margin-bottom: .6rem; }
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card ul a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.aside-card ul li:last-child a { border-bottom: 0; }
.aside-card ul a:hover, .aside-card ul a[aria-current] { color: var(--blue-600); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.35rem; }
.prose > section + section { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line); }
.callout { background: var(--blue-50); border-left: 3px solid var(--blue-600); padding: 1.1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; font-size: var(--fs-sm); }
.callout p:last-child { margin: 0; }

/* Founder */
.founder { display: grid; gap: 2rem; align-items: center; }
.founder .seal { width: 160px; height: 160px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.founder .seal img { width: 120px; height: 120px; }
@media (min-width: 900px) { .founder { grid-template-columns: auto 1fr; gap: 3.5rem; } .founder .seal { width: 220px; height: 220px; } .founder .seal img { width: 170px; height: 170px; } }
.founder blockquote { margin: 0 0 1rem; font-family: var(--font-serif); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3; color: var(--ink); }
.section.dark .founder blockquote { color: #fff; }

/* Wide photo band */
.photo-band { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-band img { width: 100%; height: clamp(180px, 22vw, 300px); object-fit: cover; object-position: center 30%; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); margin-bottom: .4rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font: 500 1rem/1.4 var(--font-sans); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat; padding-right: 2.75rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(37, 99, 176, .15); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: .35rem; }
.field .error { display: none; font-size: var(--fs-xs); color: var(--danger); margin-top: .35rem; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error { display: block; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy-800); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; font-size: var(--fs-sm); }
.form-status.ok { display: block; background: #e7f5ee; color: var(--success); }
.form-status.err { display: block; background: #fdecea; color: var(--danger); }
.form-status.info { display: block; background: var(--blue-50); color: var(--navy-700); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.embed-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.embed-frame iframe { display: block; width: 100%; border: 0; }
.embed-fallback { padding: 1rem 1.25rem; background: var(--blue-50); border-top: 1px solid var(--line); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }

.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card span { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card a, .contact-card p { font-weight: 600; color: var(--ink); text-decoration: none; margin: .2rem 0 0; display: block; word-break: break-word; }
.contact-card a:hover { color: var(--blue-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb2cc; font-size: var(--fs-sm); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.site-footer a { color: #c9d6e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7f9ac0; }
.footer-brand p { margin: 1.25rem 0 1.5rem; max-width: 340px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; }
.social a:hover { background: #fff; color: var(--navy-900); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-cta { display: grid; gap: .6rem; margin-top: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.5rem 0 2rem; font-size: var(--fs-xs); color: #7f9ac0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom a { color: #9fb2cc; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 2rem; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.divider { height: 1px; background: var(--line); border: 0; margin: 3rem 0; }
.badge-closed { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; background: #fff4dc; border-radius: 999px; padding: .25rem .6rem; margin-left: .4rem; vertical-align: middle; }
.badge-open { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--success); background: #e7f5ee; border-radius: 999px; padding: .25rem .6rem; margin-left: .4rem; vertical-align: middle; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--blue-100); line-height: 1; }

/* ---------- Fixes after QA ---------- */
figure { margin: 0; }
.site-footer .btn { color: var(--fg); text-decoration: none; }
.site-footer .btn:hover { color: var(--fg); text-decoration: none; }
.spotlight { justify-content: center; }
.embed-frame.slow .embed-fallback { background: #fff4dc; }
@media (max-width: 599px) {
  .trust ul { grid-template-columns: 1fr; gap: .75rem; }
  .eyebrow { letter-spacing: .1em; }
  .section-head.center .eyebrow::before { display: none; }
  .hero-media .photo { aspect-ratio: 4 / 3; }
  .cta-band .btn-row .btn { width: 100%; }
}
.field .consent input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; -webkit-appearance: auto; appearance: auto; border: 0; box-shadow: none; }
.field .consent { font-weight: 500; color: var(--body); }
.prose .feature h3 { margin-top: .2rem; font-size: 1.075rem; }
.prose .card h3 { margin-top: 0; }
@media (min-width: 600px) and (max-width: 959px) { .hero-media .photo { aspect-ratio: 16 / 9; } }
