/* ============================================================
   Friends of Durham Guardian Ad Litem — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Full-colour logo theme */
  --teal-900: #263568;
  --teal-800: #314477;
  --teal-700: #3f8586;
  --teal-600: #55a6a4;
  --teal-500: #72b8b5;
  --teal-200: #b9dcda;
  --teal-100: #dff0ee;
  --teal-50:  #f0f8f7;

  --gold-600: #d09d35;
  --gold-500: #f1c96d;
  --gold-300: #f9dfa5;
  --gold-100: #fff5dc;

  --coral-700: #bf6656;
  --coral-600: #d77c69;
  --coral-500: #e58f7c;
  --coral-100: #fde9e4;

  /* Neutrals */
  --cream:    #fffdfb;
  --cream-2:  #f6f7fb;
  --ink:      #263568;
  --ink-soft: #586585;
  --ink-faint:#8189a1;
  --white:    #ffffff;
  --line:     #e6e9f1;
  --line-2:   #d7dce8;

  /* Semantic theme surfaces */
  --banner-bg: var(--coral-500);
  --banner-text: #ffffff;
  --nav-bg: rgba(255,255,255,.96);
  --nav-text: var(--ink-soft);
  --nav-border: var(--line);
  --page-head-bg: var(--teal-700);
  --dark-section-bg: var(--teal-700);
  --strong-panel-bg: var(--teal-800);
  --cta-start: var(--teal-800);
  --cta-end: var(--teal-600);
  --primary-button-bg: var(--teal-600);
  --primary-button-hover: var(--teal-700);
  --primary-button-text: #ffffff;
  --accent-button-bg: var(--gold-500);
  --accent-button-hover: var(--gold-300);
  --accent-button-text: var(--teal-900);
  --footer-bg: #ffffff;
  --footer-heading: var(--teal-900);
  --footer-text: var(--ink-soft);
  --footer-muted: var(--ink-faint);
  --footer-border: rgba(38,53,104,.12);
  --footer-hover: var(--coral-700);
  --hero-scrim-start: rgba(38,53,104,.86);
  --hero-scrim-mid: rgba(38,53,104,.60);
  --hero-scrim-end: rgba(38,53,104,.20);
  --photo-scrim-start: rgba(38,53,104,.90);
  --photo-scrim-mid: rgba(38,53,104,.66);
  --photo-scrim-end: rgba(38,53,104,.42);
  --placeholder-stripe: rgba(85,166,164,.06);
  --placeholder-dark-start: #314477;
  --placeholder-dark-end: #1c2959;
  --focus-ring: rgba(85,166,164,.22);

  /* Type */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(38,53,104,.06), 0 2px 8px rgba(38,53,104,.05);
  --shadow-md: 0 6px 24px rgba(38,53,104,.10), 0 2px 8px rgba(38,53,104,.06);
  --shadow-lg: 0 20px 60px rgba(38,53,104,.16);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 148px;
  --anchor-gap: 28px;
}

/* ============================================================
   Full-screen scroll panels (homepage) — desktop/tablet only
   ============================================================ */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
}
@media (min-width: 901px) {
  .snap-panel { scroll-snap-align: start; scroll-snap-stop: normal; }
  .hero.snap-panel { min-height: calc(100svh - var(--header-h)); }
  section.snap-panel:not(.hero) {
    min-height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 48px; padding-bottom: 48px;
  }
}

/* Scroll cue (hero) */
.scroll-cue { display: none; }
@media (min-width: 901px) {
  .scroll-cue {
    display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
    position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
    color: rgba(255,255,255,.85); font-size: 11px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
  }
  .scroll-cue svg { width: 22px; height: 22px; animation: cueBob 1.8s var(--ease) infinite; }
  @keyframes cueBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-padding-top: var(--header-h); }
.anchor-target { scroll-margin-top: var(--anchor-gap); }
.anchor-target:focus { outline: none; }
.anchor-target.anchor-arriving { opacity: 1; transform: none; transition: none; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--teal-900); letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before { content:""; width: 24px; height: 2px; background: var(--gold-500); display: inline-block; }
.eyebrow.center::before { display: none; }
.lead { font-size: 1.22rem; color: var(--ink-soft); line-height: 1.65; }
.serif-quote { font-family: var(--serif); font-style: italic; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--container-narrow); margin-left: auto; margin-right: auto; }
section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-teal { background: var(--dark-section-bg); color: #eaf3ef; }
.bg-teal h1, .bg-teal h2, .bg-teal h3 { color: #fff; }
.bg-teal50 { background: var(--teal-50); }
.bg-white { background: var(--white); }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  line-height: 1; white-space: nowrap; cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn-donate { background: var(--accent-button-bg); color: var(--accent-button-text); box-shadow: 0 4px 14px rgba(208,157,53,.30); }
.btn-donate:hover { background: var(--accent-button-hover); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(208,157,53,.38); }
.btn-primary { background: var(--primary-button-bg); color: var(--primary-button-text); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-button-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--teal-700); border: 1.5px solid var(--teal-200); }
.btn-ghost:hover { background: var(--teal-50); border-color: var(--teal-500); }
.btn-ondark { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-ondark:hover { background: rgba(255,255,255,.95); color: var(--teal-800); border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.text-link { color: var(--teal-600); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; transition: gap .2s var(--ease); }
.text-link:hover { gap: 12px; color: var(--teal-700); }
.text-link svg { width: 16px; height: 16px; }

/* ============================================================
   Promo banner
   ============================================================ */
.promo-banner {
  background: var(--banner-bg);
  color: var(--banner-text);
  text-align: center;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 15px 22px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.promo-banner .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); flex: none; }
.promo-banner strong { color: #fff; }

/* ============================================================
   Navigation
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; }
.nav {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nav-border);
}
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }

.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo-wrap { display: block; width: 230px; max-width: 100%; border-radius: 7px; overflow: hidden; }
.brand-logo { width: 100%; height: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600; font-size: 15px; color: var(--nav-text);
  padding: 9px 15px; border-radius: 8px; transition: color .15s, background .15s; position: relative;
}
.nav-links a:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-links a.active { color: var(--teal-800); }
.nav-links a.active::after {
  content:""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--gold-500); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Dropdown menus */
.nav-item { position: relative; }
.nav-links .nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-links .caret { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .7; }
.nav-item.has-children:hover > a .caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 248px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 50;
}
.nav-dropdown::before { content:""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; } /* hover bridge */
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 11px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--teal-50); color: var(--teal-700); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal-800); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 8px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 640px; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 100px 0; }
.hero-ph { position: absolute; inset: 0; z-index: 0; }
.hero-ph .ph-photo { width: 100%; height: 100%; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { /* readability scrim */
  content:""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--hero-scrim-start) 0%, var(--hero-scrim-mid) 46%, var(--hero-scrim-end) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); max-width: 22ch; }
.hero .hero-sub { font-size: 1.35rem; color: rgba(255,255,255,.92); max-width: 50ch; margin-top: 24px; font-weight: 400; }
.hero .hero-kicker { color: var(--gold-300); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; margin-bottom: 22px; display: block; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* Page header (interior pages) */
.page-head { padding: 76px 0 64px; background: var(--page-head-bg); color: #eaf3ef; position: relative; overflow: hidden; }
.page-head::after { content:""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,179,74,.18), transparent 70%); }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 20ch; }
.page-head p { color: rgba(255,255,255,.85); font-size: 1.18rem; max-width: 56ch; margin-top: 18px; }
.page-head .eyebrow { color: var(--gold-300); }
.page-head .eyebrow::before { background: var(--gold-400, var(--gold-500)); }

/* ============================================================
   Image placeholders
   ============================================================ */
.ph {
  position: relative; background:
    repeating-linear-gradient(135deg, var(--placeholder-stripe) 0 14px, transparent 14px 28px),
    var(--teal-50);
  border: 1.5px dashed var(--teal-200);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 26px; color: var(--teal-600); overflow: hidden;
}
.ph svg.ph-ico { width: 30px; height: 30px; opacity: .65; }
.ph .ph-label { font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-500); }
.ph .ph-cap { font-size: 13.5px; color: var(--ink-soft); max-width: 30ch; line-height: 1.4; font-weight: 500; }
.ph-photo { /* dark variant for hero */
  border: none; border-radius: 0;
  background: linear-gradient(135deg, var(--placeholder-dark-start), var(--placeholder-dark-end));
  color: rgba(255,255,255,.5);
}
.ph-photo .ph-label, .ph-photo .ph-cap { color: rgba(255,255,255,.55); }
.ph-tall { aspect-ratio: 3/4; }
.ph-wide { aspect-ratio: 16/10; }
.ph-square { aspect-ratio: 1/1; }
.ph-card { min-height: 200px; }
.ph-round { border-radius: 50%; aspect-ratio: 1/1; }

/* Real photo filling a media slot */
.media-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.media-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-photo.ph-wide { aspect-ratio: 16/10; }
.media-photo.ph-tall { aspect-ratio: 3/4; }
.split.why-support-split { align-items: start; }
.media-photo.why-support-photo {
  width: min(100%, 440px);
  aspect-ratio: 4/5;
  justify-self: end;
}

/* ============================================================
   Full-bleed photo band (e.g. Community Partners)
   ============================================================ */
.photo-band { position: relative; min-height: 460px; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 90px 0; }
.photo-band img.photo-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-band::after { content:""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, var(--photo-scrim-start) 0%, var(--photo-scrim-mid) 55%, var(--photo-scrim-end) 100%); }
.photo-band .container { position: relative; z-index: 2; }
.photo-band .eyebrow { color: var(--gold-300); }
.photo-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
.photo-band .band-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,2.6vw,1.9rem);
  color: var(--gold-300); margin-top: 18px; }
.photo-band p.band-sub { color: rgba(255,255,255,.9); font-size: 1.2rem; margin-top: 16px; max-width: 52ch; }

/* ============================================================
   Birthday gallery
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .ph, .gallery .media-photo { min-height: 230px; height: 230px; }
.gallery .span2 { grid-column: span 2; }

/* See More gallery reveal */
.see-more-btn { display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--teal-700);
  background: transparent; border: 1.5px solid var(--teal-200); border-radius: 999px;
  padding: 11px 22px; transition: background .2s var(--ease), border-color .2s var(--ease); }
.see-more-btn:hover { background: var(--teal-50); border-color: var(--teal-500); }
.see-more-btn .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-100);
  display: flex; align-items: center; justify-content: center; transition: .25s var(--ease); }
.see-more-btn .plus svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.see-more-btn[aria-expanded="true"] .plus { background: var(--teal-600); color: #fff; }
.see-more-btn[aria-expanded="true"] .plus svg { transform: rotate(45deg); }
.gallery-collapse { max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .45s var(--ease); }
.gallery-reveal.open .gallery-collapse { max-height: 900px; opacity: 1; margin-top: 28px; }

/* ============================================================
   Facts strip (home)
   ============================================================ */
.facts-banner { width: 100%; height: 200px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 36px; }
.facts-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts-heading { font-size: clamp(1.6rem,3vw,2.2rem); color: var(--teal-900); margin-bottom: 38px; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.facts-grid .fact-tile { grid-column: auto; }
.fact-tile { background: transparent; border: none; box-shadow: none; padding: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  transition: none; }
.fact-tile:hover { transform: none; box-shadow: none; }
.fact-tile .fact-ico { width: 70px; height: 70px; border-radius: 50%; background: var(--teal-100);
  display: flex; align-items: center; justify-content: center; }
.fact-tile .fact-ico svg { width: 34px; height: 34px; color: var(--teal-600); }
.fact-tile .fact-num { font-family: var(--serif); font-weight: 700; font-size: 2.5rem; color: var(--teal-700); line-height: 1.05; }
.fact-tile .fact-num .unit { color: var(--gold-600); font-size: 1.6rem; }
.fact-tile .fact-txt { color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; max-width: 26ch; }
.fact-tile .fact-note { color: var(--ink-faint); font-size: 12.5px; line-height: 1.4; font-style: italic; }
.fact-tile .fact-note::before { content: "* "; }
.fact-foot { text-align: center; color: var(--ink-faint); font-size: 13px; margin-top: 26px; font-style: italic; }

/* Overcome row (home panel 3) */
.overcome-block { margin-bottom: 56px; }
.overcome-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.overcome-row .oc-item { display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-sm); }
.overcome-row .oc-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--gold-100); flex: none;
  display: flex; align-items: center; justify-content: center; color: var(--gold-600); }
.overcome-row .oc-ico svg { width: 21px; height: 21px; }
.overcome-row .oc-txt { color: var(--ink); font-size: 14.5px; line-height: 1.45; }

/* Because Everyone Has Potential (inside mission panel) */
.potential-block { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: start; margin-top: 56px; }
.potential-photo { width: 100%; max-width: 360px; aspect-ratio: 4/3; }
.potential-photo img { object-position: center; }
.potential-copy h3 { font-size: clamp(1.4rem,2.6vw,1.9rem); }
.potential-copy p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; margin-top: 16px; }
.potential-copy .potential-quote { color: var(--teal-700); font-size: clamp(1.2rem,2.4vw,1.6rem); margin-top: 14px; }
@media (max-width: 940px) { .potential-block { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; } .potential-photo { max-width: 360px; } }

/* Overcome bulleted list (home panel 3) */.overcome-list-home { margin-top: 22px; }
.overcome-list-home ul { columns: 2; column-gap: 48px; list-style: none; }
.overcome-list-home li {
  position: relative; padding-left: 28px; margin-bottom: 16px;
  font-size: 1.05rem; line-height: 1.5; color: var(--ink); break-inside: avoid;
}
.overcome-list-home li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500);
}

/* Overcome list */
.overcome-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.overcome-list li { display: flex; gap: 15px; align-items: flex-start; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-sm); }
.overcome-list .oc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-100); flex: none;
  display: flex; align-items: center; justify-content: center; color: var(--gold-600); }
.overcome-list .oc-ico svg { width: 20px; height: 20px; }
.overcome-list .oc-txt { color: var(--ink); font-size: 15.5px; line-height: 1.5; padding-top: 7px; }

/* ============================================================
   Cards & grids
   ============================================================ */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.media-left { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 26px 26px 30px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--teal-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; color: var(--teal-600); }

/* Stat / fact */
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--serif); font-weight: 700; font-size: 3rem; color: var(--teal-600); line-height: 1; }
.stat .num .unit { color: var(--gold-600); }
.stat .lbl { margin-top: 12px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.stat.placeholder .num { color: var(--teal-200); }
.tbd { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-600); background: var(--gold-100); padding: 4px 9px; border-radius: 6px; margin-bottom: 14px; }

/* ============================================================
   Board members
   ============================================================ */
.board-card { text-align: center; }
.board-card .ph-round { margin: 0 auto 18px; max-width: 168px; }
.board-card .bm-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--teal-900); }
.board-card .bm-role { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; }
.board-card .bm-bio { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; }

/* ============================================================
   Expander (See More)
   ============================================================ */
.expander { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; }
.expander + .expander { margin-top: 18px; }
.expander-head { width: 100%; display: flex; align-items: center; gap: 20px; padding: 28px 30px; text-align: left; }
.expander-head .ex-ico { width: 50px; height: 50px; border-radius: 12px; background: var(--teal-100); flex: none;
  display: flex; align-items: center; justify-content: center; }
.expander-head .ex-ico svg { width: 25px; height: 25px; color: var(--teal-600); }
.expander-head .ex-title { flex: 1; }
.expander-head h3 { font-size: 1.45rem; }
.expander-head .ex-sub { color: var(--ink-soft); font-size: 15px; margin-top: 3px; font-family: var(--sans); }
.expander-toggle { flex: none; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-600); font-size: 14px; }
.expander-toggle .plus { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--teal-200);
  display: flex; align-items: center; justify-content: center; transition: .25s var(--ease); }
.expander-toggle .plus svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.expander.open .expander-toggle .plus { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.expander.open .expander-toggle .plus svg { transform: rotate(45deg); }
.expander-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.expander.open .expander-body { max-height: 900px; }
.expander-body-inner { padding: 0 30px 30px 100px; color: var(--ink-soft); }
.expander-body-inner p { margin-bottom: 14px; }
.partner-help-list { list-style: none; margin-bottom: 14px; }
.partner-help-list li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.partner-help-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

/* ============================================================
   Partners
   ============================================================ */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner {
  aspect-ratio: 3/2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 18px; text-align: center; transition: .2s var(--ease);
}
.partner:hover { box-shadow: var(--shadow-sm); border-color: var(--teal-200); }
.partner .p-logo { width: 40px; height: 40px; border-radius: 9px; background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; color: var(--teal-300, var(--teal-500)); }
.partner .p-logo-brand { width: min(82%, 190px); height: 64px; border-radius: 0; background: transparent; }
.partner .p-logo-brand img { width: 100%; height: 100%; object-fit: contain; display: block; }
.partner .p-logo-brand.p-logo-dark { width: min(82%, 180px); height: 64px; padding: 10px 14px; border-radius: 8px; background: var(--teal-900); }
.partner[data-show-logo="false"] .p-logo { display: none; }
.partner .p-name { font-weight: 700; font-size: 14px; color: var(--teal-800); }
.partner[data-show-name="false"] .p-name { display: none; }
.partner .p-tag { font-size: 11.5px; color: var(--ink-faint); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: linear-gradient(120deg, var(--cta-start), var(--cta-end)); color: #fff;
  border-radius: var(--radius-lg); padding: 60px 56px; position: relative; overflow: hidden; }
.cta-band::after { content:""; position: absolute; right: -60px; bottom: -90px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,179,74,.22), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: 2.2rem; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.86); margin-top: 14px; max-width: 48ch; font-size: 1.1rem; }
.cta-band .hero-actions { margin-top: 30px; }

/* Pull quote */
.pullquote { text-align: center; }
.pullquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.3; color: var(--teal-800); max-width: 24ch; margin: 0 auto; }
.pullquote .mark { font-size: 4rem; color: var(--gold-500); line-height: .4; font-family: var(--serif); }
.bg-teal .pullquote p { color: #fff; }

/* ============================================================
   Forms
   ============================================================ */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; color: var(--teal-800); margin-bottom: 7px; letter-spacing: .01em; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; transition: border .15s, box-shadow .15s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--focus-ring); }
.field input::placeholder, .field textarea::placeholder, .signup-form input::placeholder { color: var(--ink-faint); opacity: .9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }
.form-success { background: var(--teal-50); border: 1px solid var(--teal-200); color: var(--teal-800);
  border-radius: 10px; padding: 16px 18px; font-weight: 600; display: none; align-items: center; gap: 10px; }
.form-success.show { display: flex; }

/* ============================================================
   Email signup strip
   ============================================================ */
.signup { background: var(--strong-panel-bg); color: #eaf3ef; border-radius: var(--radius-lg); padding: 48px 52px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.signup h3 { color: #fff; font-size: 1.8rem; }
.signup p { color: rgba(255,255,255,.82); margin-top: 8px; }
.signup-form { display: flex; gap: 10px; min-width: 380px; }
.signup-form input { flex: 1; border: none; border-radius: 999px; padding: 15px 22px; font-size: 15px; background: var(--white); color: var(--ink); }
.signup-form input:focus { outline: 2px solid var(--gold-500); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 70px 0 32px; border-top: 1px solid var(--footer-border); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--footer-border); }
.footer-brand .brand-logo-wrap { width: 280px; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { color: var(--footer-heading); font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; color: var(--footer-text); margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--footer-hover); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: var(--footer-muted); gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--footer-hover); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .brand-logo-wrap { width: 190px; }
  .nav-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 92px; left: 0; right: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 14px 20px 22px; box-shadow: var(--shadow-md);
  }
  .nav-open .nav-links a { padding: 14px 12px; font-size: 16px; border-radius: 8px; }
  .nav-open .nav-links a.active::after { display: none; }
  .nav-open .nav-links .nav-item { width: 100%; }
  .nav-open .nav-item > a { justify-content: space-between; }
  .nav-open .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; min-width: 0; background: transparent;
    padding: 0 0 6px 14px; max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav-open .nav-item.open .nav-dropdown { max-height: 340px; }
  .nav-open .nav-dropdown a { padding: 11px 12px; font-size: 15px; }
  .nav-open .nav-item.open > a .caret { transform: rotate(180deg); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .media-photo.why-support-photo { justify-self: center; }
  .split .ph { order: -1; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .overcome-row { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid .fact-tile,
  .facts-grid .fact-tile:nth-child(4),
  .facts-grid .fact-tile:nth-child(5) { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .signup { grid-template-columns: 1fr; gap: 24px; }
  .signup-form { min-width: 0; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-5, .grid-2, .partner-grid { grid-template-columns: 1fr; }
  .overcome-row { grid-template-columns: 1fr; }
  .overcome-list-home ul { columns: 1; }
  .facts-grid { grid-template-columns: 1fr; gap: 32px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner { padding: 14px 10px; }
  .partner .p-logo-brand { width: min(90%, 160px); height: 56px; }
  .partner .p-logo-brand.p-logo-dark { width: min(92%, 160px); height: 56px; padding: 9px 10px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .span2 { grid-column: span 2; }
  .photo-band { min-height: 380px; padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 16px; gap: 8px; }
  .brand-logo-wrap { width: 150px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-donate { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav-cta .btn-donate svg { width: 18px; height: 18px; }
  .donate-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .cta-band, .signup { padding: 38px 26px; }
  .expander-body-inner { padding: 0 24px 26px; }
  .expander-head { padding: 22px; gap: 14px; }
  .expander-head .ex-sub { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
}
