/* ==========================================================================
   KICA HOPE RESTORATION MISSION — Design System v2
   Palette: white canvas, living green (brand), sky blue (trust/accent), ink black.
   Motif: "Field Dispatch" — reports mailed home from Adjumani.
   ========================================================================== */

/* Playfair Display + Inter are loaded via a <link rel="stylesheet"> tag in
   each page's <head> instead of @import here. @import blocks CSS parsing
   until it resolves, delaying every style on the page; a <link> tag lets
   the browser fetch it in parallel with everything else. */

:root{
  /* --- Color tokens --- */
  --green-900:  #0E3322;
  --green-800:  #124430;
  --green-700:  #1B7A4B;
  --green-600:  #219958;
  --green-500:  #2FB36A;
  --green-100:  #E4F5EA;
  --green-050:  #F2FAF5;

  --blue-800:   #0F3D91;
  --blue-700:   #1955D6;
  --blue-600:   #2C6FF0;
  --blue-500:   #4C8CFF;
  --blue-100:   #E7EFFE;
  --blue-050:   #F3F7FF;

  --black:      #0D1210;
  --ink:        #14201A;
  --ink-soft:   #4D5A53;
  --ink-faint:  #85907F;

  --white:      #FFFFFF;
  --paper:      #F6F8F6;
  --paper-line: #E1E8E2;

  /* --- Type --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Rhythm --- */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 24px 60px -30px rgba(13,18,16,0.35);
  --shadow-card: 0 14px 34px -20px rgba(13,18,16,0.25);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html{ overflow-x: hidden; width: 100%; }
body{ width: 100%;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--black);
  margin: 0;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 560px){
  .container{ padding: 0 32px; }
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.eyebrow.on-dark{ color: var(--green-500); }

.section{ padding: 100px 0; position: relative; }
.section--tight{ padding: 64px 0; }
.section--black{ background: var(--black); color: #D8E4DD; }
.section--black h2, .section--black h3{ color: var(--white); }
.section--green{ background: var(--green-900); color: #D8E4DD; }
.section--green h2, .section--green h3{ color: var(--white); }
.section--paper{ background: var(--paper); }
.section--blue{ background: var(--blue-050); }

.section-head{ max-width: 660px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(28px, 4vw, 44px); margin-top: 14px; }
.section-head p{ margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.section--black .section-head p, .section--green .section-head p{ color: #B7C7BE; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* --- Buttons --- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-green{
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(27,122,75,0.55);
}
.btn-green:hover{ transform: translateY(-2px); background: var(--green-700); box-shadow: 0 16px 30px -12px rgba(27,122,75,0.7); }
.btn-blue{
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(44,111,240,0.55);
}
.btn-blue:hover{ transform: translateY(-2px); background: var(--blue-700); }
.btn-outline{
  background: transparent;
  border-color: rgba(13,18,16,0.35);
  color: var(--black);
}
.btn-outline:hover{ background: var(--black); color: var(--white); border-color: var(--black); }
.section--black .btn-outline, .section--green .btn-outline{ color: var(--white); border-color: rgba(255,255,255,0.4); }
.section--black .btn-outline:hover, .section--green .btn-outline:hover{ background: var(--white); color: var(--black); }
.btn-sm{ padding: 10px 20px; font-size: 13px; }
.btn-block{ width: 100%; }
@media (max-width: 420px){
  .btn{ white-space: normal; text-align: center; line-height: 1.3; }
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--paper-line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled{
  background: var(--white);
  box-shadow: 0 10px 30px -18px rgba(13,18,16,0.35);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img{
  height: 68px; width: auto;
  filter: saturate(1.18) contrast(1.08) brightness(1.06) drop-shadow(0 1px 2px rgba(13,18,16,0.12));
}
.brand-text{ font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--black); white-space: nowrap; }
.brand-text span{ display: block; font-family: var(--font-body); font-weight: 800; font-size: 12.5px; letter-spacing: 0.02em; color: var(--green-700); margin-top: 1px; }
.nav-links{ display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.nav-links a{ font-size: 14.5px; font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; white-space: nowrap; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active{ color: var(--black); }
.nav-links a.active::after{ content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue-600); border-radius: 2px; }
.nav-actions{ display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-cta-mobile{ display: none; }
.nav-toggle{ display: none; background: none; border: none; padding: 6px; flex-shrink: 0; }
.nav-toggle span{ display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-scrim{
  position: fixed; inset: 0; background: rgba(13,18,16,0.4); z-index: 198;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.nav-scrim.open{ opacity: 1; visibility: visible; }

/* 561–1100px: nav links stay inline (per the requested breakpoint plan),
   tightened so the brand, all page links, and the actions genuinely fit
   without overflowing or feeling cramped. Groups (brand / links / actions)
   keep a noticeably bigger gap than the gap between individual links. */
@media (min-width: 561px) and (max-width: 1100px){
  .nav{ gap: 22px; }
  .brand{ gap: 8px; }
  .brand img{ height: 44px; }
  .brand-text{ font-size: 11.5px; }
  .brand-text span{ font-size: 10px; }
  .nav-links{ gap: 14px; }
  .nav-links a{ font-size: 12.5px; }
  .nav-actions{ gap: 10px; }
  .nav-login{ width: 32px; height: 32px; }
  .nav-login svg{ width: 15px; height: 15px; }
  .nav-actions .nav-cta-desktop{ padding: 9px 16px; font-size: 12px; }
}

/* ≤560px: page links move into an off-canvas panel behind the hamburger,
   base behavior shared by both the 401-560px and sub-401px tiers below. */
@media (max-width: 560px){
  .nav-links{
    position: fixed; top: 0; bottom: 0; right: -100%; width: min(86vw, 340px); z-index: 199;
    background: var(--white); box-shadow: -18px 0 40px -20px rgba(13,18,16,0.35);
    flex-direction: column; padding: 100px 30px 32px; gap: 4px; align-items: stretch;
    transition: right .32s ease; overflow-y: auto;
  }
  .nav-links.open{ right: 0; }
  .nav-links a{ font-size: 17px; white-space: normal; padding: 14px 4px; border-bottom: 1px solid var(--paper-line); width: 100%; }
  .nav-links a.active::after{ display: none; }
  .nav-links a.active{ color: var(--green-700); }
  .nav-toggle{ display: block; }
  .nav{ gap: 16px; }
}

/* 401–560px: logo, full "Kica Hope / Restoration Mission" wordmark, the
   login icon, and the donate button share the top bar; the page links live
   behind the hamburger for a clean, uncluttered strip. */
@media (min-width: 401px) and (max-width: 560px){
  .brand{ gap: 8px; }
  .brand img{ height: 42px; }
  .brand-text{ font-size: 12px; }
  .brand-text span{ font-size: 10.5px; }
  .nav-actions{ gap: 10px; }
  .nav-actions .nav-cta-desktop{ padding: 8px 14px; font-size: 12px; }
  .nav-login{ width: 32px; height: 32px; }
}

/* ≤400px: icon-only logo, login icon, and hamburger only — the donate
   button moves off the top bar and into the off-canvas panel alongside
   the page links so the header never feels crowded. */
@media (max-width: 400px){
  .nav{ gap: 10px; }
  .brand{ gap: 8px; }
  .brand img{ height: 42px; }
  .brand-text{ display: none; }
  .nav-actions{ gap: 10px; }
  .nav-login{ width: 34px; height: 34px; }
  .nav-actions .nav-cta-desktop{ display: none; }
  .nav-cta-mobile{ display: block; margin-top: 14px; }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top{
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-700); color: var(--white); border: none; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 12px 26px -10px rgba(27,122,75,0.55);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
  z-index: 250; cursor: pointer;
}
.back-to-top svg{ width: 20px; height: 20px; }
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--green-600); transform: translateY(-3px); }
@media (max-width: 640px){ .back-to-top{ right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* ==========================================================================
   POSTMARK / SEAL — signature element
   ========================================================================== */
.postmark{ --seal: var(--black); width: 128px; height: 128px; flex-shrink: 0; }
.postmark.on-dark{ --seal: #ffffff; }
.postmark svg{ width: 100%; height: 100%; }
.postmark text{ font-family: var(--font-mono); fill: var(--seal); }
.postmark .ring-text{ font-size: 8.2px; letter-spacing: 2.4px; }
.postmark .ring-line{ fill: none; stroke: var(--seal); }

/* ==========================================================================
   HERO (photo-backed)
   ========================================================================== */
.hero{ position: relative; background: var(--green-900); color: var(--white); overflow: hidden; }
.hero-media{ position: absolute; inset: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.72; }
.hero-media::after{
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,51,34,0.82) 12%, rgba(14,51,34,0.5) 55%, rgba(15,61,145,0.28) 100%);
}
.hero-grid{ position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; padding-top: 108px; padding-bottom: 76px; min-height: 620px; }
.hero .btn-outline{
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
}
.hero .btn-outline:hover{ background: var(--white); color: var(--black); border-color: var(--white); }
.hero-eyebrow{ font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-500); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 700; }
.hero h1{ color: var(--white); font-size: clamp(38px, 5.2vw, 64px); font-weight: 600; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.hero h1 em{ font-style: italic; color: var(--green-500); font-weight: 500; }
.hero-lede{ margin-top: 24px; font-size: 18px; color: #F0F5F1; max-width: 48ch; text-shadow: 0 1px 14px rgba(0,0,0,0.4); }
.hero-actions{ margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats{ margin-top: 52px; display: grid; grid-template-columns: repeat(3, auto); gap: 36px; }
.hero-stat b{ display: block; font-family: var(--font-display); font-size: 30px; color: var(--white); font-weight: 600; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.hero-stat span{ font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #A9C2B7; text-transform: uppercase; }
.hero-letter{
  position: relative; background: var(--white); color: var(--ink);
  border-radius: var(--radius-md); padding: 26px 26px 28px; box-shadow: var(--shadow-soft);
}
.hero-letter .postmark{ width: 62px; height: 62px; position: absolute; top: -18px; right: 18px; }
.hero-letter p{ font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink); line-height: 1.55; }
.hero-letter footer{ margin-top: 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--blue-700); text-transform: uppercase; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; padding-top: 128px; padding-bottom: 88px; min-height: 0; }
  .hero-letter{ max-width: 420px; }
}

@media (max-width: 560px){
  .hero-grid{ padding-top: 116px; padding-bottom: 72px; }
  .hero-actions{ margin-top: 30px; gap: 12px; }
  .hero-stats{ margin-top: 40px; gap: 24px 28px; }
  .page-hero{ padding: 84px 0 60px; }
}

/* Rootline divider */
.rootline{ display:block; width:100%; height:auto; }
.rootline path{ stroke: var(--paper-line); }
.rootline.on-dark path{ stroke: rgba(255,255,255,0.14); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
[data-reveal]{ opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"]{ transition-delay: .1s; }
[data-reveal-delay="2"]{ transition-delay: .2s; }
[data-reveal-delay="3"]{ transition-delay: .3s; }
[data-reveal-delay="4"]{ transition-delay: .4s; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.grid{ display: grid; gap: 26px; }
.grid > *{ min-width: 0; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; } }

.card{
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius-md);
  padding: 30px 26px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.card .icon{ width: 52px; height: 52px; border-radius: 14px; background: var(--green-100); display: flex; align-items: center; justify-content: center; color: var(--green-700); margin-bottom: 18px; }
.card .icon.blue{ background: var(--blue-100); color: var(--blue-700); }
.card .icon svg{ width: 26px; height: 26px; }
.card h3{ font-size: 19px; margin-bottom: 10px; }
.card p{ color: var(--ink-soft); font-size: 15px; }
.card .tag{ font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-700); display: block; margin-bottom: 10px; font-weight: 700; }

.card--dark{ background: var(--green-900); border-color: transparent; color: #D8E4DD; }
.card--dark h3{ color: var(--white); }
.card--dark p{ color: #B7C7BE; }
.card--dark .icon{ background: rgba(255,255,255,0.1); color: var(--green-500); }

.program-card{
  background: var(--paper); border-radius: var(--radius-md); padding: 32px 28px;
  border: 1px solid var(--paper-line); height: 100%; display: flex; flex-direction: column;
}
.program-card .icon{ background: var(--white); }
.program-card ul{ margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.program-card li{ font-size: 14px; color: var(--ink-soft); padding-left: 20px; position: relative; }
.program-card li::before{ content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); }

.photo-card{ border-radius: var(--radius-md); overflow: hidden; position: relative; background: var(--black); }
.photo-card img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img{ transform: scale(1.06); }
.photo-card .cap{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(0deg, rgba(13,18,16,0.88), transparent 90%);
  color: var(--white); font-size: 13.5px; font-weight: 600;
}

/* ==========================================================================
   STATS / CHALLENGE BAND
   ========================================================================== */
.stat-band{ display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--paper-line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.stat-cell{ padding: 32px 24px; border-right: 1px solid var(--paper-line); }
.stat-cell:last-child{ border-right: none; }
.stat-cell b{ display: block; font-family: var(--font-display); font-size: 34px; color: var(--green-700); }
.stat-cell span{ font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 6px; }
@media (max-width: 900px){ .stat-band{ grid-template-columns: repeat(2,1fr); } .stat-cell{ border-bottom: 1px solid var(--paper-line); } }
@media (max-width: 560px){ .stat-band{ grid-template-columns: 1fr; } }

/* ==========================================================================
   IMPACT CALCULATOR
   ========================================================================== */
.calc{ background: var(--green-900); border-radius: var(--radius-lg); padding: 44px; color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.calc h3{ color: var(--white); font-size: 24px; }
.calc-sub{ color: #C9DBD1; margin-top: 10px; font-size: 15px; }
.calc-slider{ margin-top: 30px; }
.calc-amount{ font-family: var(--font-display); font-size: 42px; color: var(--green-500); font-weight: 600; margin-bottom: 6px; }
input[type=range]{ width: 100%; -webkit-appearance: none; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.18); outline: none; }
input[type=range]::-webkit-slider-thumb{ -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-500); border: 4px solid var(--green-900); cursor: pointer; }
input[type=range]::-moz-range-thumb{ width: 22px; height: 22px; border-radius: 50%; background: var(--blue-500); border: 4px solid var(--green-900); cursor: pointer; }
.calc-presets{ display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.calc-preset{ padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: var(--white); font-size: 13px; font-weight: 600; transition: background .2s ease, border-color .2s ease; }
.calc-preset.active, .calc-preset:hover{ background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }
.calc-output{ background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 28px; }
.calc-output ul{ display: flex; flex-direction: column; gap: 14px; }
.calc-output li{ display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #E4EEE9; opacity: 0; transform: translateX(-6px); transition: opacity .35s ease, transform .35s ease; }
.calc-output li.show{ opacity: 1; transform: translateX(0); }
.calc-output li svg{ width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green-500); }
@media (max-width: 860px){ .calc{ grid-template-columns: 1fr; padding: 32px 24px; } }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline{ display: flex; flex-direction: column; gap: 22px; }
.milestone-card{
  display: grid; grid-template-columns: 230px 1fr; gap: 0;
  border: 1px solid var(--paper-line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); transition: box-shadow .3s ease, transform .3s ease;
}
.milestone-card:hover{ box-shadow: var(--shadow-card); transform: translateY(-3px); }
.milestone-media{ position: relative; background: linear-gradient(155deg, var(--green-700), var(--green-900)); min-height: 180px; }
.milestone-media img{ width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.milestone-media .placeholder-icon{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.9); }
.milestone-media .placeholder-icon svg{ width: 44px; height: 44px; }
.milestone-content{ padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.milestone-period{
  display: inline-flex; align-self: flex-start; align-items: center; padding: 5px 14px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700); font-family: var(--font-mono); font-size: 11.5px;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px;
}
.milestone-content h4{ font-size: 20px; margin-bottom: 8px; }
.milestone-content p{ color: var(--ink-soft); font-size: 15px; line-height: 1.65; max-width: 62ch; }
@media (max-width: 700px){
  .milestone-card{ grid-template-columns: 1fr; }
  .milestone-media{ aspect-ratio: 16/9; min-height: 0; }
  .milestone-content{ padding: 26px 24px; }
}

/* ==========================================================================
   QUOTE / LETTER BLOCK
   ========================================================================== */
.letter-block{ background: var(--paper); border-radius: var(--radius-lg); padding: 52px; position: relative; }
.letter-block .quote-mark{ font-family: var(--font-display); font-size: 90px; color: var(--blue-600); line-height: 0.5; display: block; margin-bottom: 14px; }
.letter-block blockquote{ font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 2.4vw, 25px); color: var(--black); line-height: 1.5; margin: 0; }
.letter-signoff{ margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.letter-signoff .sig-name{ font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.letter-signoff .sig-role{ font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 640px){ .letter-block{ padding: 32px 24px; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band{ background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); border-radius: var(--radius-lg); padding: 56px; color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h3{ color: var(--white); font-size: clamp(24px, 3vw, 32px); max-width: 22ch; }
.cta-band p{ color: #DCE8FF; margin-top: 10px; max-width: 46ch; }
.cta-band.green{ background: linear-gradient(120deg, var(--green-900), var(--green-600)); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--black); color: #B7C7BE; padding: 72px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img{ height: 68px; filter: brightness(1.42) contrast(1.15) saturate(2.1) hue-rotate(4deg) drop-shadow(0 1px 3px rgba(0,0,0,0.3)); }
.footer-brand-text{ font-family: var(--font-display); color: var(--white); font-size: 15px; font-weight: 700; }
.footer-brand-text span{ display:block; font-family: var(--font-mono); font-size: 10px; color: var(--green-500); letter-spacing: 0.1em; margin-top:2px; }
.site-footer p{ font-size: 14px; color: #9BAAA1; max-width: 32ch; }
.footer-col h5{ font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-500); margin: 0 0 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 14.5px; color: #C9D3CD; transition: color .2s ease; }
.footer-col a:hover{ color: var(--blue-500); }
.footer-social{ display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.footer-social a{ width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease; }
.footer-social a:hover{ background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.footer-social svg{ width: 17px; height: 17px; }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; color: #6E7C74; flex-wrap: wrap; gap: 12px; }
.footer-bottom a{ color: #9BAAA1; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero{ background: var(--green-900); color: var(--white); padding: 64px 0 84px; position: relative; overflow: hidden; }
.page-hero .hero-media img{ opacity: 0.28; }
.page-hero h1{ color: var(--white); font-size: clamp(32px, 5vw, 50px); position: relative; max-width: 22ch; }
.page-hero p{ color: #D9E4DE; margin-top: 16px; max-width: 54ch; font-size: 17px; position: relative; }
.breadcrumb{ font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #A9C2B7; margin-bottom: 18px; display: flex; gap: 8px; position: relative; }
.breadcrumb a:hover{ color: var(--green-500); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.contact-form-panel{
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg, 20px);
  padding: 40px;
  box-shadow: 0 24px 60px -32px rgba(13,18,16,0.18);
  position: relative;
  overflow: hidden;
}
.contact-form-panel::before{
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--blue-600));
}
@media (max-width: 640px){
  .contact-form-panel{ padding: 28px 22px; }
}

.form-field{ margin-bottom: 20px; max-width: 100%; }
.form-field label{ display: block; font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 8px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.form-field input, .form-field textarea, .form-field select{ width: 100%; max-width: 100%; padding: 14px 16px; border: 1.5px solid var(--paper-line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; box-sizing: border-box; }
.form-field textarea{ resize: vertical; min-height: 120px; max-height: 420px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(44,111,240,0.15); }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px){ .form-row{ grid-template-columns: 1fr; } }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{ outline: 3px solid var(--blue-600); outline-offset: 2px; }

.skip-link{ position: absolute; left: -9999px; top: 0; background: var(--black); color: var(--white); padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus{ left: 0; }

.divider{ height: 1px; background: var(--paper-line); border: none; margin: 0; }

/* Ways to give */
.give-tabs{ display:flex; gap:12px; margin-bottom:36px; flex-wrap:wrap; }
.give-tab{ padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--paper-line); background: var(--white); font-weight: 700; font-size: 14px; color: var(--ink-soft); transition: all .2s ease; }
.give-tab.active{ background: var(--black); color: var(--white); border-color: var(--black); }

.bank-card{ background: var(--black); color: var(--white); border-radius: var(--radius-md); padding: 30px; font-family: var(--font-mono); }
.bank-card dl{ display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin-top: 18px; }
.bank-card dt{ color: #9BAAA1; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.bank-card dd{ margin: 0; font-size: 15px; color: var(--green-500); font-weight: 700; letter-spacing: 0.04em; }

.tier-card{ border: 1.5px solid var(--paper-line); border-radius: var(--radius-md); padding: 30px 26px; background: var(--white); position: relative; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tier-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tier-card.featured{ border-color: var(--green-600); background: linear-gradient(180deg, var(--green-100), var(--white) 40%); }
.tier-card .badge{ position: absolute; top: -13px; right: 24px; background: var(--blue-600); color: var(--white); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier-card .price{ font-family: var(--font-display); font-size: 34px; color: var(--black); margin: 10px 0 4px; }
.tier-card .price span{ font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }
.tier-card ul{ margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.tier-card li{ font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.tier-card li::before{ content:'✓'; position:absolute; left:0; color: var(--green-600); font-weight: 700; }

/* ==========================================================================
   MONTHLY REPORTS
   ========================================================================== */
.report-filters{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.report-filter{ padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--paper-line); background: var(--white); font-weight: 700; font-size: 13.5px; color: var(--ink-soft); transition: all .2s ease; }
.report-filter.active{ background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.report-filter:hover:not(.active){ border-color: var(--green-600); color: var(--black); }

.report-card{
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 34px;
}
.report-head{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 32px; cursor: pointer; flex-wrap: wrap;
}
.report-head:hover{ background: var(--green-050); }
.report-head-left{ display: flex; align-items: center; gap: 20px; }
.report-month{
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--black);
  min-width: 130px;
}
.report-month span{ display: block; font-family: var(--font-mono); font-size: 11px; color: var(--blue-700); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }
.report-theme{ font-size: 14.5px; color: var(--ink-soft); max-width: 46ch; }
.report-toggle{
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--paper-line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s ease, background .2s ease;
  background: var(--white);
}
.report-card.open .report-toggle{ transform: rotate(45deg); background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.report-body{ max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.report-card.open .report-body{ max-height: 6000px; }
.report-body-inner{ padding: 8px 32px 40px; }
.report-scripture{
  font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 15px;
  border-left: 3px solid var(--blue-500); padding-left: 18px; margin-bottom: 26px;
}
.report-section{ margin-bottom: 28px; }
.report-section h4{ font-size: 17px; color: var(--black); margin-bottom: 10px; }
.report-section p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }
.report-photos{ display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; margin-top: 14px; }
.report-photos img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .3s ease; }
.report-photos img:hover{ transform: scale(1.03); }
.report-budget{ width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.report-budget th, .report-budget td{ text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--paper-line); }
.report-budget th{ font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-700); }
.report-budget tr.total td{ font-weight: 700; color: var(--black); border-top: 2px solid var(--black); }
.report-budget tr.balance td{ font-weight: 700; color: var(--green-700); }
@media (max-width: 640px){
  .report-head{ padding: 22px; }
  .report-body-inner{ padding: 4px 22px 32px; }
  .report-month{ min-width: 0; }
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; background: rgba(13,18,16,0.92); z-index: 500;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close{
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
}

.gallery-strip{ display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 860px){ .gallery-strip{ grid-template-columns: repeat(2,1fr); } }
.gallery-tile{ aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery-tile img{ width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.gallery-tile:hover img{ transform: scale(1.07); }

/* Counter stat strip on dark */
.counter-strip{ display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.counter-item b{ display:block; font-family: var(--font-display); font-size: 40px; color: var(--white); }
.counter-item span{ font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #A9C2B7; }
@media (max-width: 760px){ .counter-strip{ grid-template-columns: repeat(2,1fr); } }

/* ==========================================================================
   MISSION STATEMENT
   ========================================================================== */
.mission-block{
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mission-block::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 500px 300px at 15% 10%, rgba(76,140,255,0.22), transparent 60%);
}
.mission-block .eyebrow{ color: var(--blue-500); justify-content:center; position:relative; }
.mission-block p{
  position:relative; font-family: var(--font-display); font-style: italic; font-weight:500;
  font-size: clamp(20px, 2.6vw, 28px); line-height:1.5; max-width: 46ch; margin: 18px auto 0;
}
@media (max-width: 640px){ .mission-block{ padding: 40px 26px; } }

/* ==========================================================================
   CHALLENGE / RESPONSE / IMPACT (CRI)
   ========================================================================== */
.cri-row{ display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center; padding: 64px 0; }
.cri-row:not(:last-child){ border-bottom: 1px solid var(--paper-line); }
.cri-row > *{ min-width: 0; }
.cri-row.reverse .cri-media{ order:2; }
.cri-media{ border-radius: var(--radius-lg); overflow:hidden; aspect-ratio:5/4; min-width: 0; }
.cri-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.cri-label{ font-family: var(--font-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase; font-weight:700; }
.cri-label.challenge{ color:#B42318; }
.cri-label.response{ color: var(--blue-700); }
.cri-label.impact{ color: var(--green-700); }
.cri-list{ margin: 16px 0 0; display:flex; flex-direction:column; gap:12px; padding: 22px 24px; border-radius: var(--radius-md); border-left: 4px solid; background: var(--paper); }
.cri-list li{ font-size:15.5px; color:var(--ink-soft); padding-left:22px; position:relative; line-height:1.55; }
.cri-list li::before{ content:''; position:absolute; left:0; top:8px; width:7px; height:7px; border-radius:50%; }
.cri-list.dot-challenge{ border-left-color:#B42318; background: #FDEDEC; }
.cri-list.dot-challenge li::before{ background:#B42318; }
.cri-list.dot-response{ border-left-color:var(--blue-600); background: var(--blue-050); }
.cri-list.dot-response li::before{ background:var(--blue-600); }
.cri-list.dot-impact{ border-left-color:var(--green-600); background: var(--green-050); }
.cri-list.dot-impact li::before{ background:var(--green-600); }
@media (max-width: 860px){
  .cri-row{ grid-template-columns:1fr; gap:26px; padding: 40px 0; }
  .cri-row.reverse .cri-media{ order:0; }
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-card{ text-align:center; }
.team-photo{
  width: 148px; height: 148px; border-radius: 50%; overflow:hidden; margin: 0 auto 18px;
  border: 4px solid var(--green-100); background: var(--paper);
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-card h3{ font-size:18px; margin-bottom:4px; }
.team-card .role{ font-family: var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color: var(--blue-700); font-weight:700; display:block; margin-bottom:10px; }
.team-card p{ color: var(--ink-soft); font-size:14px; }

/* ==========================================================================
   NAV LOGIN ICON
   ========================================================================== */
.nav-login{
  display:flex; align-items:center; justify-content:center; width:38px; height:38px;
  border-radius:50%; border:1.5px solid var(--paper-line); color: var(--ink-soft); transition: all .2s ease;
}
.nav-login:hover{ border-color: var(--green-600); color: var(--green-700); background: var(--green-050); }
.nav-login svg{ width:17px; height:17px; }

/* ==========================================================================
   DONATE / PAYMENT TABS
   ========================================================================== */
.pay-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; }
.pay-tab{
  flex:1; min-width:160px; display:flex; align-items:center; gap:12px; padding:16px 18px;
  border:1.5px solid var(--paper-line); border-radius:14px; background:var(--white);
  font-weight:700; font-size:14px; color:var(--ink-soft); transition: all .2s ease;
}
.pay-tab .pay-icon{ width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; background:var(--paper); flex-shrink:0; }
.pay-tab.active{ border-color: var(--green-600); background: var(--green-050); color: var(--black); }
.pay-tab.active .pay-icon{ background: var(--green-600); color: var(--white); }
.pay-panel{ display:none; }
.pay-panel.active{ display:block; }
.pay-panel dl{ display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 18px; }
.pay-panel dt{ color: var(--ink-faint); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.pay-panel dd{ margin: 0; font-size: 14.5px; color: var(--black); font-weight: 700; }
.pay-note{ font-size:13px; color:var(--ink-faint); margin-top:14px; }
.amount-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; margin-bottom:20px; }
.amount-btn{ padding:14px; border-radius:10px; border:1.5px solid var(--paper-line); background:var(--white); font-weight:700; text-align:center; transition: all .2s ease; }
.amount-btn.active{ border-color: var(--green-600); background: var(--green-600); color:var(--white); }
@media (max-width:560px){ .amount-grid{ grid-template-columns: repeat(2,1fr); } }

