/* ============================================================
   MAHI PAI FOUNDATION — Shared Stylesheet
   Fonts: Nunito (all weights) via Google Fonts
   ============================================================ */

:root {
  --blue:    #00AAE6;
  --blue-dk: #0090C5;
  --green:   #6EB43C;
  --green-dk:#5A9430;
  --dark:    #1C2B3A;
  --mid:     #4A5A6A;
  --light:   #F4F8FB;
  --border:  #E0EAF2;
  --white:   #FFFFFF;

  --nav-h:   72px;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(28,43,58,0.10);
  --shadow-lg: 0 8px 48px rgba(28,43,58,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.2;
  color: var(--dark);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { color: var(--mid); font-weight: 400; }

/* ── UTILITY ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.label-green { color: var(--green); }
.label-white { color: rgba(255,255,255,0.7); }

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white p,
.text-white .label { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.82); }
.text-white .label { color: rgba(255,255,255,0.7); }

.text-center { text-align: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: #142030; border-color: #142030; color: var(--white); }
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dk); border-color: var(--green-dk); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── NAVIGATION ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(28,43,58,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); background: var(--light); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,43,58,0.55) 40%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  text-align: center;
}
.hero-content h1 { color: var(--white); margin: 0 auto 20px; max-width: 820px; }
.hero-content p  { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 680px; margin: 0 auto 36px; line-height: 1.7; }
.hero-whakatauaki {
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: -20px auto 32px;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-trigger { cursor: zoom-in; }
.lightbox-trigger:hover { opacity: 0.88; transition: opacity 0.15s; }

/* ── NARRATIVE STATS ── */
.narrative-stats {
  background: var(--dark);
  padding: 64px 0;
  position: relative;
}
.narrative-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
}
.narrative-stats-body {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.narrative-stats-body p {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.narrative-stats-body p strong {
  color: var(--green);
  font-weight: 900;
  font-size: 1.2em;
  display: inline-block;
  font-style: normal;
}

/* ── STATS BAR (legacy, kept for reference) ── */
.stats-bar {
  background: var(--dark);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 28px; }
.card-icon {
  display: block;
  line-height: 0;
  margin-bottom: 16px;
}

/* ── SECTION HEADINGS ── */
.section-head { margin-bottom: 48px; }
.section-head.text-center { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* Accent underline on section headings */
.section-head h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 16px;
}
.section-head.text-center h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* Split-section headings get the accent too */
.split-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-top: 14px;
  margin-bottom: 18px;
}

/* ── SPLIT SECTIONS ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text .label { margin-bottom: 10px; }
.split-text h2 { margin-bottom: 4px; }
.split-text p { margin-bottom: 20px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--dark);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent 0px,
      transparent 44px,
      rgba(255,255,255,0.018) 44px,
      rgba(255,255,255,0.018) 88px
    );
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-band p  { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── PARTNERS STRIP ── */
.partners-strip {
  background: var(--light);
  padding: 48px 0;
  position: relative;
}
.partners-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
}
.partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 28px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partners-logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
}
.partners-logos img:hover { filter: none; opacity: 1; }

/* ── TESTIMONIAL / STORY CARD ── */
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  box-shadow: 0 2px 16px rgba(28,43,58,0.06);
  position: relative;
}
.story-card::before {
  content: '\201C';
  font-family: 'Nunito', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: var(--green);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 24px;
  pointer-events: none;
}
.story-card blockquote {
  font-family: 'Nunito', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 20px;
  position: relative;
}
.story-card cite {
  font-size: 0.85rem;
  color: var(--mid);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-card cite::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,170,230,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .label { color: rgba(255,255,255,0.6); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 580px; font-size: 1.1rem; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--mid);
  margin-bottom: 40px;
}
.breadcrumb a { color: var(--mid); }
.breadcrumb a:hover { color: var(--blue); text-decoration: none; }
.breadcrumb span { color: var(--border); }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── VALUES / ICON CARDS ── */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
}
.value-icon {
  display: block;
  line-height: 0;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.92rem; }

/* ── PROCESS STEPS ── */
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-body h4 { font-size: 1rem; margin-bottom: 6px; }
.step-body p { font-size: 0.92rem; }

/* ── DONATE AMOUNT CARDS ── */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.donate-card {
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.donate-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,170,230,0.15); }
.donate-card.featured { border-color: var(--blue); background: rgba(0,170,230,0.04); }
.donate-card .amount {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.donate-card .impact {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.5;
}

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,170,230,0.12);
}
textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 0 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 50%, var(--green) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.72); }
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }
.footer-contact {
  margin-top: 16px;
  font-size: 0.88rem;
}
.footer-shielded {
  display: inline-block;
  margin-top: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-shielded:hover { opacity: 1; }
.footer-shielded img { display: block; }
.footer-contact a {
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.footer-contact a:hover { color: #4dc8ef; text-decoration: none; }

/* ── HIGHLIGHT BAND ── */
.highlight-band {
  background: var(--green);
  padding: 56px 0;
}
.highlight-band h2, .highlight-band p { color: var(--white); }
.highlight-band p { color: rgba(255,255,255,0.88); }

/* ── WHAKATAUAKI STRIP ── */
.whakatauaki-strip {
  background: linear-gradient(135deg, #0099CC 0%, var(--blue) 50%, #007FB0 100%);
  padding: 36px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.whakatauaki-strip::before {
  content: '\201C\201D';
  position: absolute;
  font-family: 'Nunito', sans-serif;
  font-size: 18rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.whakatauaki-strip p {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  font-style: italic;
  position: relative;
}
.whakatauaki-strip small {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  margin-top: 6px;
  position: relative;
}

/* ── NOTICE / ALERT ── */
.notice {
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.notice-blue {
  background: rgba(0,170,230,0.08);
  border: 1px solid rgba(0,170,230,0.25);
  color: var(--dark);
}
.notice-green {
  background: rgba(110,180,60,0.08);
  border: 1px solid rgba(110,180,60,0.28);
  color: var(--dark);
}
.notice-error {
  background: rgba(185,28,28,0.05);
  border: 1px solid rgba(185,28,28,0.28);
  border-radius: 6px;
  color: #b91c1c;
}

/* ── LEGAL PAGES ── */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.35rem; margin: 40px 0 12px; color: var(--dark); }
.legal-content h3 { font-size: 1.05rem; margin: 28px 0 10px; color: var(--dark); }
.legal-content p { margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { margin: 0 0 14px 20px; }
.legal-content li { font-size: 0.95rem; color: var(--mid); margin-bottom: 6px; }
.legal-content a { color: var(--blue); }
.legal-content .last-updated { font-size: 0.82rem; color: var(--mid); margin-bottom: 32px; }

/* ── PAGE LOAD ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content {
  animation: fadeUp 0.75s ease 0.1s both;
}
.page-hero .label {
  animation: fadeUp 0.6s ease 0.05s both;
}
.page-hero h1 {
  animation: fadeUp 0.65s ease 0.15s both;
}
.page-hero p {
  animation: fadeUp 0.65s ease 0.25s both;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .page-hero .label,
  .page-hero h1,
  .page-hero p { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── CARD HOVER STATES ── */
.prog-card { transition: border-color 0.2s; }
.prog-card-blue:hover { border-color: var(--blue); }
.prog-card-green:hover { border-color: var(--green); }
.way-card { transition: border-color 0.2s, box-shadow 0.2s; }
.way-card-blue:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,170,230,0.15); }
.way-card-green:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(110,180,60,0.15); }
.way-card-dark:hover { border-color: var(--dark); box-shadow: 0 4px 20px rgba(28,43,58,0.12); }
.quick-link { transition: box-shadow 0.2s; }
.quick-link:hover { box-shadow: var(--shadow); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 52px 0; }
  .section-sm { padding: 40px 0; }
  .section-lg { padding: 64px 0; }

  /* ── MOBILE NAV: inline-expand (no absolute overlay) ── */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* When open: header expands downward in the normal flow */
  .nav-mobile-open .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--nav-h);
    gap: 0;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
  }
  /* Keep logo and hamburger on first row */
  .nav-mobile-open .nav-logo { height: var(--nav-h); }
  .nav-mobile-open .nav-hamburger { height: var(--nav-h); }

  /* Nav links column */
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2px;
    padding: 10px 0 4px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-open .nav-links a {
    padding: 13px 8px;
    font-size: 1rem;
    border-radius: 8px;
  }

  /* Donate CTA full-width at bottom of menu */
  .nav-mobile-open .nav-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  /* ── LAYOUT ── */
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img { order: -1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 18px 0; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* ── HERO ── */
  .hero { min-height: 460px; }
  .hero-content { padding: 48px 0; }
  .hero-content h1 { margin-bottom: 14px; }
  .hero-content p  { font-size: 1rem; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; gap: 12px; align-items: center; }
  .hero-btns .btn { justify-content: center; }

  /* ── NARRATIVE STATS ── */
  .narrative-stats { padding: 48px 0; }
  .narrative-stats-body p { font-size: 1.1rem; }

  /* ── PAGE HERO ── */
  .page-hero { padding: 44px 0 40px; }
  .page-hero::after { height: 32px; }

  /* ── CTA BAND ── */
  .cta-band { padding: 52px 0; }
  .cta-btns { flex-direction: column; align-items: center; gap: 12px; }
  .cta-btns .btn { min-width: 220px; justify-content: center; }

  /* ── FORMS ── */
  .contact-form { padding: 24px 18px; }

  /* ── SECTION HEAD ── */
  .section-head { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .partners-logos { gap: 20px; }
  .partners-logos img { height: 30px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
  .container { padding: 0 18px; }
  .section { padding: 44px 0; }
  .hero { min-height: 420px; }
  .stats-bar { padding: 36px 0; }
  .stat-number { font-size: 2rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .value-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
