/* ============================================================
   Junior Achievement of South Florida
   Design system — built on the JA USA 2026 Brand Guidelines
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root {
  /* Primary (dominant 60–80%) */
  --blue-black: #22404D;
  --blue-black-90: #2c4d5b;
  --white: #ffffff;

  /* Secondary (17–30%) */
  --boundless: #285F74;
  --teal: #00889C;
  --turquoise: #00A0AF;
  --aqua: #00C0CA;

  /* Accents (1–5% — never large blocks) */
  --ice: #C3EDEF;
  --pale-blue: #99D9DF;
  --yellow: #E3E24F;
  --pale-yellow: #F4E0AB;
  --lime: #8FC440;
  --green: #009B2D;

  /* Neutrals */
  --ink: #1b333d;
  --slate: #4a606b;
  --mist: #f4f8f9;
  --mist-2: #e9f1f3;
  --line: #dbe6e9;

  /* Approved gradients */
  --grad-aqua-yellow: linear-gradient(100deg, var(--aqua) 0%, var(--lime) 55%, var(--yellow) 100%);
  --grad-blackteal: linear-gradient(120deg, var(--blue-black) 0%, var(--teal) 100%);
  --grad-blackaqua: linear-gradient(125deg, var(--blue-black) 0%, var(--boundless) 45%, var(--aqua) 100%);

  /* Type */
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-cond: 'Roboto Condensed', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(34, 64, 77, .06);
  --shadow: 0 18px 50px -20px rgba(34, 64, 77, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--turquoise); }
ul { margin: 0; padding: 0; }

/* Keyboard focus — brand aqua ring, never a bare browser outline */
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; }
.bg-dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--ice); }

/* ---- Type scale ------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-black); line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--slate); line-height: 1.55; text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 700;
  font-size: .82rem;
  color: var(--teal);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--aqua); display: inline-block; }
.on-dark .eyebrow, .eyebrow.light { color: var(--aqua); }
.display { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: .98; letter-spacing: -.02em; }

/* ---- Layout ----------------------------------------------- */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 3rem, var(--container-narrow)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.center { text-align: center; }
.center .eyebrow { display: inline-flex; }

.grid { display: grid; gap: 1.6rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

/* ---- Surfaces --------------------------------------------- */
.bg-dark { background: var(--blue-black); color: #dce8ec; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-mist { background: var(--mist); }
.bg-grad { background: var(--grad-blackaqua); color: #eaf6f8; }
.bg-grad h2, .bg-grad h3 { color: #fff; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua); color: var(--blue-black); }
.btn-primary:hover { background: var(--turquoise); color: var(--blue-black); box-shadow: 0 12px 28px -10px rgba(0, 192, 202, .7); }
.btn-donate { background: var(--yellow); color: var(--blue-black); }
.btn-donate:hover { background: #eceb6a; color: var(--blue-black); box-shadow: 0 12px 28px -10px rgba(227, 226, 79, .8); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--blue-black); }
.on-dark .btn-ghost, .btn-ghost.light { color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn .arrow { width: 14px; height: 14px; }

/* ---- Header / nav ----------------------------------------- */
.topbar { background: var(--blue-black); color: #cfe0e5; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; }
.topbar a { color: #cfe0e5; }
.topbar a:hover { color: var(--aqua); }
.topbar .tb-right { display: flex; gap: 1.3rem; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand .brand-txt { font-family: var(--font-head); font-weight: 800; color: var(--blue-black); line-height: 1; font-size: 1.02rem; }
.brand .brand-txt small { display: block; font-family: var(--font-cond); font-weight: 500; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }

.menu { display: flex; align-items: center; gap: .35rem; list-style: none; }
.menu > li { position: relative; }
.menu > li > a { font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--blue-black); padding: .6rem .8rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem; }
.menu > li > a:hover, .menu > li.open > a { background: var(--mist-2); color: var(--teal); }
.menu .caret { width: 9px; height: 9px; opacity: .6; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 248px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s var(--ease);
}
.menu > li:hover .dropdown, .menu > li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--mist); color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--blue-black); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--blue-black); color: #eaf6f8; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 70% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,64,77,.97) 0%, rgba(34,64,77,.9) 42%, rgba(34,64,77,.6) 78%, rgba(34,64,77,.45) 100%); }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 85% 10%, rgba(0, 192, 202, .35), transparent 60%), radial-gradient(60% 80% at 10% 100%, rgba(40, 95, 116, .55), transparent 60%); }
.hero-inner { padding: clamp(4rem, 10vw, 8.5rem) 0 clamp(3.5rem, 8vw, 7rem); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #bcd6dd; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.2rem; }
.hero-stats .stat-num { color: var(--aqua); }

/* ---- Stats ------------------------------------------------ */
.stat-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--teal); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--slate); margin-top: .5rem; }
.on-dark .stat-label, .bg-dark .stat-label { color: #9fbcc4; }

/* ---- Cards ------------------------------------------------ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ice); }
.card .ic { width: 46px; height: 46px; color: var(--teal); margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--slate); font-size: .98rem; margin-bottom: .8rem; }
.card .more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--teal); display: inline-flex; align-items: center; gap: .4rem; }
.card.link-card { display: flex; flex-direction: column; }
.card.link-card .more { margin-top: auto; }

/* Program card with color spine */
.prog-card { position: relative; overflow: hidden; }
.prog-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--aqua); }
.prog-card .tag { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--teal); }

/* ---- Pill / chips ----------------------------------------- */
.chip { display: inline-block; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: var(--ice); color: var(--boundless); }

/* ---- Audience / pathway tiles ----------------------------- */
.pathway { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.path-tile { display: block; padding: 1.5rem 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .2s var(--ease); }
.path-tile:hover { background: var(--blue-black); border-color: var(--blue-black); transform: translateY(-4px); box-shadow: var(--shadow); }
.path-tile:hover h4, .path-tile:hover p, .path-tile:hover .ic { color: #fff; }
.path-tile .ic { width: 34px; height: 34px; color: var(--teal); margin-bottom: .9rem; }
.path-tile h4 { margin-bottom: .25rem; }
.path-tile p { font-size: .85rem; color: var(--slate); margin: 0; }

/* ---- Story / quote ---------------------------------------- */
.quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; color: var(--blue-black); letter-spacing: -.01em; }
.bg-dark .quote, .bg-grad .quote { color: #fff; }
.quote-mark { color: var(--aqua); font-size: 3rem; line-height: 0; }
.cite { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--teal); margin-top: 1.2rem; }

.story-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: var(--blue-black); }
.story-card .media { position: absolute; inset: 0; z-index: 0; }
.story-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 64, 77, .1) 0%, rgba(34, 64, 77, .92) 85%); }
.story-card .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.story-card .body { position: relative; z-index: 1; padding: 2rem; }
.story-card h3 { color: #fff; }
.story-card .chip { background: rgba(255, 255, 255, .16); color: #fff; }

/* duotone treatment for imagery (brand spec) */
.duotone { position: relative; }
.duotone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.duotone::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; background: var(--grad-blackteal); opacity: .42; }
.duotone.ratio { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }

/* ---- CTA band --------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); background: var(--grad-blackaqua); color: #fff; isolation: isolate; }
.cta-band .pat { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.cta-band h2 { color: #fff; max-width: 18ch; }

/* ---- Impact metric strip ---------------------------------- */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.metric-strip .stat-num { color: var(--aqua); }

/* ---- Footer ----------------------------------------------- */
.site-footer { background: var(--blue-black); color: #aac3cb; padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; font-size: .92rem; }
.site-footer h5 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #fff; margin: 0 0 1.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer a { color: #aac3cb; }
.site-footer a:hover { color: var(--aqua); }
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-brand img { height: 52px; margin-bottom: 1.1rem; }
.social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--blue-black); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: #80a0a9; }

/* newsletter */
.subscribe { display: flex; gap: .6rem; margin-top: 1rem; }
.subscribe input { flex: 1; min-width: 0; padding: .75rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-family: var(--font-body); }
.subscribe input::placeholder { color: #93b1ba; }

/* ---- Page hero (interior) --------------------------------- */
.page-hero { background: var(--blue-black); color: #eaf6f8; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .hero-glow { opacity: .9; }
.page-hero .inner { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: #bcd6dd; max-width: 56ch; }
.breadcrumb { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: #8fb3bc; margin-bottom: 1.2rem; }
.breadcrumb a { color: #8fb3bc; }
.breadcrumb a:hover { color: var(--aqua); }

/* ---- Forms ------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--blue-black); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--mist); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 3px rgba(0, 192, 202, .15); }

/* donate tiers */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.amount {
  text-align: center; padding: 1rem .6rem; border: 2px solid var(--line); border-radius: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--blue-black);
  cursor: pointer; background: #fff; transition: .15s;
}
.amount:hover { border-color: var(--aqua); }
.amount.active { border-color: var(--aqua); background: var(--blue-black); color: #fff; }
.amount span { display: block; font-family: var(--font-cond); font-weight: 500; font-size: .72rem; letter-spacing: .04em; color: var(--slate); margin-top: .3rem; text-transform: none; }
.amount.active span { color: var(--ice); }
.toggle { display: inline-flex; background: var(--mist-2); border-radius: 999px; padding: 4px; gap: 4px; }
.toggle button { border: 0; background: transparent; padding: .55rem 1.2rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--slate); cursor: pointer; }
.toggle button.active { background: #fff; color: var(--blue-black); box-shadow: var(--shadow-sm); }

/* ---- Timeline (about) ------------------------------------- */
.timeline { display: grid; gap: 0; position: relative; }
.timeline .row { display: grid; grid-template-columns: 130px 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.timeline .yr { font-family: var(--font-head); font-weight: 900; color: var(--aqua); font-size: 1.4rem; }
.timeline .row h4 { margin-bottom: .3rem; }
.timeline .row p { color: var(--slate); margin: 0; font-size: .96rem; }

/* ---- Logo cloud ------------------------------------------- */
.logo-cloud { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }
.logo-cloud .lc { font-family: var(--font-head); font-weight: 800; color: var(--slate); opacity: .7; font-size: 1.1rem; letter-spacing: .02em; }

/* Partner logo grid — real sponsor logos, calm grayscale that colors on hover */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 1.6rem 2rem; align-items: center; justify-items: center; }
.logo-grid img { width: 100%; max-width: 150px; height: 50px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.logo-grid img:hover { filter: grayscale(0); opacity: 1; }

/* ---- Blog / news article ---------------------------------- */
.post-body { font-size: 1.08rem; line-height: 1.7; color: var(--ink); }
.post-body > *:first-child { margin-top: 0; }
.post-body h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.post-body h3 { font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
.post-body p { margin: 0 0 1.1em; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.2rem 0; }
.post-body a { color: var(--teal); text-decoration: underline; }
.post-body ul, .post-body ol { margin: 0 0 1.1em 1.4em; }
.post-body li { margin: .35em 0; }
.post-body blockquote { border-left: 4px solid var(--aqua); margin: 1.4rem 0; padding: .4rem 0 .4rem 1.2rem; color: var(--slate); font-style: italic; }
.post-body iframe, .post-body figure { max-width: 100%; }
.post-body figure { margin: 1.2rem 0; }
.post-meta { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #8fb3bc; }
.post-featured { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; }
.post-featured img { width: 100%; display: block; }

/* News index cards */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ice); }
.news-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nc-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 1.1rem; line-height: 1.28; margin: .4rem 0 .5rem; }
.news-card p { color: var(--slate); font-size: .9rem; margin: 0 0 1rem; }
.news-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--teal); }

/* ---- Video embed ------------------------------------------ */
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--blue-black); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Board roster ----------------------------------------- */
.roster { columns: 3; column-gap: 2.2rem; list-style: none; margin: 0; }
.roster li { break-inside: avoid; padding: .42rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.roster li strong { color: #fff; font-weight: 600; font-size: .92rem; display: block; }
.roster li span { color: #8fb3bc; font-size: .8rem; }
@media (max-width: 900px) { .roster { columns: 2; } }
@media (max-width: 560px) { .roster { columns: 1; } }

/* ---- Leadership headshots --------------------------------- */
.leader { text-align: center; }
.leader .avatar { width: 124px; height: 124px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 3px solid var(--ice); background: var(--mist); }
.leader .avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader h4 { margin: 0 0 .2rem; font-size: 1.08rem; }
.leader .role { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 600; color: var(--teal); }

/* ---- Accordion (faq) -------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 1.3rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--blue-black); display: flex; justify-content: space-between; gap: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--teal); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.acc[open] summary::after { content: "–"; }
.acc p { color: var(--slate); padding-bottom: 1.3rem; margin: 0; }

/* ---- Misc ------------------------------------------------- */
/* Reveal-on-scroll only applies when JS is active (.js added on <html>).
   Without JS the content is fully visible — resilient + SEO-safe. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.divider-arrow { display: inline-block; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--blue-black); padding: .7rem 1.2rem; border-radius: 0 0 8px 0; font-weight: 700; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pathway { grid-template-columns: repeat(2, 1fr); }
  .metric-strip { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .topbar { display: none; }

  .hamburger { display: block; }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 5rem 1.2rem 2rem; transform: translateX(100%); transition: transform .25s var(--ease);
    box-shadow: var(--shadow); overflow-y: auto; z-index: 70;
  }
  .menu.open { transform: translateX(0); }
  .menu > li > a { padding: .85rem .6rem; font-size: 1.05rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--ice); border-radius: 0; margin: 0 0 .5rem .6rem; padding: 0 0 0 .6rem; max-height: 0; overflow: hidden; transition: max-height .25s; }
  .menu > li.open .dropdown { max-height: 600px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(34, 64, 77, .4); opacity: 0; visibility: hidden; transition: .2s; z-index: 65; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem 2rem; }
  .timeline .row { grid-template-columns: 70px 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
