/* =========================================================
   No Worker Left Behind — Design System
   ========================================================= */

:root {
  /* Brand colors */
  --navy: #0b2545;          /* deep, trustworthy */
  --navy-700: #13315c;
  --navy-500: #1d4275;
  --ink: #0a0f1c;

  --coral: #ff6b35;         /* warm, energetic CTA — backgrounds & accents only */
  --coral-600: #e85a26;
  --coral-700: #c14418;     /* AA-compliant text on white (~5.3:1) */
  --teal: #14b8a6;          /* fresh, AI/growth accent — background only */
  --teal-700: #0d8074;      /* AA-compliant teal text on white */
  --gold: #f5b800;          /* highlight — backgrounds only, never text on white */

  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-warm: #fef7f2;
  --bg-dark: #0b2545;

  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --border: #e5e7eb;
  --border-soft: #f1f5f9;

  /* Radii / shadows */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);

  --max: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
/* In dark contexts (footer), keep logo visible */
.site-footer .brand-mark,
.cta-band .brand-mark { filter: drop-shadow(0 0 8px rgba(13, 124, 255, 0.4)); }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: all 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li:hover > a,
.nav-links > li:hover > button { background: var(--bg-soft); color: var(--navy); }
.nav-links > li > a.active,
.nav-links > li > button.active { color: var(--navy); font-weight: 600; }

/* Dropdowns */
.nav-links .has-dropdown > a::after,
.nav-links .has-dropdown > button::after {
  content: "▾";
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-links .has-dropdown:hover > a::after,
.nav-links .has-dropdown:hover > button::after { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  z-index: 100;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { position: relative; }
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--r-sm);
  font-weight: 500;
  transition: background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.dropdown a .ext { font-size: 11px; opacity: 0.5; }
.dropdown .label-small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 12px 12px 6px;
}
.dropdown .divider {
  height: 1px;
  background: var(--border-soft);
  margin: 6px 0;
}

/* Nested dropdown */
.dropdown .has-submenu > a::after {
  content: "▸";
  font-size: 10px;
  opacity: 0.5;
}
.dropdown .submenu {
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  min-width: 220px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: all 0.18s ease;
}
.dropdown .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media (max-width: 1100px) {
  .dropdown .submenu { left: calc(100% + 2px); }
}

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--coral);
  color: var(--navy);       /* navy on coral = 5.0:1 — AA pass; white was 3.1:1 = AA fail */
  font-weight: 700;
}
.btn-primary:hover { background: var(--coral-600); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35); }
.btn-primary:hover { color: var(--navy); }
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-secondary:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #fef7f2 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(20, 184, 166, 0.12);
  color: #0d8074;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.25);
}
h1.hero-title {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 20px;
}
h1.hero-title .accent {
  background: linear-gradient(120deg, var(--coral), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-trust strong { color: var(--navy); font-weight: 700; }

.hero-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-card .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.02em;
}
.hero-card .stat-label {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.3;
}

/* =========================================================
   Section primitives
   ========================================================= */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(11, 37, 69, 0.08);
  color: var(--navy);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-dark .section-eyebrow { background: rgba(255, 255, 255, 0.12); color: #fff; }
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--navy);
}
.section-dark .section-title { color: #fff; }
.section-lede {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0;
}
.section-dark .section-lede { color: rgba(255, 255, 255, 0.78); }

/* =========================================================
   Mission stats / numbers row
   ========================================================= */
.impact-bar {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.impact-grid .num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 6px;
}
.impact-grid .label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   Pillars
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.pillar-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pillar-card:hover .pillar-image img { transform: scale(1.06); }
.pillar-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 37, 69, 0.6));
}
.pillar-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  z-index: 1;
}
.pillar-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pillar-body h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.pillar-body p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
  flex: 1;
}
.pillar-body .pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--coral-700);  /* AA-compliant on white */
  font-size: 15px;
}
.pillar-body .pillar-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.pillar-card:hover .pillar-link::after { transform: translateX(4px); }

/* =========================================================
   Programs / What we do
   ========================================================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.program-card:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.program-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.program-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.program-card p { margin: 0; color: var(--text-soft); font-size: 15px; }
.program-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   Mission split
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse .split-image { order: 2; }

.mission-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.mission-points li {
  padding: 14px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-soft);
}
.mission-points li:last-child { border-bottom: none; }
.mission-points .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-top: 2px;
}
.mission-points .point-title {
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}
.mission-points .point-desc {
  color: var(--text-soft);
  font-size: 15px;
}

/* =========================================================
   Partners / Logos
   ========================================================= */
.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 36px;
}
.logo-row .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-soft);
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--border);
}
.testimonial .quote {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 24px;
}
.testimonial .quote::before { content: "\201C"; font-size: 48px; color: var(--coral-700); display: block; line-height: 0.5; margin: 12px 0; }
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* =========================================================
   Blog cards
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-image { aspect-ratio: 16/10; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral-700);  /* AA-compliant on white */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--navy);
}
.blog-card p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* =========================================================
   CTA section
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #133159 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  opacity: 0.3;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.25;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0 0 28px; font-size: 18px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); margin: 0 0 18px; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Page hero (non-home pages)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-500) 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.1;
}
.page-hero .lede {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0;
}
.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: #fff; }

/* =========================================================
   Feature grid
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--border);
}
.feature-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature h3 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.feature p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-image { order: 0; }
  .pillars, .programs-grid, .testimonials, .blog-grid, .feature-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; }
}

/* =========================================================
   Accessibility primitives (audit fixes — added 2026-05)
   ========================================================= */

/* Skip link — first focusable element, hidden until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

/* High-contrast focus ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--coral-700);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.dropdown a:focus-visible {
  outline: 2px solid var(--coral-700);
  outline-offset: -2px;
}

/* Sticky header offset for in-page anchors */
.section[id], [id]:not(body) { scroll-margin-top: 88px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pillar-card:hover, .program-card:hover, .blog-card:hover, .feature:hover,
  .btn-primary:hover, .btn-secondary:hover, .testimonial:hover,
  .pillar-card:hover .pillar-image img {
    transform: none !important;
  }
}

/* =========================================================
   Mobile navigation drawer (audit fix — was broken before)
   ========================================================= */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease;
}
.menu-toggle:hover { background: var(--bg-soft); }
.menu-toggle svg { width: 22px; height: 22px; display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open  { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn-outline { display: none; }

  /* Drawer */
  .nav-links {
    display: flex;
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 80px;
    background: #fff;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 90;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links {
    transform: translateX(0);
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links > li > a,
  .nav-links > li > button {
    width: 100%;
    padding: 16px 8px;
    font-size: 17px;
    font-weight: 600;
    justify-content: space-between;
  }
  .nav-links .has-dropdown > a::after,
  .nav-links .has-dropdown > button::after {
    margin-left: auto;
  }
  /* On mobile, expand all dropdowns inline (no hover) */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 12px 16px;
    background: transparent;
  }
  .dropdown .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 4px;
    background: transparent;
  }
  .dropdown a { padding: 10px 8px; }
}

/* =========================================================
   Type-muted retirement — use --text-soft for body-level text
   The old --text-muted (#94a3b8) failed AA on white.
   Kept as legacy for decorative captions but should be avoided.
   ========================================================= */
.text-soft { color: var(--text-soft); }
.text-on-dark { color: rgba(255,255,255,0.85); }
