/* ============================================
   Megan Mehta Family Foundation
   "Helping Healing Meet Joy"
   ============================================ */

/* Base colors are for backgrounds; every -dark variant is the
   text-safe version of the same hue. Using a base color for text
   on cream or white fails contrast. */
:root {
  --pink: #e8127e;
  --pink-dark: #c00e69;
  --purple: #6c3f94;
  --purple-dark: #4f2d6e;
  --blue: #5b93d8;
  --blue-dark: #3f74b8;
  --green: #6e8c3c;
  --green-dark: #566e2c;
  --orange: #f0862e;
  --orange-dark: #d66c17;
  --red: #d92c3b;
  --yellow: #ffd166;
  --yellow-dark: #f2b705;
  --butter: #faf0c6;
  --butter-dark: #f8e28c;
  --cream: #fffaf2;
  --cream-2: #fff2e2;
  --ink: #3a2e52;
  --ink-soft: #6a5f82;
  --white: #ffffff;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(58, 46, 82, 0.12);
  --shadow-sm: 0 6px 16px rgba(58, 46, 82, 0.10);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- Scroll reveal ---------- */
/* JS (main.js) adds .reveal-init right before observing, then swaps it
   for .reveal-visible once the element scrolls into view. Nothing here
   hides content by default, so a page with JS disabled (or that fails
   to load main.js) still shows everything — .reveal alone never hides
   anything, only .reveal-init does. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-init { opacity: 0; transform: translateY(24px); }
.reveal.reveal-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-init, .reveal.reveal-visible {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--purple-dark);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--purple-dark);
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.35rem); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Keyboard-only focus ring. Yellow reads on every background the site
   uses, including the dark color-block sections, so one rule covers
   all of them without a per-section override. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 80px 0; }

.eyebrow {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--pink-dark);
  background: #ffe1f0;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn::after { content: "\2192"; display: inline-block; transition: transform 0.15s ease; }
.btn:hover::after { transform: translateX(4px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(240, 134, 46, 0.4);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--purple-dark);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--purple);
}
.btn-secondary:hover { background: var(--purple); color: var(--white); }

.btn-pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 18, 126, 0.35);
}
.btn-pink:hover { background: var(--pink-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 240, 198, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--butter-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { height: 56px; width: 56px; border-radius: 50%; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 1.05rem;
}
.brand-text .tagline {
  font-size: 0.8rem;
  color: var(--pink-dark);
  font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.main-nav a:hover { background: var(--cream-2); transform: translateY(-3px); }
.main-nav a.active { background: var(--purple); color: var(--white); }
.main-nav a.nav-cta {
  background: var(--pink);
  color: var(--white);
  margin-left: 8px;
  box-shadow: 0 0 0 3px rgba(255, 250, 242, 0.85), 0 8px 20px rgba(232, 18, 126, 0.35);
}
.main-nav a.nav-cta:hover { background: var(--pink-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--purple-dark);
  cursor: pointer;
}

/* ---------- Nav submenu (What We Do > Impact Reports) ---------- */
/* Hover/focus-within only — no JS needed, and .main-nav a is a descendant
   selector so the nested link still gets full nav-link styling. */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 190px;
  display: none;
  flex-direction: column;
  z-index: 20;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a {
  display: block;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  padding: 70px 0 100px;
  background: linear-gradient(180deg, #fff2e2 0%, #fffaf2 100%);
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy .eyebrow { background: #d9f0d1; color: var(--green-dark); }
.hero-copy h1 { color: var(--purple-dark); }
.hero-copy .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 6px solid var(--white);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: -1;
}

/* full-bleed hero (About page, Lusaka-style) */
.hero-full {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,46,82,0.05) 0%, rgba(58,46,82,0.75) 100%);
}
.hero-full .container { position: relative; z-index: 1; padding-bottom: 56px; }
.hero-full h1 { color: var(--white); }
.hero-full .eyebrow { background: rgba(255,255,255,0.85); }

/* ---------- Wave divider ---------- */
.wave { display: block; width: 100%; line-height: 0; }
.wave svg { width: 100%; height: 60px; display: block; }

/* ---------- Color-block sections (Bennie-style) ---------- */
/* These set color: white, and everything inside inherits it. A white
   card or light panel nested in one must re-declare its own color. */
.block { padding: 90px 0; }
.block-pink { background: var(--pink-dark); color: var(--white); }
.block-purple { background: var(--purple); color: var(--white); }
.block-blue { background: var(--blue-dark); color: var(--white); }
.block-green { background: var(--green-dark); color: var(--white); }
/* A dedicated shade, not --orange-dark: white text on --orange-dark is
   only ~3.5:1 contrast (fails WCAG AA for body text at ~4.5:1). This is
   darker just enough to pass, without touching --orange-dark itself,
   which is also used for buttons/icons elsewhere that don't have this
   problem. */
.block-orange { background: #b8590f; color: var(--white); }
.block-cream { background: var(--cream); }
.block-cream2 { background: var(--cream-2); }
.block h2, .block h3 { color: inherit; }
.block-pink .eyebrow, .block-purple .eyebrow, .block-blue .eyebrow,
.block-green .eyebrow, .block-orange .eyebrow {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 6px solid var(--white);
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--stat-color, var(--pink-dark));
}
.stat .num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--stat-color, var(--pink-dark));
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat .label { font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Cards ---------- */
.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); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon-badge,
.contact-card .icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ---------- Feature list (icon-badge bullet row) ---------- */
/* Same icon-badge language as the .card version on what-we-do.html,
   scaled down for an inline list inside prose/.split content. */
.feature-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-list .icon-badge {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; }
.testimonial .quote-mark {
  font-family: "Baloo 2", sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--pink);
  opacity: 0.35;
  margin-bottom: 4px;
}
.testimonial p { font-size: 1.05rem; flex-grow: 1; }
.testimonial .attribution {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 0.95rem;
}

/* ---------- Team ---------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.team-card {
  flex: 1 1 260px;
  max-width: 300px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Cards with a primary link (set via data-card-link, wired up in
   main.js) open it when you click anywhere on the card, not just the
   small icon. Cards without one (e.g. Tommy) stay non-interactive. */
.team-card[data-card-link] { cursor: pointer; }
.team-card .photo-wrap {
  width: 140px; height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--cream-2);
}
.team-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--pink-dark);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}
.team-card .bio { font-size: 0.92rem; color: var(--ink-soft); min-height: 66px; }
.team-links { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-dark);
}
.team-links a:hover { background: var(--purple); color: var(--white); text-decoration: none; }
.team-links svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Timeline ---------- */
/* color is required: the timeline sits inside .block-orange and would
   otherwise inherit white text on a white card. Do not remove. */
.timeline { position: relative; margin: 0 auto; max-width: 800px; color: var(--ink); }
.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 4px;
  background: var(--cream-2);
  border-radius: 4px;
}
.timeline-item { position: relative; padding-left: 64px; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 8px; top: 4px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--cream);
}
.timeline-item h3 { margin-bottom: 6px; color: var(--purple-dark); }
.timeline-item .year-label {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--pink-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Achievements ---------- */
.achieve-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.achieve-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.achieve-list .badge {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

/* ---------- Partner logos ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.partners a, .partners > img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  height: 110px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.partners a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partners img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(15%);
  opacity: 0.9;
}
.partners a > img { box-shadow: none; padding: 0; height: auto; }

/* ---------- Highlights / events ---------- */
.highlight-list { display: grid; gap: 18px; }
.highlight-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.highlight-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight-item h3 { color: var(--ink); }
.highlight-date {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 10px 6px;
  font-size: 0.85rem;
  line-height: 1.3;
}

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.press-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.press-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.press-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.press-card .press-body { padding: 22px 24px; }
.press-card .press-date {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.press-post { max-width: 720px; margin: 0 auto; }
.press-post .press-date { display: block; margin-bottom: 8px; }

/* ---------- Instagram carousel ---------- */
.insta-carousel-wrap { display: flex; align-items: center; gap: 12px; }
.insta-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--cream-2);
}
.insta-carousel::-webkit-scrollbar { height: 8px; }
.insta-carousel::-webkit-scrollbar-track { background: var(--cream-2); border-radius: 999px; }
.insta-carousel::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 999px; }
.insta-carousel::-webkit-scrollbar-thumb:hover { background: var(--pink-dark); }
.insta-slide {
  /* Instagram's embed.js computes its own iframe height after load and
     doesn't respect a fixed parent height — a hard height + overflow:hidden
     was clipping real posts. min/max-height + inner scroll instead of a
     crop; min-width 340px stays above Instagram's own 326px embed floor. */
  flex: 0 0 340px;
  max-width: 340px;
  min-height: 480px;
  max-height: 660px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.insta-slide .instagram-media {
  min-width: 300px !important;
  min-height: 480px;
  background: var(--cream-2);
  border-radius: var(--radius-md);
}
.insta-nav {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  background: var(--white);
  color: var(--purple-dark);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.insta-nav:hover { background: var(--purple); color: var(--white); }

/* ---------- Giving tiers ---------- */
.tier-grid { align-items: stretch; }
.tier-card {
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--tier-color, var(--pink-dark));
  position: relative;
}
.tier-card .tier-name {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.tier-card .tier-amount {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--tier-color, var(--pink-dark));
  margin: 4px 0 14px;
}
.tier-card p { color: var(--ink-soft); font-size: 0.92rem; flex-grow: 1; }
.tier-card--featured {
  border-top-width: 6px;
  box-shadow: var(--shadow);
}
.tier-card--featured::before {
  content: "Biggest Impact";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tier-color, var(--blue-dark));
  color: var(--white);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .tier-card--featured::before { top: -12px; font-size: 0.65rem; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .icon-badge { margin: 0 auto 16px; }
.contact-card a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-dark);
  color: #eae4f5;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img { height: 48px; width: 48px; border-radius: 50%; }
.footer-brand .name { font-family: "Baloo 2", sans-serif; font-weight: 700; color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #eae4f5; }
.site-footer a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--pink); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  font-size: 0.88rem;
  color: #cabfe0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom strong { color: #eae4f5; }

/* ---------- Mobile donate button ---------- */
/* Fixed bottom-right, mobile only (see the 720px media query below) —
   the header CTA scrolls out of view on a phone long before someone
   reaches a donate link again. env() keeps it clear of the iOS home
   indicator. */
.mobile-donate-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 200;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: var(--white);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(232, 18, 126, 0.45);
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease;
}
.mobile-donate-fab svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.mobile-donate-fab:hover,
.mobile-donate-fab:focus-visible { background: var(--pink-dark); transform: translateY(-2px); }

/* ---------- Decorative shapes ---------- */
.deco { position: absolute; z-index: 0; opacity: 0.9; pointer-events: none; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-white { color: var(--white); }
.muted { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile nav: hidden here and toggled by .open from js/main.js. */
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 80px; left: 16px; right: 16px; background: var(--white);
    border-radius: var(--radius-md); box-shadow: var(--shadow); flex-direction: column;
    padding: 12px; display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; text-align: center; }
  .nav-item { width: 100%; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .highlight-item { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-donate-fab { display: inline-flex; }
  .insta-slide { flex-basis: min(340px, calc(100vw - 88px)); max-width: min(340px, calc(100vw - 88px)); min-height: 420px; max-height: 560px; }
  .insta-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  /* 80-90px of vertical section padding was carried straight to phone
     width with no reduction — cut it roughly in half here. */
  section { padding: 48px 0; }
  .block { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .section-head { margin-bottom: 32px; }
  /* Hover doesn't exist on touch, so the submenu is always shown here
     instead, indented under its parent link. */
  .nav-dropdown { display: flex; position: static; padding: 0 0 0 24px; }
  .nav-dropdown a { box-shadow: none; background: none; }
}
