:root {
  --navy: #18364f;
  --navy-deep: #0d2638;
  --blue: #3c70e6;
  --blue-bright: #5e8cff;
  --sky: #dcecff;
  --cream: #fbf8f0;
  --sand: #eee8db;
  --ink: #14232f;
  --muted: #5e6c76;
  --white: #ffffff;
  --lime: #c9e957;
  --orange: #ff9b65;
  --shadow: 0 24px 70px rgba(21, 48, 70, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(24, 54, 79, 0.1);
  box-shadow: 0 8px 30px rgba(24, 54, 79, 0.06);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
  font-size: 1.17rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img { border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}
.site-nav a:not(.nav-cta):hover { color: var(--blue); }
.site-nav .nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  transition: transform 160ms ease, background 160ms ease;
}
.site-nav .nav-cta:hover { transform: translateY(-2px); background: var(--blue); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  padding: 150px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(94, 140, 255, 0.18), transparent 25%),
    linear-gradient(135deg, #fbf8f0 0%, #f3f6f7 68%, #e8f0ff 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  color: var(--navy-deep);
  font-size: clamp(4.2rem, 8vw, 7.3rem);
  line-height: 0.84;
  letter-spacing: -0.07em;
  font-weight: 900;
}
h1 em { color: var(--blue); font-style: normal; }
h2 {
  margin-bottom: 24px;
  color: var(--navy-deep);
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 850;
}
h3 {
  margin-bottom: 12px;
  color: var(--navy-deep);
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.hero-lede {
  max-width: 590px;
  margin-bottom: 34px;
  color: #435461;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 28px rgba(60, 112, 230, 0.28); }
.button-primary:hover { background: #2f61ce; box-shadow: 0 16px 34px rgba(60, 112, 230, 0.34); }
.button-secondary { border-color: rgba(24, 54, 79, 0.2); color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.button-secondary:hover { border-color: var(--navy); }
.button-light { color: var(--navy-deep); background: var(--white); }
.button-light:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18); }
.hero-visual { position: relative; padding-bottom: 48px; }
.photo-frame { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { height: min(620px, 59vw); max-height: 620px; transform: rotate(1.5deg); }
.hero-photo img { object-position: 48% center; }
.hero-note {
  position: absolute;
  left: -36px;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  min-width: 280px;
  padding: 18px 22px;
  border-radius: 18px;
  color: var(--navy-deep);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(21, 48, 70, 0.17);
}
.hero-note strong { font-size: 0.95rem; line-height: 1.2; }
.hero-note > span:last-child { grid-column: 2; color: var(--muted); font-size: 0.78rem; }
.pulse { grid-row: 1 / span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(201, 233, 87, 0.23); }
.hero-shape {
  position: absolute;
  right: -130px;
  bottom: -260px;
  width: 600px;
  height: 600px;
  border: 92px solid rgba(60, 112, 230, 0.08);
  border-radius: 50%;
}

.stats { padding: 42px 0; color: var(--white); background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 10px 30px; border-left: 1px solid rgba(255,255,255,.16); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; margin-bottom: 6px; color: var(--lime); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1; letter-spacing: -0.05em; }
.stat span { display: block; max-width: 130px; color: rgba(255,255,255,.75); font-size: 0.78rem; line-height: 1.35; }

.section { padding: clamp(88px, 11vw, 150px) 0; }
.split-grid, .partnership-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 9vw, 130px); align-items: start; }
.prose { color: var(--muted); font-size: 1.05rem; }
.prose p + p { margin-top: 24px; }
.why { background: var(--white); }
.why h2, .partnership h2 { max-width: 700px; }

.program { position: relative; overflow: hidden; background: var(--sky); }
.program::before {
  content: "";
  position: absolute;
  left: -180px;
  top: 150px;
  width: 460px;
  height: 460px;
  border: 70px solid rgba(255,255,255,.45);
  border-radius: 50%;
}
.program .shell { position: relative; }
.section-heading { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 100px; }
.step-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 79, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 40px rgba(21, 48, 70, 0.07);
}
.step-card.featured { transform: translateY(-14px); color: var(--white); background: var(--blue); }
.step-card.featured h3, .step-card.featured p { color: var(--white); }
.step-card p { color: var(--muted); font-size: 0.94rem; }
.step-number { display: block; margin-bottom: 44px; color: var(--blue); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.16em; }
.featured .step-number { color: var(--lime); }
.step-icon { position: absolute; top: 24px; right: 28px; color: rgba(60,112,230,.15); font-size: 4rem; font-weight: 900; line-height: 1; }
.featured .step-icon { color: rgba(255,255,255,.18); }
.mentor-feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(45px, 7vw, 85px); align-items: center; }
.mentor-feature .photo-frame { height: 560px; }
.mentor-feature .photo-frame img { object-position: center; }
.mentor-copy > p:not(.eyebrow) { color: var(--muted); }
.location-list { display: grid; gap: 14px; margin-top: 34px; }
.location-list div { padding: 16px 18px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: rgba(255,255,255,.65); }
.location-list span, .location-list strong { display: block; }
.location-list span { margin-bottom: 3px; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.location-list strong { color: var(--navy); font-size: .91rem; line-height: 1.35; }

.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: stretch; }
.story-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 520px; padding: clamp(38px, 5vw, 66px); overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background: var(--navy); }
.story-card::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 270px; height: 270px; border: 42px solid rgba(201,233,87,.17); border-radius: 50%; }
.quote-mark { position: absolute; top: 12px; left: 38px; color: rgba(201,233,87,.35); font-family: Georgia, serif; font-size: 9rem; line-height: 1; }
.story-card p { position: relative; z-index: 1; margin-bottom: 30px; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.4; letter-spacing: -0.02em; }
.story-label { position: relative; z-index: 1; color: var(--lime); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.group-photo { min-height: 520px; }
.group-photo img { object-position: center; }

.partnership { background: var(--cream); }
.support { color: var(--white); background: var(--blue); }
.support-wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.support h2 { color: var(--white); }
.support-copy > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.83); font-size: 1.05rem; }
.support-copy strong { color: var(--white); }
.support-note { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem !important; }
.funding-card { padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); background: rgba(9,37,64,.24); box-shadow: 0 24px 70px rgba(14, 46, 80, .2); }
.funding-card h3 { margin-bottom: 28px; color: var(--white); font-size: 1.5rem; }
.funding-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.15); }
.funding-item strong { display: block; color: var(--white); }
.funding-item p { margin: 3px 0 0; color: rgba(255,255,255,.68); font-size: .84rem; line-height: 1.5; }
.funding-dot { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; }
.funding-dot.meals { background: var(--lime); }
.funding-dot.equipment { background: var(--orange); }
.funding-dot.materials { background: var(--sky); }

.site-footer { padding: 48px 0; color: rgba(255,255,255,.72); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; align-items: center; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; }
.footer-brand span { font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 750; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.legal { margin: 0; text-align: right; font-size: .72rem; line-height: 1.65; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 680ms ease, transform 680ms ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
.steps [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.steps [data-reveal]:nth-child(3) { transition-delay: 180ms; }

@media (max-width: 950px) {
  :root { --shell: min(100% - 36px, 760px); }
  .menu-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
  }
  .menu-button span:not(.sr-only) { width: 20px; height: 2px; background: var(--navy); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    visibility: hidden;
    opacity: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(24,54,79,.1);
    box-shadow: 0 20px 30px rgba(24,54,79,.08);
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(24,54,79,.08); }
  .site-nav .nav-cta { margin-top: 14px; border: 0; text-align: center; }
  .hero { min-height: 0; padding: 130px 0 80px; }
  .hero-grid, .split-grid, .partnership-grid, .mentor-feature, .story-grid, .support-wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 650px; margin: 0 auto; }
  .hero-photo { height: 620px; max-height: 72vw; }
  .hero-note { left: 20px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .stat { border-left: 0; padding: 4px 16px 4px 0; }
  .steps { grid-template-columns: 1fr; margin-bottom: 80px; }
  .step-card, .step-card.featured { min-height: 0; transform: none; }
  .mentor-feature .photo-frame { height: min(72vw, 560px); }
  .story-card { min-height: 460px; }
  .group-photo { min-height: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 30px); --radius-lg: 24px; }
  body { font-size: 16px; }
  .nav-wrap { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero { padding-top: 112px; }
  h1 { font-size: clamp(3.55rem, 18vw, 5.1rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-photo { height: 490px; max-height: none; }
  .hero-note { right: 14px; left: 14px; min-width: 0; }
  .stats { padding: 34px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 2.5rem; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 42px; text-align: left; }
  .step-card { padding: 28px; }
  .mentor-feature .photo-frame { height: 470px; }
  .story-card { min-height: 480px; padding: 34px; }
  .quote-mark { left: 22px; }
  .group-photo { min-height: 330px; }
  .funding-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .legal { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
