/* ====================================================================
   The Byungura Foundation — Stylesheet
   Aesthetic: warm, hopeful, editorial. Light backgrounds, generous
   white space. Deep forest green accent. Playfair Display + Inter.
   Reference points: charity:water, EJI, Foundation Rwanda.
   ==================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --bg: #faf7f2;            /* warm cream — primary background */
  --bg-soft: #f3ede2;       /* slightly deeper cream — sections */
  --bg-card: #ffffff;       /* card / panel surfaces */
  --bg-dark: #1f2d27;       /* deep forest — dark sections */
  --bg-darker: #16201b;     /* near-black green */

  --ink: #1c241f;           /* primary text */
  --ink-soft: #4b5650;      /* secondary text */
  --ink-mute: #7a857e;      /* tertiary text / meta */
  --ink-light: #f3ede2;     /* text on dark */
  --ink-light-soft: #c8d1cb;/* secondary text on dark */

  --brand: #1f4d3f;         /* deep forest green — primary */
  --brand-deep: #163a2f;    /* hover */
  --brand-soft: #d6e3dc;    /* tinted background */

  --accent: #c97b48;        /* warm terracotta — secondary */
  --accent-soft: #f0d9c8;

  --line: #e6dfd1;          /* hairline rule on cream */
  --line-dark: #2c3a32;     /* hairline on dark */

  --shadow-sm: 0 1px 2px rgba(28,36,31,.05), 0 2px 6px rgba(28,36,31,.04);
  --shadow-md: 0 6px 20px rgba(28,36,31,.08), 0 2px 6px rgba(28,36,31,.04);
  --shadow-lg: 0 24px 48px -12px rgba(28,36,31,.18);

  /* Typography */
  --font-serif: 'Playfair Display', 'Source Serif Pro', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --radius-lg: 12px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-deep); }

button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4.2vw, 46px);
  margin-bottom: 16px;
}
.section-lede {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 600px;
  margin: 0 auto;
}
.section-lede-light { color: var(--ink-light-soft); }
.section-head-light .section-title { color: var(--ink-light); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow-light { color: #a8c3b6; }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.two-col-flip { grid-template-columns: .95fr 1.05fr; }

.prose p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.prose p:last-child { margin-bottom: 1.5em; }

.placeholder-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a4a23;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: all .2s ease;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-light);
  border: 1px solid rgba(255,255,255,.55);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all .2s ease;
}
.link-arrow:hover {
  color: var(--brand-deep);
  border-bottom-color: var(--brand-deep);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250,247,242,0);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,247,242,.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(28,36,31,.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  text-decoration: none;
}
.brand-mark { display: inline-flex; }
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-serif);
}
.brand-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 4px;
  font-family: var(--font-sans);
}
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .brand-sub { color: #d6e3dc; }
.site-header:not(.scrolled) .brand { color: #fff; }

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.primary-nav a:hover { color: var(--brand); }
.site-header:not(.scrolled) .primary-nav a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .primary-nav a:hover { color: #fff; }

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all .25s ease;
}
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 32px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { margin-top: 16px; border-bottom: 0; }
.mobile-nav.is-open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,32,27,.55) 0%, rgba(22,32,27,.35) 40%, rgba(22,32,27,.85) 100%),
    linear-gradient(120deg, rgba(31,77,63,.45) 0%, rgba(22,32,27,.15) 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 140px;
  max-width: 920px;
}
.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: -0.015em;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  max-width: 620px;
  color: rgba(255,255,255,.92);
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,.65);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- IMPACT BAND ---------- */
.impact-band {
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: 36px 0;
}
.impact-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 8px 0;
}
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 6px;
}
.stat-suffix { font-size: 0.7em; }
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a8c3b6;
}

/* ---------- MISSION ---------- */
.section-mission { background: var(--bg); }

.image-stack {
  position: relative;
}
.image-stack img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.image-card {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--bg-card);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  border-left: 3px solid var(--brand);
}
.image-card-stat {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--brand);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.image-card-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ---------- PROGRAMS ---------- */
.section-programs { background: var(--bg-soft); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.program-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.program-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.program-card:hover .program-img img { transform: scale(1.04); }

.program-body {
  padding: 32px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 14px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.program-meta-item { display: inline-flex; align-items: baseline; gap: 6px; }
.program-meta-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--brand);
}
.program-budget {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.program-title {
  font-size: 26px;
  margin-bottom: 14px;
}
.program-desc {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.program-why {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  background: rgba(31, 77, 63, 0.04);
  border-radius: 0 6px 6px 0;
}
.program-why-label {
  display: inline;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--brand);
  margin-right: 4px;
}
.section-kicker {
  max-width: 720px;
  margin: 18px auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  line-height: 1.65;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-kicker em {
  color: var(--brand);
  font-style: italic;
  font-weight: 600;
}
.program-action-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}
.program-action-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.program-action-label {
  display: inline-block;
  font-weight: 600;
  color: var(--brand);
  margin-right: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
}
.program-card .link-arrow { align-self: flex-start; }

.program-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
}
.program-ctas .btn { flex-shrink: 0; }

/* ---------- IMPACT (DARK) ---------- */
.section-impact {
  background:
    linear-gradient(180deg, rgba(22,32,27,.92), rgba(22,32,27,.92)),
    url('https://picsum.photos/seed/byungura-impact-bg/1800/900') center/cover no-repeat;
  color: var(--ink-light);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.impact-card {
  padding: 36px 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025);
}
.impact-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.impact-label {
  color: var(--ink-light);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.impact-note {
  font-size: 12px;
  color: var(--ink-light-soft);
  margin: 0;
  font-style: italic;
}
.impact-disclaimer {
  text-align: center;
  font-size: 14px;
  color: var(--ink-light-soft);
  margin: 0;
}

/* ---------- GET INVOLVED ---------- */
.section-involved { background: var(--bg); }

.involved-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.involved-card {
  padding: 40px 36px 44px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.involved-card-feature {
  background: var(--bg-dark);
  color: var(--ink-light);
  border-color: var(--bg-dark);
}
.involved-card-feature .involved-title { color: #fff; }
.involved-card-feature .involved-desc { color: var(--ink-light-soft); }
.involved-card-feature .involved-num { color: var(--accent); }

.involved-card-inner { display: flex; flex-direction: column; height: 100%; }
.involved-num {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin: 0 0 24px;
  font-feature-settings: 'tnum';
}
.involved-title {
  font-size: 24px;
  margin-bottom: 14px;
}
.involved-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.involved-card .btn { align-self: flex-start; margin-top: auto; }
.involved-card .link-arrow { margin-top: auto; align-self: flex-start; }
.involved-card-feature .link-arrow { color: #fff; }

.involved-note {
  margin-top: 56px;
  padding: 24px 32px;
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--brand);
}
.involved-note p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
}
.involved-note a { font-weight: 600; }

/* ---------- STORIES ---------- */
.section-stories { background: var(--bg-soft); }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.story {
  background: var(--bg-card);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  margin: 0;
  border-top: 3px solid var(--accent);
  position: relative;
}
.story::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1;
  color: var(--accent-soft);
  font-weight: 700;
  pointer-events: none;
}
.story blockquote {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.story figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.story-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.story-meta {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}

/* ---------- TRANSPARENCY ---------- */
.section-transparency { background: var(--bg); }

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.transparency-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
}
.transparency-title {
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.transparency-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.transparency-list dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-self: end;
}
.transparency-list dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.transparency-note {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.board-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.board-list li:last-child { border-bottom: 0; }
.board-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.board-role {
  font-size: 13px;
  color: var(--ink-soft);
}
.board-placeholder .board-name { color: var(--ink-mute); }

.allocation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.allocation-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.allocation-list li:last-child { border-bottom: 0; }
.allocation-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.allocation-bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-soft);
  overflow: hidden;
}
.allocation-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #2a6651);
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.allocation-bar.is-visible span { width: var(--w); }

.allocation-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.allocation-list li {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
}
.allocation-list .allocation-bar {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.allocation-list .allocation-num { grid-row: 1; grid-column: 2; }

.allocation-list .allocation-label { grid-row: 1; grid-column: 1; }

.allocation-list { display: block; }
.allocation-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 12px;
  padding: 12px 0;
}

.transparency-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 600;
}
.transparency-total strong {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--brand);
  letter-spacing: -0.015em;
  font-weight: 500;
  text-transform: none;
}

/* Documents */
.documents-title {
  font-size: 18px;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
}
.documents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.document {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: all .2s ease;
}
.document:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
}
.document-label {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}
.document-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* ---------- CONTACT ---------- */
.section-contact {
  background: var(--bg-dark);
  color: var(--ink-light);
}
.section-contact .section-title { color: #fff; }
.contact-block { margin-bottom: 28px; }
.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8c3b6;
  margin: 0 0 6px;
}
.contact-value {
  font-size: 16px;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.6;
}
.contact-value a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-value a:hover { color: #fff; border-bottom-color: #fff; }
.contact-meta {
  font-size: 12px;
  color: var(--ink-light-soft);
  margin: 6px 0 0;
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 24px;
  margin-bottom: 24px;
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31,77,63,.15);
}
.form-note { font-size: 13px; color: var(--ink-mute); margin: 14px 0 0; }
.form-success {
  display: block;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-darker);
  color: var(--ink-light);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.brand-footer { color: #fff; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #a8c3b6; }
.footer-tag {
  margin: 24px 0 0;
  color: var(--ink-light-soft);
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8c3b6;
  margin: 0 0 8px;
}
.footer-col a {
  color: var(--ink-light);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  width: fit-content;
  padding-bottom: 1px;
}
.footer-col a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.4);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-newsletter-tag {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--ink-light-soft);
}
.footer-newsletter-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.footer-newsletter-row input {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.footer-newsletter-row input::placeholder { color: var(--ink-light-soft); }
.footer-newsletter-row .btn { border-radius: 0; }

.footer-meta {
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--ink-light-soft);
  flex-wrap: wrap;
}
.footer-legal { margin: 0; }
.footer-legal-note { margin: 0; max-width: 540px; text-align: right; }
.footer-legal-note a { color: var(--ink-light); border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-legal-note a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Status page ---------- */
.status-main {
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 760px;
  margin: 0 auto;
}
.status-main .eyebrow { color: var(--accent); }
.status-main h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 24px;
}
.status-main h2 {
  font-size: 22px;
  margin: 40px 0 14px;
}
.status-main .prose p { font-size: 17px; }
.status-callout {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.status-callout strong { display: block; margin-bottom: 6px; }
.status-back {
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }

  .two-col { grid-template-columns: 1fr; }
  .two-col-flip { grid-template-columns: 1fr; }

  .impact-band-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line-dark); }

  .programs-grid { grid-template-columns: 1fr; gap: 24px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .involved-grid { grid-template-columns: 1fr; }
  .involved-card-feature { order: -1; }
  .stories-grid { grid-template-columns: 1fr; gap: 20px; }
  .transparency-grid { grid-template-columns: 1fr; }
  .documents-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-meta { flex-direction: column; }
  .footer-legal-note { text-align: left; }

  .image-card { left: 0; bottom: -20px; max-width: 240px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-inner { padding-top: 110px; padding-bottom: 110px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .impact-grid { grid-template-columns: 1fr; }
  .documents-grid { grid-template-columns: 1fr; }
  .program-body { padding: 24px 24px 28px; }
  .involved-card { padding: 32px 26px; }
  .story { padding: 32px 26px; }
  .transparency-card { padding: 28px 24px; }
  .contact-form { padding: 28px 22px; }
  .program-total-line { flex-direction: column; gap: 8px; padding: 18px 22px; }
  .transparency-list { grid-template-columns: 1fr; gap: 4px 0; }
  .transparency-list dt { margin-top: 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
