/* =========================================================================
   CAMP ECO FOUNDATION — shared stylesheet  (v2 · "Horizon" redesign)
   Design concept: THE HORIZON. Climate work lives on a horizon line —
   earth below, sky above, the land recovering along the seam between them.
   That layered-hills horizon (deep-forest → monsoon teal → marigold sun)
   is the signature motif: it opens each page as an image band, threads
   between sections as a soft ridge divider, and grounds the footer.
   Palette drawn from the Deccan: laterite earth, monsoon teal-green,
   marigold sun, on a warm khadi/limewash bone.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Ink & text */
  --ink:            #16241D;   /* near-black forest — body text */
  --ink-soft:       #43524A;   /* muted body — 6.5:1 on paper */

  /* Deep forest (dark sections) */
  --canopy:         #123A2A;
  --canopy-deep:    #0B271B;

  /* Monsoon teal-green — primary */
  --leaf:           #1E7F5C;
  --leaf-bright:    #1FBE7C;   /* punched up from #2FA574 — more vivid */
  --leaf-deep:      #135C42;   /* strong green for text on light — 5.6:1 */

  /* Water / monsoon sky */
  --water:          #1497B8;   /* punched up from #2C8FA8 */
  --water-bright:   #29C4E3;   /* punched up from #46B0C9 */

  /* Marigold / turmeric sun */
  --gold:           #F2A30A;   /* punched up from #E29A2E — true saffron */
  --gold-soft:      #FFD166;   /* punched up from #F3CE85 */
  --gold-deep:      #A6650A;   /* readable gold text on light */

  /* Laterite earth */
  --earth:          #D14A1E;   /* punched up from #C0552B */
  --earth-soft:     #F0A67D;   /* punched up from #E9B79E */

  /* Surfaces */
  --paper:          #F4EEE2;   /* warm limewash bone */
  --paper-alt:      #ECE4D4;   /* deeper band */
  --surface:        #FCFAF3;   /* card white, warm */
  --cream:          #F1EBDD;   /* text on dark */
  --khaki-tint:     #E4ECDF;
  --mist:           #D8CFBC;   /* warm hairline borders */
  --white:          #FFFFFF;

  /* Tinted section backgrounds — used to break up the paper/dark rhythm */
  --mint-tint:      #DAF1E3;
  --gold-tint:      #FBE7BC;

  --font-display: 'Fraunces', 'Source Serif 4', Georgia, serif;
  --font-ui:      'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --fs-xs:   0.75rem;
  --fs-sm:   0.9rem;
  --fs-base: 1.04rem;
  --fs-md:   clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
  --fs-lg:   clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --fs-xl:   clamp(2rem, 1.6rem + 2vw, 2.85rem);
  --fs-2xl:  clamp(2.5rem, 1.9rem + 3vw, 3.9rem);
  --fs-hero: clamp(2.85rem, 1.8rem + 5vw, 5.2rem);

  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs:  0.75rem;
  --sp-sm:  1.25rem;
  --sp-md:  2rem;
  --sp-lg:  3.25rem;
  --sp-xl:  5rem;
  --sp-2xl: 7.5rem;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --container-w: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 1px 2px rgba(11,39,27,0.05), 0 2px 10px rgba(11,39,27,0.06);
  --shadow-md: 0 6px 16px rgba(11,39,27,0.09), 0 16px 40px rgba(11,39,27,0.1);
  --shadow-glow: 0 0 0 1px rgba(47,165,116,0.15), 0 12px 32px rgba(30,127,92,0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4, p {
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
em, .accent-italic { font-style: italic; font-weight: 500; color: var(--leaf-deep); }
.section--dark em, .section--dark .accent-italic,
.band em, .band .accent-italic,
.hero em, .hero .accent-italic { color: var(--gold-soft); }

p { max-width: 62ch; }
p + p { margin-top: 1em; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2.5px solid var(--leaf-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--white);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: var(--fs-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
}
/* Flex children default to a content-based min-width, which stops long
   unbroken text (an email address, a URL) from ever wrapping and can push
   a whole column wider than the viewport. Zeroing it out lets flex items
   actually shrink to the space available; harmless outside flex/grid. */
.container * { min-width: 0; }

.section { padding-block: var(--sp-2xl); position: relative; }
.section--tight { padding-block: var(--sp-xl); }
.section--alt { background: var(--paper-alt); }
.section--mint { background: var(--mint-tint); }
.section--gold { background: var(--gold-tint); }
.section--dark {
  background: linear-gradient(160deg, var(--canopy) 0%, var(--canopy-deep) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--white);
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 520px 320px at 12% 12%, rgba(47,165,116,0.22), transparent 60%),
    radial-gradient(ellipse 480px 380px at 88% 88%, rgba(226,154,46,0.16), transparent 60%),
    radial-gradient(ellipse 400px 300px at 78% 6%, rgba(44,143,168,0.16), transparent 60%);
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  font-weight: 600;
}
.section--dark .eyebrow { color: var(--gold-soft); }
.eyebrow::before {
  content: '';
  width: 1.4em;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.lead {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  max-width: 54ch;
}
.section--dark .lead { color: var(--cream); opacity: 0.9; }

/* =========================================================================
   SIGNATURE MOTIF — the Horizon ridge divider
   Layered hill silhouettes (earth → forest) that read as a landscape,
   not a chart. Replaces the old jagged "adaptation curve" line graphs.
   ========================================================================= */
.horizon {
  display: block;
  width: 100%;
  height: clamp(52px, 7vw, 88px);
  margin: 0;
  color: var(--paper-alt); /* back ridge inherits via currentColor fallback */
}
.horizon svg { width: 100%; height: 100%; display: block; }
/* When a horizon sits on the alt background, flip which tone reads as "back" */
.section--alt + .horizon, .horizon.on-alt { background: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-spring), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-primary {
  background: linear-gradient(135deg, var(--leaf-bright), var(--leaf));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30,127,92,0.32);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(30,127,92,0.42); }
.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn-ghost, .band .btn-ghost, .hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.section--dark .btn-ghost:hover, .band .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--white); color: var(--canopy); }
.btn-amber {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--canopy-deep);
  box-shadow: 0 4px 14px rgba(226,154,46,0.32);
}
.btn-amber:hover { box-shadow: 0 8px 22px rgba(226,154,46,0.4); }
.btn-sm { padding: 0.6em 1.25em; font-size: 0.92rem; }
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background: rgba(244, 238, 226, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
  box-shadow: 0 1px 0 rgba(11,39,27,0.02), 0 8px 24px rgba(11,39,27,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
/* ---- BIGGER LOGO ---- */
.brand-logo {
  display: block;
  width: 168px;            /* was 42px, then 64, 76, 92 — now much bigger */
  height: 168px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(226,154,46,0.4), 0 4px 16px rgba(11,39,27,0.18);
}
.brand-logo img, .brand-logo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-brand .brand-logo { width: 210px; height: 210px; box-shadow: 0 0 0 4px rgba(226,154,46,0.45); }
.brand-word {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.5rem;      /* scaled up with the bigger logo */
  line-height: 1.12;
  letter-spacing: 0.005em;
}
.site-nav { display: flex; align-items: center; gap: var(--sp-lg); }
.nav-menu { display: flex; gap: var(--sp-md); }
.nav-menu a {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--leaf-deep);
  border-color: var(--gold);
}
.nav-cta { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.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); }

/* =========================================================================
   HERO — full-bleed image with text overlay
   ========================================================================= */
.hero {
  position: relative;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.05);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,39,27,0.55) 0%, rgba(11,39,27,0.35) 40%, rgba(11,39,27,0.78) 100%),
    linear-gradient(105deg, rgba(11,39,27,0.85) 0%, rgba(11,39,27,0.45) 46%, rgba(11,39,27,0.15) 100%);
}
.hero-inner {
  display: flex;
  min-height: min(78vh, 680px);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 46rem; }
.hero-text h1 {
  font-size: var(--fs-hero);
  margin-top: 1.1rem;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(6,20,14,0.4);
}
.hero-text .lead { color: var(--cream); opacity: 0.96; margin-top: 1.5rem; max-width: 46ch; text-shadow: 0 1px 12px rgba(6,20,14,0.45); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--canopy-deep); background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  padding: 0.5em 1em; border-radius: var(--radius-pill); font-weight: 600;
  box-shadow: 0 4px 14px rgba(226,154,46,0.34);
}

/* =========================================================================
   IMAGE BAND — full-bleed photo with overlaid text (reusable)
   ========================================================================= */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}
.band-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,39,27,0.9) 0%, rgba(11,39,27,0.66) 45%, rgba(11,39,27,0.32) 100%);
}
.band--warm::after {
  background: linear-gradient(100deg, rgba(88,40,14,0.86) 0%, rgba(11,39,27,0.62) 55%, rgba(11,39,27,0.3) 100%);
}
.band--center::after {
  background: linear-gradient(180deg, rgba(11,39,27,0.62), rgba(11,39,27,0.78));
}
.band-inner {
  position: relative; z-index: 1;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.band h2 { color: var(--white); font-size: var(--fs-xl); max-width: 24ch; }
.band--center .band-inner { text-align: center; }
.band--center h2 { max-width: 26ch; margin-inline: auto; }
.band .lead { color: var(--cream); opacity: 0.94; }
.band--center .lead { margin-inline: auto; }
.band .eyebrow { color: var(--gold-soft); }
.band--center .eyebrow { justify-content: center; }
.band-text { max-width: 40rem; }

/* Stat strip inside a band */
.band .stat-num { color: var(--white); }
.band .stat-label { color: var(--cream); opacity: 0.82; }

/* =========================================================================
   PAGE HERO — image-backed page header for interior pages
   ========================================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--cream);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,39,27,0.9) 0%, rgba(11,39,27,0.6) 55%, rgba(11,39,27,0.28) 100%);
}
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 7vw, 5.5rem); max-width: 52rem; }
.page-hero h1 { color: var(--white); font-size: var(--fs-2xl); margin-top: var(--sp-xs); text-shadow: 0 2px 20px rgba(6,20,14,0.4); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .lead { color: var(--cream); opacity: 0.95; }

/* ---------- Marquee (kinetic focus-tag strip) ---------- */
.marquee {
  background: var(--canopy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding-block: 0.85rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marqueeScroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.78;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}
.marquee-item::after {
  content: '\2022';
  color: var(--gold);
  opacity: 1;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--canopy), var(--canopy-deep)); color: var(--cream); position: relative; overflow: hidden; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  padding-block: var(--sp-xl) var(--sp-lg);
  position: relative; z-index: 1;
}
.footer-brand { flex: 1.4 1 260px; display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-col { flex: 1 1 150px; position: relative; z-index: 1; }
.footer-brand .brand-word { color: var(--white); font-size: 1.6rem; }
.footer-tagline { font-size: var(--fs-sm); color: var(--cream); opacity: 0.78; max-width: 30ch; }
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--sp-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col address {
  font-size: var(--fs-sm);
  color: var(--cream);
  opacity: 0.86;
  font-style: normal;
}
.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(241,235,221,0.16);
  padding-block: var(--sp-sm);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--cream);
  opacity: 0.62;
  position: relative; z-index: 1;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 340px at 90% 8%, rgba(47,165,116,0.16), transparent 60%);
  pointer-events: none;
}

/* ---------- Cards / pillars / tags ---------- */
.pillar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.pillar {
  background: var(--surface);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  flex: 1 1 260px;
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--leaf);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar:nth-of-type(2) { border-top-color: var(--water); }
.pillar:nth-of-type(3) { border-top-color: var(--gold); }
.pillar:nth-of-type(4) { border-top-color: var(--earth); }
.pillar-icon-chip {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--khaki-tint), var(--paper-alt));
  color: var(--leaf);
}
.pillar:nth-of-type(2) .pillar-icon-chip { color: var(--water); background: linear-gradient(135deg, #E1F0F4, #D2E9F0); }
.pillar:nth-of-type(3) .pillar-icon-chip { color: var(--gold-deep); background: linear-gradient(135deg, #FaEED4, #F6E1B7); }
.pillar:nth-of-type(4) .pillar-icon-chip { color: var(--earth); background: linear-gradient(135deg, #F7E1D5, #F0CBB4); }
.pillar-icon { width: 40px; height: 40px; }
.pillar h3 { font-size: var(--fs-lg); margin-top: 0.4rem; }
.pillar p { font-size: 0.97rem; color: var(--ink-soft); }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: var(--sp-xs); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  background: var(--khaki-tint);
  color: var(--leaf-deep);
  padding: 0.32em 0.7em;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.tag--leaf  { background: rgba(31,190,124,0.16); color: var(--leaf-deep); }
.tag--gold  { background: rgba(242,163,10,0.18); color: var(--gold-deep); }
.tag--water { background: rgba(20,151,184,0.16); color: #0C5568; }
.tag--earth { background: rgba(209,74,30,0.14); color: #963616; }
.section--dark .tag, .band .tag { background: rgba(241,235,221,0.14); color: var(--cream); }

.card {
  background: var(--surface);
  border: 1px solid var(--mist);
  border-top: 3px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease-spring);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--leaf  { border-top-color: var(--leaf-bright); }
.card--gold  { border-top-color: var(--gold); }
.card--water { border-top-color: var(--water); }
.card--earth { border-top-color: var(--earth); }

/* ---------- Photography (field images) ---------- */
.photo-grid { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
.photo-card {
  flex: 1 1 300px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--khaki-tint);
  box-shadow: var(--shadow-sm);
}
.photo-card .photo-fill {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s var(--ease);
}
.photo-card img, .photo-card svg.illus { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.photo-card:hover .photo-fill, .photo-card:hover img, .photo-card:hover svg.illus { transform: scale(1.06); }
.photo-card-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-md) var(--sp-md) var(--sp-sm);
  background: linear-gradient(to top, rgba(6,20,14,0.9), rgba(6,20,14,0.4) 55%, transparent);
  color: var(--white);
  z-index: 1;
}
.photo-card-caption p:first-child {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft);
}
.photo-card-caption p:last-child { font-family: var(--font-ui); font-weight: 600; margin-top: 0.2rem; }

.photo-inline {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--khaki-tint);
  box-shadow: var(--shadow-md);
}
.photo-inline .photo-fill { width: 100%; height: 100%; background-size: cover; background-position: center; }
.photo-inline img, .photo-inline svg.illus { width: 100%; height: 100%; object-fit: cover; display: block; }

.pillar-photo {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden;
  margin-bottom: var(--sp-xs); background: var(--khaki-tint);
}
.pillar-photo .photo-fill { width: 100%; height: 100%; background-size: cover; background-position: center; }
.pillar-photo img, .pillar-photo svg.illus { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Flexible giving ---------- */
.give-card {
  background: linear-gradient(165deg, var(--canopy), var(--canopy-deep));
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.give-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 420px 300px at 15% 0%, rgba(47,165,116,0.22), transparent 60%),
    radial-gradient(ellipse 380px 300px at 85% 100%, rgba(226,154,46,0.2), transparent 60%);
  pointer-events: none;
}
.give-card > * { position: relative; z-index: 1; }
.give-card .eyebrow { justify-content: center; color: var(--gold-soft); }
.give-card h3 { color: var(--white); font-size: var(--fs-xl); max-width: 26ch; margin-inline: auto; margin-top: var(--sp-sm); }
.give-card .give-note { color: var(--cream); opacity: 0.88; max-width: 46ch; margin-inline: auto; margin-top: var(--sp-sm); font-size: var(--fs-md); }
.give-card .btn { margin-top: var(--sp-lg); }

/* ---------- Stat strip ---------- */
.stat-grid { display: flex; flex-wrap: wrap; gap: var(--sp-md); }
.stat-item { flex: 1 1 200px; }
.stat-num {
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  color: var(--white);
  line-height: 1;
  display: flex; align-items: baseline; gap: 0.15em;
}
.stat-num .stat-suffix { font-size: 0.5em; color: var(--gold-soft); }
.stat-label { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); opacity: 0.78; margin-top: 0.5rem; }

/* ---------- Process / timeline steps ---------- */
.step-row {
  display: flex; flex-wrap: wrap; gap: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
}
.step {
  flex: 1 1 240px;
  background: var(--surface);
  padding: var(--sp-md);
  position: relative;
  border-left: 1px solid var(--mist);
}
.step:first-child { border-left: none; }
.step-index {
  font-family: var(--font-ui); font-weight: 700; font-size: 1.7rem;
  -webkit-text-stroke: 1.5px var(--leaf);
  color: transparent;
  line-height: 1;
}
.step-title { font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.6rem; color: var(--ink); }
.step p { font-size: 0.96rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- Governance strip ---------- */
.fact-row {
  display: flex; flex-wrap: wrap; gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
}
.fact-item { flex: 1 1 220px; background: var(--surface); padding: var(--sp-md); border-left: 1px solid var(--mist); }
.fact-item:first-child { border-left: none; }

/* ---------- Team ---------- */
.avatar-ring {
  width: 68px; height: 68px; margin: 0 auto; border-radius: 100px;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  background: conic-gradient(from 200deg, var(--leaf-bright), var(--water), var(--gold), var(--leaf-bright));
  padding: 3px;
}
.avatar-ring-inner {
  width: 100%; height: 100%; border-radius: 100px; background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center; color: var(--leaf-deep);
}

/* ---------- Forms ---------- */
.form-grid { display: flex; flex-wrap: wrap; gap: var(--sp-sm) var(--sp-md); }
.form-field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 0.5rem; }
.required-mark { color: #c23b3b; margin-left: 0.2em; }
.form-field.full { flex: 1 1 100%; }
.form-field label {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 0.85em 1em;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--leaf-bright);
  outline: none;
  box-shadow: 0 0 0 4px rgba(47,165,116,0.16);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: var(--sp-2xs); }
.form-status {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  padding: 0.9em 1.1em;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1.5px solid var(--mist);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--leaf); color: var(--leaf-deep); background: var(--khaki-tint); }
.form-status.is-error { border-color: #d64545; color: #a12f2f; background: #fbeaea; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.pull-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: var(--fs-lg);
  max-width: 42ch;
  color: var(--ink);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .pillar-grid { flex-direction: column; }
  .step-row, .fact-row { flex-direction: column; }
  .step, .fact-item { border-left: none; border-top: 1px solid var(--mist); }
  .step:first-child, .fact-item:first-child { border-top: none; }
}

@media (max-width: 1000px) {
  .brand-logo { width: 120px; height: 120px; }
  .brand-word { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0 0 auto 0;
    top: 78px;
    background: var(--paper);
    border-bottom: 1px solid var(--mist);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
    gap: var(--sp-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu { flex-direction: column; gap: var(--sp-sm); }
  .nav-cta { display: none; }
  .site-nav.is-open .nav-cta { display: flex; margin-top: var(--sp-xs); }
}

@media (max-width: 560px) {
  .footer-col, .footer-brand { flex-basis: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
  .footer-brand .brand { flex-wrap: wrap; row-gap: 0.5rem; }
  .footer-brand .brand-logo { width: 96px; height: 96px; }
  .footer-brand .brand-word { font-size: 1.3rem; }
}

@media (max-width: 400px) {
  .brand-logo { width: 92px; height: 92px; }
  .brand-word { font-size: 1.05rem; }
}

/* =========================================================================
   DONATION MODAL
   ========================================================================= */
.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}
.donate-modal.is-open { display: flex; }
.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,39,27,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.donate-modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(11,39,27,0.35);
  animation: donateIn 0.3s var(--ease-spring);
}
@keyframes donateIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.donate-modal-close {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--khaki-tint);
  color: var(--ink);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.donate-modal-close:hover { background: var(--leaf-bright); color: var(--white); transform: rotate(90deg); }

.donate-step { display: none; }
.donate-step.is-active { display: block; animation: donateStepIn 0.35s var(--ease); }
@keyframes donateStepIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.bank-details { display: flex; flex-direction: column; gap: 0.75rem; }
.bank-details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-sm);
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--mist);
}
.bank-details dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  flex-shrink: 0;
}
.bank-details dd {
  font-family: var(--font-ui);
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.donate-form .form-status.is-visible { display: block; }

@media (max-width: 560px) {
  .donate-modal-panel { padding: var(--sp-md); }
  .bank-details > div { flex-direction: column; gap: 0.15rem; }
  .bank-details dd { text-align: left; }
}
