/*!==============================
 * Wellspring — Free Charity Website Template
 * Author: uiCookies
 * License: Free for personal & commercial use — https://uicookies.com/license/
 * Design layer: deep water teal + jerrycan yellow, Young Serif display / Public Sans body
 *===============================*/

/* ------------------------------------------------------------------
   1. Design tokens — change these to rebrand
------------------------------------------------------------------ */
:root {
  --deep:       #0a2a33;   /* deep water — dark surfaces */
  --deep-2:     #0f3a46;   /* raised dark */
  --deep-3:     #164d5c;   /* hover dark */
  --river:      #0b6782;   /* primary blue-teal */
  --river-2:    #0d7f9f;
  --aqua:       #4fbccd;   /* light accent on dark */
  --aqua-soft:  #dcf1f3;   /* tinted surfaces */
  --aqua-wash:  #eef8f9;

  --sun:        #f4b740;   /* donate yellow */
  --sun-2:      #e6a21f;   /* hover yellow */
  --sun-soft:   #fdf0d2;
  --clay:       #c8623d;   /* secondary accent (charts, tags) */
  --leaf:       #3f8f5a;   /* success / progress */

  --paper:      #f5f8f7;   /* page background */
  --paper-2:    #e9f0ef;   /* alternate section */
  --white:      #ffffff;

  --text:       #1a2b30;
  --heading:    #0b2830;
  --muted:      #4f6369;
  --muted-2:    #7d8f94;
  --line:       #d6e2e1;
  --line-2:     #bfd0cf;
  --on-dark:    rgba(255, 255, 255, .78);

  --shadow-sm:  0 2px 10px rgba(10, 42, 51, .06);
  --shadow-md:  0 16px 40px rgba(10, 42, 51, .10);
  --shadow-lg:  0 30px 70px rgba(10, 42, 51, .20);

  --display: "Young Serif", "Georgia", serif;
  --sans:    "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --roboto:  "Roboto", sans-serif;
}

  --container: 1200px;
  --radius:    14px;
  --radius-sm: 8px;
  --pill:      999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 0 0 .55em;
}
h4, h5 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--river); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--deep); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--sun); color: var(--deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.container { max-width: var(--container); }

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 2000;
  background: var(--deep); color: #fff; padding: .7rem 1.2rem;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--sun); }

.visually-hidden-focusable:not(:focus) { position: absolute !important; }

/* ------------------------------------------------------------------
   3. Reusable pieces
------------------------------------------------------------------ */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.bg-tint { background: var(--paper-2); }
.bg-white { background: var(--white); }
@media (max-width: 767.98px) {
  .section { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--river); margin-bottom: .9rem;
}
.eyebrow svg { width: 14px; height: 14px; flex: none; }
.eyebrow.on-dark { color: var(--aqua); }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.section-head.split > div { max-width: 640px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; }

/* Buttons */
.btn {
  font-family: var(--sans); font-weight: 700; letter-spacing: .005em;
  padding: .8rem 1.55rem; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-sun { background: var(--sun); color: var(--deep); border: 2px solid var(--sun); box-shadow: 0 10px 24px rgba(244, 183, 64, .32); }
.btn-sun:hover, .btn-sun:focus-visible { background: var(--sun-2); border-color: var(--sun-2); color: var(--deep); transform: translateY(-2px); }
.btn-deep { background: var(--deep); color: #fff; border: 2px solid var(--deep); }
.btn-deep:hover { background: var(--deep-3); border-color: var(--deep-3); color: #fff; transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--deep); border: 2px solid var(--line-2); }
.btn-line:hover { border-color: var(--deep); background: var(--deep); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border: 2px solid rgba(255,255,255,.42); }
.btn-ghost-light:hover { background: #fff; color: var(--deep); border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--river); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--pill);
  background: var(--aqua-soft); color: var(--river);
}
.tag.clay { background: #f6e1d8; color: #9a4528; }
.tag.sun { background: var(--sun-soft); color: #835a07; }
.tag.leaf { background: #dfeee4; color: #2c6a41; }

/* Wave divider */
.wave { display: block; width: 100%; height: 48px; color: var(--paper); }
.wave svg { width: 100%; height: 100%; display: block; }

/* Reveal (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------
   4. Appeal bar + navigation
------------------------------------------------------------------ */
.appeal-bar { background: var(--deep); color: var(--on-dark); font-size: .84rem; }
.appeal-bar .container {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  min-height: 44px; padding-top: .45rem; padding-bottom: .45rem; text-align: center;
}
.appeal-bar strong { color: #fff; font-weight: 700; }
.appeal-meter { display: inline-flex; align-items: center; gap: .6rem; }
.appeal-meter .meter { width: 120px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.16); overflow: hidden; }
.appeal-meter .meter span { display: block; height: 100%; background: var(--sun); border-radius: 4px; }
.appeal-bar a { color: var(--sun); font-weight: 700; }
.appeal-bar a:hover { color: #fff; }
@media (max-width: 575.98px) { .appeal-meter { display: none; } }

.site-nav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(245, 248, 247, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
@supports (backdrop-filter: blur(8px)) {
  .site-nav { background: rgba(245, 248, 247, .88); backdrop-filter: blur(10px); }
}
.site-nav .navbar { padding: .7rem 0; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--heading); line-height: 1; }
.brand:hover { color: var(--heading); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--roboto); font-size: 2rem; display: block; }
.brand-sub { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.navbar-toggler { border: 2px solid var(--line-2); border-radius: var(--radius-sm); padding: .45rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(11, 103, 130, .2); }
.toggler-bar { display: block; width: 22px; height: 2px; background: var(--deep); margin: 4px 0; border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-menu { gap: .15rem; }
.nav-menu .nav-link {
  font-size: .96rem; font-weight: 600; color: var(--heading);
  padding: .5rem .85rem !important; border-radius: var(--pill);
}
.nav-menu .nav-link:hover { color: var(--river); background: var(--aqua-wash); }
.nav-menu .nav-link.active, .nav-menu .nav-link[aria-current="page"] { color: var(--river); background: var(--aqua-soft); }
.nav-cta { margin-left: .5rem; padding: .6rem 1.3rem; }
@media (max-width: 991.98px) {
  .nav-menu { padding: .9rem 0 .4rem; margin-top: .6rem; border-top: 1px solid var(--line); }
  .nav-menu .nav-link { padding: .7rem .8rem !important; }
  .nav-cta { margin: .7rem 0 0; }
}

/* ------------------------------------------------------------------
   5. Hero (home)
------------------------------------------------------------------ */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 30, 37, .95) 0%, rgba(6, 30, 37, .84) 45%, rgba(6, 30, 37, .45) 100%),
    linear-gradient(0deg, rgba(6, 30, 37, .7) 0%, rgba(6, 30, 37, 0) 40%);
}
.hero-inner {  padding: 96px 100px 150px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #cedd97; font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.04; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero-sub { font-size: 1.15rem; color: var(--on-dark); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .9rem; color: var(--on-dark); }
.hero-proof span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof svg { width: 17px; height: 17px; color: var(--aqua); }
@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-inner { padding: 64px 0 130px; }
}

/* Quick-give card */
.give-card {
  background: #fff; color: var(--text); border-radius: 20px; padding: 1.8rem;
  box-shadow: var(--shadow-lg); position: relative;
}
.give-card h2 { font-size: 1.5rem; margin-bottom: .35rem; }
.give-card .note { font-size: .88rem; color: var(--muted); margin-bottom: 1.1rem; }
.give-card legend { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; float: none; width: auto; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: var(--pill); padding: 4px; margin-bottom: 1rem; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented label {
  text-align: center; padding: .55rem .5rem; border-radius: var(--pill);
  font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.segmented input:checked + label { background: var(--deep); color: #fff; box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }

.chip-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .9rem; }
.chip-amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip-amounts label {
  text-align: center; padding: .7rem .4rem; border: 2px solid var(--line); border-radius: 12px;
  font-family: var(--display); font-size: 1.35rem; color: var(--heading); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.chip-amounts label:hover { border-color: var(--river); }
.chip-amounts input:checked + label { border-color: var(--river); background: var(--aqua-wash); color: var(--river); }
.chip-amounts input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.give-impact {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--sun-soft); border-radius: 12px; padding: .8rem .9rem; font-size: .92rem; color: #5c4307; margin-bottom: 1.1rem; min-height: 4.4rem;
}
.give-impact svg { width: 22px; height: 22px; flex: none; color: var(--sun-2); margin-top: 1px; }
.give-card .btn { width: 100%; }
.give-card .secure { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .8rem; font-size: .8rem; color: var(--muted); }
.give-card .secure svg { width: 14px; height: 14px; }

/* Impact numbers band overlapping the hero */
.impact-band { position: relative; z-index: 2; margin-top: -90px; }
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden;
}
.impact { padding: 1.8rem 1.6rem; border-right: 1px solid var(--line); }
.impact:last-child { border-right: 0; }
.impact-num { font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--river); line-height: 1; margin-bottom: .45rem; }
.impact-label { font-size: .92rem; color: var(--muted); line-height: 1.45; }
.impact-label strong { display: block; color: var(--heading); font-size: 1rem; }
@media (max-width: 991.98px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact:nth-child(2) { border-right: 0; }
  .impact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .impact { padding: 1.3rem 1rem; }
}

/* ------------------------------------------------------------------
   6. Approach
------------------------------------------------------------------ */
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.approach-media { position: relative; }
.approach-media img { border-radius: 24px 24px 120px 24px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.approach-badge {
  position: absolute; right: -18px; bottom: 34px; background: var(--deep); color: #fff;
  border-radius: 18px; padding: 1.1rem 1.3rem; max-width: 220px; box-shadow: var(--shadow-md);
}
.approach-badge .num { font-family: var(--display); font-size: 2.2rem; color: var(--sun); line-height: 1; }
.approach-badge .txt { font-size: .86rem; color: var(--on-dark); margin-top: .3rem; }
.principles { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.3rem; }
.principles li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; }
.principle-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--river);
}
.principle-ico svg { width: 24px; height: 24px; }
.principles h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; margin-bottom: .25rem; }
.principles p { color: var(--muted); font-size: .97rem; }
@media (max-width: 991.98px) {
  .approach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .approach-badge { right: 14px; }
}

/* ------------------------------------------------------------------
   7. Where we work — tabs
------------------------------------------------------------------ */
.region-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.region-tab {
  border: 2px solid var(--line-2); background: transparent; color: var(--heading);
  padding: .6rem 1.2rem; border-radius: var(--pill); font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .5rem; transition: all .2s var(--ease);
}
.region-tab .count { font-size: .74rem; background: var(--paper-2); color: var(--muted); border-radius: var(--pill); padding: .1rem .5rem; }
.region-tab:hover { border-color: var(--river); color: var(--river); }
.region-tab[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.region-tab[aria-selected="true"] .count { background: rgba(255,255,255,.16); color: #fff; }
.region-panel {
  display: grid; grid-template-columns: 1fr 1.15fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.region-panel + .region-panel { margin-top: 1.5rem; }
.js .region-panel + .region-panel { margin-top: 0; }
.region-panel[hidden] { display: none; }
.region-media { position: relative; min-height: 340px; }
.region-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-media .caption {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(10, 42, 51, .82); color: #fff;
  font-size: .8rem; padding: .35rem .75rem; border-radius: var(--pill);
}
.region-body { padding: 2.2rem 2.2rem 2rem; }
.region-body h3 { font-size: 1.8rem; }
.region-body > p { color: var(--muted); }
.country-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .1rem; }
.country-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; align-items: center;
  padding: .75rem 0; border-top: 1px dashed var(--line-2); font-size: .95rem;
}
.country-list li:first-child { border-top: 0; }
.country-list .c-name { font-weight: 700; color: var(--heading); }
.country-list .c-name small { display: block; font-weight: 500; color: var(--muted-2); font-size: .8rem; }
.country-list .c-stat { text-align: right; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.country-list .c-stat b { display: block; color: var(--river); font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
@media (max-width: 991.98px) {
  .region-panel { grid-template-columns: 1fr; }
  .region-media { min-height: 220px; }
  .region-body { padding: 1.6rem 1.3rem; }
}
@media (max-width: 420px) {
  .country-list li { grid-template-columns: 1fr auto; }
  .country-list .c-stat.sec { display: none; }
}

/* ------------------------------------------------------------------
   8. Programme cards + progress
------------------------------------------------------------------ */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prog-card {
  background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prog-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.prog-card .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prog-card h3 { font-size: 1.35rem; margin: .7rem 0 .4rem; }
.prog-card p { color: var(--muted); font-size: .95rem; }
.prog-card .link-arrow { margin-top: auto; padding-top: 1rem; }
.prog-card.feature { grid-row: span 2; background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.prog-card.feature img { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; height: 0; }
.prog-card.feature .body { flex: 0 0 auto; }
.prog-card .tag { align-self: flex-start; }
.prog-card.feature h3 { color: #fff; font-size: 1.7rem; }
.prog-card.feature p { color: var(--on-dark); }
.prog-card.feature .link-arrow { color: var(--sun); }
.prog-card.feature .progress-label { color: var(--on-dark); }
.prog-card.feature .progress-label b { color: #fff; }
.prog-card.feature .bar { background: rgba(255,255,255,.14); }
@media (max-width: 991.98px) { .prog-grid { grid-template-columns: 1fr 1fr; } .prog-card.feature { grid-row: auto; grid-column: span 2; } .prog-card.feature img { height: 280px; flex: none; } }
@media (max-width: 640px) { .prog-grid { grid-template-columns: 1fr; } .prog-card.feature { grid-column: auto; } }

.goal { margin-top: 1rem; }
.progress-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; color: var(--muted); margin-bottom: .4rem; }
.progress-label b { color: var(--heading); }
.bar { height: 10px; background: var(--paper-2); border-radius: var(--pill); overflow: hidden; }
.bar > span {
  display: block; height: 100%; width: var(--val, 0%); border-radius: var(--pill);
  background: linear-gradient(90deg, var(--river), var(--aqua));
}
.bar.sun > span { background: linear-gradient(90deg, var(--sun-2), var(--sun)); }
.bar.leaf > span { background: linear-gradient(90deg, #2f7a48, #63b07c); }
.js .bar > span { width: 0; transition: width 1.4s var(--ease); }
.js .bar.in > span { width: var(--val, 0%); }
@media (prefers-reduced-motion: reduce) { .js .bar > span { transition: none; } }

/* ------------------------------------------------------------------
   9. Story feature (home)
------------------------------------------------------------------ */
.story-feature { background: var(--deep); color: var(--on-dark); position: relative; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.story-media { position: relative; min-height: 520px; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-copy { padding: 90px 0 90px 4rem; max-width: 600px; }
.story-copy h2 { color: #fff; }
.story-quote {
  font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.85rem); color: #fff; line-height: 1.32;
  margin: 1.6rem 0 1rem; padding-left: 1.4rem; border-left: 3px solid var(--sun);
}
.story-cite { font-size: .9rem; color: var(--aqua); margin-bottom: 1.8rem; display: block; font-style: normal; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.ba { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1rem 1.1rem; }
.ba .k { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.ba .v { font-family: var(--display); font-size: 1.8rem; color: #fff; line-height: 1.1; margin: .25rem 0 .15rem; }
.ba.after .v { color: var(--sun); }
@media (max-width: 480px) { .ba .v { font-size: 1.45rem; } .ba { padding: .9rem; } }
.ba .d { font-size: .84rem; }
@media (max-width: 991.98px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { min-height: 300px; }
  .story-copy { padding: 56px 12px 64px; max-width: none; }
}

/* ------------------------------------------------------------------
   10. Transparency chart
------------------------------------------------------------------ */
.spend-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: center; }
.spend-chart-wrap { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.spend-chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.spend-chart-wrap .seg { transition: opacity .2s var(--ease), transform .2s var(--ease); transform-origin: 50% 50%; cursor: pointer; }
.spend-chart-wrap.has-focus .seg { opacity: .28; }
.spend-chart-wrap.has-focus .seg.on { opacity: 1; }
.spend-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.spend-center .big { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--heading); line-height: 1; }
.spend-center .small { font-size: .86rem; color: var(--muted); max-width: 160px; margin: .35rem auto 0; line-height: 1.35; }
html:not(.js) .spend-chart-wrap { display: none; }

.spend-legend { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .25rem; }
.spend-legend li {
  display: grid; grid-template-columns: 16px 1fr auto; gap: .9rem; align-items: center;
  padding: .85rem 1rem; border-radius: 12px; cursor: default; transition: background .2s var(--ease);
}
.spend-legend li:hover, .spend-legend li.on, .spend-legend li:focus-visible { background: #fff; box-shadow: var(--shadow-sm); }
.spend-legend .sw { width: 16px; height: 16px; border-radius: 5px; background: var(--c); }
.spend-legend .name { font-weight: 700; color: var(--heading); line-height: 1.3; }
.spend-legend .name small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; }
.spend-legend .pct { font-family: var(--display); font-size: 1.35rem; color: var(--heading); }
.spend-legend .lbar { grid-column: 2 / 4; height: 5px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.spend-legend .lbar span { display: block; height: 100%; background: var(--c); width: var(--w); }
.spend-note {
  display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--aqua-wash);
  border-radius: 14px; font-size: .92rem; color: var(--muted);
}
.spend-note svg { width: 22px; height: 22px; color: var(--river); flex: none; }
@media (max-width: 991.98px) { .spend-grid { grid-template-columns: 1fr; gap: 2.5rem; } .spend-chart-wrap { max-width: 300px; } }

/* ------------------------------------------------------------------
   11. Partners + newsletter
------------------------------------------------------------------ */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-label { font-family: var(--sans); text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.2rem; align-items: center; }
.wordmark { color: var(--muted); opacity: .9; line-height: 1; white-space: nowrap; transition: color .2s var(--ease); }
.wordmark:hover { color: var(--deep); }
.wm-1 { font-family: var(--display); font-size: 1.35rem; }
.wm-2 { font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; }
.wm-3 { font-weight: 300; font-size: 1.3rem; letter-spacing: -.02em; }
.wm-3 b { font-weight: 800; }
.wm-4 { font-family: var(--display); font-style: italic; font-size: 1.3rem; }
.wm-5 { font-weight: 700; font-size: 1.05rem; border: 2px solid currentColor; padding: .25rem .55rem; border-radius: 6px; }
.wm-6 { font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; }

.newsletter { background: linear-gradient(135deg, var(--river) 0%, var(--deep) 100%); color: var(--on-dark); border-radius: 26px; padding: 3.2rem; position: relative; overflow: hidden; }
.newsletter::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(79, 188, 205, .12);
}
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.newsletter h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.newsletter .form-label { color: #fff; font-weight: 600; font-size: .88rem; }
.newsletter .form-control { background: rgba(255,255,255,.95); }
.newsletter .form-check-label { color: var(--on-dark); font-size: .88rem; }
.newsletter .field-error { color: #ffd38a; }
.newsletter .form-success { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
@media (max-width: 991.98px) { .newsletter { padding: 2.2rem 1.4rem; } .newsletter-grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ------------------------------------------------------------------
   12. Forms (shared)
------------------------------------------------------------------ */
.form-label { font-weight: 600; font-size: .9rem; color: var(--heading); margin-bottom: .35rem; }
.form-control, .form-select {
  border: 2px solid var(--line); border-radius: 12px; padding: .72rem .95rem; font-size: 1rem; color: var(--text); background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--river); box-shadow: 0 0 0 4px rgba(11, 103, 130, .14); }
textarea.form-control { min-height: 130px; height: auto; resize: vertical; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #b4351f; background-image: none; }
.form-check-input { width: 1.2em; height: 1.2em; border: 2px solid var(--line-2); margin-top: .2em; }
.form-check-input:checked { background-color: var(--river); border-color: var(--river); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(11, 103, 130, .16); border-color: var(--river); }
.field-error { display: none; font-size: .84rem; color: #b4351f; margin-top: .35rem; font-weight: 600; }
.field-error.show { display: block; }
.form-success {
  display: none; align-items: flex-start; gap: .7rem; background: #e4f2e8; color: #1f5a33; border: 1px solid #bcdcc6;
  border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; font-weight: 600; font-size: .95rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }

/* ------------------------------------------------------------------
   13. Page header (inner pages)
------------------------------------------------------------------ */
.page-hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,30,37,.94) 0%, rgba(6,30,37,.78) 55%, rgba(6,30,37,.5) 100%); }
.page-hero .container { padding-top: 84px; padding-bottom: 96px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 760px; margin-bottom: 1rem; }
.page-hero p.lead { color: var(--on-dark); font-size: 1.15rem; max-width: 620px; margin: 0; }
.crumbs { display: flex; gap: .5rem; font-size: .86rem; color: var(--on-dark); margin-bottom: 1.2rem; list-style: none; padding: 0; }
.crumbs a { color: var(--aqua); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.page-hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; }

/* Anchor sub-nav */
.subnav { position: sticky; top: 72px; z-index: 20; background: rgba(245,248,247,.95); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: .35rem; padding: .7rem 0; margin: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; display: inline-block; padding: .45rem .95rem; border-radius: var(--pill); font-weight: 600; font-size: .9rem; color: var(--heading); }
.subnav a:hover, .subnav a.active { background: var(--aqua-soft); color: var(--river); }

/* ------------------------------------------------------------------
   14. Donate page
------------------------------------------------------------------ */
.donate-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.donate-form { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 2.4rem; box-shadow: var(--shadow-sm); }
.demo-banner {
  display: flex; gap: .8rem; align-items: flex-start; background: var(--sun-soft); color: #5c4307;
  border: 1px solid #f1d38f; border-radius: 14px; padding: .95rem 1.1rem; font-size: .92rem; margin-bottom: 2rem;
}
.demo-banner svg { width: 22px; height: 22px; flex: none; color: #b07a0c; }
.step { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
.step-title { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1.35rem; color: var(--heading); margin-bottom: 1rem; float: none; width: auto; padding: 0; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-family: var(--sans); font-weight: 700; font-size: .85rem; flex: none; }

.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.amount-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.amount-opt label {
  display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; height: 100%;
  border: 2px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.amount-opt label:hover { border-color: var(--river); }
.amount-opt .amt { font-family: var(--display); font-size: 1.8rem; color: var(--heading); grid-row: span 2; min-width: 72px; }
.amount-opt .imp { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.amount-opt .per { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--river); }
.amount-opt input:checked + label { border-color: var(--river); background: var(--aqua-wash); box-shadow: inset 0 0 0 1px var(--river); }
.amount-opt input:checked + label .amt { color: var(--river); }
.amount-opt input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.custom-amount { margin-top: .9rem; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .8rem; }
.money { position: relative; }
.money .cur { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-family: var(--display); color: var(--muted); font-size: 1.2rem; }
.money .form-control { padding-left: 2.1rem; font-size: 1.15rem; font-weight: 600; }

.boost {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: flex-start;
  border: 2px dashed var(--line-2); border-radius: 16px; padding: 1.1rem 1.2rem; background: var(--aqua-wash);
}
.boost .form-check-input { margin: .25rem 0 0; }
.boost label { font-weight: 700; color: var(--heading); }
.boost p { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }
.boost .extra { color: var(--leaf); font-weight: 700; white-space: nowrap; }

.dedicate-box { margin-top: 1rem; padding: 1.2rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.inline-radios { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1rem; }

.summary { position: sticky; top: 96px; }
.summary-card { background: var(--deep); color: var(--on-dark); border-radius: 22px; padding: 1.9rem; box-shadow: var(--shadow-md); }
.summary-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 1.2rem; }
.sum-amount { font-family: var(--display); font-size: 3.2rem; color: #fff; line-height: 1; }
.sum-freq { color: var(--sun); font-weight: 700; margin-top: .3rem; }
.sum-lines { list-style: none; padding: 0; margin: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.sum-lines li span:last-child { color: #fff; font-weight: 700; text-align: right; }
.sum-impact { display: flex; gap: .7rem; background: rgba(255,255,255,.07); border-radius: 14px; padding: 1rem; font-size: .92rem; color: #fff; }
.sum-impact svg { width: 22px; height: 22px; color: var(--sun); flex: none; }
.summary-trust { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .65rem; font-size: .88rem; color: var(--muted); }
.summary-trust li { display: flex; gap: .55rem; align-items: flex-start; }
.summary-trust svg { width: 18px; height: 18px; color: var(--leaf); flex: none; margin-top: 2px; }

.donate-form.donate-done { text-align: center; padding: 2.6rem 1.6rem; }
.donate-done .tick { width: 72px; height: 72px; border-radius: 50%; background: #e4f2e8; color: var(--leaf); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.donate-done .tick svg { width: 36px; height: 36px; }
.donate-done h2 { font-size: 2rem; }
.donate-done p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) {
  .donate-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 575.98px) {
  .donate-form { padding: 1.4rem 1.1rem; }
  .amount-grid { grid-template-columns: 1fr; }
  .custom-amount { grid-template-columns: 1fr; gap: .4rem; }
}

.ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.way { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.way .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sun-soft); color: #9a6a08; display: grid; place-items: center; margin-bottom: 1rem; }
.way .ico svg { width: 22px; height: 22px; }
.way h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: .35rem; }
.way p { color: var(--muted); font-size: .92rem; }
@media (max-width: 991.98px) { .ways-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .ways-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: .8rem; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 700; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--river); border-bottom: 2.5px solid var(--river);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ------------------------------------------------------------------
   15. Programmes page
------------------------------------------------------------------ */
.strategy {
  display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.4rem; box-shadow: var(--shadow-sm);
}
.ring { width: 200px; height: 200px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--paper-2); stroke-width: 14; }
.ring .fill { fill: none; stroke: var(--river); stroke-width: 14; stroke-linecap: round; }
.js .ring .fill { transition: stroke-dashoffset 1.6s var(--ease); }
.ring .label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .label b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; color: var(--heading); line-height: 1; display: block; }
.ring .label span { font-size: .8rem; color: var(--muted); }
.strategy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
.strategy-stats div { border-left: 3px solid var(--aqua); padding-left: .9rem; }
.strategy-stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--heading); }
.strategy-stats span { font-size: .86rem; color: var(--muted); }
@media (max-width: 767.98px) {
  .strategy { grid-template-columns: 1fr; padding: 1.6rem 1.2rem; gap: 1.5rem; justify-items: center; text-align: center; }
  .strategy > div:last-child { text-align: left; }
  .strategy-stats { gap: .8rem; }
  .strategy-stats b { font-size: 1.15rem; }
  .strategy-stats div { padding-left: .6rem; }
}

.programme { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.programme:first-of-type { border-top: 0; }
.programme.flip .programme-media { order: 2; }
.programme-media { position: sticky; top: 150px; }
.programme-media img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.programme-media .cost {
  display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: .9rem 1.1rem; margin-top: 1rem; font-size: .92rem; color: var(--muted);
}
.programme-media .cost b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--river); }
.programme h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .6rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; color: var(--text); }
.checklist svg { width: 20px; height: 20px; color: var(--leaf); margin-top: 3px; }
.goals { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.4rem 1.5rem; }
.goals h3 { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.goal-row .progress-label { font-size: .9rem; }
.goal-row .progress-label span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 991.98px) {
  .programme { grid-template-columns: 1fr; gap: 2rem; padding: 56px 0; }
  .programme.flip .programme-media { order: 0; }
  .programme-media { position: static; }
}

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.5rem; position: relative; }
.step-card::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 2.2rem; color: var(--sun); line-height: 1; display: block; margin-bottom: .8rem; }
.step-card h3 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin-bottom: .35rem; }
.step-card p { color: var(--on-dark); font-size: .93rem; }
.step-card .when { display: inline-block; margin-top: .9rem; font-size: .76rem; font-weight: 700; color: var(--aqua); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 991.98px) { .steps-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .steps-row { grid-template-columns: 1fr; } }

.dark-band { background: var(--deep); color: var(--on-dark); }
.dark-band h2 { color: #fff; }
.dark-band .section-lead { color: var(--on-dark); }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: rgba(6, 30, 37, .78); }
.cta-band .container { padding-top: 100px; padding-bottom: 100px; max-width: 780px; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.cta-band p { color: var(--on-dark); font-size: 1.12rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

/* ------------------------------------------------------------------
   16. Stories
------------------------------------------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 2rem; }
.filter-btn {
  border: 2px solid var(--line-2); background: #fff; color: var(--heading); font-weight: 700; font-size: .9rem;
  padding: .5rem 1.05rem; border-radius: var(--pill); transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--river); color: var(--river); }
.filter-btn[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: #fff; }
.filter-count { margin-left: auto; font-size: .9rem; color: var(--muted); }
@media (max-width: 575.98px) { .filter-count { margin-left: 0; width: 100%; } }

.story-grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.story-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-card[hidden] { display: none; }
.story-card .thumb { position: relative; }
.story-card .thumb img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.story-card .thumb .tag { position: absolute; left: .9rem; top: .9rem; background: rgba(255,255,255,.94); }
.story-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.story-card .meta { font-size: .82rem; color: var(--muted-2); margin-bottom: .5rem; }
.story-card h3 { font-size: 1.28rem; line-height: 1.25; }
.story-card h3 a { color: var(--heading); }
.story-card h3 a:hover { color: var(--river); }
.story-card p { color: var(--muted); font-size: .94rem; }
.story-card .link-arrow { margin-top: auto; padding-top: .8rem; font-size: .92rem; }
.story-card.lead-story { grid-column: span 2; flex-direction: row; }
.story-card.lead-story .thumb { flex: 1.1; }
.story-card.lead-story .thumb img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.story-card.lead-story .body { flex: 1; padding: 2rem; }
.story-card.lead-story h3 { font-size: 1.7rem; }
@media (max-width: 991.98px) { .story-grid-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) {
  .story-grid-list { grid-template-columns: 1fr; }
  .story-card.lead-story { grid-column: auto; flex-direction: column; }
  .story-card.lead-story .thumb img { min-height: 0; aspect-ratio: 3 / 2; }
  .story-card.lead-story .body { padding: 1.3rem 1.4rem 1.5rem; }
}
.empty-state { display: none; text-align: center; padding: 2rem; color: var(--muted); }
.empty-state.show { display: block; }

.article-hero { position: relative; border-radius: 26px; overflow: hidden; margin-bottom: 3rem; }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-hero figcaption { position: absolute; right: 1rem; bottom: 1rem; background: rgba(10,42,51,.82); color: #fff; font-size: .8rem; padding: .35rem .8rem; border-radius: var(--pill); }
@media (max-width: 767.98px) { .article-hero img { aspect-ratio: 4 / 3; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
.article-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta svg { width: 16px; height: 16px; }
.prose { font-size: 1.08rem; line-height: 1.8; }
.prose p.first::first-letter { font-family: var(--display); float: left; font-size: 4.2rem; line-height: .85; padding: .35rem .6rem 0 0; color: var(--river); }
.prose h3 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose blockquote {
  margin: 2.2rem 0; padding: 1.6rem 1.8rem; background: var(--aqua-wash); border-radius: 18px; border-left: 4px solid var(--river);
}
.prose blockquote p { font-family: var(--display); font-size: 1.45rem; line-height: 1.38; color: var(--heading); margin-bottom: .6rem; }
.prose blockquote cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; margin: 2.2rem 0; }
.chart-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.chart-card .sub { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.chart-card svg { max-width: 100%; height: auto; display: block; }
.chart-card text { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .84rem; color: var(--muted); margin-top: .6rem; list-style: none; padding: 0; }
.chart-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.chart-legend i { width: 14px; height: 4px; border-radius: 2px; background: var(--c); display: inline-block; }
.chart-table { width: 100%; font-size: .9rem; }
.chart-table th, .chart-table td { padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.js .chart-card.drawn .chart-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fact-box { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; }
.fact-box h3 { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.fact-box dl { margin: 0; display: grid; gap: .1rem; }
.fact-box dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line-2); font-size: .92rem; }
.fact-box dt { font-weight: 500; color: var(--muted); white-space: nowrap; }
.fact-box dd { margin: 0; font-weight: 700; color: var(--heading); text-align: right; }
.copy-link { width: 100%; margin-top: 1.2rem; }
.ethics-note { margin-top: 1.2rem; background: var(--aqua-wash); border-radius: 16px; padding: 1.2rem; font-size: .88rem; color: var(--muted); }
.ethics-note strong { color: var(--heading); display: block; margin-bottom: .3rem; }
@media (max-width: 991.98px) { .article-layout { grid-template-columns: 1fr; gap: 2rem; } .fact-box { position: static; } }

/* ------------------------------------------------------------------
   17. About
------------------------------------------------------------------ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; }
.value-card .principle-ico { margin-bottom: 1.1rem; }
.value-card h3 { font-size: 1.35rem; }
.value-card p { color: var(--muted); font-size: .96rem; }
@media (max-width: 991.98px) { .values-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.18); }
.timeline li { position: relative; padding-top: 2.2rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--deep); border: 4px solid var(--sun); }
.timeline .yr { font-family: var(--display); font-size: 1.6rem; color: #fff; line-height: 1; margin-bottom: .4rem; }
.timeline p { font-size: .92rem; color: var(--on-dark); }
@media (max-width: 991.98px) {
  .timeline { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 2rem; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -2rem; }
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem 1.4rem; text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem;
  font-family: var(--display); font-size: 2rem; color: #fff; background: var(--bg, var(--river));
  box-shadow: 0 0 0 6px var(--aqua-wash);
}
.avatar.a2 { --bg: var(--deep-3); } .avatar.a3 { --bg: var(--clay); } .avatar.a4 { --bg: #2f7a48; }
.avatar.a5 { --bg: #7a5a9e; } .avatar.a6 { --bg: #b07a0c; } .avatar.a7 { --bg: #3a6f8f; } .avatar.a8 { --bg: #8a4b5c; }
.member h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: .15rem; }
.member .role { color: var(--river); font-weight: 600; font-size: .88rem; margin-bottom: .6rem; }
.member p.bio { color: var(--muted); font-size: .88rem; margin: 0; }
.member .based { display: inline-flex; align-items: center; gap: .3rem; margin-top: .8rem; font-size: .8rem; color: var(--muted-2); }
.member .based svg { width: 14px; height: 14px; }
@media (max-width: 991.98px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.gov-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.trustees { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.trustees li { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem; }
.trustees .avatar { width: 44px; height: 44px; font-size: 1rem; margin: 0; box-shadow: none; flex: none; }
.trustees b { display: block; color: var(--heading); font-size: .95rem; }
.trustees div span { font-size: .82rem; color: var(--muted); }
.trustees .avatar { color: #fff; font-size: .95rem; }
.policy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.policy-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--heading); font-weight: 600; font-size: .95rem; }
.policy-list a:hover { border-color: var(--river); color: var(--river); }
.policy-list svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
@media (max-width: 991.98px) { .gov-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .trustees { grid-template-columns: 1fr; } }

.report-card { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; background: var(--sun-soft); border-radius: 24px; padding: 2rem; }
.report-cover {
  aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px; padding: 1.2rem 1rem; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 85%, rgba(79,188,205,.55) 0 28%, transparent 29%),
    radial-gradient(circle at 80% 85%, rgba(79,188,205,.25) 0 44%, transparent 45%),
    linear-gradient(160deg, var(--river), var(--deep));
  box-shadow: 8px 12px 30px rgba(10,42,51,.25), inset 6px 0 0 rgba(0,0,0,.18);
  display: flex; flex-direction: column;
}
.report-cover .rc-brand { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); font-weight: 700; }
.report-cover .rc-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; margin-top: .6rem; }
.report-cover .rc-year { margin-top: auto; font-family: var(--display); font-size: 1.1rem; color: var(--sun); }
.report-card h3 { font-size: 1.6rem; }
.report-card p { color: #5c4a22; }
.report-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.report-actions small { color: #7a6531; font-size: .82rem; }
@media (max-width: 640px) { .report-card { grid-template-columns: 1fr; padding: 1.4rem; } .report-cover { max-width: 180px; } }

.fin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.fin-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .94rem; }
.fin-table caption { caption-side: top; padding: 1.1rem 1.3rem .4rem; color: var(--muted); font-size: .86rem; }
.fin-table th, .fin-table td { padding: .85rem 1.3rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.fin-table th:first-child, .fin-table td:first-child { text-align: left; }
.fin-table thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--aqua-wash); }
.fin-table tbody th { font-weight: 600; color: var(--heading); }
.fin-table th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.fin-table thead th:first-child { background: var(--aqua-wash); }
.fin-table tr.total th:first-child { background: var(--paper); }
.fin-table tr.total th, .fin-table tr.total td { font-weight: 800; color: var(--heading); border-bottom: 0; background: var(--paper); }
.fin-table .pos { color: var(--leaf); font-weight: 700; }
.fin-chart { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; margin-bottom: 1.5rem; }
.fin-chart svg { max-width: 100%; height: auto; display: block; }
.fin-chart text { font-family: var(--sans); font-size: 13px; fill: var(--muted); }
.fin-chart:not(.drawn) { display: none; }

/* ------------------------------------------------------------------
   18. Volunteer
------------------------------------------------------------------ */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem; display: flex; flex-direction: column; }
.role-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.role-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.role-card p { color: var(--muted); font-size: .95rem; }
.role-meta { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .84rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line); }
.role-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.role-meta svg { width: 15px; height: 15px; color: var(--river); }
@media (max-width: 991.98px) { .roles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .roles-grid { grid-template-columns: 1fr; } }

.events-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.event { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.3rem; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.1rem 1.3rem; }
.event .date { text-align: center; background: var(--sun); color: var(--deep); border-radius: 14px; padding: .55rem .3rem; line-height: 1.05; }
.event .date b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; }
.event .date span { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.event h3 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin-bottom: .2rem; }
.event p { color: var(--on-dark); font-size: .9rem; margin: 0; }
@media (max-width: 640px) { .event { grid-template-columns: 70px 1fr; } .event .btn { grid-column: 1 / -1; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.2rem; box-shadow: var(--shadow-sm); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem 1rem; }
@media (max-width: 575.98px) { .form-card { padding: 1.4rem 1.1rem; } }

/* ------------------------------------------------------------------
   19. Footer
------------------------------------------------------------------ */
.site-footer { background: var(--deep); color: var(--on-dark); font-size: .95rem; }
.site-footer .wave { color: var(--paper); background: var(--deep); height: 44px; transform: scaleY(-1); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.5fr 1.2fr; gap: 1.5rem; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-sub { color: var(--aqua); }
.footer-brand p { margin-top: 1.2rem; max-width: 330px; }
.footer-col h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .site-footer address a { color: var(--on-dark); }
.footer-links a:hover, .site-footer address a:hover { color: var(--sun); }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s var(--ease), color .2s var(--ease); }
.social a:hover { background: var(--sun); color: var(--deep); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; font-size: .84rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; }
.footer-bottom a { color: var(--aqua); }
.footer-bottom a:hover { color: var(--sun); }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Region totals beside the section heading */
.region-totals { display: flex; gap: 2rem; }
.region-totals div { border-left: 3px solid var(--sun); padding-left: .9rem; }
.region-totals b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--heading); line-height: 1.1; }
.region-totals span { font-size: .86rem; color: var(--muted); }

/* Footer wave matches whatever section sits above it */
main:has(> section:last-child.cta-band) + .site-footer .wave,
main:has(> section:last-child.dark-band) + .site-footer .wave { display: none; }
main:has(> section:last-child.bg-tint) + .site-footer .wave { color: var(--paper-2); }
main:has(> section:last-child.bg-white) + .site-footer .wave { color: var(--white); }
