/* ============================================================
   Solidarity for Afghan Women — Design System
   Anchor: lapis lazuli (Afghanistan's heritage stone) + pyrite gold
   ------------------------------------------------------------
   Structure mirrors a future MVC build:
   - tokens      -> site-wide variables (theme)
   - base        -> resets + typography
   - layout      -> containers, header, footer (=> _Layout.cshtml)
   - components  -> buttons, cards, etc. (=> partial views)
   - sections    -> page-specific blocks
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Lapis surfaces */
  --lapis-900: #0E1F45;   /* near-black blue: hero, footer */
  --lapis-800: #142A5C;
  --lapis-700: #1B3A6B;   /* primary blue */
  --lapis-500: #2E5596;   /* links, lighter accents */
  --lapis-300: #6E8BC2;

  /* Pyrite gold (the flecks in lapis) */
  --gold: #D9A53B;
  --gold-deep: #B8842A;   /* hover */
  --gold-soft: #EBCB7E;

  /* Warm reading surfaces */
  --paper: #F6F2E9;
  --paper-2: #FBF9F3;
  --line: #E4DCC9;        /* hairline on paper */

  /* Urgency (used sparingly) */
  --pomegranate: #9E2B3A;

  /* Ink + neutrals */
  --ink: #15203B;
  --ink-soft: #41507A;
  --white: #FFFFFF;
  --mist: rgba(255,255,255,0.82);
  --mist-dim: rgba(255,255,255,0.62);

  /* Type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-voice: "Spectral", Georgia, serif;

  /* Scale & rhythm */
  --container: 1160px;
  --container-narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -24px rgba(14,31,69,0.45);
  --shadow-sm: 0 6px 20px -12px rgba(14,31,69,0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); }

p { margin: 0 0 1rem; }
a { color: var(--lapis-500); text-decoration-thickness: 1px; text-underline-offset: 2px; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--gold); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--lapis { background: var(--lapis-900); color: var(--white); }
.section--lapis h1, .section--lapis h2, .section--lapis h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.section--lapis .eyebrow { color: var(--gold); }
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor; display: inline-block;
}

.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--ink-soft); line-height: 1.55; }
.section--lapis .lede { color: var(--mist); }

/* Woven gold thread divider — the signature motif (solidarity = many threads) */
.thread { height: 14px; width: 100%; border: 0; margin: 0;
  background:
    repeating-linear-gradient(90deg,
      var(--gold) 0 10px, transparent 10px 22px) center/100% 2px no-repeat;
  position: relative;
}
.thread::before, .thread::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-deep) 0 4px, transparent 4px 22px);
  opacity: 0.5;
}
.thread::before { top: 3px; }
.thread::after { bottom: 3px; }

/* ===== HEADER (=> _Layout.cshtml header / partial) ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,31,69,0.96);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-bottom: 1px solid rgba(217,165,59,0.22);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 800; }
.brand:focus-visible { outline-offset: 4px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-size: 1.02rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand__name span { display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; list-style: none; }
.nav__link {
  display: inline-block; padding: 0.5rem 0.8rem; border-radius: var(--radius-sm);
  color: var(--mist); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--gold); margin-top: 3px; border-radius: 2px;
}

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm);
  color: var(--white); width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ===== BUTTONS (=> partial) ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.18s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--lapis-700); color: var(--white); }
.btn--ink:hover { background: var(--lapis-800); }
.btn--outline-ink { background: transparent; color: var(--lapis-700); border-color: var(--lapis-700); }
.btn--outline-ink:hover { background: var(--lapis-700); color: var(--white); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* Header donate emphasis */
.header-donate { margin-left: 0.5rem; }

/* ===== HERO ===== */
.hero {
  position: relative; color: var(--white);
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(46,85,150,0.55), transparent 60%),
    radial-gradient(800px 600px at 0% 110%, rgba(217,165,59,0.12), transparent 55%),
    var(--lapis-900);
  overflow: hidden;
}
.hero__grain { /* subtle lapis "stone" texture via layered dots */
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(235,203,126,0.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 120% at 70% 10%, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
  padding-block: clamp(3.5rem, 2rem + 8vw, 6.5rem);
}
.hero__title { margin-bottom: 1.25rem; }
.hero__title .line-accent { color: var(--gold); }
.hero__sub { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--mist); max-width: 48ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.25rem; color: var(--mist-dim); font-size: 0.9rem; }
.hero__tags li { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.hero__tags svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Hero image slot — swap the <img> later; styled placeholder until then */
.hero__media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(217,165,59,0.3);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  width: 100%; height: 100%; display: grid; place-content: center; text-align: center; gap: 0.6rem;
  background:
    linear-gradient(140deg, var(--lapis-700), var(--lapis-900));
  color: var(--mist-dim); padding: 1.5rem;
}
.media-placeholder svg { width: 44px; height: 44px; margin-inline: auto; color: var(--gold); opacity: 0.85; }
.media-placeholder span { font-size: 0.82rem; line-height: 1.5; }

/* ===== VALUE / ICON GRID ===== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(217,165,59,0.14); color: var(--gold-deep);
  border: 1px solid rgba(217,165,59,0.3);
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ===== PILLAR CARDS ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__media { aspect-ratio: 16/10; background: linear-gradient(140deg, var(--lapis-700), var(--lapis-900)); position: relative; }
.pillar__media .media-placeholder { font-size: 0.75rem; }
.pillar__badge {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--gold); color: var(--ink); font-family: var(--font-display);
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.pillar__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pillar__body h3 { margin-bottom: 0.5rem; }
.pillar__body p { color: var(--ink-soft); font-size: 0.97rem; }
.pillar__stat { margin-top: auto; padding-top: 1rem; font-family: var(--font-display); font-weight: 700; color: var(--lapis-700); }
.pillar__stat strong { font-size: 1.5rem; color: var(--gold-deep); }
.pillar__link { margin-top: 1rem; align-self: flex-start; }

/* ===== STATS BAND ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem); color: var(--gold); line-height: 1; }
.stat__label { color: var(--mist); font-size: 0.95rem; margin-top: 0.4rem; }

/* ===== GET INVOLVED CARDS ===== */
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.action-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem;
  box-shadow: var(--shadow-sm);
}
.action-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lapis-900); color: var(--gold); }
.action-card__icon svg { width: 24px; height: 24px; }
.action-card h3 { font-size: 1.18rem; margin: 0; }
.action-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; flex: 1; }
.action-card .btn { margin-top: 0.4rem; }

/* ===== VOICE / TESTIMONY (Spectral italic — reserved for Afghan women's words) ===== */
.voice {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center;
}
.voice__media { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(217,165,59,0.3); }
.voice__quote {
  font-family: var(--font-voice); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.4; color: var(--white); position: relative; padding-left: 1.5rem;
}
.voice__quote::before { content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em; width: 3px;
  background: var(--gold); border-radius: 2px; }
.voice__attr { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 700; color: var(--gold); font-style: normal; }
.voice__attr span { display: block; font-weight: 400; color: var(--mist-dim); font-size: 0.9rem; }
.voice__note { margin-top: 1rem; font-size: 0.82rem; color: var(--mist-dim); }

/* ===== PAGE HEADER (interior pages) ===== */
.page-head { background: var(--lapis-900); color: var(--white); padding-block: clamp(2.75rem, 2rem + 4vw, 4.5rem); }
.page-head .lede { max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: var(--mist-dim); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* ===== PROSE (About / legal) ===== */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul.bullets { margin: 1rem 0 1.5rem; padding-left: 1.25rem; }
.prose ul.bullets li { list-style: disc; margin-bottom: 0.5rem; }

/* People / bios */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.person { text-align: center; }
.person__photo { aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; max-width: 160px;
  border: 3px solid var(--gold); }
.person h3 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.person p { color: var(--ink-soft); font-size: 0.9rem; }

/* ===== FORMS (Contact / Donate / Newsletter) ===== */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.field .req { color: var(--pomegranate); }
.field input, .field textarea, .field select {
  font: inherit; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--lapis-500); outline: none; box-shadow: 0 0 0 3px rgba(46,85,150,0.18); }
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: 0.82rem; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* Donation specifics */
.donate-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.amount-option { position: relative; }
.amount-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount-option label {
  display: block; text-align: center; padding: 1rem 0.5rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--white); transition: all 0.18s var(--ease);
}
.amount-option label .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; display: block; color: var(--lapis-700); }
.amount-option label .impact { font-size: 0.78rem; color: var(--ink-soft); display: block; margin-top: 0.25rem; }
.amount-option input:checked + label { border-color: var(--gold); background: rgba(217,165,59,0.1); box-shadow: var(--shadow-sm); }
.amount-option input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.freq-toggle { display: inline-flex; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.25rem; gap: 0.25rem; }
.freq-toggle label { padding: 0.5rem 1.2rem; border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.freq-toggle input { position: absolute; opacity: 0; }
.freq-toggle input:checked + label { background: var(--lapis-700); color: var(--white); }
.donate-aside { background: var(--lapis-900); color: var(--white); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 92px; }
.donate-aside h3 { color: var(--white); }
.donate-aside .lede { color: var(--mist); font-size: 1rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 1.25rem; color: var(--mist-dim); font-size: 0.85rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-row svg { width: 16px; height: 16px; color: var(--gold); }

/* Newsletter strip */
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.newsletter form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 220px; padding: 0.8rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: var(--white); }
.newsletter input::placeholder { color: var(--mist-dim); }
.newsletter input:focus { outline: none; border-color: var(--gold); }

/* News list */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.news-card__media { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--lapis-700), var(--lapis-900)); }
.news-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 0.8rem; color: var(--gold-deep); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.news-card h3 { font-size: 1.15rem; margin: 0.4rem 0 0.6rem; }
.news-card p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }

/* Generic two-col intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

/* ===== FOOTER (=> _Layout.cshtml footer / partial) ===== */
.site-footer { background: var(--lapis-900); color: var(--mist); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--mist); text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--gold); }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; color: var(--mist); }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; font-size: 0.83rem; color: var(--mist-dim); }
.footer-bottom a { color: var(--mist-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ein-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem; border: 1px solid rgba(217,165,59,0.4); border-radius: 999px; color: var(--gold-soft); font-size: 0.8rem; }

/* ---------- 4. ANIMATION ---------- */
/* Progressive enhancement: content is fully visible by default.
   It only starts hidden once JS confirms it can reveal on scroll. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 5. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { max-width: 440px; }
  .voice, .split, .donate-layout, .newsletter { grid-template-columns: 1fr; }
  .donate-aside { position: static; }
  .values, .pillars, .actions, .stats, .news-grid, .people { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--lapis-900); border-bottom: 1px solid rgba(217,165,59,0.22); padding: 1rem 1.5rem; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav__link { padding: 0.85rem 0.75rem; border-radius: var(--radius-sm); }
  .nav__link[aria-current="page"]::after { display: none; }
  .header-donate { margin: 0.5rem 0 0; }
  .nav-toggle { display: inline-flex; }
  .values, .pillars, .actions, .stats, .news-grid, .people, .form-row, .amount-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .pillar:hover { transform: none; }
}

/* media images fill slots */
.hero__media img, .pillar__media img, .voice__media img,
.news-card__media img, .person__photo img { width:100%; height:100%; object-fit:cover; display:block; }
.brand__mark { border-radius:8px; }
