/* AgriTrace Malawi: site styles.
   Institutional layout: photo heroes, two-voice headings (bold sans + italic serif),
   curved brand shapes, cream page with deep green and maize-gold accents. */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Brand palette "Harvest": Forest #12432E, Leaf #1D6B45, Maize #E8A92A, Cream #F6F1E2, Ink #15201A */
:root {
  --cream: #f6f1e2;
  --cream-2: #ebe3c9;
  --paper: #fffdf6;
  --ink: #15201a;
  --ink-2: #47534c;
  --line: #d3c9aa;
  --night: #0e1c15;
  --green-950: #0b2219;
  --green-900: #0e3122;
  --green-800: #12432e;
  --green-700: #1d6b45;
  --green-600: #258052;
  --husk: #3c9a66;
  --gold: #e8a92a;
  --gold-2: #f3c45e;
  --gold-deep: #b5770f;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Palatino Linotype", Palatino, Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  letter-spacing: 0.004em;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-800); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Two-voice headings: bold sans, then an italic serif line */
.duo em, h1 em, h2 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.07em;
  letter-spacing: -0.008em;
  line-height: 1.02;
}
.inline-em em { display: inline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 0; border-radius: 2px;
  font: 700 0.95rem/1.2 var(--sans); letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn-cream { background: var(--cream); color: var(--green-900); }
.btn-cream:hover { background: var(--gold); color: var(--ink); }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { background: var(--green-700); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }

/* ===================== Header ===================== */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; color: #fff; }
.corner { position: absolute; top: 0; left: 0; width: min(48vw, 660px); height: 196px; fill: var(--green-800); pointer-events: none; }
.header-inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 22px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 56px; height: 56px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.8rem; letter-spacing: -0.045em; white-space: nowrap; }
.brand-sub { margin-top: 6px; padding-left: 2px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.header-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.utility { list-style: none; display: flex; margin: 0; padding: 0; font-size: 0.8rem; font-weight: 600; }
.utility li + li { border-left: 1px solid rgba(255, 255, 255, .55); }
.utility a { color: #fff; text-decoration: none; padding: 0 14px; }
.utility li:last-child a { padding-right: 0; }
.utility a:hover { text-decoration: underline; }
.primary { display: flex; align-items: center; gap: 4px; }
.primary .navlink { color: #fff; text-decoration: none; font-weight: 650; font-size: 1.02rem; padding: 8px 11px; border-bottom: 2px solid transparent; }
.primary .navlink:hover, .primary .navlink[aria-current="page"] { border-bottom-color: var(--gold); }
.btn-portal { margin-left: 12px; min-width: 9.6rem; text-shadow: none; }

.mobile-menu { display: none; }
.mobile-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); color: var(--green-900);
  font-weight: 700; padding: 10px 14px; border-radius: 2px;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { background: var(--gold); color: var(--ink); }
.mobile-panel {
  position: absolute; top: calc(100% + 12px); left: var(--gutter); right: var(--gutter);
  background: var(--green-900); padding: 12px 22px 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.mobile-panel a { display: block; color: #fff; text-decoration: none; font-weight: 650; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mobile-panel a[aria-current="page"] { color: var(--gold); }
.mobile-panel .btn { display: inline-flex; margin-top: 16px; border: 0; padding: 11px 18px; }
.mobile-panel .sub a { font-size: 0.9rem; font-weight: 500; color: #cfd9d2; }

/* ===================== Heroes ===================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(580px, 94vh, 860px);
  background: var(--green-900); color: #fff;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 18, 12, .62) 0%, rgba(5, 18, 12, .12) 32%, rgba(5, 18, 12, .18) 58%, rgba(5, 18, 12, .55) 100%),
    linear-gradient(90deg, rgba(5, 18, 12, .45) 0%, rgba(5, 18, 12, 0) 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 220px; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.3rem); max-width: 13.5em; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero h1 em { padding-left: 1.8em; }
.hero-sub { max-width: 32em; margin: 26px 0 0; font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 500; line-height: 1.5; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }

.hero-curve { position: absolute; right: 0; bottom: 0; z-index: 1; width: min(60vw, 860px); height: min(48%, 400px); overflow: visible; }
.hero-curve .fill { fill: var(--green-800); }
.hero-curve .line { fill: none; stroke: var(--gold); stroke-width: 3; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 3; }
.hero-bottom .wrap { display: flex; justify-content: flex-end; }
.quick { display: grid; gap: 10px; justify-items: start; min-width: 13rem; }
.quick p { margin: 0 0 4px; font-weight: 650; }
.quick .btn { min-width: 13rem; justify-content: space-between; }

/* Inner page hero */
.page-hero { min-height: clamp(420px, 60vh, 580px); align-items: flex-end; }
.page-hero .hero-content { padding-top: 170px; padding-bottom: 84px; }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.page-hero h1 em { padding-left: 1.2em; }
.page-hero .hero-curve { width: min(46vw, 620px); height: min(40%, 230px); }
.hero.plain { background: var(--green-900); min-height: clamp(380px, 50vh, 480px); }
.hero.plain::before { background: radial-gradient(120% 90% at 85% 0%, rgba(227, 167, 44, .16), rgba(227, 167, 44, 0) 55%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .88rem; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.photo-note { position: absolute; left: var(--gutter); bottom: 14px; z-index: 3; margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .78); }
.photo-note a { color: inherit; }

/* ===================== Sections ===================== */
.section { padding: clamp(68px, 8.5vw, 120px) 0; }
.section.paper { background: var(--paper); }
.big { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: clamp(28px, 4vw, 48px); max-width: 13em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .big { margin-bottom: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-800); text-decoration: none; white-space: nowrap; }
.more:hover .i { transform: translateX(3px); }
.more .i { transition: transform .15s ease; }
.intro-text { max-width: 44em; font-size: 1.12rem; color: #2a352f; }

/* Dark split band */
.band-night { background: var(--night); color: #f1eee4; padding: clamp(72px, 9vw, 128px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.band-night h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 28px; }
.band-night p { color: #d7d4c8; max-width: 34em; }
.band-night .btn { margin-top: 10px; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.credit { display: block; margin-top: 10px; font-size: .74rem; color: #9aa69f; }
.credit a { color: inherit; }

/* Targets band over a photo */
.impact { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #2b2110; padding: clamp(80px, 10vw, 132px) 0; }
.impact .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.impact::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8, 26, 18, .78), rgba(8, 26, 18, .38) 60%, rgba(8, 26, 18, .25)); }
.impact-curve { position: absolute; left: 0; bottom: 0; width: min(42vw, 600px); height: 88%; z-index: -1; fill: var(--green-800); }
.impact-grid { display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: end; }
.impact-intro h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin-bottom: 18px; }
.impact-intro p { color: #e6eee8; }
.impact-intro .note { font-size: .85rem; color: #c9d6cd; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--cream); color: var(--green-800); padding: 20px 22px 18px; min-height: 220px; display: flex; flex-direction: column; }
.stat .k { font-weight: 700; font-size: 1.05rem; }
.stat .v { font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.7rem); letter-spacing: -0.045em; line-height: 1; margin: 4px 0 12px; }
.stats .stat p { margin: 0; font-weight: 700; font-size: 1.04rem; line-height: 1.22; color: var(--green-800); }
.stat .src { margin-top: auto; padding-top: 16px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Two-column link list with rules and chevrons */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.06rem; line-height: 1.3; }
.link-list a:hover { color: var(--green-700); }
.link-list a .i { transition: transform .15s ease; }
.link-list a:hover .i { transform: translateX(4px); }
.link-list .wp { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15em; color: var(--green-700); margin-right: 8px; }

/* Green band with tiles */
.band-green { position: relative; isolation: isolate; overflow: hidden; background: var(--green-900); color: #fff; padding: clamp(76px, 9vw, 128px) 0; }
.band-green .swoosh { position: absolute; left: 0; top: 0; width: 64%; height: 100%; z-index: -1; fill: var(--green-800); }
.tiles-grid { display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: clamp(32px, 5vw, 64px); }
.tiles-grid h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.tiles-grid p { color: #dfe8e2; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 210px; padding: 20px 22px;
  background: var(--green-700); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.4rem; line-height: 1.1; letter-spacing: -0.015em;
  transition: background-color .15s ease, color .15s ease;
}
.tile small { display: block; margin-top: 8px; font-weight: 500; font-size: .9rem; letter-spacing: 0; line-height: 1.35; opacity: .88; }
.tile .i { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; }
.tile:hover { background: var(--gold); color: var(--ink); }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.035); }
.tag { display: inline-block; background: var(--green-800); color: #fff; font-size: .76rem; font-weight: 700; padding: 3px 8px; letter-spacing: .01em; }
.tag.gold { background: var(--gold); color: var(--ink); }
.card-img .tag { position: absolute; left: 14px; bottom: 14px; }
.card h3 { font-size: 1.32rem; line-height: 1.2; margin: 18px 0 8px; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.meta { font-size: .86rem; font-weight: 500; color: var(--ink-2); }

/* Partner strip */
.strip-band { background: var(--paper); border-top: 1px solid var(--line); padding: 52px 0; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.strip li { border-left: 3px solid var(--gold); padding-left: 16px; }
.strip .k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.strip .n { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.28; color: var(--ink); }
.strip a.n { text-decoration: none; }
.strip a.n:hover { color: var(--green-700); text-decoration: underline; }

/* ===================== Inner pages ===================== */
.page-body { padding: clamp(56px, 7vw, 100px) 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(40px, 6vw, 92px); align-items: start; }
.prose { max-width: 47em; }
.prose > h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 2em 0 .55em; scroll-margin-top: 24px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .35em; }
.prose p, .prose li { color: #26312b; }
.prose li { margin-bottom: .45em; }
.lead { font-size: clamp(1.22rem, 1.9vw, 1.45rem); line-height: 1.48; font-weight: 500; color: var(--ink) !important; }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-2); }
figcaption .credit { color: #6d776f; margin-top: 4px; }

.aside { position: sticky; top: 24px; display: grid; gap: 24px; }
.aside-box { background: var(--paper); border-top: 4px solid var(--green-800); padding: 22px 24px 24px; }
.aside-box h2 { font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.aside-box p { font-size: .95rem; }
.aside-box .btn { margin-top: 6px; }
.toc { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc a:hover { color: var(--green-700); }
.toc .i { width: 16px; height: 16px; }
.facts { margin: 0; }
.facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 3px 0 16px; font-weight: 600; line-height: 1.38; }
.facts dd:last-child { margin-bottom: 0; }

.numbered { list-style: none; counter-reset: n; padding: 0; margin: 1.6em 0; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); margin: 0; }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: .9; color: var(--green-700); }
.numbered h3 { margin: 0 0 4px; font-size: 1.15rem; }
.numbered p { margin: 0; }

.checklist { list-style: none; padding: 0; margin: 1.2em 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8a92a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.on-dark .checklist li { color: #e3ebe5; }
.on-dark .checklist li::before { background-color: var(--green-700); }

.beneficiaries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.4em 0; padding: 0; list-style: none; }
.beneficiaries li { background: var(--paper); padding: 20px 22px; margin: 0; border-left: 3px solid var(--gold); }
.beneficiaries h3 { margin: 0 0 6px; font-size: 1.08rem; }
.beneficiaries p { margin: 0; font-size: .96rem; }

/* Batch journey */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.steps li { position: relative; padding-right: 18px; }
.steps li::after { content: ""; position: absolute; top: 30px; left: 60px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps .icon { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; background: var(--green-800); color: var(--gold); display: grid; place-items: center; }
.steps .icon .i { width: 26px; height: 26px; }
.steps .num { display: block; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--green-700); }
.steps h3 { font-size: 1.12rem; margin: 2px 0 6px; }
.steps p { font-size: .95rem; margin: 0; color: var(--ink-2); }

/* Panels */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel { background: var(--paper); padding: 28px 28px 26px; border-top: 4px solid var(--green-700); display: flex; flex-direction: column; }
.section.paper .panel { background: var(--cream); }
.panel .kicker { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--green-700); line-height: 1; }
.panel h3 { font-size: 1.4rem; margin: 10px 0 12px; }
.panel p { margin-bottom: .8em; }
.panel .why { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 650; font-size: .96rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.chips li { border: 1.5px solid var(--green-800); color: var(--green-800); padding: 7px 14px; border-radius: 999px; font-weight: 650; font-size: .92rem; }

/* Work-package timeline */
.timeline { border-top: 2px solid var(--ink); }
.tl-row { display: grid; grid-template-columns: minmax(250px, 1fr) 1.7fr; gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; scroll-margin-top: 24px; }
.tl-head { padding: 12px 0; }
.tl-head .tl-label { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tl-label h3 { font-size: 1.14rem; margin-bottom: 4px; }
.tl-label .wp { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15em; color: var(--green-700); margin-right: 8px; }
.tl-label p { margin: 0; font-size: .94rem; color: var(--ink-2); }
.tl-track {
  display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; min-height: 38px;
  background-image: linear-gradient(90deg, rgba(22, 32, 26, .1) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}
.tl-months { background: none; }
.tl-months span { text-align: center; font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.bar { grid-row: 1; height: 34px; display: flex; align-items: center; padding: 0 10px; background: var(--green-700); color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; }
.bar-1 { grid-column: 1 / span 3; }
.bar-2 { grid-column: 3 / span 3; }
.bar-3 { grid-column: 6 / span 4; background: var(--gold); color: var(--ink); }
.bar-4 { grid-column: 8 / span 3; }
.bar-5 { grid-column: 6 / span 7; background: var(--green-600); }

/* Targets section on inner page */
.band-green .stats { grid-template-columns: repeat(3, 1fr); }
.band-green .note { margin-top: 22px; font-size: .9rem; color: #cfdcd3; }

/* Portal box */
.portal { background: var(--green-900); color: #fff; }
.portal img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.portal .body { padding: 26px 28px 28px; }
.portal h3 { font-size: 1.5rem; margin-bottom: 10px; }
.portal p { color: #dbe5de; }
.portal .small { font-size: .85rem; color: #b9c8be; margin: 14px 0 0; }
.portal .credit { color: #9fb1a5; padding: 0 28px 18px; margin: 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { background: var(--paper); display: flex; flex-direction: column; }
.portrait { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--green-800); display: grid; place-items: center; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait .ring { fill: var(--green-700); }
.portrait .arc { fill: none; stroke: var(--gold); stroke-width: 2; }
.portrait span { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 7vw, 5.5rem); color: var(--gold); line-height: 1; }
.person .body { padding: 24px 26px 28px; }
.role { margin: 0 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.person h3 { font-size: 1.5rem; }
.affil { margin: 10px 0 12px; font-weight: 600; font-size: .95rem; color: var(--ink-2); line-height: 1.4; }

/* Funder block and partner cards */
.funder { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); background: var(--green-900); color: #fff; padding: clamp(32px, 5vw, 60px); }
.funder .swoosh { position: absolute; right: 0; top: 0; width: 55%; height: 100%; z-index: -1; fill: var(--green-800); }
.funder .k { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.funder h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
.funder p { color: #dfe8e2; }
.funder dl { margin: 0; align-self: end; }
.funder dt { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #b9cbbf; }
.funder dd { margin: 4px 0 18px; font-weight: 650; font-size: 1.05rem; }
.funder dd:last-child { margin-bottom: 0; }
.funder a { color: #fff; }
.partner-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.partner { background: var(--paper); padding: 28px; border-top: 4px solid var(--gold); }
.partner .k { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 8px; }
.partner h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
.partner p:last-child { margin-bottom: 0; }
.ext { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ext .i { width: 16px; height: 16px; }

/* News list */
.news-list { border-top: 2px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 340px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; align-items: center; }
.news-item:hover { color: var(--ink); }
.news-item:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.news-item .card-img { aspect-ratio: 16 / 10; }
.news-item h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin: 12px 0 10px; }
.news-item p { color: #2c3731; margin-bottom: 10px; }
.upcoming { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.upcoming li { background: var(--paper); padding: 24px 26px; border-left: 3px solid var(--gold); }
.upcoming h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.upcoming p { margin: 0; font-size: .97rem; }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .92rem; font-weight: 600; }
.hero .article-meta { color: #e3ebe5; }

/* Photo credits */
.credits { list-style: none; margin: 1.4em 0 0; padding: 0; border-top: 1px solid var(--line); }
.credits li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; margin: 0; }
.credits img { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; }
.credits h3 { margin: 0 0 4px; font-size: 1.02rem; }
.credits p { margin: 0; font-size: .92rem; }

/* ===================== Footer ===================== */
.site-footer { background: var(--green-950); color: #ccd7cf; padding: 76px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-about .brand { margin-bottom: 20px; }
.footer-about p { max-width: 26em; }
.site-footer h2 { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .btn { margin-top: 6px; }
.site-footer .btn-cream, .site-footer .btn-cream:hover { color: var(--green-900); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #9fb0a5; }
.footer-bottom p { margin: 0; max-width: 46em; }
.footer-bottom p:last-child { text-align: right; flex: none; }

/* ===================== Responsive ===================== */
@media (max-width: 1120px) {
  .header-nav { display: none; }
  .mobile-menu { display: block; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .split, .tiles-grid, .impact-grid, .with-aside, .funder { grid-template-columns: 1fr; }
  .aside { position: static; }
  .stats, .band-green .stats { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .people, .panels { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; padding-right: 0; }
  .steps li::after { top: 60px; bottom: -22px; left: 29px; right: auto; width: 2px; height: auto; }
  .steps .icon { grid-row: 1 / span 3; }
  .steps .num { margin-top: 2px; }
  .tl-row { grid-template-columns: 1fr; gap: 12px; }
  .tl-head { display: none; }
  .impact-curve { width: 80%; height: 50%; }
}
@media (max-width: 700px) {
  .corner { width: 86vw; height: 132px; }
  .header-inner { padding-top: 16px; align-items: center; }
  .brand { gap: 8px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: .58rem; margin-top: 5px; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero-content { padding-top: 150px; padding-bottom: 40px; }
  .hero h1 em, .page-hero h1 em { padding-left: 0; }
  .hero-curve { display: none; }
  .hero-bottom { position: relative; bottom: auto; padding: 0 0 36px; }
  .hero-bottom .wrap { justify-content: flex-start; }
  .quick { grid-template-columns: 1fr; width: 100%; }
  .quick .btn { width: 100%; }
  .home-hero { flex-direction: column; justify-content: flex-end; min-height: 100svh; }
  .page-hero .hero-content { padding-top: 150px; padding-bottom: 52px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .link-list { grid-template-columns: 1fr; }
  .stats, .band-green .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { min-height: 0; padding: 16px 16px 14px; }
  .stats .stat p { font-size: .94rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 150px; font-size: 1.12rem; padding: 16px; }
  .tile small { display: none; }
  .tile .i { width: 22px; height: 22px; top: 14px; right: 14px; }
  .news-grid, .people, .panels, .partner-cards, .upcoming, .beneficiaries { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .credits li { grid-template-columns: 96px 1fr; gap: 14px; }
  .credits img { width: 96px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom p:last-child { text-align: left; }
  .photo-note { display: none; }
}
@media (max-width: 480px) {
  .header-inner { gap: 12px; }
}
@media (max-width: 360px) {
  .mobile-menu .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mobile-menu summary { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
