/* ==========================================================================
   WEMASA Tanzania Organization — website design system
   Brand: green #27963C · ocean blue #00ADEF · ink #231F20
   ========================================================================== */

:root {
  --green-900: #0b2a1c;
  --green-800: #0f3a26;
  --green-700: #1b6f2e;
  --green-600: #27963c;
  --green-500: #34ab4b;
  --green-300: #8fd19c;
  --green-100: #dff2e3;
  --green-50: #f0f8f1;
  --blue-700: #0077a8;
  --blue-600: #0091cc;
  --blue-500: #00adef;
  --blue-100: #d6f2fd;
  --blue-50: #ecf9fe;
  --sun-500: #f5b62a;
  --sun-600: #e3a312;
  --sun-100: #fdf1d2;
  --ink: #12211a;
  --ink-2: #33433b;
  --muted: #64746b;
  --line: #e3e9e4;
  --line-2: #eef2ee;
  --paper: #ffffff;
  --sand: #f7f7f2;
  --mist: #f3f8f5;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 28, .06), 0 2px 8px rgba(16, 40, 28, .04);
  --shadow: 0 2px 6px rgba(16, 40, 28, .05), 0 12px 32px -8px rgba(16, 40, 28, .12);
  --shadow-lg: 0 8px 20px rgba(16, 40, 28, .06), 0 30px 60px -18px rgba(16, 40, 28, .25);
  --ring: 0 0 0 4px rgba(39, 150, 60, .18);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 750; line-height: 1.15; letter-spacing: -.022em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green-100); color: var(--green-900); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--green-500); }
.accent-blue { color: var(--blue-500); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * .6); }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--mist); }
.bg-forest { background: var(--green-900); color: rgba(255, 255, 255, .78); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 { color: #fff; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-wide { grid-template-columns: 1fr 1fr; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: clamp(32px, 4vw, 56px); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-600); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px;
  padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; letter-spacing: -.005em; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(16, 60, 30, .45); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon-move { transform: translateX(3px); }
.btn-primary:hover { --bg: var(--green-700); }
.btn-blue { --bg: var(--blue-500); }
.btn-blue:hover { --bg: var(--blue-600); }
.btn-sun { --bg: var(--sun-500); --fg: var(--green-900); }
.btn-sun:hover { --bg: #ffc53d; box-shadow: 0 12px 26px -10px rgba(245, 182, 42, .7); }
.btn-light { --bg: #fff; --fg: var(--green-900); }
.btn-light:hover { --bg: var(--green-50); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--green-600); --fg: var(--green-700); box-shadow: none; }
.btn-glass { --bg: rgba(255, 255, 255, .1); --fg: #fff; --bd: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); }
.btn-glass:hover { --bg: rgba(255, 255, 255, .2); --bd: rgba(255, 255, 255, .6); }
.btn-sm { min-height: 40px; padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 1em 1.9em; font-size: 1.04rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--green-700); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Chips & eyebrows ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem; padding: .42em .95em .42em .7em;
  border-radius: 999px; background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100);
  font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(52, 171, 75, .18); }
.eyebrow-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.eyebrow-light::before { background: var(--sun-500); box-shadow: 0 0 0 4px rgba(245, 182, 42, .25); }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .3em .8em; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; background: var(--green-50); color: var(--green-700); }
.chip .icon { width: 1.05em; height: 1.05em; }
.chip-blue { background: var(--blue-50); color: var(--blue-700); }
.chip-sun { background: var(--sun-100); color: #8a5d00; }
.chip-dark { background: rgba(10, 30, 20, .62); color: #fff; backdrop-filter: blur(8px); }
.chip-white { background: rgba(255, 255, 255, .92); color: var(--green-800); backdrop-filter: blur(8px); }

.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section-head h2 { margin-bottom: .45em; }
.section-head.is-light h2 { color: #fff; }
.section-head.is-light p { color: rgba(255, 255, 255, .72); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin: 0; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--green-900); color: rgba(255, 255, 255, .86); font-size: .88rem; text-align: center; padding: 9px var(--gutter); position: relative; z-index: 60; }
.announce a { color: var(--sun-500); font-weight: 700; margin-left: .4em; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s, color .3s; color: var(--ink); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; color: #fff; backdrop-filter: none; }
.has-announce.has-hero .site-header { top: var(--announce-h, 0); }
.has-hero .site-header.is-scrolled { top: 0; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(16, 40, 28, .3); backdrop-filter: saturate(160%) blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand-logo { width: 50px; height: 50px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: .02em; }
.brand-text span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3em; padding: .55em .85em; border-radius: 999px; color: inherit;
  font-size: .95rem; font-weight: 600; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: inherit; background: rgba(127, 140, 130, .14); }
.nav-link.is-active { color: var(--green-600); }
.has-hero .site-header:not(.is-scrolled) .nav-link.is-active { color: var(--sun-500); }
.nav-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: 10px; border-radius: 20px; background: #fff;
  color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover > .nav-link .icon { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; color: var(--ink); }
.dropdown a:hover { background: var(--mist); color: var(--ink); }
.dropdown .d-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; }
.dropdown strong { display: block; font-size: .94rem; font-weight: 700; line-height: 1.3; }
.dropdown small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(127, 140, 130, .14); }
.icon-btn .icon { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* Mobile navigation drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 20, 13, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.drawer-nav { padding: 12px 20px; flex: 1; }
.drawer-nav details { border-bottom: 1px solid var(--line-2); }
.drawer-nav summary, .drawer-nav > a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav > a { border-bottom: 1px solid var(--line-2); }
.drawer-nav details[open] summary .icon { transform: rotate(180deg); }
.drawer-nav details a { display: block; padding: 9px 14px; margin-bottom: 4px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.drawer-nav details a:hover { background: var(--mist); }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(6, 20, 13, .7); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 14vh var(--gutter) 0; }
.search-overlay.is-open { display: flex; }
.search-box { width: min(720px, 100%); background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); display: flex; gap: 8px; align-items: center; }
.search-box .icon { margin-left: 12px; color: var(--muted); width: 22px; height: 22px; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 1.15rem; padding: 12px 6px; min-width: 0; background: transparent; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 60px) 0 140px; background: var(--green-900); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 80% 60% at 0% 100%, rgba(11, 42, 28, .92) 0%, rgba(11, 42, 28, 0) 70%),
  linear-gradient(100deg, rgba(8, 30, 20, .92) 0%, rgba(8, 30, 20, .72) 42%, rgba(8, 30, 20, .25) 75%, rgba(8, 30, 20, .35) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; }
.hero h1 { color: #fff; margin-bottom: .35em; max-width: 13ch; }
.hero h1 .accent { color: var(--green-300); }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: rgba(255, 255, 255, .84); max-width: 600px; margin-bottom: 2em; line-height: 1.65; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: rgba(255, 255, 255, .75); font-size: .9rem; flex-wrap: wrap; }
.hero-trust strong { color: #fff; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.hero-cards { display: grid; gap: 14px; justify-self: end; width: 100%; max-width: 340px; }
.glass-card { padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.glass-card .num { font-size: 2.3rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.glass-card .lbl { font-size: .9rem; color: rgba(255, 255, 255, .78); margin-top: 6px; }
.glass-card .icon-tile { background: rgba(255, 255, 255, .14); color: #fff; }
.glass-row { display: flex; gap: 14px; align-items: center; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; color: var(--paper); line-height: 0; }
.hero-wave svg { width: 100%; height: clamp(50px, 7vw, 110px); }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(70px, 9vw, 130px); transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; z-index: 2; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(90px, 10vw, 150px); background: var(--green-900); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(8, 30, 20, .94) 0%, rgba(8, 30, 20, .78) 45%, rgba(8, 30, 20, .4) 100%); }
.page-hero.no-image::before { background:
  radial-gradient(circle at 85% 20%, rgba(0, 173, 239, .28), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(52, 171, 75, .35), transparent 50%), var(--green-900); }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero p.lead { max-width: 680px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(255, 255, 255, .82); margin: 0; }
.page-hero .hero-wave svg { height: clamp(40px, 5vw, 80px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 22px; list-style: none; padding: 0; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.page-hero-meta span { display: inline-flex; align-items: center; gap: .5em; }
.page-hero-meta .icon { color: var(--green-300); }

/* ---------- Icon tile ---------- */
.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile.blue { background: var(--blue-50); color: var(--blue-600); }
.icon-tile.sun { background: var(--sun-100); color: #a77300; }
.icon-tile.lg { width: 64px; height: 64px; border-radius: 20px; }
.icon-tile.lg .icon { width: 30px; height: 30px; }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-body { padding: clamp(22px, 2.4vw, 30px); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card h3 a { color: inherit; }
.card .media { position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; background: var(--mist); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-hover:hover .media img { transform: scale(1.06); }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1 { aspect-ratio: 1; }
.media-chips { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--green-600); background: linear-gradient(135deg, var(--green-50), var(--blue-50)); }
.media-placeholder .icon { width: 44px; height: 44px; opacity: .6; }

/* Focus card */
.focus-card { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.focus-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, var(--green-600), var(--green-800)); opacity: 0; transition: opacity .45s var(--ease); z-index: 0; }
.focus-card > * { position: relative; z-index: 1; }
.focus-card h3 { margin: 22px 0 10px; transition: color .3s; }
.focus-card p { color: var(--muted); font-size: .98rem; flex: 1; transition: color .3s; }
.focus-card .card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; margin-top: 8px; border-top: 1px dashed var(--line); transition: border-color .3s; }
.focus-card .count { font-size: .85rem; font-weight: 700; color: var(--muted); transition: color .3s; }
.focus-card .go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--green-700); transition: background .3s, color .3s, transform .35s var(--ease); }
.focus-card .num-bg { position: absolute; right: 22px; top: 14px; font-size: 4.6rem; font-weight: 800; color: var(--line-2); line-height: 1; letter-spacing: -.05em; z-index: 0; transition: color .3s; }
.focus-card:hover::before { opacity: 1; }
.focus-card:hover h3, .focus-card:hover .count { color: #fff; }
.focus-card:hover p { color: rgba(255, 255, 255, .82); }
.focus-card:hover .card-foot { border-color: rgba(255, 255, 255, .25); }
.focus-card:hover .icon-tile { background: rgba(255, 255, 255, .15); color: #fff; transform: rotate(-6deg) scale(1.05); }
.focus-card:hover .go { background: var(--sun-500); color: var(--green-900); transform: rotate(-45deg); }
.focus-card:hover .num-bg { color: rgba(255, 255, 255, .08); }

/* Project card */
.project-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.project-card .card-body { display: flex; flex-direction: column; flex: 1; }
.project-card .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.project-card .meta span { display: inline-flex; align-items: center; gap: .4em; }
.project-card .meta .icon { width: 1em; height: 1em; color: var(--green-600); }
.project-card h3 { margin-bottom: 10px; }
.project-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.project-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.project-card .stat-mini { font-size: .85rem; color: var(--muted); }
.project-card .stat-mini strong { color: var(--green-700); font-size: 1.05rem; }

/* Project feature (large card) */
.project-feature { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; }
.project-feature .media { border-radius: calc(var(--radius-lg) - 1px) 0 0 calc(var(--radius-lg) - 1px); min-height: 420px; }
.project-feature .card-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }

/* Stat */
.stat { text-align: left; }
.stat-num { font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.stat-num .suffix { color: var(--green-500); }
.stat-label { font-weight: 700; color: var(--ink); margin-top: 10px; }
.stat-desc { font-size: .92rem; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.stat-card { padding: 30px; height: 100%; }
.stat-card .icon-tile { margin-bottom: 24px; }
.stats-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--green-900); color: #fff; padding: clamp(36px, 5vw, 64px); isolation: isolate; }
.stats-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(0, 173, 239, .3), transparent 45%), radial-gradient(circle at 0% 100%, rgba(52, 171, 75, .35), transparent 50%); }
.stats-band .stat-num { color: #fff; }
.stats-band .stat-num .suffix { color: var(--sun-500); }
.stats-band .stat-label { color: #fff; }
.stats-band .stat-desc { color: rgba(255, 255, 255, .65); }
.stats-band .grid > div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }

/* Intro / bento imagery */
.bento { position: relative; display: grid; grid-template-columns: 1fr .62fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 520px; }
.bento figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento .b-main { grid-row: 1 / 3; }
.bento .b-badge { display: flex; flex-direction: column; justify-content: center; padding: 26px; border-radius: var(--radius-lg); background: var(--green-600); color: #fff; position: relative; overflow: hidden; }
.bento .b-badge::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .08); }
.bento .b-badge strong { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.bento .b-badge span { font-size: .95rem; opacity: .9; margin-top: 8px; }
.floating-note { position: absolute; left: -26px; bottom: 34px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 260px; font-size: .9rem; line-height: 1.35; color: var(--ink); font-weight: 600; }
.check-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; color: var(--ink); }
.check-list .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-700); stroke-width: 2.6; margin-top: 1px; }
.lead-text { font-size: 1.15rem; color: var(--ink-2); }
.prose { color: var(--ink-2); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 1.2em 1.5em; border-left: 4px solid var(--green-500); background: var(--green-50); border-radius: 0 16px 16px 0; font-size: 1.12rem; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose > *:last-child { margin-bottom: 0; }

/* Vision & mission */
.vm-card { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-lg); position: relative; overflow: hidden; height: 100%; }
.vm-card h3 { font-size: 1.5rem; margin: 22px 0 12px; }
.vm-card p { font-size: 1.12rem; line-height: 1.7; margin: 0; }
.vm-vision { background: linear-gradient(150deg, var(--green-600), var(--green-800)); color: rgba(255, 255, 255, .9); }
.vm-vision h3 { color: #fff; }
.vm-mission { background: linear-gradient(150deg, var(--blue-500), var(--blue-700)); color: rgba(255, 255, 255, .92); }
.vm-mission h3 { color: #fff; }
.vm-card .icon-tile { background: rgba(255, 255, 255, .16); color: #fff; }
.vm-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .07); }

/* Values */
.value-card { padding: 30px; height: 100%; }
.value-card .local { font-family: var(--font-accent); font-style: italic; font-size: 1.15rem; color: var(--green-600); }
.value-card h3 { margin: 18px 0 4px; }
.value-card p { color: var(--muted); font-size: .97rem; margin: 10px 0 0; }

/* Objectives */
.objective { display: flex; gap: 20px; padding: 26px; align-items: flex-start; }
.objective .n { font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--green-600); }
.objective h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.objective p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--green-300), var(--blue-500)); opacity: .6; }
.tl-item { position: relative; padding-left: 72px; }
.tl-dot { position: absolute; left: 10px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--green-500); box-shadow: 0 0 0 6px var(--green-50); }
.tl-item .card { padding: 22px 26px; }
.tl-year { display: inline-block; font-weight: 800; color: var(--green-700); font-size: .9rem; letter-spacing: .06em; margin-bottom: 4px; }
.tl-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Team */
.team-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.team-card .media { aspect-ratio: 4 / 4.6; background: linear-gradient(160deg, var(--green-50), var(--blue-50)); }
.team-card .media img { object-position: center 25%; }
.team-card .initials { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3.4rem; font-weight: 800; color: var(--green-600); letter-spacing: -.03em; }
.team-card .card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.team-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.team-card .role { color: var(--green-700); font-weight: 650; font-size: .92rem; line-height: 1.45; }
.team-card .bio { color: var(--muted); font-size: .93rem; margin: 12px 0 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-card .socials { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.team-card .socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--green-700); position: relative; z-index: 2; }
.team-card .socials a:hover { background: var(--green-600); color: #fff; }
.team-card .socials .icon { width: 16px; height: 16px; }
.team-card .read { margin-top: 14px; font-size: .9rem; position: relative; z-index: 2; background: none; border: 0; padding: 0; cursor: pointer; }
.group-title { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; font-size: 1.4rem; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Modal (team bio) */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: var(--gutter); background: rgba(6, 20, 13, .65); backdrop-filter: blur(5px); }
.modal.is-open { display: flex; }
.modal-panel { background: #fff; border-radius: var(--radius-lg); width: min(820px, 100%); max-height: 90vh; overflow: auto; display: grid; grid-template-columns: .8fr 1.2fr; box-shadow: var(--shadow-lg); position: relative; }
.modal-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal-panel .card-body { padding: 36px; }
.modal-close { position: absolute; right: 14px; top: 14px; background: #fff; box-shadow: var(--shadow); z-index: 2; color: var(--ink); }

/* Partners */
.partner-tile { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 120px; padding: 22px; text-align: center; }
.partner-tile img { max-height: 64px; max-width: 45%; min-width: 0; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner-tile:hover img { filter: none; opacity: 1; }
.monogram { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--green-600), var(--blue-500)); color: #fff; font-weight: 800; letter-spacing: .02em; font-size: 1rem; }
.partner-name { font-weight: 750; color: var(--ink); text-align: left; line-height: 1.3; font-size: 1rem; }
.partner-name small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; margin-top: 3px; letter-spacing: .02em; }

/* Marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee var(--speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); white-space: nowrap; font-weight: 700; color: var(--ink); }
.marquee-item .monogram { width: 34px; height: 34px; border-radius: 10px; font-size: .78rem; }
.marquee-item img { height: 34px; width: auto; }
.marquee-item .icon { color: var(--green-600); }
.press-strip { display: flex; align-items: center; gap: 28px; }
.press-strip .label { flex: none; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 130px; line-height: 1.4; }
.press-strip .marquee { flex: 1; }
.press-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink-2); padding: 8px 18px; letter-spacing: -.01em; }
.press-item .icon { color: var(--green-500); }

/* Media coverage */
.media-card { padding: 26px; display: flex; flex-direction: column; height: 100%; }
.media-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.media-card .outlet { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.media-card .outlet .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
.media-card .outlet .icon-tile .icon { width: 20px; height: 20px; }
.media-card .outlet small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.media-card h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 10px; }
.media-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.media-card .card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .88rem; color: var(--muted); }

/* News */
.news-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.news-card .card-body { flex: 1; display: flex; flex-direction: column; }
.news-card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.news-card .meta span { display: inline-flex; align-items: center; gap: .4em; }
.news-card .meta .icon { width: 1em; height: 1em; }
.news-card h3 { line-height: 1.32; margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); }
.news-feature .media { border-radius: calc(var(--radius-lg) - 1px) 0 0 calc(var(--radius-lg) - 1px); min-height: 380px; }
.news-feature .card-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.article { max-width: 780px; margin: 0 auto; }
.article .prose { font-size: 1.12rem; line-height: 1.8; }
.article-cover { margin: calc(-1 * clamp(60px, 8vw, 110px)) auto clamp(36px, 5vw, 56px); max-width: 1040px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 3; aspect-ratio: 16 / 9; background: var(--mist); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.share strong { margin-right: 6px; color: var(--ink); }
.share a, .share-native { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--green-700); border: 0; padding: 0; cursor: pointer; font: inherit; }
.share a:hover, .share-native:hover { background: var(--green-600); color: #fff; }
.share-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; pointer-events: none; opacity: 0; transition: opacity .2s; }
.share-tip:not(:empty) { opacity: 1; }
.share .icon { width: 18px; height: 18px; }

/* Resources */
.resource-card { display: flex; gap: 18px; padding: 24px; align-items: flex-start; height: 100%; }
.resource-card .file-badge { width: 58px; height: 72px; flex: none; border-radius: 12px; background: linear-gradient(160deg, var(--green-600), var(--green-800)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.resource-card .file-badge .icon { width: 22px; height: 22px; }
.resource-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.resource-card p { color: var(--muted); font-size: .93rem; margin-bottom: 12px; }

/* Testimonials */
.testimonial { padding: clamp(26px, 3vw, 36px); height: 100%; display: flex; flex-direction: column; }
.testimonial > .icon { width: 40px; height: 40px; color: var(--green-500); fill: var(--green-100); stroke-width: 1.2; margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.08rem; color: var(--ink); line-height: 1.7; flex: 1; }
.person { display: flex; align-items: center; gap: 14px; }
.person img, .person .avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.person .avatar { display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-weight: 800; }
.person strong { display: block; color: var(--ink); }
.person small { color: var(--muted); font-size: .86rem; line-height: 1.4; display: block; }

/* SDGs */
.sdg-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.sdg-card .sdg-head { background: var(--sdg); color: #fff; padding: 26px; display: flex; gap: 18px; align-items: center; min-height: 128px; position: relative; overflow: hidden; }
.sdg-card .sdg-head::after { content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .12); }
.sdg-card .sdg-num { font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.sdg-card .sdg-head h3 { color: #fff; font-size: 1.15rem; margin: 0; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; }
.sdg-card .card-body p { color: var(--muted); margin: 0; font-size: .97rem; }
.sdg-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sdg-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 700; font-size: .9rem; color: var(--ink); }
.sdg-pill b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--sdg); font-size: .85rem; }
.sdg-pill img { width: 34px; height: 34px; border-radius: 6px; flex: none; }

/* Donation */
.give-card { padding: 28px; height: 100%; }
.give-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.give-card .head h3 { margin: 0; font-size: 1.2rem; }
.give-card .head small { color: var(--muted); }
.detail-list { display: grid; gap: 10px; margin: 0; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mist); }
.detail-row dt { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.detail-row dd { margin: 0; font-weight: 750; color: var(--ink); text-align: right; word-break: break-word; }
.copy-btn { border: 0; background: #fff; border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: var(--green-700); flex: none; box-shadow: var(--shadow-sm); }
.copy-btn.is-done { background: var(--green-600); color: #fff; }
.copy-btn .icon { width: 16px; height: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 4px 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s; color: var(--green-600); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 7vw, 96px) clamp(26px, 6vw, 80px); color: #fff; background: var(--green-800); }
.cta-band .cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(11, 42, 28, .95) 0%, rgba(11, 42, 28, .82) 50%, rgba(0, 119, 168, .55) 100%); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, .84); font-size: 1.15rem; max-width: 620px; margin-bottom: 2rem; }

/* Feature strip (values on home) */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.feature-row > div { padding: 28px; display: flex; gap: 16px; align-items: flex-start; }
.feature-row > div + div { border-left: 1px solid var(--line-2); }
.feature-row h4 { margin: 0 0 4px; font-size: 1.05rem; }
.feature-row p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.feature-row .local { display: block; font-family: var(--font-accent); font-style: italic; color: var(--green-600); font-size: 1rem; line-height: 1.2; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filters.center { justify-content: center; }
.filter { display: inline-flex; align-items: center; gap: .45em; padding: .65em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 650; font-size: .92rem; transition: all .2s; }
.filter:hover { border-color: var(--green-600); color: var(--green-700); }
.filter.is-active { background: var(--green-600); border-color: var(--green-600); color: #fff; box-shadow: 0 8px 18px -8px rgba(39, 150, 60, .7); }
.filter .count { font-size: .78rem; opacity: .7; }

/* Gallery */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry .shot { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; display: block; background: var(--mist); }
.masonry .shot img { width: 100%; transition: transform .7s var(--ease); }
.masonry .shot:hover img { transform: scale(1.05); }
.masonry .shot figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(5, 20, 12, .8)); opacity: 0; transition: opacity .3s; }
.masonry .shot:hover figcaption { opacity: 1; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid .shot { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--mist); display: block; }
.photo-grid .shot:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.photo-grid .shot:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(4, 14, 9, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox .lb-caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 255, 255, .85); font-size: .95rem; padding: 0 20px; }
.lightbox .lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 28px; left: 24px; color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 600; }

/* Project detail */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.facts { padding: 28px; }
.facts h3 { font-size: 1.1rem; margin-bottom: 18px; }
.fact { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.fact:first-of-type { border-top: 0; padding-top: 0; }
.fact .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.fact .icon-tile .icon { width: 20px; height: 20px; }
.fact small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact strong { color: var(--ink); font-weight: 700; line-height: 1.4; display: block; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 0 0 clamp(32px, 4vw, 48px); }
.figure-box { padding: 24px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.figure-box strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--green-700); letter-spacing: -.03em; line-height: 1.05; }
.figure-box span { font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.outcomes li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--mist); color: var(--ink); font-weight: 550; }
.outcomes .icon { color: var(--green-600); width: 22px; height: 22px; margin-top: 2px; }
.block-title { font-size: 1.5rem; margin: clamp(36px, 5vw, 56px) 0 20px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: calc(-1 * clamp(60px, 7vw, 100px)); position: relative; z-index: 3; }
.contact-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.contact-card small { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong, .contact-card a.v { display: block; font-weight: 700; color: var(--ink); line-height: 1.45; word-break: break-word; }
.form-card { padding: clamp(26px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfcfb; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 140px; }
.field .error { color: #c2261b; font-size: .85rem; margin-top: 6px; font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; font-weight: 600; margin-bottom: 22px; }
.alert-success { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.alert-error { background: #fdecea; color: #8c1d14; border: 1px solid #f7c6c0; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius-lg); }
.map-placeholder { min-height: 100%; border-radius: var(--radius-lg); position: relative; overflow: hidden; padding: 36px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, var(--green-700), var(--green-900)); isolation: isolate; }
.map-placeholder::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 18px 18px; }
.map-placeholder h3 { color: #fff; }

/* Newsletter + footer */
.newsletter-band { position: relative; z-index: 2; margin-bottom: -90px; }
.newsletter-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--green-600) 0%, var(--green-700) 55%, var(--blue-600) 130%); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.newsletter-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.newsletter-card h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .3em; }
.newsletter-card p { margin: 0; color: rgba(255, 255, 255, .85); }
.subscribe-form { display: flex; gap: 8px; padding: 7px; border-radius: 999px; background: #fff; position: relative; z-index: 1; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3); }
.subscribe-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; font-size: 1rem; color: var(--ink); }
.subscribe-note { margin-top: 10px; font-size: .9rem; font-weight: 600; color: #fff; position: relative; z-index: 1; }

.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .7); padding: calc(90px + clamp(56px, 7vw, 90px)) 0 0; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 90% 10%, rgba(0, 173, 239, .14), transparent 40%), radial-gradient(circle at 0% 80%, rgba(52, 171, 75, .18), transparent 45%); }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-brand p { margin: 20px 0 24px; font-size: .97rem; line-height: 1.75; max-width: 380px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(255, 255, 255, .6); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .97rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: .97rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { color: var(--green-300); margin-top: 3px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--green-600); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer-bottom .reg { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75); }
.footer-bottom .reg .icon { color: var(--green-300); width: 16px; height: 16px; }
.footer-bottom .credit { color: rgba(255, 255, 255, .6); transition: color .2s; }
.footer-bottom .credit strong { color: #fff; font-weight: 800; letter-spacing: .01em; transition: color .2s; }
.footer-bottom .credit:hover, .footer-bottom .credit:hover strong { color: var(--yellow, #ffd60a); }

/* Floating actions */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35); transition: transform .25s var(--ease), opacity .25s; border: 0; cursor: pointer; }
.fab:hover { color: #fff; transform: translateY(-3px) scale(1.04); }
.fab .icon { width: 24px; height: 24px; }
.fab-wa { background: #25d366; }
.fab-top { background: var(--green-900); opacity: 0; pointer-events: none; }
.fab-top.is-visible { opacity: 1; pointer-events: auto; }

/* Empty state & pagination */
.empty { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--radius-lg); border: 2px dashed var(--line); background: var(--sand); }
.empty .icon-tile { margin: 0 auto 18px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); background: #fff; }
.pagination .is-current { background: var(--green-600); color: #fff; border-color: var(--green-600); }

/* Search page */
.search-hero-form { max-width: 680px; margin-top: 26px; }
.search-group { margin-bottom: 40px; }
.search-group h2 { font-size: 1.3rem; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.result { display: flex; gap: 16px; padding: 18px 20px; align-items: center; margin-bottom: 10px; }
.result h3 { font-size: 1.05rem; margin: 0 0 4px; }
.result p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Reveal on scroll (content is visible without JavaScript) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav, .header-actions .btn-donate-desktop { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature-row > div:nth-child(3) { border-left: 0; }
  .feature-row > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { justify-self: start; grid-template-columns: repeat(3, 1fr); max-width: none; }
  .split, .split-wide { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .project-feature, .news-feature { grid-template-columns: 1fr; }
  .project-feature .media, .news-feature .media { border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; min-height: 280px; }
  .newsletter-card { grid-template-columns: 1fr; }
  .floating-note { left: 12px; }
  .stats-band .grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-band .grid { grid-template-columns: 1fr 1fr; }
  .stats-band .grid > div { border-left: 0; padding-left: 0; }
  .brand { gap: 10px; }
  .brand-text span { font-size: .58rem; letter-spacing: .1em; margin-top: 2px; }
  .brand-logo { width: 44px; height: 44px; }
  .hero { padding-bottom: 110px; min-height: auto; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-cards .glass-card:nth-child(3) { display: none; }
  .glass-card .num { font-size: 1.8rem; }
  .scroll-cue { display: none; }
  .bento { min-height: 380px; grid-template-columns: 1fr .7fr; }
  .bento .b-badge strong { font-size: 2.1rem; }
  .floating-note { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row > div + div { border-left: 0; border-top: 1px solid var(--line-2); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-panel img { max-height: 320px; }
  .press-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .press-strip .label { max-width: none; }
  .subscribe-form { flex-direction: column; border-radius: 20px; }
  .subscribe-form input { padding: 12px 14px; }
  .lightbox { padding: 60px 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 60px; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-actions { right: 14px; bottom: 14px; }
  .timeline::before { left: 15px; }
  .tl-item { padding-left: 48px; }
  .tl-dot { left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .float-actions, .newsletter-band, .announce { display: none !important; }
}
.rot-up { transform: rotate(90deg); }
.stats-band h2, .stats-band h3 { color: #fff; }
.split > .bento { align-self: stretch; min-height: 560px; }
.marquee { min-width: 0; max-width: 100%; }
.hero-grid > *, .split > *, .detail-layout > *, .grid > * { min-width: 0; }
@media (max-width: 720px) {
  .press-strip { align-items: stretch; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero-trust { gap: 8px 12px; }
}
.hero-cards > * { min-width: 0; }
@media (max-width: 720px) {
  .glass-card { padding: 16px; }
  .glass-card .icon-tile { display: none; }
  .glass-card .lbl { font-size: .82rem; }
}

/* Hero without statistic cards */
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero h1 { max-width: 16ch; }

/* ==========================================================================
   v3 — WEMASA identity: condensed headlines, warm sand, yellow actions,
   colour-coded programmes, emblem silhouette. Overrides the base system above.
   ========================================================================== */
:root {
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --yellow: #ffd60a;
  --yellow-dark: #f2c200;
  --sand: #f4e8d6;
  --warm: #f7f2ea;
  --teal-dark: #123a3a;
  --earth: #4a2b1d;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
}
body { background: #fff; }
h1, h2, h3, .h-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); text-transform: none; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); font-weight: 700; }
.accent { font-family: inherit; font-style: normal; font-weight: inherit; color: var(--yellow); }
.kicker { font-family: var(--font); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #e58a12; margin: 0 0 12px; }
.kicker-sun, .hero .kicker { color: var(--yellow); }

/* Eyebrow pills from the base system become plain coloured labels */
.eyebrow { background: none; border: 0; padding: 0; color: #e58a12; letter-spacing: .14em; font-weight: 800; }
.eyebrow::before { display: none; }
.eyebrow-light { color: var(--yellow); backdrop-filter: none; }

/* Buttons: squarer, Greenpeace-style yellow for the main action */
.btn { border-radius: 6px; font-family: var(--font); font-weight: 800; letter-spacing: 0; }
.btn:hover { transform: none; box-shadow: none; }
.btn-yellow { --bg: var(--yellow); --fg: #13201a; }
.btn-yellow:hover { --bg: var(--yellow-dark); }
.btn-sun { --bg: var(--yellow); --fg: #13201a; }
.btn-sun:hover { --bg: var(--yellow-dark); }
.btn-outline { --bg: transparent; --fg: var(--green-800); --bd: var(--green-700); }
.btn-outline:hover { --bg: var(--green-700); --fg: #fff; }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .8); }
.btn-outline-light:hover { --bg: #fff; --fg: #13201a; }
.btn-glass { border-radius: 6px; }

/* Header */
.brand-text strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .02em; }
.nav-link { font-weight: 700; border-radius: 6px; }
.dropdown { border-radius: 10px; }

/* ---------- Hero slider ---------- */
.hero-slider { display: block; min-height: min(92svh, 860px); padding: 0; background: #0d2219; }
.hero-slider::before { display: none; }
.slides { position: relative; min-height: inherit; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; isolation: isolate; }
.slide.is-active { position: relative; min-height: min(92svh, 860px); opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 8s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 22, 15, .86) 0%, rgba(8, 22, 15, .62) 45%, rgba(8, 22, 15, .1) 100%); }
.slide-body { padding-top: calc(var(--header-h) + 40px); padding-bottom: 170px; color: #fff; }
.slide-body h1, .slide-title { color: #fff; max-width: 15ch; margin-bottom: .3em; font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.slide-body .hero-lead { max-width: 560px; color: rgba(255, 255, 255, .88); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 150px; display: flex; align-items: center; gap: 14px; z-index: 3; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.slider-btn:hover { background: var(--yellow); border-color: var(--yellow); color: #13201a; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; }
.slider-dots button.on { background: var(--yellow); }

/* Emblem silhouette divider (replaces the plain wave) */
.hero-wave.scene { color: var(--teal-dark); }
.hero-wave.scene svg { height: clamp(70px, 9vw, 130px); width: 100%; }
.page-hero .hero-wave.scene { color: #fff; }

/* ---------- Story band (timeline) ---------- */
.story-band { background: var(--teal-dark); color: rgba(255, 255, 255, .82); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); margin-top: -1px; }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-band h2 { color: #fff; }
.story-intro { font-size: 1.12rem; max-width: 620px; margin: 14px 0 28px; }
.milestones { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 0; }
.milestones li { position: relative; display: grid; gap: 4px; padding: 0 0 18px 26px; border-left: 2px solid rgba(255, 214, 10, .5); }
.milestones li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 214, 10, .2); }
.milestones li:last-child { padding-bottom: 0; }
.ms-year { justify-self: start; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; color: var(--yellow); background: rgba(255, 214, 10, .12); padding: 1px 10px; border-radius: 4px; }
.ms-text { color: #fff; font-weight: 600; }
.link-light { color: var(--yellow); }
.link-light:hover { color: #fff; }
.emblem { position: relative; justify-self: center; width: min(380px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.emblem img { width: 86%; height: auto; border-radius: 50%; background: #fff; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); position: relative; z-index: 1; }
.emblem-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255, 214, 10, .45); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sand band: vision/mission panel ---------- */
.sand-band { background: var(--sand); padding: clamp(56px, 7vw, 96px) 0; }
.vm-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .15); border-radius: 12px; overflow: hidden; margin-bottom: clamp(48px, 6vw, 80px); }
.vm-panel > div { background: var(--earth); color: rgba(255, 255, 255, .86); padding: clamp(26px, 3.4vw, 44px); }
.vm-panel > div:last-child { background: #5b3726; text-align: right; }
.vm-panel h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1.7rem; }
.vm-panel > div:last-child h3 { justify-content: flex-end; }
.vm-panel h3 .icon { color: var(--yellow); }
.vm-panel p { margin: 0; font-size: 1.08rem; line-height: 1.65; }
.glance { max-width: 820px; margin: 0 auto; text-align: center; }
.glance h2 { color: #2a1a12; margin-bottom: 18px; }
.glance .prose { color: #5a4636; font-size: 1.1rem; margin-bottom: 26px; }

/* ---------- Issue circles ---------- */
.center-head { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.center-head p:not(.kicker) { color: var(--muted); font-size: 1.1rem; margin: 10px 0 0; }
.issues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; margin-bottom: 44px; }
.issue { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); }
.issue:hover { color: var(--ink); }
.issue-photo { width: clamp(150px, 15vw, 196px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--accent); margin-bottom: 22px; transition: box-shadow .3s; }
.issue:hover .issue-photo { box-shadow: 0 0 0 6px #fff, 0 0 0 12px var(--accent); }
.issue-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.issue:hover .issue-photo img { transform: scale(1.07); }
.issue-icon { color: var(--accent); }
.issue-icon .icon { width: 56px; height: 56px; }
.issue strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; margin-bottom: 6px; }
.issue small { color: var(--muted); font-size: .95rem; max-width: 300px; line-height: 1.5; }

/* ---------- Programme cards ---------- */
.section-warm { background: var(--warm); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.row-head h2 { margin: 0; }
.programmes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.programme { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); color: var(--ink); transition: box-shadow .3s, transform .3s; }
.programme:hover { color: var(--ink); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .35); transform: translateY(-4px); }
.programme-photo { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); display: grid; place-items: center; }
.programme-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.programme:hover .programme-photo img { transform: scale(1.05); }
.programme-empty { color: var(--accent); }
.programme-empty .icon { width: 48px; height: 48px; }
.programme-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.programme-body strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.12; margin-bottom: 10px; }
.programme-body small { color: var(--muted); font-size: .92rem; line-height: 1.55; flex: 1; }
.programme-body em { font-style: normal; margin-top: 16px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.programme-body em .icon { width: 14px; height: 14px; }

/* ---------- Get to know us ---------- */
.know { display: grid; grid-template-columns: 1fr 1fr; background: var(--warm); align-items: stretch; }
.know-text { padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(48px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.know-text h2 { margin-bottom: 20px; }
.know-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; font-size: 1.08rem; }
.know-list li { display: flex; gap: 12px; align-items: flex-start; }
.know-list .icon { color: var(--green-600); margin-top: 3px; stroke-width: 2.6; }
.know-photo { min-height: 420px; }
.know-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Story list ---------- */
.container-mid { max-width: 1060px; }
.plain-head { margin-bottom: 32px; }
.story-list { display: grid; gap: 28px; margin-bottom: 32px; }
.story-row { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.story-thumb { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 4px; background: var(--mist); }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.story-row:hover .story-thumb img { transform: scale(1.04); }
.story-row .tags { margin: 0 0 8px; color: var(--green-600); font-weight: 800; font-size: .9rem; }
.story-row .tags span { color: var(--green-600); margin: 0 4px; }
.story-row h3 { margin-bottom: 10px; font-size: 1.55rem; }
.story-row h3 a { color: var(--ink); }
.story-row h3 a:hover { color: var(--green-700); }
.story-row p { color: var(--ink-2); margin-bottom: 8px; }
.story-row small { color: var(--muted); }
.link-underline { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); border-bottom: 3px solid var(--green-500); padding-bottom: 2px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { margin: 0; background: #fff; border-radius: 10px; padding: 28px; border-top: 4px solid var(--yellow); }
.quote blockquote { margin: 0 0 18px; font-style: italic; font-size: 1.08rem; color: var(--ink); }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--muted); }
.quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; color: var(--ink); }

/* ---------- Join us ---------- */
.join { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.join-card { background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); display: flex; flex-direction: column; align-items: flex-start; }
.join-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); margin-bottom: 18px; }
.join-icon .icon { width: 26px; height: 26px; }
.join-card h3 { margin-bottom: 10px; }
.join-card p { color: var(--muted); flex: 1; margin-bottom: 22px; }
.join-card .btn { align-self: flex-end; }

/* ---------- Press + partners ---------- */
.press-band { background: var(--teal-dark); color: #fff; padding: 34px 0; }
.press-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.press-inner .kicker { margin: 0; color: var(--yellow); }
.press-names { flex: 1; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; color: rgba(255, 255, 255, .92); }
.press-inner .link-arrow { color: var(--yellow); }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 74px; min-width: 180px; padding: 12px 24px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #3d4a43; background: #fff; }
.partner-chip img { max-height: 50px; max-width: 220px; width: auto; object-fit: contain; }

/* ---------- CTA band (turquoise, from the logo's waves) ---------- */
.cta-wide { background: #18a7d6; color: #fff; padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.cta-wide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cta-wide h2 { color: #fff; margin-bottom: 14px; }
.cta-wide p { color: rgba(255, 255, 255, .92); font-size: 1.15rem; max-width: 520px; margin-bottom: 26px; }
.polaroids { position: relative; height: 360px; }
.pol { position: absolute; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid #fff; border-bottom-width: 34px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45); }
.pol-1 { left: 4%; top: 18%; transform: rotate(-7deg); }
.pol-2 { right: 2%; top: 0; transform: rotate(5deg); width: 46%; }
.pol-3 { right: 16%; bottom: -4%; transform: rotate(-2deg); width: 42%; }

/* Base components softened to match */
.card { border-radius: 10px; }
.card .media { border-radius: 9px 9px 0 0; }
.icon-tile { border-radius: 50%; }
.focus-card .num-bg { display: none; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.section-head h2, .section-head-row h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.newsletter-card { border-radius: 12px; background: var(--teal-dark); }
.newsletter-card h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.site-footer { background: #241811; }
.site-footer::before { background: none; }
.footer-brand .brand-text strong { font-size: 1.7rem; }

@media (max-width: 1024px) {
  .story-grid, .know, .cta-wide-inner { grid-template-columns: 1fr; }
  .programmes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .issues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join, .quotes { grid-template-columns: 1fr; }
  .know-text { padding: 56px var(--gutter); }
  .know-photo { min-height: 320px; }
  .emblem { width: min(300px, 70vw); }
}
@media (max-width: 720px) {
  .vm-panel { grid-template-columns: 1fr; }
  .vm-panel > div:last-child { text-align: left; }
  .vm-panel > div:last-child h3 { justify-content: flex-start; }
  .programmes { grid-template-columns: 1fr; }
  .issues { gap: 36px 16px; }
  .issue-photo { width: 132px; }
  .issue strong { font-size: 1.25rem; }
  .issue small { display: none; }
  .story-row { grid-template-columns: 1fr; gap: 14px; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .slide-body { padding-bottom: 150px; }
  .slider-ui { bottom: 104px; }
  .polaroids { height: 260px; }
  .press-names { font-size: 1.15rem; }
  .partner-chip { min-width: 0; flex: 1 1 140px; font-size: 1.1rem; }
}
.slider-ui { justify-content: flex-end; bottom: 140px; }
.know-lead { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 22px; max-width: 560px; }
@media (max-width: 720px) {
  .slider-ui { justify-content: flex-start; bottom: 96px; }
  .slide-body { padding-bottom: 170px; }
}

/* ---------- Mobile drawer (v3) ---------- */
.drawer-backdrop { background: rgba(8, 28, 28, .6); backdrop-filter: blur(6px); }
.drawer-panel {
  width: min(400px, 90vw); color: #eaf3ef; isolation: isolate;
  background: linear-gradient(165deg, #164545 0%, #123a3a 45%, #0b2828 100%);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .45);
  border-top: 4px solid #ffd60a; overscroll-behavior: contain; overflow-x: hidden;
}
.drawer-glow { position: absolute; z-index: -1; right: -120px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 150, 60, .35), transparent 70%); pointer-events: none; }
.drawer-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1.4px); background-size: 18px 18px; }
.drawer-head { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px; }
.drawer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.drawer-brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 3px rgba(255, 214, 10, .35); }
.drawer-brand strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; letter-spacing: .04em; line-height: 1; }
.drawer-brand small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd60a; margin-top: 3px; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: transform .3s var(--ease), background .2s, color .2s; }
.drawer-close:hover, .drawer-close:focus-visible { background: #ffd60a; color: #123a3a; transform: rotate(90deg); }

.drawer-nav { padding: 14px 14px 6px; }
.drawer-nav details, .drawer-nav > a { border-bottom: 0; }
.drawer-nav .dn-item { display: flex; align-items: center; gap: 14px; padding: 10px 10px; border-radius: 14px; color: #fff; cursor: pointer;
  list-style: none; position: relative; transition: background .2s, color .2s; }
.drawer-nav .dn-item::-webkit-details-marker { display: none; }
.drawer-nav .dn-item:hover, .drawer-nav .dn-item:focus-visible { background: rgba(255, 255, 255, .07); }
.dn-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #8fd19c; transition: background .2s, color .2s, transform .3s var(--ease); }
.dn-icon .icon { width: 20px; height: 20px; }
.dn-label { flex: 1; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.dn-num { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .35); }
.dn-caret { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: transform .3s var(--ease), background .2s; }
.dn-caret .icon { width: 16px; height: 16px; }
.drawer-nav details[open] .dn-caret { transform: rotate(180deg); background: #ffd60a; color: #123a3a; }
.drawer-nav details[open] summary .icon { transform: none; }
.dn-item:hover .dn-icon { transform: scale(1.06); }
.dn-item.is-active { color: #ffd60a; }
.dn-item.is-active .dn-icon { background: #ffd60a; color: #123a3a; }
.dn-item.is-active::before { content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: #ffd60a; }

.drawer-nav .dn-sub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-left: 29px; padding: 4px 4px 14px 20px; border-left: 2px solid rgba(255, 214, 10, .35); animation: dnSub .35s var(--ease); }
.drawer-nav .dn-sub a { display: flex; align-items: center; gap: 8px; margin: 0; padding: 11px 12px; border-radius: 12px; font-size: .92rem; font-weight: 600; line-height: 1.2;
  color: rgba(255, 255, 255, .85); background: transparent; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.drawer-nav .dn-sub a .icon { flex: none; width: 15px; height: 15px; color: #ffd60a; }
.drawer-nav .dn-sub a:hover { background: rgba(255, 214, 10, .12); border-color: rgba(255, 214, 10, .4); color: #fff; }
@keyframes dnSub { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.drawer-card { --i: 6; position: relative; display: block; margin: 8px 20px 4px; padding: 18px 64px 18px 18px; border-radius: 18px; color: #123a3a; overflow: hidden;
  background: linear-gradient(135deg, #ffd60a, #ffc300); box-shadow: 0 14px 30px -14px rgba(255, 214, 10, .6); }
.drawer-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .25); }
.drawer-card-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.drawer-card-kicker .icon { width: 14px; height: 14px; }
.drawer-card strong { display: block; margin-top: 6px; font-family: "Barlow Condensed", sans-serif; font-size: 1.3rem; line-height: 1.1; }
.drawer-card-go { position: absolute; z-index: 1; right: 16px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; display: grid; place-items: center;
  background: #123a3a; color: #ffd60a; transition: transform .3s var(--ease); }
.drawer-card:hover .drawer-card-go { transform: translateX(4px); }

.drawer-foot { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px 22px; gap: 14px; }
.drawer-donate { box-shadow: 0 10px 24px -10px rgba(255, 214, 10, .7); }
.drawer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.drawer-contact a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, color .2s, transform .2s; }
.drawer-contact a:hover { background: #ffd60a; color: #123a3a; transform: translateY(-2px); }
.drawer-contact .icon { width: 19px; height: 19px; }
.drawer-note { margin: 0; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.drawer-note a { color: #ffd60a; font-weight: 700; }

/* Staggered entrance */
.drawer .drawer-nav > *, .drawer .drawer-card, .drawer .drawer-foot { opacity: 0; transform: translateX(28px); }
.drawer.is-open .drawer-nav > *, .drawer.is-open .drawer-card, .drawer.is-open .drawer-foot {
  opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease); transition-delay: calc(.12s + var(--i, 7) * .05s); }
@media (prefers-reduced-motion: reduce) {
  .drawer .drawer-nav > *, .drawer .drawer-card, .drawer .drawer-foot { opacity: 1; transform: none; transition: none; }
  .drawer-nav .dn-sub { animation: none; }
}

/* ---------- Partners page ---------- */
.pt-section { padding-top: clamp(48px, 7vw, 96px); }
.pt-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.pt-intro-title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; margin: 16px 0 14px; letter-spacing: -.02em; }
.pt-count { color: var(--green-600); }
.pt-intro p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 560px; }
.pt-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pt-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.pt-filters button span { min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--mist); color: var(--green-700); font-size: .78rem; font-weight: 750; }
.pt-filters button:hover { border-color: var(--green-500); color: var(--green-700); }
.pt-filters button.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.pt-filters button.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
.pt-filters button:focus-visible { outline: none; box-shadow: var(--ring); }

.pt-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.pt-tile { position: relative; display: flex; flex-direction: column; background: #fff; transition: background .35s var(--ease); }
.pt-tile[hidden] { display: none; }
.pt-tile:hover { background: #fbfdfb; }
.pt-logo { height: clamp(150px, 13vw, 180px); display: grid; place-items: center; padding: 24px 28px; }
.pt-logo img { max-width: 82%; max-height: 104px; width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease); }
.pt-tile:hover .pt-logo img { transform: scale(1.05); }
.pt-wordmark { font-family: var(--font-accent); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.2; text-align: center; color: var(--green-800); letter-spacing: -.005em; max-width: 90%; }
.pt-caption { display: grid; gap: 3px; padding: 14px 20px 18px; border-top: 1px solid var(--line-2); text-align: center; }
.pt-caption h3 { font-family: var(--font); font-size: .9rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; margin: 0; color: var(--ink); }
.pt-caption h3 a { color: inherit; }
.pt-caption span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); }
.js .pt-tile.reveal.is-in { transition: background .35s var(--ease), opacity .9s var(--ease); transition-delay: 0s; }

@media (max-width: 1024px) {
  .pt-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-intro { grid-template-columns: 1fr; align-items: start; }
  .pt-filters { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .pt-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius); }
  .pt-logo { height: 128px; padding: 18px; }
  .pt-logo img { max-height: 74px; max-width: 86%; }
  .pt-caption { padding: 12px 10px 14px; }
  .pt-caption h3 { font-size: .82rem; }
  .pt-wordmark { font-size: 1.1rem; }
  .pt-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .pt-filters button { flex: none; }
}

/* ---------- Donate page ---------- */
.give-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.give-intro h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.06; letter-spacing: -.02em; margin: 16px 0 18px; }
.give-intro .lead-text { color: var(--ink-2); }
.give-steps { list-style: none; padding: 0; margin: clamp(26px, 3vw, 36px) 0; display: grid; gap: 4px; counter-reset: none; }
.give-steps li { position: relative; display: flex; gap: 18px; padding: 14px 0; }
.give-steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 60px; bottom: -8px; width: 2px; background: repeating-linear-gradient(var(--green-300) 0 4px, transparent 4px 9px); }
.give-step-num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-600); color: #fff; font-weight: 800; box-shadow: 0 0 0 6px var(--green-50); }
.give-steps strong { display: block; font-size: 1.05rem; color: var(--ink); margin: 2px 0 4px; }
.give-steps p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.give-methods { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }

.bank-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(24px, 3vw, 34px); color: #fff;
  background: linear-gradient(140deg, #0f3a26 0%, #1b6f2e 55%, #0b7a7a 100%);
  box-shadow: 0 30px 60px -24px rgba(11, 42, 28, .55), 0 2px 6px rgba(11, 42, 28, .2); }
.bank-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 92% 8%, rgba(245, 182, 42, .35), transparent 34%), radial-gradient(circle at 0% 100%, rgba(0, 173, 239, .28), transparent 45%); }
.bank-card::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -150px; bottom: -190px; border-radius: 50%; border: 52px solid rgba(255, 255, 255, .05); }
.bank-card-alt { background: linear-gradient(140deg, #003f5c 0%, #0077a8 100%); }
.bank-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bank-card-brand { display: flex; align-items: center; gap: 14px; }
.bank-card-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.bank-card-icon .icon { width: 24px; height: 24px; }
.bank-card h3 { color: #fff; font-size: 1.3rem; margin: 0; letter-spacing: -.01em; }
.bank-card-brand small { color: rgba(255, 255, 255, .72); font-weight: 600; font-size: .85rem; }
.bank-card-chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #f8d77a, #d9a520); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; }
.bank-card-chip::before { content: ""; position: absolute; inset: 8px 10px; border: 1.5px solid rgba(90, 60, 0, .35); border-radius: 4px; }
.bank-card-label, .bank-card-field dt { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.bank-card-number { margin: clamp(26px, 3.2vw, 38px) 0 clamp(20px, 2.4vw, 26px); }
.bank-card-number-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.bank-card-number strong { font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; line-height: 1.1; word-break: break-all; }
.bank-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0; padding-top: clamp(18px, 2.2vw, 24px); border-top: 1px solid rgba(255, 255, 255, .16); }
.bank-card-wide { grid-column: 1 / -1; }
.bank-card-field dd { margin: 6px 0 0; font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.bank-card .copy-btn { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .22); width: 32px; height: 32px; transition: background .2s, transform .2s; }
.bank-card .copy-btn:hover { background: rgba(255, 255, 255, .24); }
.bank-card .copy-btn:active { transform: scale(.94); }
.bank-card .copy-btn.is-done { background: var(--sun-500); color: var(--green-900); border-color: var(--sun-500); }
.copy-btn .copy-done, .copy-btn.is-done .icon:not(.copy-done), .bank-card-copyall .copy-done-label, .bank-card-copyall.is-done .copy-label { display: none; }
.copy-btn.is-done .copy-done, .bank-card-copyall.is-done .copy-done-label { display: inline; }
.bank-card .copy-btn-lg { width: auto; height: 40px; padding: 0 14px; gap: 7px; display: inline-flex; font: inherit; font-size: .88rem; font-weight: 700; border-radius: 12px; }
.copy-btn-lg.is-done .copy-label { display: none; }
.copy-btn-lg.is-done::after { content: "Copied"; }
.bank-card-copyall { width: 100%; justify-content: center; margin-top: clamp(22px, 2.6vw, 28px); background: #fff; color: var(--green-800); font-weight: 750; border: 0; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.bank-card-copyall:hover { background: var(--sun-100); }
.bank-card-copyall.is-done { background: var(--sun-500); color: var(--green-900); }
.bank-card-note { margin: 16px 0 0; font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.give-secure { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--green-50); color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.give-secure .icon { flex: none; width: 20px; height: 20px; color: var(--green-600); margin-top: 1px; }

.give-stats { margin-top: clamp(36px, 5vw, 64px); }
.give-stats-title { margin: 0 0 clamp(20px, 3vw, 32px); font-weight: 700; color: rgba(255, 255, 255, .8); letter-spacing: .02em; }
.give-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.give-stats .stat-label { color: rgba(255, 255, 255, .85); font-weight: 600; }

@media (max-width: 1024px) {
  .give-layout { grid-template-columns: 1fr; }
  .give-methods { position: static; order: -1; }
  .give-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .bank-card-details { grid-template-columns: 1fr; }
  .bank-card-chip { display: none; }
}

/* ---------- Resources page ---------- */
.rs-section { padding-top: clamp(48px, 7vw, 96px); }
.rs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.rs-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 14px 0 10px; }
.rs-head p { margin: 0; max-width: 600px; color: var(--muted); font-size: 1.05rem; }
.rs-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-filters a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .88rem; font-weight: 650; transition: border-color .25s, background .25s, color .25s; }
.rs-filters a:hover { border-color: var(--green-500); color: var(--green-700); }
.rs-filters a.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.rs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.rs-badge { padding: 4px 10px; border-radius: 999px; background: var(--sun-500); color: var(--green-900); font-weight: 800; letter-spacing: .08em; }

.rs-spotlight { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4.5vw, 56px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--green-50), #fff 55%, var(--blue-50)); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.rs-spotlight::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; border: 60px solid rgba(52, 171, 75, .06); pointer-events: none; }
.rs-spotlight-cover { display: block; aspect-ratio: 17 / 22; border-radius: 6px 14px 14px 6px; overflow: hidden; background: #fff; box-shadow: -6px 0 0 -2px rgba(11, 42, 28, .12), 0 30px 50px -22px rgba(11, 42, 28, .5), 0 4px 10px rgba(11, 42, 28, .08); transform: rotate(-2deg); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.rs-spotlight-cover:hover { transform: rotate(0deg) translateY(-6px); box-shadow: -6px 0 0 -2px rgba(11, 42, 28, .12), 0 40px 60px -24px rgba(11, 42, 28, .55); }
.rs-spotlight-cover img, .rs-card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rs-spotlight-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; margin: 14px 0 14px; }
.rs-spotlight-body p { color: var(--ink-2); font-size: 1.06rem; line-height: 1.7; margin: 0 0 26px; max-width: 620px; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rs-size { opacity: .75; font-weight: 600; margin-left: 2px; }

.rs-more-title { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: clamp(44px, 5vw, 64px) 0 clamp(18px, 2vw, 24px); }
.rs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.rs-card { display: flex; gap: clamp(18px, 2vw, 26px); align-items: flex-start; padding: clamp(18px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .4s var(--ease), border-color .3s; }
.rs-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.rs-grid > .rs-card:only-child { grid-column: 1 / -1; }
.rs-card-cover { flex: none; width: clamp(96px, 10vw, 130px); display: block; aspect-ratio: 17 / 22; border-radius: 4px 12px 12px 4px; overflow: hidden; background: var(--mist); box-shadow: -4px 0 0 -1px rgba(11, 42, 28, .1), 0 18px 34px -18px rgba(11, 42, 28, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rs-card:hover .rs-card-cover { transform: translateY(-3px); box-shadow: -4px 0 0 -1px rgba(11, 42, 28, .1), 0 28px 44px -20px rgba(11, 42, 28, .5); }
.rs-card-body { display: grid; gap: 8px; min-width: 0; }
.rs-card-body h3 { font-size: 1.2rem; line-height: 1.25; margin: 0; }
.rs-card-body h3 a { color: var(--ink); }
.rs-card-body h3 a:hover { color: var(--green-700); }
.rs-card-body p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.rs-download { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-weight: 700; font-size: .88rem; color: var(--green-700); }
.rs-download .icon { width: 16px; height: 16px; }
.rs-cover-blank { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--green-600); background: linear-gradient(160deg, var(--green-50), var(--blue-50)); }
.rs-cover-blank .icon { width: 44px; height: 44px; }
.rs-cover-blank b { font-size: .85rem; letter-spacing: .14em; }

.rs-request { display: flex; align-items: center; gap: 22px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); border: 1px dashed var(--green-300); background: #fff; }
.rs-request h3 { font-size: 1.2rem; margin: 0 0 4px; }
.rs-request p { margin: 0; color: var(--muted); }
.rs-request .btn { margin-left: auto; flex: none; }

@media (max-width: 1024px) {
  .rs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .rs-spotlight { grid-template-columns: 1fr; text-align: left; }
  .rs-spotlight-cover { width: min(240px, 70%); margin: 0 auto 4px; }
  .rs-card { padding: 14px; gap: 14px; }
  .rs-card-cover { width: 84px; }
  .rs-card-body h3 { font-size: 1rem; }
  .rs-card-body p { display: none; }
  .rs-request { flex-direction: column; align-items: flex-start; }
  .rs-request .btn { margin-left: 0; }
}

/* ---------- Get involved page ---------- */
.gi-section { padding-top: clamp(56px, 7vw, 104px); }
.gi-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.gi-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.04; margin: 16px 0 0; }
.gi-head p { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.gi-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: clamp(14px, 1.6vw, 20px); }
.gi-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-xl); background: var(--green-50); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gi-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gi-tile-1 { grid-column: span 7; grid-row: span 2; }
.gi-tile-2, .gi-tile-3 { grid-column: span 5; }
.gi-tile-4, .gi-tile-5, .gi-tile-6 { grid-column: span 4; }
.gi-tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.gi-tile:hover .gi-tile-bg { transform: scale(1.06); }
.gi-tile.has-photo { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.gi-tile.has-photo .gi-tile-cta { text-shadow: none; }
.gi-tile.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 30, 20, .2) 0%, rgba(8, 30, 20, .1) 30%, rgba(8, 30, 20, .78) 62%, rgba(8, 30, 20, .95) 100%); }
.gi-tile-3:not(.has-photo) { background: var(--sun-500); color: var(--green-900); }
.gi-tile-6:not(.has-photo) { background: linear-gradient(140deg, var(--green-800), #0b5a5a); color: #fff; }
.gi-tile-6:not(.has-photo)::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); z-index: -1; }
.gi-tile-top { display: flex; align-items: center; justify-content: space-between; }
.gi-tile-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--green-600); box-shadow: var(--shadow-sm); }
.gi-tile-icon .icon { width: 26px; height: 26px; }
.gi-tile.has-photo .gi-tile-icon, .gi-tile-6:not(.has-photo) .gi-tile-icon { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); }
.gi-tile-3:not(.has-photo) .gi-tile-icon { background: rgba(11, 42, 28, .1); color: var(--green-900); box-shadow: none; }
.gi-tile-num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; opacity: .55; }
.gi-tile-body h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.1; margin: 0 0 10px; color: inherit; }
.gi-tile-1 .gi-tile-body h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.gi-tile-body h3 a { color: inherit; }
.gi-tile-body p { margin: 0; font-size: .97rem; line-height: 1.6; opacity: .88; max-width: 46ch; }
.gi-tile-1 .gi-tile-body p { font-size: 1.08rem; }
.gi-tile-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; font-weight: 750; font-size: .9rem; background: #fff; color: var(--green-800); transition: gap .3s var(--ease), background .3s; }
.gi-tile-cta .icon { width: 16px; height: 16px; }
.gi-tile:hover .gi-tile-cta { gap: 12px; }
.gi-tile:not(.has-photo):not(.gi-tile-3):not(.gi-tile-6) .gi-tile-cta { background: var(--green-600); color: #fff; }
.gi-tile-3:not(.has-photo) .gi-tile-cta { background: var(--green-900); color: #fff; }

.gi-steps-section { background: var(--green-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.gi-steps-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 10%, rgba(0, 173, 239, .22), transparent 40%), radial-gradient(circle at 5% 95%, rgba(52, 171, 75, .28), transparent 45%); }
.gi-steps-section .section-head h2 { color: #fff; }
.gi-steps-section .section-head p { color: rgba(255, 255, 255, .75); }
.gi-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); position: relative; }
.gi-steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 8px, transparent 8px 16px); }
.gi-steps li { position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.gi-step-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-weight: 700; color: rgba(255, 255, 255, .1); }
.gi-step-icon { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-500); color: var(--green-900); margin-bottom: 22px; box-shadow: 0 0 0 8px rgba(245, 182, 42, .15); }
.gi-step-icon .icon { width: 24px; height: 24px; }
.gi-steps h3 { color: #fff; font-size: 1.35rem; margin: 0 0 8px; }
.gi-steps p { margin: 0; color: rgba(255, 255, 255, .72); line-height: 1.65; }
.gi-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .14); }
.gi-stat-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.gi-stat-num .suffix { color: var(--sun-500); }
.gi-stat-label { margin-top: 8px; color: rgba(255, 255, 255, .72); font-weight: 600; }

.gi-join-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.gi-join-intro h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 16px 0 18px; }
.gi-channels { display: grid; gap: 12px; margin-top: 32px; }
.gi-channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.gi-channel:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(4px); }
.gi-channel strong { display: block; font-size: 1rem; }
.gi-channel small { color: var(--muted); font-size: .88rem; }
.gi-channel-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.gi-channel-icon.wa { background: #25d366; color: #fff; }
.gi-channel-icon .icon { width: 22px; height: 22px; }
.gi-channel-go { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }
.gi-join-form .card, .gi-join-form > * { box-shadow: var(--shadow-lg); }
.gi-faq { max-width: 860px; margin: 0 auto; }

@media (max-width: 1024px) {
  .gi-head, .gi-join-layout { grid-template-columns: 1fr; }
  .gi-tile-1 { grid-column: span 12; grid-row: span 1; min-height: 380px; }
  .gi-tile-2, .gi-tile-3 { grid-column: span 6; }
  .gi-tile-4, .gi-tile-5, .gi-tile-6 { grid-column: span 6; }
  .gi-steps { grid-template-columns: 1fr; }
  .gi-steps::before { display: none; }
  .gi-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gi-bento { grid-auto-rows: auto; }
  .gi-tile, .gi-tile-1, .gi-tile-2, .gi-tile-3, .gi-tile-4, .gi-tile-5, .gi-tile-6 { grid-column: span 12; min-height: 280px; }
  .gi-tile-1 { min-height: 360px; }
}

/* ---------- Inner page hero: let the photo show through ---------- */
.page-hero { min-height: clamp(420px, 56vh, 600px); display: flex; align-items: center; }
.page-hero > .container { width: 100%; }
.page-hero::before { background:
  linear-gradient(100deg, rgba(8, 30, 20, .88) 0%, rgba(8, 30, 20, .62) 38%, rgba(8, 30, 20, .18) 75%, rgba(8, 30, 20, .1) 100%),
  linear-gradient(0deg, rgba(8, 30, 20, .55) 0%, transparent 35%); }
.page-hero-media img { animation: hero-drift 22s ease-out both; transform-origin: 70% 40%; }
@keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .page-hero-media img { animation: none; } }
.page-hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.page-hero p.lead { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }

/* Projects without a photo: a data cover with the project's headline figure */
.data-cover { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 22px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1px, transparent 0) 0 0 / 18px 18px, linear-gradient(140deg, var(--green-800), #0b5a5a 70%, #0d6e8a); }
.data-cover::after { content: ""; position: absolute; width: 240px; height: 240px; right: -70px; top: -90px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); }
.data-cover-icon { position: absolute; right: 22px; top: 50%; transform: translateY(-62%); width: 96px !important; height: 96px !important; color: rgba(255, 255, 255, .18); }
.data-cover-stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--sun-500); }
.data-cover-stat span { display: block; margin-top: 6px; font-weight: 650; font-size: .92rem; color: rgba(255, 255, 255, .85); max-width: 22ch; }

/* Team: leadership as wide feature cards */
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.lead-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.lead-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lead-photo { position: relative; min-height: 340px; background: linear-gradient(160deg, var(--green-50), var(--blue-50)); }
.lead-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1s var(--ease); }
.lead-card:hover .lead-photo img { transform: scale(1.04); }
.lead-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4rem; font-weight: 800; color: var(--green-600); }
.lead-body { padding: clamp(24px, 2.8vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.lead-role { justify-self: start; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.lead-body h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0; }
.lead-body p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.lead-body .socials { display: flex; gap: 8px; margin-top: 6px; }
.lead-body .socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--green-700); }
@media (max-width: 1024px) { .lead-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lead-card { grid-template-columns: 1fr; } .lead-photo { min-height: 300px; } }

/* SDGs: an intro tile and a closing tile so the goals fill the grid */
.sdg-intro { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, var(--green-900), var(--green-800)); }
.sdg-intro::before { content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -120px; z-index: -1; border-radius: 50%;
  background: conic-gradient(#e5243b 0 6%, #dda63a 0 12%, #4c9f38 0 18%, #c5192d 0 24%, #ff3a21 0 30%, #26bde2 0 36%, #fcc30b 0 42%, #a21942 0 48%, #fd6925 0 54%, #dd1367 0 60%, #fd9d24 0 66%, #bf8b2e 0 72%, #3f7e44 0 78%, #0a97d9 0 84%, #56c02b 0 90%, #00689d 0 95%, #19486a 0);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); opacity: .9; }
.sdg-intro h2 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin: 0; line-height: 1.05; }
.sdg-intro-num { color: var(--sun-500); }
.sdg-intro p { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.sdg-outro { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; padding: 28px; border-radius: var(--radius-lg); border: 2px dashed var(--line); color: var(--ink); transition: border-color .3s, background .3s; }
.sdg-outro:hover { border-color: var(--green-500); background: var(--green-50); }
.sdg-outro-ring { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 10px;
  background: conic-gradient(#e5243b 0 6%, #dda63a 0 12%, #4c9f38 0 18%, #c5192d 0 24%, #ff3a21 0 30%, #26bde2 0 36%, #fcc30b 0 42%, #a21942 0 48%, #fd6925 0 54%, #dd1367 0 60%, #fd9d24 0 66%, #bf8b2e 0 72%, #3f7e44 0 78%, #0a97d9 0 84%, #56c02b 0 90%, #00689d 0 95%, #19486a 0);
  -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%); mask: radial-gradient(circle, transparent 50%, #000 51%); transition: transform 1s var(--ease); }
.sdg-outro:hover .sdg-outro-ring { transform: rotate(120deg); }
.sdg-outro strong { font-size: 1.15rem; }
.sdg-outro span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.sdg-outro .icon { width: 15px; height: 15px; }

/* In the media: outlet count and a slow ticker of outlet names */
.outlets-band { background: var(--green-900); color: #fff; padding: clamp(26px, 3.4vw, 40px) 0; position: relative; overflow: hidden; }
.outlets-band-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); }
.outlets-count { display: flex; align-items: center; gap: 16px; flex: none; }
.outlets-count strong { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: var(--sun-500); }
.outlets-count span { font-weight: 650; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.outlets-ticker { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.outlets-track { display: flex; width: max-content; animation: outlets-scroll 40s linear infinite; }
.outlets-track span { padding: 0 clamp(20px, 2.4vw, 34px); font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: .02em; color: rgba(255, 255, 255, .9); white-space: nowrap; position: relative; }
.outlets-track span::after { content: "•"; position: absolute; right: -4px; color: var(--green-300); }
.outlets-ticker:hover .outlets-track { animation-play-state: paused; }
@keyframes outlets-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .outlets-track { animation: none; flex-wrap: wrap; width: auto; } .outlets-track span[aria-hidden] { display: none; } }
@media (max-width: 760px) { .outlets-band-inner { flex-direction: column; align-items: flex-start; gap: 16px; } .outlets-ticker { width: 100%; } }

/* ---------- Videos ---------- */
.vid-section { padding-top: clamp(56px, 7vw, 100px); }
.vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--green-700); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .4s var(--ease), background .3s, color .3s; }
.vid-play .icon { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.vid-play-lg { width: clamp(76px, 7vw, 96px); height: clamp(76px, 7vw, 96px); }
.vid-play-lg .icon { width: 34px; height: 34px; }
.vid-play-lg::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: vid-pulse 2.4s ease-out infinite; }
@keyframes vid-pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vid-play-lg::before { animation: none; } }

.vid-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.vid-feature-player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-xl); overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow-lg); }
.vid-feature-player img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .9; }
.vid-feature-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .35)); }
.vid-feature-player:hover img { transform: scale(1.04); opacity: 1; }
.vid-feature-player:hover .vid-play { transform: translate(-50%, -50%) scale(1.08); background: var(--sun-500); color: var(--green-900); }
.vid-feature-player:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-lg); }
.vid-feature-player .vid-play { z-index: 1; }
.vid-feature-body h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; margin: 14px 0 14px; }
.vid-feature-body p { color: var(--ink-2); line-height: 1.7; margin: 0 0 20px; }
.vid-feature-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.vid-feature-meta span, .vid-feature-meta a { display: inline-flex; align-items: center; gap: 7px; }
.vid-feature-meta a { color: var(--green-700); }
.vid-feature-meta .icon { width: 16px; height: 16px; }

.vid-more-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: clamp(48px, 6vw, 72px) 0 clamp(18px, 2vw, 26px); }
.vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.vid-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }
.vid-card { display: flex; flex-direction: column; gap: 14px; }
.vid-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .8s var(--ease), opacity .3s; }
.vid-thumb:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.vid-thumb:hover img { transform: scale(1.05); opacity: 1; }
.vid-thumb:hover .vid-play { background: var(--sun-500); color: var(--green-900); transform: translate(-50%, -50%) scale(1.08); }
.vid-thumb:focus-visible { outline: none; box-shadow: var(--ring); }
.vid-meta { display: grid; gap: 6px; }
.vid-meta h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.vid-meta time { color: var(--muted); font-size: .85rem; font-weight: 600; }
.vid-project { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .74rem; font-weight: 750; }

.vid-channel { display: flex; align-items: center; gap: 22px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.vid-channel-icon { width: 60px; height: 60px; flex: none; border-radius: 18px; display: grid; place-items: center; background: #ff0033; color: #fff; }
.vid-channel-icon .icon { width: 28px; height: 28px; }
.vid-channel h3 { margin: 0 0 4px; font-size: 1.2rem; }
.vid-channel p { margin: 0; color: var(--muted); }
.vid-channel .btn { margin-left: auto; flex: none; }

.vid-home { background: var(--green-900); color: #fff; padding: clamp(64px, 8vw, 110px) 0; position: relative; overflow: hidden; isolation: isolate; }
.vid-home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 90% 20%, rgba(0, 173, 239, .22), transparent 40%), radial-gradient(circle at 0% 100%, rgba(52, 171, 75, .3), transparent 45%); }
.vid-home-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.vid-home h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 10px 0 16px; }
.vid-home p { color: rgba(255, 255, 255, .78); line-height: 1.7; }
.vid-home .kicker { color: var(--sun-500); }
.vid-home .link-arrow { color: var(--sun-500); }

.vid-modal { position: fixed; inset: 0; z-index: 140; display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 60px); background: rgba(4, 14, 9, .92); backdrop-filter: blur(6px); }
.vid-modal.is-open { display: flex; animation: vid-fade .3s ease; }
@keyframes vid-fade { from { opacity: 0; } }
.vid-modal-box { position: relative; width: min(1200px, 100%); }
.vid-modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.vid-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-modal-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.vid-modal-close:hover { background: rgba(255, 255, 255, .26); }

@media (max-width: 1024px) {
  .vid-feature, .vid-home-inner { grid-template-columns: 1fr; }
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vid-grid, .vid-grid-2 { grid-template-columns: 1fr; }
  .vid-channel { flex-direction: column; align-items: flex-start; }
  .vid-channel .btn { margin-left: 0; }
}
.vid-thumb video, .vid-feature-player video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vid-modal-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; display: none; }
.vid-modal.is-file .vid-modal-frame video { display: block; }
.vid-modal.is-file .vid-modal-frame iframe { display: none; }

/* Header brand: the logo opens the staff dashboard, the name goes home */
.brand-mark, .brand-name { display: flex; align-items: center; color: inherit; }
.brand-name:hover { color: inherit; }

/* Certificates: polaroid photos scattered on a blue band. Images are never cropped. */
.cert-band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0; color: #fff; background: radial-gradient(700px 400px at 100% 0%, rgba(255, 255, 255, .14), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(11, 42, 28, .25), transparent 70%), #18a7d6; }
.cert-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.cert-head h2 { color: #fff; margin-bottom: 12px; }
.cert-head p:not(.kicker) { color: rgba(255, 255, 255, .92); font-size: 1.08rem; margin: 0; }
.cert-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(26px, 3.4vw, 46px) clamp(20px, 3vw, 40px); }
.cert-pol { --rot: -3deg; position: relative; display: flex; flex-direction: column; background: #fff; padding: 12px 12px 0; box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .12); transform: rotate(var(--rot)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; color: var(--ink); max-width: 100%; }
.cert-pol:nth-child(7n+2) { --rot: 3deg; }
.cert-pol:nth-child(7n+3) { --rot: -1.5deg; }
.cert-pol:nth-child(7n+4) { --rot: 4deg; }
.cert-pol:nth-child(7n+5) { --rot: -4.5deg; }
.cert-pol:nth-child(7n+6) { --rot: 2deg; }
.cert-pol:nth-child(7n+7) { --rot: -2.5deg; }
.cert-pol:hover, .cert-pol:focus-visible { z-index: 2; color: var(--ink); transform: rotate(0deg) scale(1.06); box-shadow: 0 36px 60px -20px rgba(0, 0, 0, .55); }
.cert-pol img { display: block; height: 270px; width: auto; max-width: 100%; object-fit: contain; background: #f4f4f1; }
.cert-cap { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px 16px; width: 0; min-width: 100%; text-align: center; }
.cert-cap strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.15; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cert-cap small { font-size: .76rem; font-weight: 600; color: var(--muted); }
.cert-more { margin-top: clamp(40px, 5vw, 60px); text-align: center; }
@media (max-width: 720px) {
  .cert-wall { gap: 26px 16px; }
  .cert-pol { padding: 8px 8px 0; }
  .cert-pol img { height: 190px; }
  .cert-cap { padding: 8px 2px 12px; }
  .cert-cap strong { font-size: .9rem; }
}
@media (max-width: 420px) { .cert-pol img { height: 160px; } }

/* Official UN SDG icons */
.sdg-card .sdg-icon { width: 112px; height: 112px; flex: none; border-radius: 10px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 14px 26px -14px rgba(0, 0, 0, .5); position: relative; z-index: 1; }
.sdg-card .sdg-head { min-height: 160px; }
@media (max-width: 520px) { .sdg-card .sdg-icon { width: 92px; height: 92px; } }
