/* ==========================================================================
   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 { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--green-700); }
.share a:hover { background: var(--green-600); color: #fff; }
.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; }

/* 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; }

/* 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-text span { display: none; }
  .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; }
}
