/* =========================================================
   MIND GROWUP FOUNDATION
   Design system: warm storybook landscape
   Type: Fraunces (display) + Plus Jakarta Sans (body)
   Color: brief palette in OKLCH, blue-tinted neutrals
   ========================================================= */

:root {
  /* ---- Brand (OKLCH, approx of brief hex) ---- */
  --blue-900: oklch(0.37 0.135 266);   /* #1E3A8A deep blue */
  --blue-700: oklch(0.50 0.15 262);
  --blue-100: oklch(0.90 0.035 262);   /* footer light tint */
  --blue-50:  oklch(0.95 0.02 262);    /* footer background */
  --sky-500:  oklch(0.72 0.14 252);    /* #60A5FA */
  --sky-300:  oklch(0.86 0.07 245);
  --orange-500: oklch(0.78 0.165 70);  /* #F59E0B */
  --orange-600: oklch(0.70 0.16 55);
  --yellow-300: oklch(0.92 0.09 96);   /* #FDE68A */
  --yellow-100: oklch(0.97 0.04 96);

  /* ---- Neutrals, tinted toward blue ---- */
  --bg:       oklch(0.995 0.004 250);
  --bg-tint:  oklch(0.975 0.012 250);
  --surface:  oklch(1 0 0);
  --ink:      oklch(0.28 0.045 266);
  --ink-soft: oklch(0.44 0.035 266);
  --muted:    oklch(0.60 0.025 266);
  --line:     oklch(0.90 0.015 255);

  /* ---- Gradients ---- */
  --grad-sky:    linear-gradient(180deg, oklch(0.93 0.05 240), oklch(0.98 0.03 250) 55%, var(--bg));
  --grad-warm:   linear-gradient(135deg, var(--orange-500), var(--orange-600));
  --grad-hope:   linear-gradient(135deg, oklch(0.86 0.07 245), oklch(0.95 0.05 95));

  /* ---- Elevation (blue-tinted) ---- */
  --shadow-sm: 0 2px 10px oklch(0.5 0.1 266 / 0.07);
  --shadow:    0 14px 34px -12px oklch(0.45 0.12 266 / 0.18);
  --shadow-lg: 0 34px 70px -22px oklch(0.42 0.13 266 / 0.26);

  /* ---- Radius ---- */
  --r-sm: 12px;
  --r:    20px;
  --r-lg: 30px;
  --r-xl: 46px;
  --pill: 999px;

  /* ---- Type ---- */
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --pad-x: clamp(1.15rem, 4vw, 2.5rem);
  --sec-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-quint */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--yellow-300); color: var(--blue-900); }

:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 3px;
  border-radius: 6px;
}

.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: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
  top: 10px; z-index: 200; background: var(--blue-900); color: #fff;
  padding: 0.6rem 1.1rem; border-radius: var(--pill); transition: transform 0.2s;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--sec-y); position: relative; }
.section--tint { background: var(--bg-tint); }
[id] { scroll-margin-top: 90px; }

/* ---------- Type ---------- */
.eyebrow {
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-600);
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--orange-500);
}
.eyebrow--light { color: var(--yellow-300); }
.eyebrow--light::before { background: var(--yellow-300); }

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--blue-900);
}
.section-sub {
  margin-top: 1rem; max-width: 60ch; color: var(--ink-soft);
}
.section-head { text-align: center; max-width: 64ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head .section-sub { margin-inline: auto; }

.ink-orange { color: var(--orange-500); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --pady: 0.8rem; --padx: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pady) var(--padx); border: 2px solid transparent;
  border-radius: var(--pill); font-weight: 700; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  will-change: transform;
}
.btn--sm { --pady: 0.55rem; --padx: 1.1rem; font-size: 0.9rem; }
.btn--lg { --pady: 0.95rem; --padx: 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 22px -8px var(--orange-600); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -10px var(--orange-600); }

.btn--ghost { background: var(--surface); color: var(--blue-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--sky-500); box-shadow: var(--shadow); }

.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.link-more {
  font-weight: 700; color: var(--blue-700); font-size: 0.95rem;
  display: inline-flex; gap: 0.35rem; align-items: center; margin-top: auto;
}
.link-more span { transition: transform 0.25s var(--ease); }
.link-more:hover span { transform: translateX(5px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding-block: 0.85rem;
}
.nav.is-scrolled {
  background: oklch(1 0 0 / 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__logo { display: block; height: clamp(40px, 8vw, 52px); width: auto; object-fit: contain; flex-shrink: 0; }
.brand__logo--footer {
  height: auto; width: clamp(150px, 46vw, 185px); max-width: 100%;
  filter: drop-shadow(0 4px 14px oklch(0.15 0.05 266 / 0.35));
}
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 4px 8px oklch(0.4 0.12 266 / 0.2)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--blue-900); }
.brand__text small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.brand--light .brand__text strong, .brand--light .brand__text small { color: #fff; }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-weight: 600; color: var(--ink-soft); position: relative; padding-block: 0.3rem; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--orange-500); border-radius: 2px; transition: width 0.28s var(--ease);
}
.nav__links a:hover { color: var(--blue-900); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.nav__donate { color: var(--orange-600); font-weight: 700; }
.nav__links a.nav__donate::after { background: var(--orange-600); }
.nav__links a.nav__donate:hover { color: var(--orange-500); }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px;
}
.nav__toggle span { width: 26px; height: 2.5px; background: var(--blue-900); border-radius: 3px; transition: 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(6rem, 12vw, 10rem); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; background: var(--grad-sky); z-index: -2;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 85% 15%, oklch(0.95 0.07 95 / 0.6), transparent 70%),
    radial-gradient(35% 40% at 12% 30%, oklch(0.9 0.06 250 / 0.5), transparent 70%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem);
}
.hero__inner > * { min-width: 0; }
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.1rem, 1.1rem + 4.6vw, 4.6rem);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--blue-900);
  margin-bottom: 1.2rem; overflow-wrap: break-word;
}
.hero__lede { font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.18rem); color: var(--ink-soft); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero__trust { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: 2.6rem; flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--display); font-size: 1.7rem; color: var(--orange-600); line-height: 1; }
.hero__trust span { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }

.hero__art { position: relative; }
.hero-illustration { width: 100%; height: auto; filter: drop-shadow(0 30px 50px oklch(0.4 0.1 266 / 0.18)); }

/* ---- Cinematic photo hero (home): big heading left, children lit on the right ---- */
.hero--photo {
  min-height: clamp(600px, 92vh, 920px);
  display: flex; align-items: center;
  padding-top: clamp(6rem, 11vh, 9rem);
  padding-bottom: clamp(7rem, 13vw, 11rem);
  overflow: hidden;
}
.hero__slideshow { position: absolute; inset: 0; z-index: -2; background: var(--blue-900); }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: 72% center;
  opacity: 0; transition: opacity 1.8s var(--ease);
  transform: scale(1.06);
}
.hero__slide.is-active { opacity: 1; animation: heroZoom 14s ease-out forwards; }

/* Right-focused wash: dark behind the text (left), clear over the faces (right),
   plus a base vignette top & bottom for depth and legibility. */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      oklch(0.19 0.06 266 / 0.94) 0%,
      oklch(0.20 0.06 266 / 0.82) 28%,
      oklch(0.22 0.06 266 / 0.42) 52%,
      oklch(0.22 0.06 266 / 0.12) 74%,
      transparent 100%),
    linear-gradient(180deg,
      oklch(0.16 0.05 266 / 0.55) 0%,
      transparent 30%,
      transparent 62%,
      oklch(0.15 0.05 266 / 0.72) 100%);
}
.hero--photo .hero__art,
.hero--photo .float { display: none; }
.hero--photo .hero__inner { grid-template-columns: 1fr; text-align: left; }
.hero--photo .hero__copy { max-width: 660px; margin-inline: 0; color: #fff; }
.hero--photo .eyebrow { color: var(--yellow-300); justify-content: flex-start; }
.hero--photo .eyebrow::before { background: var(--yellow-300); }
.hero--photo .hero__title {
  color: #fff; font-weight: 700;
  font-size: clamp(2.4rem, 1.1rem + 5.6vw, 5.4rem);
  text-shadow: 0 4px 34px oklch(0.14 0.05 266 / 0.6);
}
.hero--photo .hero__lede { color: oklch(0.95 0.015 250); max-width: 54ch; margin-inline: 0; }
.hero--photo .hero__cta { justify-content: flex-start; }
.hero--photo .hero__trust { justify-content: flex-start; }
.hero--photo .hero__trust li { position: relative; padding-right: clamp(1.2rem, 3vw, 2.4rem); }
.hero--photo .hero__trust li + li { border-left: 1px solid oklch(1 0 0 / 0.22); padding-left: clamp(1.2rem, 3vw, 2.4rem); }
.hero--photo .hero__trust strong { color: var(--yellow-300); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.hero--photo .hero__trust span { color: oklch(0.9 0.02 250); }
.hero--photo .btn--ghost {
  background: oklch(1 0 0 / 0.12); color: #fff; border-color: oklch(1 0 0 / 0.55);
  box-shadow: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero--photo .btn--ghost:hover { background: oklch(1 0 0 / 0.22); border-color: #fff; }

/* Scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(4.5rem, 9vw, 6.5rem); transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(0.95 0.02 250 / 0.85); font-weight: 600;
}
.hero__scroll span {
  width: 24px; height: 38px; border: 2px solid oklch(1 0 0 / 0.55); border-radius: 14px;
  position: relative;
}
.hero__scroll span::before {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px;
  border-radius: 2px; background: var(--yellow-300); transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.0); } }

/* floating motifs */
.float {
  position: absolute; z-index: -1; font-size: 1.8rem; opacity: 0.85;
  animation: float 7s var(--ease) infinite;
  filter: drop-shadow(0 6px 10px oklch(0.4 0.1 266 / 0.15));
}
.float--a { top: 14%; left: 6%; color: var(--orange-500); font-size: 2.2rem; }
.float--b { top: 62%; left: 3%; color: var(--blue-700); animation-delay: -2s; }
.float--c { top: 20%; right: 4%; animation-delay: -4s; }
.float--d { bottom: 16%; right: 8%; animation-delay: -1s; }
.float--e { top: 18%; left: 8%; color: var(--yellow-300); }
.float--f { bottom: 20%; right: 10%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

/* hero internal SVG ambient motion */
.hero-item { animation: bob 6s var(--ease) infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.hero-cloud { animation: drift 18s linear infinite; animation-delay: var(--cloud-d, 0s); }
.hero-sun { animation: spin 60s linear infinite; transform-box: fill-box; transform-origin: 468px 100px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0% { transform: translateX(-10px); } 50% { transform: translateX(14px); } 100% { transform: translateX(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* curved dividers */
.divider { position: absolute; left: 0; width: 100%; height: clamp(50px, 8vw, 110px); }
.divider--hero { bottom: -1px; }
.divider--footer { top: auto; bottom: 100%; height: clamp(40px, 6vw, 80px); filter: drop-shadow(0 -8px 16px oklch(0.2 0.06 266 / 0.16)); }

/* =========================================================
   IMPACT NUMBERS
   ========================================================= */
.impact { padding-block: clamp(2rem, 4vw, 3rem); margin-top: clamp(-3rem, -4vw, -2rem); }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.stat {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.8rem 1.4rem;
  text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform 0.3s var(--ease);
}
.stat:hover { transform: translateY(-6px); }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; }
.stat--blue::before { background: var(--blue-700); }
.stat--orange::before { background: var(--orange-500); }
.stat--sky::before { background: var(--sky-500); }
.stat--yellow::before { background: var(--yellow-300); }
.stat__icon { font-size: 2.2rem; display: block; margin-bottom: 0.6rem; }
.stat__num { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); color: var(--blue-900); line-height: 1; display: block; }
.stat__label { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; margin-top: 0.5rem; display: block; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__badge {
  position: absolute; right: -10px; bottom: -22px; background: var(--surface);
  border-radius: var(--r); padding: 0.9rem 1.1rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.7rem; max-width: 230px;
}
.about__badge span { font-size: 1.8rem; }
.about__badge p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.about__badge strong { color: var(--blue-900); }

.about__copy p { margin-bottom: 1rem; color: var(--ink-soft); }
.about__close { font-weight: 600; color: var(--ink); }
.about__copy--emphasis p:not(.eyebrow),
.about__copy--emphasis .quote { font-weight: 700; color: var(--ink); }
.quote {
  border: 0; margin: 1.4rem 0; padding: 1.2rem 1.4rem;
  background: var(--grad-hope); border-radius: var(--r);
  font-family: var(--display); font-size: 1.15rem; color: var(--blue-900);
  position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--display); font-size: 3.5rem; color: var(--orange-500);
  position: absolute; top: -6px; left: 10px; opacity: 0.5; line-height: 1;
}
.quote strong { color: var(--orange-600); }

/* =========================================================
   MISSION
   ========================================================= */
.mission__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.mcard {
  background: var(--surface); border-radius: var(--r-lg); padding: 2.2rem 1.8rem;
  text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mcard__art { width: 96px; height: 96px; margin: 0 auto 1.2rem; }
.mcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--blue-900); margin-bottom: 0.6rem; }
.mcard p { color: var(--ink-soft); }
.mcard--2 { transform: translateY(-12px); }
.mcard--2:hover { transform: translateY(-20px); }

/* =========================================================
   TEAM
   ========================================================= */
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.tcard {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
/* Photo area: swap the .tcard__ph initials <span> for an <img> when a real headshot is available */
.tcard__media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--av, linear-gradient(135deg, var(--sky-500), var(--blue-700)));
  display: grid; place-items: center;
}
.tcard__media img { width: 100%; height: 100%; object-fit: cover; }
.tcard__ph { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 8vw, 4rem); color: #fff; letter-spacing: 0.02em; opacity: 0.96; text-shadow: 0 6px 20px oklch(0.2 0.07 266 / 0.35); }
.tcard__socials { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 0.5rem; }
.tsocial {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-500); color: #fff; box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.tsocial:hover { background: var(--orange-600); transform: translateY(-3px); }
.tsocial svg { width: 18px; height: 18px; }
.tcard--memorial { --av: linear-gradient(135deg, var(--orange-500), var(--yellow-300)); }
.tcard__body { padding: 1.5rem 1.4rem 1.9rem; display: flex; flex-direction: column; flex-grow: 1; }
.tcard__name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--blue-900); line-height: 1.2; }
.tcard__role { color: var(--orange-600); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.45rem; }
.tcard p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.9rem; }
.tcard__tag {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; align-self: center;
  font-size: 0.75rem; font-weight: 700; color: oklch(0.5 0.13 55);
  background: var(--yellow-100); padding: 0.35rem 0.8rem; border-radius: var(--pill);
}

/* =========================================================
   PROGRAMS
   ========================================================= */
.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.7rem); }
.pcard {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.9rem 1.7rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.pcard__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 0.3rem;
}
.i-blue { background: oklch(0.93 0.05 250); }
.i-orange { background: oklch(0.95 0.06 80); }
.i-sky { background: oklch(0.94 0.05 230); }
.i-yellow { background: oklch(0.96 0.06 96); }
.pcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--blue-900); }
.pcard p { color: var(--ink-soft); font-size: 0.96rem; }

/* =========================================================
   HOW YOU CAN HELP
   ========================================================= */
.help__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2vw, 1.6rem); }
.hcard {
  background: var(--surface); border-radius: var(--r-lg); padding: 2rem 1.6rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.hcard__icon { font-size: 2.4rem; }
.hcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--blue-900); }
.hcard p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }
.hcard__cta { font-weight: 700; color: var(--orange-600); display: inline-flex; gap: 0.4rem; }
.hcard__cta span { transition: transform 0.25s var(--ease); }
.hcard:hover .hcard__cta span { transform: translateX(5px); }
.hcard--feature { background: var(--grad-warm); border-color: transparent; }
.hcard--feature h3, .hcard--feature p, .hcard--feature .hcard__cta { color: #fff; }
.hcard--feature .hcard__cta { color: var(--yellow-300); }

/* =========================================================
   BLOG
   ========================================================= */

/* Category chip (shared by feature + cards) */
.bchip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.38rem 0.8rem; border-radius: var(--pill); line-height: 1;
  background: var(--sky-300); color: var(--blue-900);
}
.bchip--orange { background: var(--yellow-300); color: oklch(0.42 0.13 55); }
.bchip--blue   { background: oklch(0.90 0.055 250); color: var(--blue-900); }
.bchip--sky    { background: oklch(0.90 0.06 200); color: oklch(0.34 0.09 240); }

/* Post meta line */
.bmeta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.bmeta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: 0.6; }

/* Featured post */
.blog-feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
}
.blog-feature__media { position: relative; align-self: stretch; min-height: 280px; }
.blog-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature__media .bchip { position: absolute; top: 1rem; left: 1rem; box-shadow: var(--shadow-sm); }
.blog-feature__body { padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.6rem, 3vw, 2.8rem) clamp(1.6rem, 3vw, 2.8rem) 0; }
.blog-feature__tag { color: var(--orange-600); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.blog-feature h2 {
  font-family: var(--display); font-weight: 600; line-height: 1.1;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); color: var(--blue-900);
  margin: 0.6rem 0 0.8rem; letter-spacing: -0.01em;
}
.blog-feature p { color: var(--ink-soft); max-width: 52ch; }
.blog-feature .btn { margin-top: 1.4rem; }

/* Blog grid + cards */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 1.9rem); }
.bcard {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.bcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.bcard:hover .bcard__media img { transform: scale(1.05); }
.bcard__media .bchip { position: absolute; top: 0.9rem; left: 0.9rem; box-shadow: var(--shadow-sm); }
.bcard__body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.4rem 1.4rem 1.6rem; flex-grow: 1; }
.bcard h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.28rem; line-height: 1.22;
  color: var(--blue-900); letter-spacing: -0.01em;
}
.bcard h3 a { transition: color 0.2s var(--ease); }
.bcard:hover h3 a { color: var(--orange-600); }
.bcard p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }
.bcard__cta { font-weight: 700; color: var(--orange-600); display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.2rem; }
.bcard__cta span { transition: transform 0.25s var(--ease); }
.bcard:hover .bcard__cta span { transform: translateX(5px); }

/* =========================================================
   STORIES CAROUSEL
   ========================================================= */
.carousel { max-width: 980px; margin: 0 auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-xl); }
.carousel__track { display: flex; transition: transform 0.6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .carousel__track { transition: none; } }
.story {
  min-width: 100%; display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.story__body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.story__body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: var(--blue-900); margin-bottom: 0.8rem; line-height: 1.15; }
.story__body p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.story__quote { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--orange-600); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.6rem; }
.carousel__btn {
  width: 50px; height: 50px; border-radius: var(--pill); border: 2px solid var(--line);
  background: var(--surface); color: var(--blue-900); font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}
.carousel__btn:hover { background: var(--blue-900); color: #fff; transform: scale(1.08); }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; background: var(--line); padding: 0;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.carousel__dots button.is-active { background: var(--orange-500); transform: scale(1.3); }

/* testimonial slides (reuse carousel machinery) */
.carousel--tmint .carousel__viewport { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.tslide { min-width: 100%; display: grid; place-items: center; padding: clamp(2rem, 5vw, 4.5rem); }
.tcard { max-width: 740px; margin: 0; text-align: center; position: relative; }
.tcard__mark {
  font-family: var(--display); font-size: 5.5rem; line-height: 0.5; color: var(--orange-500);
  opacity: 0.35; display: block; margin-bottom: 0.4rem;
}
.tcard__stars { display: block; color: var(--orange-500); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 1rem; }
.tcard__text {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.45; color: var(--blue-900);
  margin: 0 0 2rem;
}
.tcard__person { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.tcard__avatar {
  position: relative; overflow: hidden;
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-sm); border: 2px solid var(--surface);
}
.tcard__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard__meta { text-align: left; }
.tcard__meta strong { display: block; color: var(--blue-900); font-size: 1.02rem; }
.tcard__meta span { font-size: 0.85rem; color: var(--muted); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem;
  grid-auto-flow: dense;
}
.gtile {
  position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end;
}
.gtile--tall { grid-row: span 2; }
.gtile--wide { grid-column: span 2; }
.gtile figcaption {
  position: relative; z-index: 2; color: #fff; font-weight: 700; padding: 1rem 1.1rem;
  transform: translateY(8px); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.gtile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, oklch(0.3 0.1 266 / 0.6));
  opacity: 0; transition: opacity 0.35s;
}
.gtile:hover figcaption { transform: translateY(0); opacity: 1; }
.gtile:hover::after { opacity: 1; }
.gtile:hover { transform: scale(1.015); }

/* =========================================================
   DONATION CTA
   ========================================================= */
.donate {
  position: relative; padding-block: clamp(5rem, 10vw, 8rem); overflow: hidden;
  text-align: left; color: #fff;
  background: url("../images/donate.jpg") center / cover no-repeat;
}
.donate__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      oklch(0.19 0.06 266 / 0.92) 0%,
      oklch(0.20 0.06 266 / 0.8) 28%,
      oklch(0.22 0.06 266 / 0.4) 52%,
      oklch(0.22 0.06 266 / 0.1) 74%,
      transparent 100%),
    linear-gradient(180deg,
      oklch(0.16 0.05 266 / 0.5) 0%,
      transparent 30%,
      transparent 62%,
      oklch(0.15 0.05 266 / 0.65) 100%);
}
.donate__inner { position: relative; z-index: 2; max-width: 640px; margin-inline: 0; }
.donate__title { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); line-height: 1.08; color: #fff; }
.donate__lede { margin: 1.2rem 0 2rem; max-width: 50ch; color: oklch(0.95 0.02 250); font-size: 1.1rem; }
.donate__cta { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* =========================================================
   VOLUNTEER + FORM
   ========================================================= */
.volunteer__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: stretch; }

.volunteer__aside { display: flex; flex-direction: column; gap: 1.4rem; }
.vbenefit { background: var(--grad-hope); border-radius: var(--r-lg); padding: 1.8rem; }
.vbenefit h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--blue-900); margin-bottom: 1rem; }
.vlist li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.8rem; color: var(--ink); font-weight: 500; }
.vlist li span { font-size: 1.2rem; flex-shrink: 0; }
.vquote {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); font-family: var(--display); font-size: 1.12rem; color: var(--ink); font-style: italic;
}
.vquote cite { display: block; margin-top: 0.8rem; font-size: 0.85rem; font-style: normal; color: var(--muted); font-family: var(--sans); }
.vimpact { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vimpact div { background: var(--blue-900); color: #fff; border-radius: var(--r); padding: 1.2rem; text-align: center; }
.vimpact strong { font-family: var(--display); font-size: 1.8rem; display: block; }
.vimpact span { font-size: 0.82rem; color: oklch(0.9 0.03 250); }
.vphoto { position: relative; flex: 1 1 auto; min-height: 240px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.vphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vphoto figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.2rem 1.1rem;
  color: #fff; font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.35;
  background: linear-gradient(to top, oklch(0.2 0.06 264 / 0.85), oklch(0.2 0.06 264 / 0) );
}

.volunteer__formwrap { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.vform__title, .cform__title { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--blue-900); margin-bottom: 1.4rem; }

/* form fields (shared) */
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field legend { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.45rem; padding: 0; }
.field .muted { font-weight: 400; color: var(--muted); }
.req { color: var(--orange-600); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px oklch(0.72 0.14 252 / 0.18);
}
.field textarea { resize: vertical; }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--orange-600); }
.file { padding: 0.6rem; border: 2px dashed var(--line); border-radius: var(--r-sm); background: var(--bg); width: 100%; }
.file::file-selector-button {
  font: inherit; font-weight: 600; border: 0; border-radius: var(--pill);
  background: var(--blue-900); color: #fff; padding: 0.5rem 1rem; margin-right: 0.8rem; cursor: pointer;
}
.err { color: var(--orange-600); font-size: 0.8rem; min-height: 1em; margin-top: 0.3rem; font-weight: 600; }

fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 0.5rem 0.95rem; border: 2px solid var(--line); border-radius: var(--pill);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); transition: all 0.2s var(--ease);
}
.chip input:checked + span { background: var(--blue-900); color: #fff; border-color: var(--blue-900); }
.chip input:focus-visible + span { outline: 3px solid var(--sky-500); outline-offset: 2px; }
.chip:hover span { border-color: var(--sky-500); }

.vform__success, .news__msg {
  margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--r-sm);
  background: oklch(0.95 0.06 150); color: oklch(0.4 0.1 150); font-weight: 600;
}

/* donation amount chips — warm/orange emphasis */
.chips--amount .chip span { padding: 0.65rem 1.25rem; font-size: 1rem; }
.chips--amount .chip input:checked + span { background: var(--grad-warm); color: #fff; border-color: transparent; }
.chip--check { display: block; margin-top: 0.4rem; }
.give-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* other ways to give */
.give-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.give-detail {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.give-detail h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--blue-900); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.give-detail dl { margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.give-detail dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.55rem; }
.give-detail dt { color: var(--muted); font-size: 0.9rem; }
.give-detail dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.give-detail__note, .give-detail p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 1rem; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); margin-bottom: 2.5rem; }
.plogo {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--muted);
  padding: 0.8rem 1.4rem; border-radius: var(--r); background: var(--surface);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: color 0.25s, transform 0.25s var(--ease);
}
.plogo:hover { color: var(--blue-900); transform: translateY(-4px); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); }
.trust-row li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink-soft); }
.trust-row span { font-size: 1.2rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__info { display: flex; flex-direction: column; }
.contact__info .vphoto { margin-top: 1.6rem; }
.contact__list { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.ci { font-size: 1.5rem; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--bg-tint); display: grid; place-items: center; flex-shrink: 0; }
.contact__list strong { color: var(--blue-900); display: block; }
.contact__list p { color: var(--ink-soft); margin: 0; }
.contact__list a:hover { color: var(--orange-600); }

.social { display: flex; gap: 0.7rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue-900); font-weight: 700;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.social a:hover { background: var(--orange-500); color: #fff; transform: translateY(-4px); }
.social--light a { background: oklch(1 0 0 / 0.14); color: #fff; }
.social--light a:hover { background: var(--orange-500); }

.cform { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

/* =========================================================
   PHOTO PLACEHOLDERS (swap with real <img>)
   ========================================================= */
.photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-700));
  display: grid; place-items: center; min-height: 220px;
}
.photo::after {
  content: attr(data-photo); position: absolute; bottom: 0; left: 0; right: 0;
  font-size: 0.78rem; padding: 0.6rem 0.9rem; background: oklch(0.3 0.1 266 / 0.45);
  font-weight: 600; backdrop-filter: blur(2px);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo:has(img)::after { display: none; }
.photo:has(img) .photo__motif { display: none; }
.photo--portrait { min-height: clamp(320px, 45vw, 460px); background: linear-gradient(150deg, oklch(0.85 0.08 245), oklch(0.6 0.13 262)); }
.photo__motif { width: 46%; color: oklch(1 0 0 / 0.85); }
.photo--story { min-height: 100%; border-radius: 0; background: linear-gradient(150deg, var(--orange-500), var(--orange-600)); }
.photo--story::after { display: none; }
.photo__tag { position: absolute; top: 1rem; left: 1rem; background: oklch(1 0 0 / 0.9); color: var(--blue-900); font-weight: 700; font-size: 0.85rem; padding: 0.35rem 0.8rem; border-radius: var(--pill); }

.gtile { color: #fff; }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.gtile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-700));
}
.gtile:nth-child(2)::before { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.gtile:nth-child(3)::before { background: linear-gradient(135deg, oklch(0.8 0.1 150), oklch(0.55 0.12 200)); }
.gtile:nth-child(4)::before { background: linear-gradient(135deg, var(--yellow-300), var(--orange-500)); }
.gtile:nth-child(5)::before { background: linear-gradient(135deg, var(--blue-700), oklch(0.5 0.15 300)); }
.gtile:nth-child(6)::before { background: linear-gradient(135deg, var(--sky-500), oklch(0.7 0.13 180)); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--blue-50); color: oklch(0.92 0.02 250); padding-top: clamp(4rem, 8vw, 6rem); }
.footer__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--blue-50); }
.footer__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.8s var(--ease);
}
.footer__slide.is-active { opacity: 1; }
.footer__media::after {
  content: ""; position: absolute; inset: 0;
  background: oklch(0.26 0.09 264 / 0.86);
}
.footer__grid, .footer__bottom { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 3rem; }
.footer__mission { margin: 1rem 0 1.4rem; font-size: 0.92rem; color: oklch(0.85 0.03 250); max-width: 32ch; }
.footer__col h4 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.3rem 0; color: oklch(0.85 0.03 250); transition: color 0.2s, transform 0.2s var(--ease); }
.footer__col a:hover { color: var(--yellow-300); transform: translateX(4px); }
.footer__news p { font-size: 0.9rem; margin-bottom: 0.9rem; }
.news { display: flex; gap: 0.5rem; }
.news input {
  flex: 1; min-width: 0; padding: 0.65rem 1rem; border-radius: var(--pill); border: 2px solid transparent;
  background: oklch(1 0 0 / 0.14); color: #fff; font: inherit;
}
.news input::placeholder { color: oklch(0.85 0.03 250); }
.news input:focus { outline: none; border-color: var(--yellow-300); }
.news__msg { background: oklch(1 0 0 / 0.14); color: var(--yellow-300); }

.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  padding-block: 1.5rem; border-top: 1px solid oklch(1 0 0 / 0.15); font-size: 0.85rem; color: oklch(0.8 0.03 250);
}
.footer__bottom a:hover { color: var(--yellow-300); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .float, .hero-item, .hero-cloud, .hero-sun { animation: none !important; }
  .hero__slide, .hero__slide.is-active { animation: none !important; transform: none; }
  .footer__slide { transition: none; }
  .page-hero::before { animation: none !important; transform: none; }
  .hero__scroll span::before { animation: none !important; }
  .btn, .stat, .mcard, .pcard, .hcard, .gtile, .plogo, .social a { transition: none; }
}

/* =========================================================
   INNER PAGE BANNER
   ========================================================= */
.page-hero {
  --hero-img: url("../images/banner.jpg");
  --hero-focus: 68% center;
  position: relative; overflow: hidden; text-align: left; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(660px, 100vh, 1000px);
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(7rem, 13vw, 10rem);
  isolation: isolate;
}
/* cinematic photo layer with a slow ken-burns zoom */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img) var(--hero-focus) / cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 16s ease-out forwards;
}
/* right-focused wash: dark behind the heading (left), clear over the photo (right) */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      oklch(0.19 0.06 266 / 0.92) 0%,
      oklch(0.20 0.06 266 / 0.78) 30%,
      oklch(0.22 0.06 266 / 0.40) 56%,
      oklch(0.22 0.06 266 / 0.12) 78%,
      transparent 100%),
    linear-gradient(180deg,
      oklch(0.16 0.05 266 / 0.5) 0%,
      transparent 32%,
      transparent 60%,
      oklch(0.15 0.05 266 / 0.62) 100%);
}
/* per-page photos + focal point */
.page-hero--about       { --hero-img: url("../images/portrait-boys.jpg"); --hero-focus: center 30%; }
.page-hero--programs    { --hero-img: url("../images/kids-joy.jpg");      --hero-focus: 65% center; }
.page-hero--stories     { --hero-img: url("../images/boys-friends.jpg");  --hero-focus: 60% center; }
.page-hero--getinvolved { --hero-img: url("../images/hero-road.jpg");     --hero-focus: 60% center; }
.page-hero--blog        { --hero-img: url("../images/right-to-play.jpg"); --hero-focus: 62% 40%; }
.page-hero--contact     { --hero-img: url("../images/banner-contact.jpg"); }
.page-hero--donate      { --hero-img: url("../images/donate.jpg"); }
.page-hero .container { position: relative; z-index: 3; }
.page-hero .divider { z-index: 2; }
.page-hero .float { display: none; }
.page-hero__title {
  font-family: var(--display); font-weight: 700; line-height: 1.04;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.6rem); color: #fff;
  letter-spacing: -0.02em; overflow-wrap: break-word; max-width: 15ch;
  text-shadow: 0 4px 30px oklch(0.14 0.05 266 / 0.55);
}
.page-hero__sub { max-width: 52ch; margin: 1.1rem 0 0; color: oklch(0.96 0.015 250); font-size: 1.08rem; text-shadow: 0 1px 12px oklch(0.2 0.07 266 / 0.4); }
.page-hero .eyebrow { color: var(--yellow-300); justify-content: flex-start !important; }
.page-hero .eyebrow::before { background: var(--yellow-300); }
.breadcrumb { display: flex; gap: 0.5rem; justify-content: flex-start; flex-wrap: wrap; font-size: 0.85rem; color: oklch(0.95 0.02 250 / 0.85); margin-top: 1.4rem; font-weight: 600; }
.breadcrumb a:hover { color: var(--yellow-300); }
.breadcrumb span { color: oklch(1 0 0 / 0.45); }
.breadcrumb [aria-current] { color: var(--yellow-300); }

/* active nav state */
.nav__links a[aria-current="page"] { color: var(--blue-900); }
.nav__links a[aria-current="page"]::after { width: 100%; }

/* home: nav overlays the photo hero, so it stays transparent over the image
   and goes light until the user scrolls (then .is-scrolled restores the white bar) */
.home .nav { position: fixed; left: 0; right: 0; top: 0; }
.home .nav:not(.is-scrolled) .nav__toggle span { background: #fff; }
/* keep the full-colour logo on the home hero (no white knock-out) */
@media (min-width: 861px) {
  .home .nav:not(.is-scrolled) .nav__links a { color: oklch(1 0 0 / 0.92); }
  .home .nav:not(.is-scrolled) .nav__links a:hover,
  .home .nav:not(.is-scrolled) .nav__links a[aria-current="page"] { color: #fff; }
  .home .nav:not(.is-scrolled) .nav__links a.nav__donate { color: var(--yellow-300); }
}

/* compact story preview cards (home) */
.scards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.1rem, 2.2vw, 1.7rem); }
.scard {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scard .photo { border-radius: 0; min-height: 180px; }
.scard__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.scard__body h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--blue-900); line-height: 1.2; }
.scard__body p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }

/* section-level centered CTA button row */
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* program detail rows (programs page) */
.prow {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start; padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prow:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prow__icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-size: 2.2rem; }
.prow h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--blue-900); margin-bottom: 0.5rem; }
.prow p { color: var(--ink-soft); margin-bottom: 0.7rem; }
.prow__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.prow__list li { font-size: 0.82rem; font-weight: 600; color: var(--blue-700); background: var(--bg-tint); padding: 0.35rem 0.8rem; border-radius: var(--pill); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .programs__grid, .mission__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .mcard--2 { transform: none; }
  .mcard--2:hover { transform: translateY(-8px); }
  .help__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: oklch(1 0 0 / 0.97); backdrop-filter: blur(14px); padding: 1rem var(--pad-x) 1.5rem;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform 0.4s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { transform: translateY(0); }
  .page-hero .float { display: none; }
  .nav__links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; max-width: min(420px, 100%); margin: 0 auto; }
  .eyebrow, .hero__cta, .hero__trust { justify-content: center; }
  .hero__lede { margin-inline: auto; }

  /* Cinematic hero: center the copy and use a full vertical wash so text
     stays legible when the photo is cropped tall on smaller screens. */
  .hero--photo .hero__inner { text-align: center; }
  .hero--photo .hero__copy { margin-inline: auto; max-width: 640px; }
  .hero--photo .eyebrow, .hero--photo .hero__cta, .hero--photo .hero__trust { justify-content: center; }
  .hero--photo .hero__lede { margin-inline: auto; }
  .hero--photo .hero__slide { background-position: 62% center; }
  .hero--photo .hero__overlay {
    background: linear-gradient(180deg,
      oklch(0.17 0.05 266 / 0.78) 0%,
      oklch(0.20 0.06 266 / 0.6) 40%,
      oklch(0.18 0.05 266 / 0.82) 100%);
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__badge { right: 12px; }
  .volunteer__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .give-details { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .photo--story { min-height: 200px; }

  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature__media { min-height: 240px; }
  .blog-feature__body { padding: clamp(1.4rem, 5vw, 2rem); padding-top: 0; }

  /* Inner-page hero: fuller wash on narrow screens for legibility over any photo */
  .page-hero { min-height: clamp(560px, 94vh, 840px); }
  .page-hero::after {
    background: linear-gradient(180deg,
      oklch(0.17 0.05 266 / 0.72) 0%,
      oklch(0.20 0.06 266 / 0.52) 42%,
      oklch(0.17 0.05 266 / 0.8) 100%);
  }
  .page-hero__title { font-size: clamp(2rem, 7.5vw, 2.9rem); }
}

@media (max-width: 560px) {
  .programs__grid, .mission__grid, .help__grid, .impact__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gtile--wide { grid-column: span 2; }
  .gtile--tall { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .vimpact { grid-template-columns: 1fr 1fr; }
  .donate__cta, .hero__cta { flex-direction: column; }
  .donate__cta .btn, .hero__cta .btn { width: 100%; }
  .hero__title, .hero--photo .hero__title { font-size: clamp(1.55rem, 5.8vw, 2.1rem); letter-spacing: -0.01em; }
  .hero--photo .hero__copy { max-width: 100%; }
  .hero--photo .hero__trust li + li { border-left: 0; padding-left: 0; }
  .hero--photo .hero__trust li { padding-right: 0; }
  .hero__trust { gap: 1.4rem; }
  .prow { grid-template-columns: 1fr; }
}
