/*
Theme Name: Africa Development Aid (ADA)
Theme URI: https://example.org/amani-ngo
Author: Your Organisation
Description: A humanitarian NGO theme built around a six-part structure: Home, Who we are, What we do (eight humanitarian sectors), Get involved, News and blogs, and an Information centre. Includes sectors, projects, people, field offices, partners and donors, vacancies, events, documents and a volunteer expression-of-interest form. Creates the full page structure and menu on activation.
Version: 2.8.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amani
Tags: custom-menu, custom-logo, featured-images, translation-ready, blog, education
*/

:root {
  --ink: #14241b;
  --primary: #357a52;
  --primary-deep: #1e4d34;
  --brand: #5ba479;
  --accent: #ffc20e;
  --accent-soft: #fff3c4;
  --earth: #2f6e4a;
  --mist: #eef6f1;
  --paper: #ffffff;
  --line: #d3e3d9;
  --muted: #52665a;
  --serif: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.85rem, 3vw, 2.35rem);
  --step-4: clamp(2.3rem, 5vw, 3.5rem);
}

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

body { margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 0.18em; }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 1000; background: var(--paper); padding: .75rem 1rem; clip: auto; width: auto; height: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 68ch; }
.prose p, .prose li { line-height: 1.75; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1rem; padding: .85rem 1.4rem; border-radius: 4px; text-decoration: none; background: var(--accent); color: #14241b; border: 2px solid var(--accent); cursor: pointer; }
.btn:hover { background: #ffd24d; border-color: #ffd24d; color: #14241b; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: inherit; border-color: currentColor; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: #fff; }
.btn--small { padding: .5rem .9rem; font-size: .92rem; }

/* Header */
.topbar { background: var(--primary-deep); color: #cfe3d6; font-size: var(--step--1); }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 1.5rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; max-width: 1320px; }
.topbar .wrap { max-width: 1320px; }
.site-branding { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.site-branding img { height: 58px; width: auto; max-height: none; }
.footer-logo { width: 120px; height: auto; margin-bottom: 1rem; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.site-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.1; display: block; }
.site-tagline { font-size: .8rem; line-height: 1.3; color: var(--muted); margin: 0; display: block; }
.site-title, .site-tagline { white-space: nowrap; }
@media (max-width: 420px) { .site-title { white-space: normal; } .site-tagline { display: none; } }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; white-space: nowrap; padding: .6rem .5rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav > ul > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current-menu-parent > a { color: var(--primary); box-shadow: inset 0 -3px 0 var(--accent); }
.main-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); flex-direction: column; align-items: stretch; padding: .4rem 0; box-shadow: 0 12px 24px rgba(20,36,27,.12); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--mist); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.search-toggle, .menu-toggle { background: none; border: 0; cursor: pointer; padding: .5rem; color: var(--ink); font: inherit; }
.menu-toggle { display: none; }
.header-search { display: none; background: var(--mist); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.header-search.is-open { display: block; }

.search-form { display: flex; gap: .5rem; max-width: 640px; }
.search-form input[type="search"] { flex: 1; padding: .8rem 1rem; border: 1px solid var(--line); font: inherit; border-radius: 4px; background: var(--paper); color: var(--ink); }
.search-form button { padding: .8rem 1.2rem; background: var(--primary); color: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer; border-radius: 4px; }

@media (max-width: 1200px) {
  .main-nav a { white-space: normal; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); max-height: 75vh; overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1rem; }
  .main-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 .5rem 1rem; }
  .header-actions .btn { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--primary-deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,77,52,.92) 0%, rgba(30,77,52,.6) 55%, rgba(30,77,52,.15) 100%); }
.hero .wrap { position: relative; padding-top: clamp(5rem, 11vw, 8.5rem); padding-bottom: clamp(4rem, 9vw, 6.5rem); }
.hero h1 { max-width: 17ch; color: #fff; margin-bottom: .45em; }
.hero p { font-size: var(--step-1); max-width: 48ch; color: #e4f0e8; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

.page-hero { background: var(--primary-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero .hero__media::after { background: rgba(30,77,52,.72); }
.page-hero .wrap { position: relative; padding-top: clamp(2.75rem, 7vw, 5rem); padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero h1 { color: #fff; max-width: 24ch; margin-bottom: .3em; }
.page-hero p { color: #d7e8dd; font-size: var(--step-1); max-width: 58ch; margin: 0; }
.breadcrumbs { font-size: var(--step--1); margin-bottom: 1rem; color: #b8d3c2; }
.breadcrumbs a { color: #fff; }

/* Sections */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section--mist { background: var(--mist); }
.section--primary { background: var(--primary); color: #fff; }
.section--primary h2, .section--primary h3 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section__head h2 { margin: 0; max-width: 26ch; }
.section__head p { margin: .6rem 0 0; color: var(--muted); max-width: 58ch; }
.section--primary .section__head p { color: #d7e8dd; }
.section__link { font-weight: 700; white-space: nowrap; }

/* Intro + section summaries */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split__lead { font-family: var(--serif); font-size: var(--step-2); line-height: 1.38; color: var(--primary-deep); margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.signposts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 3rem; }
.signpost { display: block; padding: 1.5rem 1.25rem 1.5rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.signpost h3 { font-size: var(--step-1); margin-bottom: .35rem; color: var(--primary); }
.signpost p { margin: 0; color: var(--muted); font-size: .97rem; }
.signpost:hover h3 { text-decoration: underline; }

/* Impact numbers (signature band) */
.impact { background: var(--primary-deep); color: #fff; }
.impact .wrap { padding-top: clamp(3rem, 7vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 4.5rem); }
.impact h2 { color: #fff; margin-bottom: 2rem; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact__item { padding: 0 1.5rem; border-left: 4px solid var(--brand); }
.impact__item strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--accent); font-weight: 700; margin-bottom: .5rem; font-variant-numeric: lining-nums tabular-nums; }
.impact__item span { color: #d7e8dd; display: block; max-width: 22ch; }
.impact__note { margin-top: 2rem; font-size: var(--step--1); color: #a9c8b5; }
@media (max-width: 860px) { .impact__grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 460px) { .impact__grid { grid-template-columns: 1fr; } }

/* Sector tiles */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector-tile { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem 1.5rem; background: var(--paper); color: var(--ink); text-decoration: none; min-height: 210px; }
.sector-tile__icon { width: 44px; height: 44px; color: var(--brand); }
.sector-tile h3 { font-size: var(--step-1); margin: .25rem 0 0; }
.sector-tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.sector-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.sector-tile:hover::after, .sector-tile:focus-visible::after { transform: scaleX(1); }
.sector-tile:hover h3 { color: var(--primary); }
@media (max-width: 960px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } .sector-tile { min-height: 0; } }

/* Director's message */
.director { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.director__photo { aspect-ratio: 4 / 5; background: var(--mist); overflow: hidden; border-radius: 4px; }
.director__photo img, .director__photo svg { width: 100%; height: 100%; object-fit: cover; }
.director blockquote { margin: 0; font-family: var(--serif); font-size: var(--step-1); line-height: 1.55; color: var(--ink); }
.director blockquote p { margin-bottom: 1em; }
.director cite { display: block; font-style: normal; margin-top: 1.25rem; }
.director cite strong { display: block; font-size: 1.05rem; }
.director cite span { color: var(--muted); }
@media (max-width: 760px) { .director { grid-template-columns: 1fr; } .director__photo { max-width: 260px; } }

/* Logos */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.logo-wall > * { border: 1px solid var(--line); border-radius: 8px; }
.logo-wall a, .logo-wall div.logo { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 1.25rem; background: #fff; text-decoration: none; color: var(--muted); text-align: center; font-weight: 600; }
.logo-wall img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .2s; }
.logo-wall a:hover img { transform: scale(1.04); }

/* Cards */
.grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--paper); color: inherit; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); border-radius: 4px; }
.card__media img, .card__media svg { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.1rem 0 0; flex: 1; display: flex; flex-direction: column; }
.card__meta { font-size: var(--step--1); color: var(--muted); margin-bottom: .45rem; }
.card__meta a { color: var(--earth); font-weight: 700; text-decoration: none; }
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--primary); text-decoration: underline; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.section--mist .card { background: transparent; }

/* People */
.person .card__media { aspect-ratio: 4 / 5; }
.person__role { color: var(--earth); font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.person__bio { color: var(--muted); font-size: .95rem; }

/* Two-column page with section nav */
.page-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.page-layout--full { grid-template-columns: minmax(0, 1fr); }
.page-layout--aside { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 960px) { .page-layout, .page-layout--aside { grid-template-columns: 1fr; } }
.subnav { align-self: start; position: sticky; top: 100px; }
.subnav h2 { font-size: var(--step-0); font-family: var(--sans); font-weight: 700; color: var(--muted); margin-bottom: .75rem; }
.subnav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.subnav a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; }
.subnav a:hover { color: var(--primary); }
.subnav .is-current a, .subnav .current_page_item > a { border-left-color: var(--brand); color: var(--primary); font-weight: 700; }
@media (max-width: 960px) { .subnav { position: static; } .subnav ul { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; } .subnav a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; margin: 0; } .subnav .is-current a, .subnav .current_page_item > a { background: var(--primary); color: #fff; border-color: var(--primary); } }

.entry-content > * { max-width: 70ch; }
.entry-content > .alignwide, .entry-content > .wp-block-gallery, .entry-content > .wp-block-embed, .entry-content > .wp-block-columns, .entry-content > .wp-block-table { max-width: 100%; }
.entry-content > .alignfull { max-width: none; }
.entry-content blockquote { border-left: 4px solid var(--accent); margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; font-family: var(--serif); font-size: var(--step-1); }
.entry-content img { border-radius: 4px; }
.entry-meta { color: var(--muted); font-size: var(--step--1); margin-bottom: 1.5rem; }
.wp-caption-text, figcaption { font-size: var(--step--1); color: var(--muted); }
.block-title { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.block-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Sector page */
.needs { background: var(--accent-soft); border-left: 6px solid var(--accent); padding: 1.75rem 2rem; border-radius: 0 4px 4px 0; max-width: 70ch; color: #14241b; }
.needs h2 { font-size: var(--step-2); color: #14241b; }
.needs p:last-child { margin-bottom: 0; }
.project-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.project-list li { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.project-list h3 { font-size: var(--step-1); margin: 0; }
.project-list h3 a { color: var(--ink); text-decoration: none; }
.project-list h3 a:hover { color: var(--primary); text-decoration: underline; }
.project-list p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .97rem; }
.project-meta { display: flex; gap: .4rem 1.25rem; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); grid-column: 1 / -1; }
.project-meta b { color: var(--ink); font-weight: 600; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: #dcefe3; color: #1d5a35; align-self: start; }
.status--past { background: var(--mist); color: var(--muted); }
.status--closed { background: #f3dcd3; color: #7a2e12; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.media-grid figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--mist); position: relative; }
.media-grid img, .media-grid svg { width: 100%; height: 100%; object-fit: cover; }
.video-embed { position: relative; max-width: 900px; aspect-ratio: 16 / 9; background: #0e1c14; border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fact box */
.fact-box { background: var(--mist); padding: 1.5rem; border-top: 4px solid var(--primary); border-radius: 0 0 4px 4px; }
.fact-box dl { margin: 0; }
.fact-box dt { font-size: var(--step--1); color: var(--muted); }
.fact-box dd { margin: 0 0 1rem; font-weight: 600; }
.fact-box dd:last-child { margin-bottom: 0; }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.office { border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: 4px; padding: 1.5rem; background: var(--paper); }
.office h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.office__region { color: var(--earth); font-weight: 700; font-size: .92rem; margin-bottom: .9rem; }
.office dl { margin: 0; font-size: .95rem; }
.office dt { color: var(--muted); font-size: var(--step--1); }
.office dd { margin: 0 0 .7rem; }
.office-map { margin-bottom: 2.5rem; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.office-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Listings: vacancies, events */
.listing { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.listing > li { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.listing h3 { font-size: var(--step-1); margin: 0 0 .35rem; }
.listing h3 a { color: var(--ink); text-decoration: none; }
.listing h3 a:hover { color: var(--primary); text-decoration: underline; }
.listing p { margin: .35rem 0 0; color: var(--muted); font-size: .97rem; }
.listing--plain > li { grid-template-columns: 1fr auto; }
.date-block { width: 74px; text-align: center; background: var(--primary); color: #fff; border-radius: 4px; padding: .55rem .25rem; line-height: 1.1; }
.date-block strong { display: block; font-family: var(--serif); font-size: 1.8rem; }
.date-block span { font-size: .8rem; }
.date-block--past { background: var(--mist); color: var(--muted); }
@media (max-width: 640px) { .listing > li, .listing--plain > li { grid-template-columns: 1fr; gap: .75rem; } }

/* Documents table */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-bar a { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.filter-bar a.is-active, .filter-bar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.table-wrap { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.doc-table th { text-align: left; font-size: var(--step--1); color: var(--muted); font-weight: 600; padding: .75rem 1rem .75rem 0; border-bottom: 2px solid var(--ink); }
.doc-table td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table td:last-child, .doc-table th:last-child { text-align: right; padding-right: 0; }
.doc-title { font-weight: 600; }
.doc-type { font-size: var(--step--1); color: var(--earth); font-weight: 700; }
.doc-featured { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.doc-card { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--ink); background: var(--paper); }
.doc-card:hover { border-color: var(--primary); }
.doc-card svg { flex: none; width: 36px; height: 44px; color: var(--primary); }
.doc-card strong { display: block; }
.doc-card span { font-size: var(--step--1); color: var(--muted); }

/* Forms */
.form { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .4rem; }
.field .hint { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid #a9bdb0; border-radius: 4px; font: inherit; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .4rem 1rem; }
.checks label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; margin: 0; }
.checks input { margin-top: .35rem; }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-radius: 4px; margin-bottom: 1.5rem; max-width: 720px; }
.notice--success { background: #dcefe3; color: #1d5a35; border-left: 4px solid #2e7d4f; }
.notice--error { background: #f3dcd3; color: #7a2e12; border-left: 4px solid #b5502a; }

/* CTA band */
.cta-band { background: var(--accent); color: #14241b; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-top: 2.75rem; padding-bottom: 2.75rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 28ch; color: #14241b; }
.cta-band .btn { background: #14241b; border-color: #14241b; color: #fff; }
.cta-band .btn:hover { background: var(--primary-deep); border-color: var(--primary-deep); }

.sidebar .widget { margin-bottom: 2.5rem; }
.sidebar .widget-title { font-size: var(--step-1); border-bottom: 2px solid var(--ink); padding-bottom: .5rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: .5rem 0; border-bottom: 1px solid var(--line); }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .55rem .9rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 4px; }
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-state { padding: 2.5rem; background: var(--mist); border-radius: 4px; color: var(--muted); }

/* Footer */
.site-footer { background: #10251a; color: #b9cdc0; padding-top: 4rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2.25rem; padding-bottom: 3rem; }
.footer-grid h4 { color: #fff; font-size: var(--step-0); font-family: var(--sans); font-weight: 700; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-brand .site-title { color: #fff; margin-bottom: .75rem; }
.footer-brand p { max-width: 34ch; }
.social-links { display: flex; gap: .5rem; margin: .5rem 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.social-links li { margin: 0; }
.social-links a { display: inline-block; padding: .4rem .85rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: .88rem; font-weight: 600; }
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #14241b; }
.follow-label { margin: 1.25rem 0 0; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.topbar .wrap { align-items: center; }
.topbar-social { display: flex; gap: 1rem; list-style: none; margin: 0 auto 0 0; padding: 0; flex-wrap: wrap; }
.topbar-social a { opacity: .9; }
.topbar-social a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 640px) { .topbar-social { display: none; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0; font-size: var(--step--1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* =========================================================
   v1.1: page-specific designs
   ========================================================= */

.eyebrow { display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--earth); margin-bottom: .75rem; }
.section--primary .eyebrow, .impact .eyebrow, .home-hero .eyebrow, .appeal .eyebrow, .story .eyebrow { color: var(--accent); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }

/* ---------- Home hero ---------- */
.home-hero { position: relative; color: #fff; background: var(--primary-deep); overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.home-hero__media { position: absolute; inset: 0; }
.home-hero__media img, .home-hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.home-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,22,.78) 0%, rgba(13,31,22,.35) 55%, rgba(13,31,22,0) 100%), linear-gradient(180deg, rgba(13,31,22,.1) 0%, rgba(13,31,22,.4) 50%, rgba(13,31,22,.92) 100%); }
.home-hero .wrap { position: relative; width: 100%; padding-top: 7rem; padding-bottom: 3rem; }
.home-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); max-width: 16ch; color: #fff; margin-bottom: .4em; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.home-hero p { font-size: var(--step-1); max-width: 46ch; color: #e4f0e8; }
.home-hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-stats { position: relative; margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-stats div { padding: 1.25rem 1.5rem; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .92rem; color: #d7e8dd; }
@media (max-width: 760px) { .hero-stats { grid-template-columns: 1fr 1fr; } .hero-stats div:nth-child(3) { border-left: 0; } .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); } }

/* ---------- Appeal ---------- */
.appeal { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--primary-deep); color: #fff; border-radius: 10px; overflow: hidden; }
.appeal__media { position: relative; min-height: 340px; }
.appeal__media img, .appeal__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.appeal__tag { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: #14241b; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 4px; }
.appeal__body { padding: clamp(1.75rem, 4vw, 3rem); }
.appeal h2 { color: #fff; }
.appeal p { color: #d7e8dd; }
.progress { height: 12px; background: rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; margin: 1.5rem 0 .6rem; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.progress--light { background: var(--mist); }
.progress--light span { background: var(--primary); }
.progress-meta { display: flex; justify-content: space-between; font-size: .92rem; color: #d7e8dd; margin-bottom: 1.5rem; }
.progress-meta strong { color: #fff; font-size: 1.1rem; }
@media (max-width: 860px) { .appeal { grid-template-columns: 1fr; } .appeal__media { min-height: 220px; } }

/* ---------- Image sector cards (home) ---------- */
.sector-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sector-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: 8px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.sector-card__media { position: absolute; inset: 0; z-index: -2; transition: transform .5s ease; }
.sector-card__media img, .sector-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.sector-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(13,31,22,.88) 100%); }
.sector-card__body { padding: 1.25rem; }
.sector-card__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sector, var(--accent)); color: #fff; margin-bottom: .75rem; }
.sector-card__icon svg { width: 24px; height: 24px; color: #fff; }
.sector-card h3 { color: #fff; font-size: var(--step-1); margin: 0 0 .3rem; }
.sector-card p { margin: 0; font-size: .9rem; color: #ddebe2; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
.sector-card:hover .sector-card__media, .sector-card:focus-visible .sector-card__media { transform: scale(1.06); }
.sector-card:hover p, .sector-card:focus-visible p { max-height: 6em; opacity: 1; }
.sector-card:hover, .sector-card:focus-visible { color: #fff; }
@media (max-width: 960px) { .sector-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector-cards { grid-template-columns: 1fr; } .sector-card { min-height: 220px; } .sector-card p { max-height: none; opacity: 1; } }
@media (hover: none) { .sector-card p { max-height: none; opacity: 1; } }

/* ---------- Story / testimonial ---------- */
.story { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.story__media { position: absolute; inset: 0; }
.story__media img, .story__media svg { width: 100%; height: 100%; object-fit: cover; }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,22,.94) 0%, rgba(13,31,22,.78) 50%, rgba(13,31,22,.25) 100%); }
.story .wrap { position: relative; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.story blockquote { margin: 0; max-width: 30ch; font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; }
.story blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--accent); }
.story cite { display: block; font-style: normal; margin-top: 1.5rem; color: #d7e8dd; }
.story cite strong { color: #fff; display: block; font-family: var(--sans); font-size: 1.05rem; }

/* ---------- Get involved trio ---------- */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.involve a { display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.75rem; border-radius: 8px; text-decoration: none; min-height: 230px; transition: transform .2s ease; }
.involve a:hover { transform: translateY(-4px); }
.involve h3 { font-size: var(--step-2); margin: 0; }
.involve p { margin: 0; flex: 1; }
.involve .arrow { font-weight: 700; }
.involve a:nth-child(1) { background: var(--primary); color: #fff; }
.involve a:nth-child(1) h3 { color: #fff; }
.involve a:nth-child(2) { background: var(--accent); color: #14241b; }
.involve a:nth-child(2) h3 { color: #14241b; }
.involve a:nth-child(3) { background: var(--primary-deep); color: #fff; }
.involve a:nth-child(3) h3 { color: #fff; }
@media (max-width: 860px) { .involve { grid-template-columns: 1fr; } .involve a { min-height: 0; } }

/* ---------- Donor marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; display: flex; align-items: center; justify-content: center; width: 230px; height: 120px; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-weight: 600; text-align: center; }
.marquee__item img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.marquee__item { color: #52665a; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { mask-image: none; -webkit-mask-image: none; } .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee__item[aria-hidden="true"] { display: none; } }

/* ---------- Featured news layout ---------- */
.news-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.news-feature__main .card__media { aspect-ratio: 16 / 10; }
.news-feature__main h3 { font-size: var(--step-2); }
.news-feature__side { display: grid; gap: 1.5rem; align-content: start; }
.card--row { flex-direction: row; gap: 1rem; }
.card--row .card__media { width: 40%; flex: none; aspect-ratio: 4 / 3; }
.card--row .card__body { padding: 0; }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } }

/* ---------- Director (home) ---------- */
.director--card { background: var(--paper); border-radius: 10px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 20px 50px rgba(20,36,27,.08); grid-template-columns: 260px 1fr; }
.signature { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 2rem; color: var(--primary); margin-top: 1rem; }

/* ---------- Zig-zag sector list (What we do) ---------- */
.zigzag { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zig:nth-child(even) .zig__media { order: 2; }
.zig__media { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.zig__media img, .zig__media svg { width: 100%; height: 100%; object-fit: cover; }
.zig__num { position: absolute; top: 1rem; left: 1rem; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sector, var(--accent)); color: #fff; }
.zig__num svg { width: 28px; height: 28px; }
.zig h2 { margin-bottom: .4rem; }
.zig__stat { font-family: var(--serif); font-size: var(--step-1); color: var(--sector, var(--primary)); margin-bottom: 1rem; }
.zig__links { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.25rem; }
.chip { display: inline-block; font-size: .82rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--mist); color: var(--ink); }
@media (max-width: 860px) { .zig { grid-template-columns: 1fr; } .zig:nth-child(even) .zig__media { order: 0; } }
.sector-jump { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: -1.5rem; margin-bottom: 3rem; }

/* ---------- Sector page ---------- */
.sector-hero { position: relative; color: #fff; overflow: hidden; background: var(--sector, var(--primary-deep)); }
.sector-hero__media { position: absolute; inset: 0; }
.sector-hero__media img, .sector-hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.sector-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,31,22,.9) 0%, rgba(13,31,22,.55) 60%, rgba(13,31,22,.2) 100%); }
.sector-hero .wrap { position: relative; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.sector-hero h1 { color: #fff; max-width: 18ch; }
.sector-hero p { color: #ddebe2; font-size: var(--step-1); max-width: 52ch; }
.sector-hero__badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--sector, var(--accent)); color: #fff; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 1.25rem; }
.sector-hero__badge svg { width: 26px; height: 26px; background: rgba(255,255,255,.2); border-radius: 50%; padding: 3px; }
.statbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.statbar .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.statbar div { padding: 1.5rem 1.25rem; border-left: 1px solid var(--line); }
.statbar div:first-child { border-left: 0; padding-left: 0; }
.statbar strong { display: block; font-family: var(--serif); font-size: var(--step-3); color: var(--sector, var(--primary)); line-height: 1.1; }
.statbar span { color: var(--muted); font-size: .92rem; }
.needs-response { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.needs-response > div { padding: clamp(1.5rem, 4vw, 2.5rem); }
.needs-response__needs { background: var(--accent-soft); color: #14241b; }
.needs-response__needs h2 { color: #14241b; }
.needs-response__resp { background: var(--paper); }
.needs-response h2 { font-size: var(--step-2); }
@media (max-width: 860px) { .needs-response { grid-template-columns: 1fr; } }

/* Project cards (current projects) */
.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.project-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); transition: box-shadow .2s ease, transform .2s ease; }
.project-card:hover { box-shadow: 0 16px 40px rgba(20,36,27,.12); transform: translateY(-3px); }
.project-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--mist); }
.project-card__media img, .project-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.project-card__media .status { position: absolute; top: .8rem; left: .8rem; }
.project-card__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.project-card h3 a { color: var(--ink); text-decoration: none; }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; }
.project-card { position: relative; }
.project-card p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.project-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; font-size: .88rem; margin: 0 0 1rem; }
.project-card__facts dt { color: var(--muted); font-size: .78rem; }
.project-card__facts dd { margin: 0; font-weight: 600; }
.project-card__more { margin-top: auto; font-weight: 700; color: var(--primary); }
.timeline-list { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--line); }
.timeline-list li { position: relative; padding: 0 0 1.75rem; }
.timeline-list li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--muted); }
.timeline-list h3 { font-size: var(--step-1); margin: 0 0 .25rem; }
.timeline-list h3 a { color: var(--ink); text-decoration: none; }
.timeline-list h3 a:hover { text-decoration: underline; color: var(--primary); }
.timeline-list .when { font-size: .85rem; font-weight: 700; color: var(--earth); }
.timeline-list p { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: .75rem; }
.gallery-grid a, .gallery-grid figure { margin: 0; border-radius: 8px; overflow: hidden; display: block; background: var(--mist); position: relative; }
.gallery-grid a:first-child, .gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid img, .gallery-grid svg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img, .gallery-grid a:hover svg { transform: scale(1.05); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,18,12,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img, .lightbox svg { max-width: min(1100px, 100%); max-height: 85vh; width: auto; height: auto; border-radius: 6px; }
.lightbox svg { width: min(1100px, 100%); height: auto; }
.lightbox button { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; background: #fff; color: #14241b; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }

/* ---------- Project detail ---------- */
.project-hero { position: relative; color: #fff; background: var(--primary-deep); overflow: hidden; }
.project-hero__media { position: absolute; inset: 0; }
.project-hero__media img, .project-hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.project-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,22,.35), rgba(13,31,22,.9)); }
.project-hero .wrap { position: relative; padding-top: clamp(4rem, 10vw, 7rem); padding-bottom: 2.5rem; }
.project-hero h1 { color: #fff; max-width: 22ch; }
.project-hero p { color: #ddebe2; font-size: var(--step-1); max-width: 56ch; }
.project-hero .chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.project-hero .chip { background: rgba(255,255,255,.15); color: #fff; }
.keyfacts { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border-radius: 10px; box-shadow: 0 16px 40px rgba(20,36,27,.12); margin-top: -2.5rem; position: relative; z-index: 2; }
.keyfacts div { padding: 1.25rem 1.25rem; border-left: 1px solid var(--line); }
.keyfacts div:first-child { border-left: 0; }
.keyfacts dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.keyfacts dd { margin: .25rem 0 0; font-weight: 700; font-size: 1.02rem; }
@media (max-width: 960px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div { border-left: 0; border-top: 1px solid var(--line); } .keyfacts div:nth-child(-n+2) { border-top: 0; } }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2.5rem, 6vw, 4rem) 0; }
@media (max-width: 960px) { .project-layout { grid-template-columns: 1fr; } }
.project-layout h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.project-layout h2:first-child { margin-top: 0; }
.objectives { list-style: none; margin: 0; padding: 0; counter-reset: obj; display: grid; gap: .75rem; }
.objectives li { counter-increment: obj; display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; padding: 1rem 1.25rem; background: var(--mist); border-radius: 8px; }
.objectives li::before { content: counter(obj); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; }
.activities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.activities li { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 8px; }
.activities li::before { content: "✓"; color: #2e7d4f; font-weight: 700; }
.indicators { display: grid; gap: 1.25rem; }
.indicator__top { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; margin-bottom: .35rem; }
.indicator__top b { white-space: nowrap; }
.indicator .progress { margin: 0; height: 10px; }
.side-card { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; background: var(--paper); }
.side-card h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 700; margin-bottom: .9rem; }
.side-card .progress { margin: .5rem 0; }
.side-card p { font-size: .95rem; color: var(--muted); }
.contact-person { display: flex; gap: .9rem; align-items: center; }
.contact-person .avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex: none; background: var(--primary); }
.contact-person .avatar svg, .contact-person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: .5rem 0 .75rem; }
.split-bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35rem; }

/* ---------- About ---------- */
.mvv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.mvv > div { padding: 2rem; border-radius: 10px; }
.mvv > div:nth-child(1) { background: var(--primary); color: #fff; }
.mvv > div:nth-child(1) h3 { color: #fff; }
.mvv > div:nth-child(2) { background: var(--accent-soft); color: #14241b; }
.mvv > div:nth-child(2) h3 { color: #14241b; }
.mvv p { margin: 0; font-family: var(--serif); font-size: var(--step-1); line-height: 1.45; }
@media (max-width: 760px) { .mvv { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.values div { padding: 1.5rem; border-top: 4px solid var(--brand); background: var(--mist); border-radius: 0 0 8px 8px; }
.values h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.values p { margin: 0; color: var(--muted); font-size: .95rem; }
.milestones { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1.5rem; overflow-x: auto; padding: 2.25rem 0 1rem; scroll-snap-type: x mandatory; }
.milestones::before { content: ""; position: absolute; left: 0; right: 0; top: 2.85rem; height: 2px; background: var(--line); }
.milestones div { position: relative; scroll-snap-align: start; padding-top: 1.75rem; }
.milestones div::before { content: ""; position: absolute; top: .25rem; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--accent); }
.milestones strong { display: block; font-family: var(--serif); font-size: var(--step-2); color: var(--primary); }
.milestones p { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Leadership ---------- */
.board-chair { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: center; padding: 2rem; background: var(--mist); border-radius: 10px; margin-bottom: 3rem; }
.board-chair .card__media { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; }
.board-chair .card__media img, .board-chair .card__media svg { width: 100%; height: 100%; object-fit: cover; }
.board-chair blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: var(--step-1); }
@media (max-width: 760px) { .board-chair { grid-template-columns: 1fr; } .board-chair .card__media { max-width: 240px; } }
.person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2rem 1.5rem; }
.person-round { text-align: center; }
.person-round .card__media { width: 160px; height: 160px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--brand); }
.person-round .card__media img, .person-round .card__media svg { width: 100%; height: 100%; object-fit: cover; }
.person-round h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.person-round .person__role { margin-bottom: .5rem; }
.person-round p { color: var(--muted); font-size: .93rem; }

/* ---------- Management ---------- */
.ed-feature { display: grid; grid-template-columns: 1fr 1.3fr; border-radius: 10px; overflow: hidden; background: var(--primary-deep); color: #fff; margin-bottom: 3rem; }
.ed-feature__media { min-height: 380px; position: relative; }
.ed-feature__media img, .ed-feature__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-feature__body { padding: clamp(1.75rem, 4vw, 3rem); align-self: center; }
.ed-feature h2 { color: #fff; margin-bottom: .2rem; }
.ed-feature .person__role { color: var(--accent); }
.ed-feature p { color: #d7e8dd; }
@media (max-width: 760px) { .ed-feature { grid-template-columns: 1fr; } .ed-feature__media { min-height: 280px; } }
.mgmt-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.mgmt-card .card__media { border-radius: 0; aspect-ratio: 1; }
.mgmt-card .card__body { padding: 1.25rem; }
.mgmt-card details summary { cursor: pointer; font-weight: 700; color: var(--primary); list-style: none; }
.mgmt-card details summary::-webkit-details-marker { display: none; }
.mgmt-card details summary::after { content: " +"; }
.mgmt-card details[open] summary::after { content: " –"; }
.mgmt-card details p { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Field offices ---------- */
.office-map-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.office-map-svg { background: var(--mist); border-radius: 10px; overflow: hidden; position: relative; }
.office-map-svg svg { width: 100%; height: auto; display: block; }
.map-pin { cursor: pointer; }
.map-pin circle.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
.map-pin.is-active .pin-dot { fill: #1e4d34; }
.office-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.office-list button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.office-list button small { color: var(--muted); }
.office-list button[aria-pressed="true"] { border-color: var(--primary); box-shadow: inset 4px 0 0 var(--primary); }
.office-detail { margin-top: 1rem; }
@media (max-width: 860px) { .office-map-wrap { grid-template-columns: 1fr; } }
.office { position: relative; }
.office__head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.office__pin { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.office__pin svg { width: 20px; height: 20px; }
.office__head h3 { margin: 0; }
.office .office__region { margin: 0; }
.tagrow { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }

/* ---------- Get involved landing ---------- */
.gi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.gi-card { position: relative; min-height: 320px; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; }
.gi-card__media { position: absolute; inset: 0; z-index: -2; transition: transform .5s ease; }
.gi-card__media img, .gi-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.gi-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,31,22,.05), rgba(13,31,22,.9)); }
.gi-card__body { padding: 1.75rem; }
.gi-card h2 { color: #fff; margin-bottom: .3rem; }
.gi-card p { color: #ddebe2; margin: 0 0 1rem; }
.gi-card .btn { pointer-events: none; }
.gi-card:hover .gi-card__media { transform: scale(1.05); }
.gi-card:hover { color: #fff; }
@media (max-width: 760px) { .gi-grid { grid-template-columns: 1fr; } .gi-card { min-height: 240px; } }

/* ---------- Partner ---------- */
.ways { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.way { padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.way__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem; }
.way__icon svg { width: 28px; height: 28px; }
.way h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.way p { margin: 0; color: var(--muted); font-size: .95rem; }
.quote-card { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; padding: 2rem; background: var(--primary); color: #fff; border-radius: 10px; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: var(--step-1); }
.quote-card cite { display: block; font-style: normal; margin-top: .75rem; color: #d7e8dd; font-size: .95rem; }
.quote-card__mark { font-family: var(--serif); font-size: 5rem; line-height: .7; color: var(--accent); }

/* ---------- Volunteer ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 1.5rem 1.25rem; background: var(--mist); border-radius: 10px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #14241b; font-weight: 700; margin-bottom: .75rem; }
.steps h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.form-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 16px 40px rgba(20,36,27,.06); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }
@media (max-width: 960px) { .form-panel { grid-template-columns: 1fr; } }

/* ---------- Vacancies ---------- */
.job-tools { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: center; }
.job-tools select, .doc-search input { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--paper); color: var(--ink); }
.job-cards { display: grid; gap: 1rem; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: 10px; background: var(--paper); }
.job-card h3 { margin: 0 0 .4rem; font-size: var(--step-1); }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a:hover { text-decoration: underline; color: var(--primary); }
.job-card p { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; }
.job-card__side { text-align: right; display: grid; gap: .6rem; justify-items: end; }
.deadline { font-size: .82rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: var(--mist); color: var(--ink); white-space: nowrap; }
.deadline--soon { background: #fbe0d6; color: #8a2f13; }
@media (max-width: 640px) { .job-card { grid-template-columns: 1fr; } .job-card__side { text-align: left; justify-items: start; } }
.perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 3rem; }
.perks div { padding: 1.25rem; border-radius: 8px; background: var(--mist); }
.perks strong { display: block; margin-bottom: .25rem; }
.perks span { color: var(--muted); font-size: .93rem; }

/* ---------- Events ---------- */
.event-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 10px; overflow: hidden; background: var(--accent); color: #14241b; margin-bottom: 3rem; }
.event-feature__media { position: relative; min-height: 300px; }
.event-feature__media img, .event-feature__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-feature__body { padding: clamp(1.75rem, 4vw, 2.75rem); }
.event-feature h2 { color: #14241b; }
.event-feature .eyebrow { color: #14241b; }
.event-feature .btn { background: #14241b; border-color: #14241b; color: #fff; }
.countdown { display: flex; gap: .75rem; margin: 1.25rem 0 1.5rem; }
.countdown div { background: rgba(20,36,27,.1); border-radius: 8px; padding: .6rem .8rem; text-align: center; min-width: 70px; }
.countdown strong { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.countdown span { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 760px) { .event-feature { grid-template-columns: 1fr; } .event-feature__media { min-height: 200px; } }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.event-card h3 { font-size: var(--step-1); margin: 0 0 .3rem; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card p { margin: .35rem 0 0; color: var(--muted); font-size: .93rem; }

/* ---------- News ---------- */
.news-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.news-lead .card__media { aspect-ratio: 16 / 10; border-radius: 10px; }
.news-lead h2 { font-size: var(--step-3); }
.news-lead h2 a { color: var(--ink); text-decoration: none; }
.news-lead h2 a:hover { color: var(--primary); }
@media (max-width: 860px) { .news-lead { grid-template-columns: 1fr; } }
.article-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.article-hero h1 { max-width: 24ch; }
.article-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: .95rem; margin-bottom: 2rem; flex-wrap: wrap; }
.article-image { border-radius: 10px; overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: 2.5rem; }
.article-image img, .article-image svg { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 70ch; margin: 0 auto; font-size: 1.12rem; }
.article-body p { line-height: 1.8; }
.share { display: flex; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }

/* ---------- Information centre ---------- */
.report-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.75rem; margin-bottom: 3.5rem; }
.report { text-decoration: none; color: var(--ink); }
.report__cover { aspect-ratio: 3 / 4; border-radius: 4px 10px 10px 4px; overflow: hidden; position: relative; box-shadow: 0 14px 30px rgba(20,36,27,.18), inset 6px 0 0 rgba(0,0,0,.15); transition: transform .25s ease; display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem 1.1rem; color: #fff; }
.report__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.report:hover .report__cover { transform: translateY(-6px) rotate(-1deg); }
.report__cover small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; position: relative; }
.report__cover strong { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; position: relative; }
.report__cover em { font-style: normal; font-family: var(--serif); font-size: 2.6rem; color: var(--accent); position: relative; line-height: 1; }
.report__meta { margin-top: .75rem; font-size: .9rem; }
.report__meta span { color: var(--muted); display: block; font-size: .85rem; }
.doc-search { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.doc-search input { min-width: min(320px, 100%); }
.doc-search .filter-bar { margin: 0; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.info-cards a { padding: 1.5rem; border-radius: 10px; background: var(--mist); text-decoration: none; color: var(--ink); display: flex; gap: 1rem; align-items: center; }
.info-cards a:hover { background: var(--accent-soft); }
.info-cards svg { width: 36px; height: 44px; color: var(--primary); flex: none; }
.info-cards strong { display: block; }
.info-cards span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; } }

/* Who we are landing */
.who-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: 4rem; }
.who-intro__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.who-intro__media img, .who-intro__media svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .who-intro { grid-template-columns: 1fr; } }
.tile-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile-links a { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .2s, transform .2s; }
.tile-links a:hover { border-color: var(--primary); transform: translateY(-3px); }
.tile-links h3 { font-size: var(--step-1); margin: 0; color: var(--primary); }
.tile-links p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.tile-links .arrow { font-weight: 700; color: var(--primary); }
@media (max-width: 960px) { .tile-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tile-links { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.page-hero--light { background: var(--mist); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero--light h1 { color: var(--ink); }
.page-hero--light p { color: var(--muted); }
.page-hero--light .breadcrumbs, .page-hero--light .breadcrumbs a { color: var(--muted); }
.page-hero--light .breadcrumbs a { color: var(--primary); }
.page-hero--accent { background: var(--accent); color: #14241b; }
.page-hero--accent h1, .page-hero--accent p, .page-hero--accent .breadcrumbs, .page-hero--accent .breadcrumbs a { color: #14241b; }
.map-pin-btn { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.map-pin-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: .5; animation: pulse 2s ease-out infinite; }
.map-pin-btn span { position: absolute; inset: 7px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; }
.map-pin-btn[aria-pressed="true"] span { background: #1e4d34; }
@media (max-width: 600px) { .site-branding img { height: 46px; } }
.site-footer a[href^="tel:"], .site-footer a[href^="https://wa.me"], .topbar a { white-space: nowrap; }
@media (max-width: 900px) { .topbar-social { display: none; } }

/* Typography: Poppins (echoes the logo lettering) for headings, DM Sans for text */
.split__lead, .director blockquote, .story blockquote, .mvv p, .quote-card blockquote, .board-chair blockquote, .entry-content blockquote { font-weight: 400; letter-spacing: -0.01em; }
.impact__item strong, .hero-stats strong, .statbar strong, .milestones strong, .date-block strong, .countdown strong { font-weight: 700; letter-spacing: -0.02em; }
.site-title { font-weight: 600; letter-spacing: -0.01em; }

/* Footer social icons (core Social Icons block) */
.site-footer .footer-social-icons { margin: .6rem 0 0; padding: 0; gap: .6rem; }
.site-footer .footer-social-icons .wp-social-link { transition: transform .2s ease; }
.site-footer .footer-social-icons .wp-social-link:hover { transform: translateY(-3px); }
.site-footer .footer-social-icons .wp-social-link a { padding: .45rem; }
.site-footer .footer-social-icons .wp-social-link svg { width: 1.35rem; height: 1.35rem; }

/* Fallbacks before photos are added */
.avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: var(--c, var(--primary)); color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .02em; }
.person-round .avatar-fallback { font-size: 2.6rem; }
.ed-feature__media .avatar-fallback { position: absolute; inset: 0; font-size: 5rem; }
.sector-card { background: var(--sector, var(--primary)); }
.zig__media, .gi-card, .appeal__media, .project-card__media, .event-feature__media, .who-intro__media { background: linear-gradient(135deg, var(--sector, var(--primary)), var(--primary-deep)); }

/* v2.1: official ADA colours (logo green + yellow) */
.eyebrow { color: var(--primary); }
.section--primary .eyebrow, .impact .eyebrow, .home-hero .eyebrow, .appeal .eyebrow, .story .eyebrow, .ed-feature .eyebrow { color: var(--accent); }
.impact { background: var(--primary-deep); }
.impact__item { border-left-color: var(--brand); }
.hero-stats strong, .impact__item strong { color: var(--accent); }
.topbar { background: var(--primary-deep); }
.site-header { border-bottom: 3px solid var(--brand); }
.main-nav > ul > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current-menu-parent > a { box-shadow: inset 0 -3px 0 var(--accent); }
.cta-band { background: var(--accent); }
.mvv > div:nth-child(1) { background: var(--brand); color: #10251a; }
.mvv > div:nth-child(1) h3 { color: #10251a; }
.person__role { color: var(--primary); }
.status { background: #e3f2e8; color: #1e4d34; }
.deadline--soon { background: var(--accent-soft); color: #5c4400; }
.milestones strong { color: var(--primary); }
.milestones div::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.way__icon { background: var(--accent-soft); color: var(--primary); }
.quote-card { background: var(--primary); }
.report__cover em { color: var(--accent); }
.entry-content > .elementor, .entry-content > .elementor-section-wrap { max-width: none; }
/* Elementor-built pages use the full content width */
.ada-elementor-page .page-layout { grid-template-columns: minmax(0, 1fr); }
.ada-elementor-page .page-layout > .subnav { display: none; }
.ada-elementor-page .entry-content > * { max-width: none; }
/* Elementor buttons default to ADA yellow (any colour set on the widget in Elementor still wins) */
.elementor .elementor-button { background-color: var(--accent); color: #14241b; border-radius: 4px; font-family: var(--sans); font-weight: 700; }
.elementor .elementor-button:hover, .elementor .elementor-button:focus { background-color: #ffd24d; color: #14241b; }

/* v2.2: top bar and footer in the logo green (#5BA479) with dark text for readability */
.topbar { background: var(--brand); color: #0b1d13; }
.topbar a { color: #0b1d13; font-weight: 500; }
.topbar a:hover { color: #0b1d13; text-decoration: underline; }
.site-footer { background: var(--brand); color: #0b1d13; }
.site-footer a { color: #0b1d13; }
.site-footer a:hover { color: #0b1d13; text-decoration: underline; }
.footer-grid h4, .follow-label, .footer-brand .site-title { color: #0b1d13; }
.footer-brand p { color: #0b1d13; }
.footer-bottom { border-top-color: rgba(11, 29, 19, .25); color: #0b1d13; }
.site-footer .social-links a { border-color: rgba(11, 29, 19, .35); }
.site-footer .social-links a:hover { background: #0b1d13; border-color: #0b1d13; color: #fff; text-decoration: none; }
.site-footer .newsletter input[type="email"] { border: 1px solid rgba(11, 29, 19, .25); }
.site-footer .btn { background: var(--accent); border-color: var(--accent); color: #0b1d13; }
.site-footer .btn:hover { background: #0b1d13; border-color: #0b1d13; color: #fff; text-decoration: none; }
.footer-logo { filter: drop-shadow(0 1px 2px rgba(11, 29, 19, .25)); }
