/* SVP International prototype styles: calm, credible, accessible. */
:root {
  /* Named tokens: ink, sky (logo and small accents only, never text on white), deep (brand deep blue, non-text accents only), action blue, band, hairline, white. */
  --ink: #14213D;
  --sky: #29A8E8;
  --deep: #1E88C8;
  --action: #1565A0;
  --band: #F2F8FC;
  --hairline: #D5DEE6;
  --white: #FFFFFF;
  --bg: var(--white);
  --surface: var(--white);
  --muted: #46536A;
  --primary: var(--action);
  --primary-dark: var(--ink);
  --primary-soft: var(--band);
  --accent: var(--action);
  --line: var(--hairline);
  --focus: #b35c00;
  --radius: 10px;
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
/* Compact header brand: "SVP International" in Source Serif 4 SemiBold, and the lang=my name line in Pyidaungsu Bold
   (subset to that one string, all OpenType layout kept). The family name is deliberately not the installed font's name. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Pyidaungsu SVPI"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/pyidaungsu-bold-subset.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .7em; max-width: 30ch; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px; font-weight: 600; }
.skip-link:focus { top: 0; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Header: outlined two-line lockup (96px circle) and a one-row nav. Below 880px: compact live-text brand and a "Menu" button (nav.js). */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0 2rem; padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; width: auto; height: 96px; max-width: none; }
.brand-compact, .nav-toggle { display: none; }
.footer-logo { margin: 0 0 1rem; }
.footer-logo img { display: block; width: auto; height: 123px; max-width: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .5rem; }
.site-nav a { display: inline-block; padding: .55rem .8rem; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.0625rem; line-height: 1.5; white-space: nowrap; }
.site-nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.site-nav a[aria-current="page"] { color: var(--primary-dark); background: var(--primary-soft); box-shadow: inset 0 -2px 0 var(--primary); }
/* Header CTA: ink, not brand deep blue. White on #1E88C8 is 3.88:1 (fails AA 4.5:1), so deep blue is only the hover/current underline. */
.site-nav a.nav-cta { background: var(--ink); color: #fff; padding: .8rem 1.3rem; margin-left: .5rem; }
.site-nav a.nav-cta:hover { background: #22355F; color: #fff; box-shadow: inset 0 -3px 0 var(--deep); }
.site-nav a.nav-cta[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 var(--deep); }
.nav-toggle { position: relative; align-items: center; gap: .4rem; min-height: 44px; margin-left: auto; padding: 0 .6rem; background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; font: 600 1rem/1 var(--sans); cursor: pointer; }
.nav-toggle svg { width: 18px; height: 18px; flex: none; }
.nav-toggle[aria-expanded="true"] { background: var(--primary-soft); }

/* Sections */
main { display: block; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--band); }
.section.tint { background: var(--primary-soft); }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }

.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); background: var(--band); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }

.hero { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.hero-art { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-block; padding: .8rem 1.3rem; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid var(--primary); font-size: 1rem; cursor: pointer; font-family: inherit; }
.button.primary { background: var(--primary); color: #fff; }
.button.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--primary-dark); }
.button.secondary:hover { background: var(--primary-soft); }

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.1rem; }
.card h3 { color: var(--primary-dark); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; margin-bottom: .6rem; color: var(--primary); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 2rem 0 1.5rem; padding: 0; list-style: none; }
.stat { padding: .25rem 1.5rem; border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; color: var(--ink); line-height: 1; }
.stat-label { display: block; color: var(--ink); font-size: .95rem; line-height: 1.4; margin-top: .6rem; }
.note { font-size: .9rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--sky); }


.values { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
.plain-list { font-weight: 600; }
.line-list { list-style: none; padding: 0; margin: 1.5rem 0 0; columns: 2; column-gap: 3rem; max-width: 52rem; }
.line-list li { padding: .55rem 0; border-top: 1px solid var(--hairline); break-inside: avoid; }
.deflist { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; }
.deflist > div { padding: 1.1rem 0; border-top: 1px solid var(--hairline); }
.deflist dt { font-weight: 700; margin-bottom: .2rem; }
.deflist dd { margin: 0; color: var(--muted); }
.after-list { margin-top: 1.75rem; }

.status { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 4px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); vertical-align: middle; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); }
.timeline h3 { margin-bottom: .25rem; }


/* Roles table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-weight: 600; padding: 0 0 .6rem; color: var(--muted); }
th, td { text-align: left; vertical-align: top; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--ink); color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
td ul { margin: 0; padding-left: 1.1rem; }

/* Funders */
.funders { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.funders li { border-top: 1px solid var(--hairline); padding: .7rem 0; font-weight: 600; color: var(--ink); }

/* Profile */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; }

/* Forms */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.field { margin-bottom: 1.1rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .9rem; color: var(--muted); margin: -.15rem 0 .4rem; }
.req { color: #9b2c1c; }
input[type="text"], input[type="email"], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8b8579; border-radius: 6px; padding: .65rem .75rem; }
textarea { min-height: 160px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--primary); }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radio-row label { font-weight: 400; display: inline-flex; gap: .4rem; align-items: center; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 6px; background: var(--primary-soft); color: var(--primary-dark); }
.form-status:empty { display: none; }
.callout { background: var(--band); padding: 1.1rem 1.25rem; border-radius: 6px; }

/* Footer: privacy notice and policies links. */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Privacy notice: readable section spacing. */
.privacy-notice h2, .policies-page h2 { margin-top: 2.5rem; max-width: none; font-size: clamp(1.5rem, 3vw, 2rem); text-wrap: balance; }
.privacy-notice h3, .policies-page h3 { margin-top: 1.5rem; }

/* CTA band */

/* Footer */
.home-policy { padding-block: 2rem; border-top: 1px solid var(--hairline); }
.home-policy p { max-width: 85ch; margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.site-footer { background: #0F1A30; color: #dde3ee; padding: 2.75rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.05rem; color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-bottom { border-top: 1px solid #33403e; margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: #b9c4c1; }
.prototype-flag { color: #f3d9a6; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4, .funders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .split, .stats, .footer-grid, .profile, .deflist { grid-template-columns: 1fr; }
  .line-list { columns: 1; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table td::before { content: attr(data-label); display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--primary-dark); margin-bottom: .35rem; }
}
@media (max-width: 420px) {
  .funders { grid-template-columns: 1fr 1fr; }
  
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-nav, .nav-toggle, .skip-link, .home-cta { display: none; }
}

/* Photos (representative, non-identifying) */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; object-fit: cover; }
.photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .45rem; }
.grid-3 .photo img, .gallery .photo img { aspect-ratio: 4 / 3; }
.photo-hero { background: #e9ecef; min-height: clamp(460px, 62vw, 640px); display: flex; align-items: flex-start; }
.photo-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.photo-hero .hero-inner { position: relative; display: flex; justify-content: flex-end; padding: clamp(2rem, 5vw, 3.5rem) 0; width: min(100% - 2.5rem, var(--max)); }
.hero-panel { max-width: 38rem; background: var(--white); border-radius: 6px; padding: clamp(1.5rem, 3.2vw, 2.6rem); }
.hero-panel .lead { color: var(--muted); font-size: 1.1rem; }
.hero-caption { position: absolute; left: 1rem; bottom: .6rem; margin: 0; font-size: .78rem; color: #fff; background: rgba(20,33,61,.7); padding: .15rem .5rem; border-radius: 4px; }
.stats.stats-5 { grid-template-columns: repeat(5, 1fr); }
.privacy-line { padding-top: 1rem; border-top: 1px solid var(--hairline); color: var(--muted); max-width: 46rem; }
@media (max-width: 960px) { .stats.stats-5 { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; } .stats-5 .stat:nth-child(4) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .stats.stats-5 { grid-template-columns: repeat(2, 1fr); } .stats-5 .stat { border-left: 0; padding: 0 1rem 0 0; } }
@media (max-width: 760px) {
  .photo-hero { display: block; min-height: 0; }
  .photo-hero .hero-img { position: static; height: 260px; }
  .photo-hero .hero-inner { padding: 0 0 2rem; margin-top: -2.5rem; }
  .hero-caption { top: 225px; bottom: auto; }
}


/* Header breakpoint. The outlined lockup is never drawn below its 96px minimum circle: under 880px the compact header takes over
   (keep this width in sync with the font preload media query in scripts/build.mjs). */
@media (max-width: 879px) {
  .header-inner { flex-wrap: wrap; gap: 0 .5rem; padding: .75rem 0; }
  .brand-logo { display: none; }
  .brand-compact { display: inline-flex; align-items: center; gap: .5rem; }
  .brand-compact img { display: block; width: 48px; height: 48px; flex: none; }
  .brand-compact-text { display: flex; flex-direction: column; }
  .brand-compact-name { font-family: "Source Serif 4", var(--serif); font-size: 1.375rem; font-weight: 600; line-height: 1.1; white-space: nowrap; }
  /* lang=my name line: never letter-spaced, and a tall line box so the stacked marks above and below are not cut. */
  .brand-compact-my { font-family: "Pyidaungsu SVPI", "Pyidaungsu", "Noto Sans Myanmar", "Myanmar Text", sans-serif; font-size: .875rem; font-weight: 700; line-height: 1.7; letter-spacing: normal; white-space: nowrap; }
  .js-nav .nav-toggle { display: inline-flex; }
  .js-nav .nav-toggle[aria-expanded="false"] + .site-nav { display: none; }
  .site-nav { flex: 0 0 100%; margin-top: .75rem; padding-top: .5rem; border-top: 1px solid var(--line); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a, .site-nav a.nav-cta { display: flex; align-items: center; min-height: 48px; padding: .5rem .75rem; font-size: 1.0625rem; }
  .site-nav a.nav-cta { justify-content: center; margin: .5rem 0 0; }
}
/* Tablet widths: the panel's CTA keeps its natural width instead of stretching into a full-width bar. */
@media (min-width: 600px) and (max-width: 879px) {
  .site-nav a.nav-cta { display: inline-flex; padding: .5rem 1.3rem; }
}
/* Narrow phones: the lang=my line keeps its size and the button drops its visible "Menu" label (still its accessible name). */
@media (max-width: 389px) {
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 349px) {
  .header-inner { width: calc(100% - 1.75rem); }
  .brand-compact-name { font-size: 1.25rem; }
  .brand-compact-my { font-size: .8125rem; }
}
@media (max-width: 600px) { .footer-logo img { width: 100%; max-width: 428px; height: auto; } }

.hero-actions { align-items: center; gap: .75rem 1.5rem; }
.hero-link { font-weight: 600; padding: .6rem 0; }
@media (max-width: 600px) { .hero-actions .button { width: 100%; text-align: center; } }

/* Home: region map and impact numbers */
.reach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.reach-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.reach-stats li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--hairline); }
.reach-stats li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--hairline); }
.reach-stats .stat-word { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
.reach-map { margin: 0; }
.reach-map svg { display: block; width: 100%; max-width: 380px; height: auto; margin-inline: auto; }
.reach-map figcaption { margin-top: .75rem; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .reach { grid-template-columns: 1fr; gap: 2rem; }
  .reach-map svg { max-width: 300px; }
}
.reach-map .r-off { fill: #E6E9EE; }
.reach-map .r-on { fill: #29A8E8; }
.reach-map path { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.reach-map text { font: 600 28px "Source Sans 3", system-ui, sans-serif; fill: #14213D; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }

/* Home page (option A, chosen 19 Oct 2026): sharp full-bleed photo with an overlapping ink panel, key-facts strip,
   "What we do" pillars, region map, five-photo field strip and a split partner block. Text sits on solid surfaces,
   never on the photo. Motion is progressive enhancement and switched off under prefers-reduced-motion. */
.home-page {
  --home-space: clamp(3.5rem, 6.5vw, 5.5rem);
  --home-gutter: max(1.25rem, calc((100vw - var(--max)) / 2));
}
.home-page .home-section { padding-block: var(--home-space); }
.home-page .home-hero { position: relative; }
.home-page .home-hero-photo { min-width: 0; margin: 0; }
.home-page .home-photo-frame { overflow: hidden; }
.home-page .home-hero-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  animation: home-photo-arrive 900ms ease-out both;
}
.home-page .home-hero-photo figcaption {
  color: var(--muted); font-size: .8125rem; line-height: 1.4;
}
.home-page .home-hero-copy h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.9rem); line-height: 1.04; letter-spacing: -.025em;
  margin: 0 0 1.25rem; max-width: 17ch; text-wrap: balance;
}
.home-page .home-hero-copy .lead {
  font-size: 1.1875rem; line-height: 1.55; margin-bottom: 0;
}
.home-page .home-hero-copy .hero-actions { justify-content: flex-start; margin-top: 1.75rem; }
.home-page .button {
  border-radius: 3px; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.home-page a { transition: color 160ms ease, text-decoration-color 160ms ease; }
.home-page .button:hover { transform: translateY(-2px); }
.home-page :focus-visible { outline-color: var(--action); }
.home-page .home-cta-copy .privacy-line { margin: 1.75rem 0 0; max-width: 64ch; padding-top: 1.25rem; border-top: 1px solid var(--hairline); font-size: .9375rem; }
.home-page .home-cta-copy h2 { margin-bottom: .6em; }
.home-page .home-cta-copy > p:not(.privacy-line) { font-size: 1.1875rem; margin-bottom: 0; }

/* Solid ink surfaces keep all hero and CTA text clear of the photographs. */
.home-page .home-hero-copy,
.home-page .home-cta-copy { background: var(--ink); color: var(--white); }
.home-page :is(.home-hero-copy, .home-cta-copy) :is(h1, h2, p, .lead, a) { color: var(--white); }
.home-page :is(.home-hero-copy, .home-cta-copy) .button.primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.home-page :is(.home-hero-copy, .home-cta-copy) .button.primary:hover { background: var(--band); border-color: var(--band); }
.home-page .home-cta-copy .button.secondary { color: var(--white); border-color: var(--white); }
.home-page .home-cta-copy .button.secondary:hover { background: var(--white); color: var(--ink); }
.home-page :is(.home-hero-copy, .home-cta-copy) :focus-visible { outline-color: var(--white); }
.home-page :is(.home-hero-copy, .home-cta-copy) a:not(.button):hover { color: var(--white); text-decoration-thickness: 2px; }

/* A: the photograph leads, with a solid panel extending below its lower edge. */
.home-page .home-hero { margin-bottom: 5rem; }
.home-page .home-hero-photo .home-photo-frame { height: clamp(520px, 72vh, 720px); }
.home-page .home-panel-wrap { position: absolute; bottom: -5rem; left: 0; right: 0; }
.home-page .home-hero-copy { width: min(100%, 650px); padding: 2.5rem 2.75rem; }
.home-page .home-hero-photo figcaption { position: absolute; bottom: 1.25rem; right: 1.25rem; max-width: 28ch; padding: .7rem 1rem; color: var(--white); background: var(--ink); }
.home-page .home-facts { padding-block: 3rem 1rem; }
.home-page .home-fact-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.home-page .home-fact-strip li { min-width: 0; padding: .25rem 1.1rem; border-left: 1px solid var(--hairline); }
.home-page .home-fact-strip li:first-child { border-left: 0; padding-left: 0; }
.home-page .home-fact-strip li:last-child { padding-right: 0; }
.home-page .home-fact-strip .stat-value { font-size: 2.9rem; }
.home-page .home-fact-strip .stat-word { font-size: 1.65rem; line-height: 1.1; }
.home-page .home-fact-strip .stat-label { color: var(--muted); font-size: .9375rem; }
.home-page .home-pillars { padding-bottom: 0; }
.home-page .home-role-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.home-page .home-role-intro > p { font: 400 1.6rem/1.3 var(--serif); margin: 0; }
.home-page .home-role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 1.5rem 0 0; }
.home-page .home-role-grid > div { min-width: 0; }
.home-page .home-role-grid dt { font: 600 1.5rem/1.2 var(--serif); margin-bottom: .8rem; }
.home-page .home-role-grid dd { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.home-page .home-role-grid > div { padding: 1.6rem 1.25rem 1.75rem; border-top: 3px solid var(--sky); background: var(--band); }
.home-page .reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
.home-page .reach-text { max-width: 42ch; }
.home-page .reach-map svg { max-width: 270px; }
.home-page .home-field { background: var(--white); padding-bottom: 2.5rem; }
.home-page .home-field-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.home-page .home-field-track .home-field-photo img { height: clamp(175px, 19vw, 300px); aspect-ratio: auto; }
.home-page .home-field-track figcaption { padding-inline: 1rem; }
.home-page .home-cta-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.home-page .home-cta-copy { padding: 3rem; }
.home-page .home-credentials { background: var(--band); padding: 3rem 2.5rem; display: flex; align-items: center; }
.home-page .home-credentials ul { list-style: none; margin: 0; padding: 0; }
.home-page .home-credentials li { border-top: 1px solid var(--hairline); padding-block: 1.25rem; font-size: 1.0625rem; }
.home-page .home-credentials li:first-child { padding-top: 0; border-top: 0; font: 600 1.7rem/1.25 var(--serif); }

/* Field photos: equal-height row; on mobile a focusable, snapping scroller. */
.home-page .home-field h2 { margin-bottom: 2rem; }
.home-page .home-field-track { min-width: 0; scrollbar-color: var(--muted) var(--hairline); scrollbar-width: auto; }
.home-page .home-field-track .home-field-photo { min-width: 0; margin: 0; scroll-snap-align: start; }
.home-page .home-field-track picture { display: block; }
.home-page .home-field-track img { display: block; width: 100%; object-fit: cover; }
.home-page .home-field-track figcaption { color: var(--muted); font-size: .875rem; line-height: 1.45; margin-top: .8rem; }
/* Field photos, desktop (F2, 19 Oct 2026): row aligned to the heading's container, gentler 4:3 crop,
   focal points keep the people and the cash exchange in frame. Mobile scroller below is unchanged. */
@media (min-width: 761px) {
  .home-page .home-field-track { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
  .home-page .home-field-track .home-field-photo img { height: auto; aspect-ratio: 4 / 3; }
  .home-page .home-field-track figcaption { padding-inline: 0; }
  .home-page .home-field-track img[src*="flood-raft"] { object-position: 20% 50%; }
  .home-page .home-field-track img[src*="shelter-cash-band"] { object-position: 25% 50%; }
}

/* Commitments section (content unchanged) on the band colour. */
.home-page .home-policy { background: var(--band); }

@media (max-width: 1050px) and (min-width: 761px) {
  .home-page .home-hero-copy { width: 60%; padding: 2rem; }
  .home-page .home-hero-copy h1 { font-size: 3rem; }
  .home-page .home-fact-strip li { padding-inline: .75rem; }
  .home-page .home-fact-strip .stat-word { font-size: 1.4rem; }
  .home-page .home-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .home-role-intro { display: block; }
  .home-page .home-cta-copy, .home-page .home-credentials { padding: 2rem; }
}

@media (max-width: 760px) {
  .home-page .home-hero-copy h1 { font-size: clamp(2.4rem, 8.5vw, 3rem); }
  .home-page .home-hero-copy .lead { font-size: 1.125rem; }
  .home-page .home-hero-copy .hero-actions { gap: .75rem; }
  .home-page .home-hero-copy .hero-link { padding-inline: .1rem; }
  .home-page .home-cta-copy .button-row { flex-direction: column; align-items: stretch; text-align: center; }
  .home-page .home-hero { margin-bottom: 0; }
  .home-page .home-hero-photo { display: flex; flex-direction: column; }
  .home-page .home-hero-photo .home-photo-frame { height: 300px; }
  .home-page .home-panel-wrap { position: relative; bottom: auto; width: 100%; margin-top: -1rem; }
  .home-page .home-hero-copy { width: 100%; padding: 2rem 1.25rem; }
  .home-page .home-hero-photo figcaption { position: static; max-width: none; padding: .75rem 1.25rem 1.75rem; }
  .home-page .home-facts { padding-top: 2.5rem; padding-bottom: 0; }
  .home-page .home-fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .home-fact-strip li { padding: 1.25rem 1rem 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
  .home-page .home-fact-strip li:nth-child(even) { border-left: 1px solid var(--hairline); padding-left: 1.25rem; }
  .home-page .home-role-intro { display: block; }
  .home-page .home-role-intro > p { font-size: 1.5rem; }
  .home-page .home-role-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .home-page .home-role-grid > div { padding: 1.5rem; }
  .home-page .reach { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .home-page .reach-map svg { max-width: 250px; }
  .home-page .home-cta-split { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-cta-copy, .home-page .home-credentials { padding: 2rem 1.5rem; }
  .home-page .home-cta-split { width: 100%; }
  .home-page .home-cta { padding-block: 0; }
  .home-page .home-field-track {
    display: grid; width: 100%; grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); gap: 1rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: .25rem 1.25rem 1.25rem; scroll-padding-inline: 1.25rem;
  }
  .home-page .home-field-track .home-field-photo { display: block; grid-row: auto; grid-column: auto; }
  .home-page .home-field-track .home-field-photo img { height: 225px; aspect-ratio: auto; }
  .home-page .home-field-track figcaption { padding-inline: 0; }
}

/* Home "Where we work": tinted band, cropped map in a white panel with direct region labels (no separate key). Regions only; no markers. */
.home-page .home-reach { background: var(--band); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.home-page .home-reach .reach { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: center; }
.home-page .home-reach .reach-text { max-width: 38rem; }
.home-page .home-reach .reach-text h2 { margin-bottom: 1rem; }
.home-page .reach-panel { background: var(--white); padding: 2rem 1.5rem 1.25rem; border-top: 3px solid var(--sky); }
.home-page .home-reach .reach-map svg { max-width: 300px; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.home-page .reach-lead { font: 400 1.35rem/1.4 var(--serif); color: var(--ink); }
.home-page .reach-note { color: var(--muted); font-size: .875rem; margin: 1.25rem 0 1rem; }
.reach-map .r-lead { stroke: #14213D; stroke-width: 2; stroke-linecap: round; }
.reach-map .r-label-start { text-anchor: start; }
@media (max-width: 760px) {
  .home-page .home-reach .reach { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .home-page .home-reach .reach-map { order: 2; }
  .home-page .home-reach .reach-map svg { max-width: 240px; }
  .home-page .reach-lead { font-size: 1.25rem; }
  .home-page .reach-panel { padding: 1.5rem 1rem 1rem; }
}

@keyframes home-photo-arrive { from { opacity: .7; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes home-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .home-page :is(.home-role-grid > div, .reach, .home-cta-copy, .home-credentials) {
      animation: home-enter 1s linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page,
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .home-page .button:hover { transform: none; }
}

/* About: page-scoped editorial structure; shared site rules above are unchanged. */
.about-page .about-section { padding-block: clamp(3rem, 6.25vw, 5rem); }
.about-page .about-heading-label { margin: 0 0 1.2rem; color: var(--muted); font-family: var(--sans); font-size: .875rem; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.about-page .about-intro { background: var(--band); padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }
.about-page .about-title { margin: 0; font-size: clamp(2.65rem, 5.1vw, 4.1rem); max-width: 22ch; line-height: 1.08; letter-spacing: -.025em; }
.about-page .about-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-page .about-photo { margin: 0; }
.about-page .about-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.about-page .about-photo figcaption { color: var(--muted); font-size: .85rem; margin-top: .5rem; }
.about-page .about-mission { font-family: var(--serif); font-size: clamp(1.45rem, 2.15vw, 1.8rem); line-height: 1.3; max-width: 29ch; margin-bottom: 0; }
.about-page .about-facts { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.about-page .about-fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.about-page .about-fact-grid li { padding: .25rem 2rem; border-left: 1px solid var(--hairline); }
.about-page .about-fact-grid li:first-child { padding-left: 0; border-left: 0; }
.about-page .about-fact-number { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.65rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; }
.about-page .about-fact-grid li > span { display: block; font-size: 1rem; line-height: 1.35; margin-top: .65rem; max-width: 24ch; }
.about-page .about-story { border-top: 1px solid var(--hairline); }
.about-page .about-story .about-split { align-items: start; }
.about-page .about-timeline { list-style: none; padding: 0; margin: 2rem 0 0; }
.about-page .about-timeline li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; }
.about-page .about-marker { display: block; padding-top: .05rem; font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1.15; }
.about-page .about-marker--word { font: 700 .875rem/1.5 var(--sans); padding-top: .25rem; }
.about-page .about-timeline-content { position: relative; border-left: 1px solid var(--hairline); padding: 0 0 2rem 1.5rem; }
.about-page .about-timeline-content::before { content: ""; position: absolute; top: .5rem; left: -5px; width: 9px; height: 9px; background: var(--sky); border-radius: 50%; }
.about-page .about-timeline-content h3 { font-size: 1.4rem; }
.about-page .about-timeline-content p { margin: 0; }
.about-page .about-timeline li:last-child .about-timeline-content { border-left-color: transparent; padding-bottom: 0; }
.about-page .about-band { background: var(--band); }
.about-page .about-partnership-content { max-width: 44rem; text-align: left; }
.about-page .about-partnership-content > p { margin-bottom: 2rem; }
.about-page .about-quote { margin: 1.5rem 0; border-left: 3px solid var(--sky); padding-left: 1.5rem; }
.about-page .about-quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 2.7vw, 2.25rem); line-height: 1.2; text-wrap: balance; }
.about-page .about-roles-table { table-layout: fixed; }
.about-page .about-roles-table caption { caption-side: top; text-align: left; margin: 0; padding: 0 0 .75rem; }
.about-page .about-roles-table th { font-size: 1.4rem; padding: 1rem 1.5rem 1rem 0; border-bottom-width: 1px; }
.about-page .about-roles-table td { padding: 1.25rem 1.5rem 1.25rem 0; }
.about-page .about-roles-table th + th, .about-page .about-roles-table td + td { padding-left: 1.5rem; }
.about-page .about-roles-table li { padding-bottom: .3rem; }
.about-page .about-partnership-content > .about-after-roles { margin: 1.5rem 0 0; }
.about-page .about-values { background: var(--ink); color: var(--white); }
.about-page .about-values-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.about-page .about-values h2 { color: var(--white); font: 600 1.125rem/1.4 var(--sans); margin: 0 0 1.5rem; }
.about-page .about-values-word { font: 600 clamp(2.85rem, 4.9vw, 4rem)/1.08 var(--serif); letter-spacing: -.02em; margin: 0; }
.about-page .about-principles { list-style: none; padding: 0; margin: 0; }
.about-page .about-principles li { padding: .75rem 0; border-top: 1px solid #526078; }
.about-page .about-principles li:last-child { border-bottom: 1px solid #526078; }
.about-page .about-status-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); }
.about-page .about-status-layout h2 { max-width: 13ch; }
.about-page .about-status-list { list-style: none; padding: 0; margin: 0; }
.about-page .about-status-list li { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--hairline); }
.about-page .about-status-list .status { justify-self: start; margin-top: .2rem; font-size: .7rem; border-radius: 0; }
.about-page .about-status-list li:last-child { border-bottom: 1px solid var(--hairline); }
.about-page .about-governance-link { margin: 2.5rem 0 0; font-weight: 600; }
@media (max-width: 760px) {
  .about-page .about-split, .about-page .about-values-grid, .about-page .about-status-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about-page .about-who .about-split > .about-photo { grid-row: 2; }
  .about-page .about-facts { margin-top: 2.25rem; }
  .about-page .about-fact-grid { gap: 0 1rem; }
  .about-page .about-fact-grid li { padding: 0; border-left: 0; }
  .about-page .about-fact-grid li > span { font-size: .875rem; }
  .about-page .about-fact-number { font-size: 2.65rem; }
  .about-page .about-timeline li { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .75rem; }
  .about-page .about-timeline-content { padding-left: 1.1rem; }
  .about-page .about-timeline-content h3 { font-size: 1.3rem; }
  .about-page .about-timeline li:last-child .about-marker { font-size: 1.55rem; }
  .about-page .about-quote { padding-left: 1rem; }
  .about-page .about-roles-table th + th, .about-page .about-roles-table td + td { padding-left: 0; }
  .about-page .about-values h2 { margin-bottom: 1rem; }
  .about-page .about-status-list li { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .about-page .about-status-layout h2 { max-width: none; }
}
@media (max-width: 720px) {
  .about-page .about-roles-table caption { display: block; width: 100%; }
}

/* About B: a quiet statement, partner facts, then the story. */
.about-page--recommended .about-who { padding-bottom: 3rem; }
.about-page--recommended .about-fact-grid li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; }
.about-page--recommended .about-fact-grid li > span { margin-top: 0; }
@media (max-width: 960px) {
  .about-page--recommended .about-fact-grid li { display: block; }
  .about-page--recommended .about-fact-grid li > span { margin-top: .65rem; }
}


/* About B+: consistent line icons for facts and programme areas. */
.about-page.about-page--graphics .about-line-icon { display: block; width: 36px; height: 36px; flex: none; color: var(--ink); }
.about-page.about-page--graphics .about-fact-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; align-items: start; }
.about-page.about-page--graphics .about-fact-grid .about-line-icon { width: 40px; height: 40px; margin-top: .5rem; }
.about-page .about-fact-copy > span { display: block; font-size: 1rem; line-height: 1.3; margin-top: .5rem; }
.about-page .about-fact-copy small { display: block; margin-top: .35rem; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.about-page .about-reach { background: var(--band); }
.about-page .about-reach-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; margin-bottom: 2.5rem; }
.about-page .about-reach-heading h2 { max-width: 15ch; margin-bottom: 0; }
.about-page .about-reach-heading p { margin: 0; max-width: 48ch; }
.about-page .about-reach-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; }
.about-page .about-programmes h3 { font-size: 1.65rem; margin: 0 0 1.25rem; }
.about-page .about-sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.about-page .about-sector-list li { min-width: 0; padding: .6rem 0; border-top: 1px solid var(--hairline); font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }
.about-page .about-programme-development { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.about-page .about-programme-development .note { margin-bottom: .5rem; }
.about-page .about-development-name { margin: 0; font-size: .9375rem; font-weight: 600; }
.about-page .about-programme-link { display: inline-block; margin-top: 1.25rem; font-size: 1rem; font-weight: 600; }
@media (max-width: 960px) {
  .about-page .about-reach-layout, .about-page .about-reach-heading { gap: 2rem; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .about-page .about-coverage-map { padding: 1.5rem; grid-template-columns: minmax(0, 1fr) 6.75rem; }
}
@media (max-width: 760px) {
  .about-page .about-reach-layout, .about-page .about-reach-heading { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .about-page .about-reach-heading { margin-bottom: 2rem; }
  .about-page .about-reach-heading h2 { max-width: none; }
  .about-page .about-coverage-map { padding: 1.5rem; grid-template-columns: minmax(0, 1fr) 6.75rem; }
  .about-page .about-coverage-map > svg { width: 184px; }
  .about-page .about-programmes { margin-top: .5rem; }
  .about-page .about-programmes h3 { font-size: 1.5rem; }
  .about-page.about-page--graphics .about-line-icon { width: 32px; height: 32px; }
  .about-page.about-page--graphics .about-fact-grid li { display: block; }
  .about-page.about-page--graphics .about-fact-grid .about-line-icon { width: 28px; height: 28px; margin: 0 0 .75rem; }
  .about-page .about-fact-copy > span { font-size: .875rem; }
  .about-page .about-fact-copy small { font-size: .8rem; }
}

/* Operational capability graphics: scoped to the About page. */
.about-page .about-capability { min-width: 0; margin: 0; padding: 1.75rem; background: var(--white); }
.about-page .about-capability h3 { font-size: 1.7rem; margin: 0 0 .75rem; }
.about-page .about-capability-intro { font-size: 1rem; line-height: 1.45; margin: 0 0 1.5rem; }
.about-page .about-function-icon { width: 30px; height: 30px; display: block; flex: none; }
.about-page .about-capability-link { display: inline-block; margin-top: 1.25rem; font-size: .9375rem; font-weight: 600; }
@media (max-width: 760px) { .about-page .about-capability { padding: 1.5rem 1.25rem; } }

.about-page .about-explorer { background: var(--ink); color: var(--white); }
.about-page .about-explorer h3, .about-page .about-explorer h4 { color: var(--white); }
.about-page .about-explorer h3 { max-width: 15ch; }
.about-page .about-explorer .about-capability-intro { color: #D5DEE6; }
.about-page .about-function-network { position: relative; margin-bottom: 1.25rem; }
.about-page .about-network-key { display: flex; justify-content: space-between; gap: 2rem; margin: 0 0 1rem; color: #D5DEE6; font-size: .75rem; line-height: 1.35; }
.about-page .about-network-key span { max-width: 10ch; }
.about-page .about-network-key span:last-child { text-align: right; }
.about-page .about-network-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sky); }
.about-page .about-function-tabs { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem 5.2rem; margin: 0; padding: 0; list-style: none; }
.about-page .about-function-tabs li:nth-child(1) { grid-area: 1 / 1; }
.about-page .about-function-tabs li:nth-child(2) { grid-area: 2 / 1; }
.about-page .about-function-tabs li:nth-child(3) { grid-area: 3 / 1; }
.about-page .about-function-tabs li:nth-child(4) { grid-area: 1 / 2; }
.about-page .about-function-tabs li:nth-child(5) { grid-area: 2 / 2; }
.about-page .about-function-tabs li:nth-child(6) { grid-area: 3 / 2; }
.about-page .about-function-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; height: 80px; padding: .375rem .25rem; border: 1px solid #74839D; color: var(--white); background: var(--ink); font-size: .875rem; font-weight: 600; line-height: 1.15; text-align: center; text-decoration: none; }
.about-page .about-function-tab .about-function-icon { width: 25px; height: 25px; }
.about-page .about-function-tab:hover { background: #22355F; color: var(--white); }
.about-page .about-function-tab[aria-selected="true"] { border: 2px solid var(--sky); padding: calc(.375rem - 1px) calc(.25rem - 1px); background: #22355F; }
.about-page .about-function-tab:focus-visible { outline-color: var(--white); outline-offset: 4px; }
.about-page .about-network-centre { position: absolute; top: 50%; left: 50%; width: 4.75rem; height: 4.75rem; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 1.2; text-align: center; padding: .4rem; }
.about-page .about-function-panel { margin-top: 1rem; border-top: 1px solid #74839D; padding-top: 1.25rem; scroll-margin-top: 2rem; }
.about-page .about-function-panel[hidden] { display: none; }
.about-page .about-function-owner { display: block; margin-bottom: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #D5DEE6; }
.about-page .about-function-panel h4 { margin: 0 0 .6rem; font: 600 1.4rem/1.2 var(--serif); }
.about-page .about-function-panel p { margin: 0; font-size: 1rem; line-height: 1.45; }
.about-page .about-explorer[data-enhanced] .about-function-panels { min-height: 148px; }
.about-page .about-explorer .about-capability-link { color: var(--white); }
@media (max-width: 960px) and (min-width: 761px) { .about-page .about-explorer { padding: 1.25rem; } .about-page .about-function-tabs { column-gap: 4.5rem; } .about-page .about-network-centre { width: 4rem; height: 4rem; } }

/* Our work: page-scoped layouts and directly labelled charts. */
.work-page .photo img { border-radius: 0; }
.work-page .work-line-icon { display: block; flex: none; width: 28px; height: 28px; color: var(--ink); }
.work-page .work-role-row { margin: 0; }
.work-page .work-role-row dt { font-size: 1.125rem; line-height: 1.3; margin-bottom: .5rem; }
.work-page .work-role-row dd { font-size: 1rem; line-height: 1.5; }
.work-page .work-pull { margin: 0; font: 600 clamp(2rem, 3.5vw, 3rem)/1.15 var(--serif); letter-spacing: -.015em; max-width: 17ch; text-wrap: balance; }
.work-page .work-chart { min-width: 0; margin: 0; }
/* Contain hidden chart tables within their 1px clipping box on narrow screens. */
.work-page table.visually-hidden { display: block; }
.work-page .work-chart h3 { font-size: 1.5rem; }
.work-page .work-chart figcaption .note { margin: .5rem 0 1.5rem; }
.work-page .work-year-chart { display: grid; gap: 1.1rem; padding: 0; margin: 0; list-style: none; }
.work-page .work-year-chart li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 1.5rem; align-items: center; gap: .75rem; font-size: 1rem; line-height: 1.5; }
.work-page .work-year-chart svg { display: block; width: 100%; height: 30px; }
.work-page .work-year-chart strong { text-align: right; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.work-page .work-chart-guide { stroke: var(--hairline); stroke-width: 1; }
.work-page .work-year-bar { fill: var(--ink); }
.work-page .work-year-scale { display: flex; justify-content: space-between; margin: .75rem 2.25rem 0 3.75rem; font-size: .85rem; color: var(--muted); }
.work-page .work-funder-bar { display: block; width: 100%; height: 36px; }
.work-page .work-funder-labels { list-style: none; padding: 0; margin: 1.25rem 0 .75rem; }
.work-page .work-funder-labels li { display: grid; grid-template-columns: 1rem minmax(0, 1fr) 2rem; align-items: start; gap: .75rem; margin: .7rem 0; font-size: 1rem; line-height: 1.4; }
.work-page .work-funder-labels strong { text-align: right; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.work-page .work-funder-key { display: block; width: 1rem; height: 1rem; border: 1px solid var(--ink); margin-top: .2rem; }
.work-page .work-funder-key--global, .work-page .work-unit-key--health { background: var(--ink); }
.work-page .work-funder-key--other { background: repeating-linear-gradient(135deg, var(--band) 0 3px, var(--ink) 3px 4px, var(--band) 4px 6px); }
.work-page .work-funder-note { margin: 1rem 0 0; max-width: 48ch; }
.work-page .work-highlights-note { margin: 0 0 1.25rem; }
.work-page .work-result-card { min-width: 0; }
.work-page .work-result-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.work-page .work-result-card p:last-child { margin-bottom: 0; }
.work-page .work-health-total { display: flex; align-items: baseline; gap: .75rem; margin: 1rem 0; }
.work-page .work-health-total strong, .work-page .work-earthquake-stat strong { display: block; font: 600 4rem/1 var(--serif); }
.work-page .work-health-total span { font-size: 1rem; }
.work-page .work-health-grid { display: block; width: 100%; max-width: 270px; }
.work-page .work-unit-health { fill: var(--ink); stroke: var(--ink); }
.work-page .work-unit-other { fill: var(--white); stroke: var(--muted); }
.work-page .work-unit-key { display: flex; align-items: flex-start; gap: .5rem; margin: .5rem 0 1rem; font-size: .8rem; }
.work-page .work-unit-key .work-funder-key { width: .75rem; height: .75rem; flex: none; }
.work-page .work-earthquake-stat p { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 1rem; }
.work-page .work-earthquake-stat span { display: block; font-size: 1rem; line-height: 1.4; }
.work-page .work-report-note { margin: 2.5rem 0 0; max-width: 90ch; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
@media (max-width: 760px) {
  .work-page .work-pull { font-size: 2.15rem; }
  .work-page .work-result-card h3 { font-size: 1.3rem; }
}

/* A: a compact directory, an ink support band, then a chart-led feature. */
.work-page--rhythm-a .work-programme-section { background: var(--band); padding-block: 3rem; }
.work-page--rhythm-a .work-programme-section h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.work-page--rhythm-a .work-role-section { background: var(--ink); color: var(--white); padding-block: clamp(3.5rem, 6vw, 5rem); }
.work-page--rhythm-a .work-role-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 4rem; }
.work-page--rhythm-a .work-role-heading h2 { color: var(--white); font: 600 1rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.5rem; }
.work-page--rhythm-a .work-role-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.work-page--rhythm-a .work-role-row > div { padding: 0; border: 0; }
.work-page--rhythm-a .work-role-number { display: block; color: var(--hairline); font: 600 2.4rem/1 var(--serif); margin-bottom: .85rem; }
.work-page--rhythm-a .work-role-row dd { color: var(--hairline); }
.work-page--rhythm-a .work-results-heading { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 4rem; align-items: start; }
.work-page--rhythm-a .work-results-heading p { margin: 0; }
.work-page--rhythm-a .work-results-charts { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 3rem; align-items: start; margin: 2.5rem 0 3rem; }
.work-page--rhythm-a .work-chart--year { background: var(--band); padding: 2rem 2.25rem; }
.work-page--rhythm-a .work-chart--year h3 { font-size: 1.8rem; }
.work-page--rhythm-a .work-chart--funder { padding-top: 2rem; }
.work-page--rhythm-a .work-result-highlights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 3rem; }
.work-page--rhythm-a .work-health-card { grid-row: span 2; background: var(--band); padding: 2rem 2.25rem; }
.work-page--rhythm-a .work-earthquake-card { padding-top: .5rem; }
.work-page--rhythm-a .work-protection-card { border-top: 1px solid var(--hairline); padding-top: 1.5rem; }
@media (max-width: 1050px) {
  .work-page--rhythm-a .work-role-layout { gap: 2.5rem; }
}
@media (max-width: 760px) {
  .work-page--rhythm-a .work-programme-section { padding-block: 2.5rem; }
  .work-page--rhythm-a .work-role-layout, .work-page--rhythm-a .work-results-heading, .work-page--rhythm-a .work-results-charts, .work-page--rhythm-a .work-result-highlights { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .work-page--rhythm-a .work-role-row { gap: 2rem 1.5rem; }
  .work-page--rhythm-a .work-role-row dt { font-size: 1.0625rem; }
  .work-page--rhythm-a .work-role-row dd { font-size: .9375rem; }
  .work-page--rhythm-a .work-role-number { font-size: 2rem; }
  .work-page--rhythm-a .work-results-heading { gap: .5rem; }
  .work-page--rhythm-a .work-results-charts { margin-block: 2rem 2.5rem; }
  .work-page--rhythm-a .work-chart--year, .work-page--rhythm-a .work-health-card { padding: 1.5rem 1.25rem; }
  .work-page--rhythm-a .work-chart--year h3 { font-size: 1.45rem; }
  .work-page--rhythm-a .work-chart--funder { padding-top: 0; }
  .work-page--rhythm-a .work-health-card { grid-row: auto; }
  .work-page--rhythm-a .work-earthquake-card { padding-top: 0; }
}
/* Programme areas: independent native disclosures with visible sector copy. */
.programme-preview .programme-count { margin-bottom: 1.5rem; }
.programme-preview .programme-sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; padding: 0 0 1rem; list-style: none; }
.programme-preview .programme-sector { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: .75rem; min-width: 0; padding-block: .8rem; border-top: 1px solid var(--hairline); }
.programme-preview .programme-sector .work-line-icon { width: 24px; height: 24px; margin-top: .1rem; }
.programme-preview .programme-sector-copy { min-width: 0; }
.programme-preview .programme-sector-copy h4 { margin: 0 0 .3rem; font: 600 1rem/1.35 var(--sans); overflow-wrap: anywhere; }
.programme-preview .programme-sector-copy p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.programme-preview .programme-development { margin-top: 2rem; }
.programme-preview--themes .programme-themes { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--hairline); }
.programme-preview .programme-theme { min-width: 0; border-top: 1px solid var(--hairline); }
.programme-preview .programme-summary { display: flex; align-items: center; gap: .75rem; min-height: 64px; padding-block: .75rem; color: var(--ink); cursor: pointer; list-style: none; }
.programme-preview .programme-summary::-webkit-details-marker { display: none; }
.programme-preview .programme-summary::marker { content: ""; }
.programme-preview .programme-summary:hover { color: var(--action); }
.programme-preview .programme-summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.programme-preview .programme-theme-title { flex: 1; min-width: 0; font: 600 1.25rem/1.3 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.programme-preview .programme-theme-count { flex: none; color: var(--muted); font-size: .9rem; }
.programme-preview .programme-chevron { flex: none; width: 20px; height: 20px; }
.programme-preview details[open] > .programme-summary > .programme-chevron { transform: rotate(180deg); }
.programme-preview .programme-summary .work-line-icon { width: 24px; height: 24px; color: inherit; }
@media (max-width: 760px) {
  .programme-preview .programme-sector-list { grid-template-columns: minmax(0, 1fr); }
}

/* Programme photos A: two photos inside each programme disclosure. */
.work-page .programme-theme-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: .25rem 1.75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--hairline); }
.work-page .programme-theme-photo { min-width: 0; max-width: 800px; margin: 0; }
.work-page .programme-theme-photo picture { display: block; }
.work-page .programme-theme-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.work-page .programme-theme-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.work-page .programme-theme-photos + .programme-sector-list .programme-sector:first-child { border-top: 0; }
@media (min-width: 761px) {
  .work-page .programme-theme-photos + .programme-sector-list .programme-sector:nth-child(2) { border-top: 0; }
}

/* Field photos: native scrolling remains available without JavaScript. */
.field-slideshow { min-width: 0; padding: 16px; background: var(--band); border-radius: 4px; }
.field-slides { display: flex; width: 100%; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.field-slide { flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; display: grid; align-content: start; gap: 1.5rem; scroll-snap-align: start; }
/* 407px is the smallest full-size native width across the nine photos. */
.field-slide picture, .field-slide figcaption { display: block; width: 100%; max-width: 407px; margin-inline: auto; }
.field-slide img { display: block; width: 100%; max-width: 407px; height: auto; }
.field-programme { margin: 0 0 .75rem; font-size: 1.5rem; }
.field-slide figcaption p { margin: 0 0 .75rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.field-year { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.field-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .5rem; align-items: center; max-width: 407px; margin: 1.5rem auto 0; }
.field-controls[hidden] { display: none; }
.field-arrow, .field-dot { display: grid; place-items: center; padding: 0; color: var(--ink); font: inherit; cursor: pointer; }
.field-arrow { width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; background: var(--white); font-size: 1.5rem; }
.field-arrow:hover { border-color: var(--ink); }
.field-counter { text-align: center; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.field-picker { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; }
.field-dot { width: 32px; height: 32px; border: 0; background: transparent; }
.field-dot::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--muted); border-radius: 50%; }
.field-dot[aria-disabled="true"] { cursor: default; }
.field-dot[aria-disabled="true"]::before, .field-dot:hover::before { background: var(--ink); border-color: var(--ink); }
@media (min-width: 900px) {
  .field-slideshow { padding: 32px; }
  .field-slide { grid-template-columns: 407px minmax(0, 1fr); align-items: center; column-gap: 3rem; }
}

/* Programme photos C: small natural-ratio plates and alternating editorial copy. */
.about-page .about-support-story { background: var(--white); }
.about-page .about-who .about-photo { max-width: 704px; }
.about-page .about-story .about-photo { max-width: 655px; }
.about-page .about-support-inner { max-width: 880px; }
.about-page .about-support-story h2 { margin-bottom: 2rem; }
.about-page .about-support-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 4rem; padding-block: 2rem; border-top: 1px solid var(--hairline); }
.about-page .about-support-photo { width: 100%; max-width: 360px; min-width: 0; margin: 0; }
.about-page .about-support-photo picture { display: block; }
.about-page .about-support-photo img { display: block; width: 100%; height: auto; }
.about-page .about-support-photo figcaption { margin-top: .65rem; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.about-page .about-support-copy { min-width: 0; max-width: 36ch; margin: 0; font: 400 clamp(1.25rem, 2.1vw, 1.5rem)/1.45 var(--serif); }
.about-page .about-support-row:nth-child(even) .about-support-photo { grid-column: 2; grid-row: 1; justify-self: end; }
.about-page .about-support-row:nth-child(even) .about-support-copy { grid-column: 1; grid-row: 1; }
@media (max-width: 760px) {
  .about-page .about-support-row { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: 1.75rem; }
  .about-page .about-support-row:nth-child(even) .about-support-photo, .about-page .about-support-row:nth-child(even) .about-support-copy { grid-column: auto; grid-row: auto; justify-self: start; }
}

/* Projects previews: shared site tokens, with all new rules scoped to these pages. */
.projects-page { --projects-grade: saturate(.9) contrast(1.03); }
.projects-page .projects-intro { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--hairline); }
.projects-page .projects-option { margin: 0 0 1rem; color: var(--action); font-size: .875rem; font-weight: 600; }
.projects-page .projects-intro h1 { max-width: 22ch; margin-bottom: .6em; }
.projects-page .projects-lead { max-width: 47rem; margin: 0; color: var(--muted); font-size: 1.2rem; }
.projects-page .projects-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.projects-page .projects-section-heading { margin-bottom: 1.75rem; }
.projects-page .projects-section-heading h2 { margin-bottom: .4em; }
.projects-page .projects-section-heading p { max-width: 50rem; margin: 0; color: var(--muted); font-size: .9375rem; }
.projects-page .projects-section-label { margin: 0 0 .75rem; color: var(--muted); font: 600 .875rem/1.4 var(--sans); letter-spacing: .02em; }
.projects-page .projects-picture { display: block; width: 100%; max-width: var(--projects-native-width); }
.projects-page .projects-picture img { display: block; width: 100%; max-width: var(--projects-native-width); height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; filter: var(--projects-grade); }
.projects-page .projects-overview { padding-block: 1.75rem; background: var(--band); border-bottom: 1px solid var(--hairline); }
.projects-page .projects-aggregates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.projects-page .projects-aggregates li { min-width: 0; padding-inline: 1.5rem; border-left: 1px solid var(--hairline); }
.projects-page .projects-aggregates li:first-child { padding-left: 0; border-left: 0; }
.projects-page .projects-aggregates p { margin: 0; }
.projects-page .projects-aggregates strong { display: block; font: 600 2.5rem/1.15 var(--serif); }
.projects-page .projects-aggregates strong small { font: 600 .875rem/1.4 var(--sans); }
.projects-page .projects-aggregates span { display: block; max-width: 24ch; margin-top: .5rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.projects-page .projects-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.projects-page .projects-card { min-width: 0; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--white); }
.projects-page .projects-card .projects-picture { overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.projects-page .projects-picture--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .375rem; aspect-ratio: 3 / 2; }
.projects-page .projects-picture--split > .projects-picture { min-width: 0; min-height: 0; border-radius: 0; }
.projects-page .projects-picture--split img { height: 100%; aspect-ratio: auto; }
.projects-page .projects-card-body { padding: 1.25rem; }
.projects-page .projects-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; color: var(--muted); font-size: .8125rem; }
.projects-page .projects-card-meta > span:last-child { flex-shrink: 0; }
.projects-page .projects-tag { min-width: 0; padding: .2rem .6rem; border-radius: 4px; background: var(--band); color: var(--action); font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.projects-page .projects-card h3 { margin: 0 0 1rem; font-size: 1.5rem; }
.projects-page .projects-card-details { margin: 0; font-size: .9375rem; line-height: 1.45; }
.projects-page .projects-card-details > div + div { margin-top: .85rem; }
.projects-page .projects-card-details dt { margin-bottom: .15rem; font-weight: 600; }
.projects-page .projects-card-details dd { margin: 0; color: var(--muted); }
.projects-page .projects-card-details .projects-card-figures { padding-top: .85rem; border-top: 1px solid var(--hairline); }
 .projects-page .projects-caption { margin: .6rem 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.projects-page .projects-duotone .projects-picture { position: relative; isolation: isolate; overflow: hidden; border-radius: 3px; }
.projects-page .projects-duotone img { filter: grayscale(1) var(--projects-grade); transition: filter .2s ease; }
.projects-page .projects-duotone .projects-picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--ink), var(--sky)); mix-blend-mode: overlay; opacity: .4; pointer-events: none; transition: opacity .2s ease; }
.projects-page .projects-duotone:hover img, .projects-page .projects-duotone:focus img { filter: var(--projects-grade); }
.projects-page .projects-duotone:hover .projects-picture::after, .projects-page .projects-duotone:focus .projects-picture::after { opacity: 0; }
.projects-page .projects-sector-lines { margin: 0; font-size: .9375rem; line-height: 1.45; }
.projects-page .projects-sector-lines > div { padding-block: .8rem; border-top: 1px solid var(--hairline); }
.projects-page .projects-sector-lines dt { margin-bottom: .15rem; font-weight: 600; }
.projects-page .projects-sector-lines dd { margin: 0; color: var(--muted); }
.projects-page .projects-report-section { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.projects-page--c .projects-report-section { padding-top: 2.5rem; }
.projects-page .projects-report { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--band); }
.projects-page .projects-report > div { flex: 1 1 32rem; min-width: 0; }
.projects-page .projects-report h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.projects-page .projects-report p { max-width: 61ch; margin: 0; color: var(--muted); font-size: .9375rem; }
.projects-page .projects-report-link { max-width: 100%; font-size: .9375rem; font-weight: 600; }
@media (max-width: 1019px) {
  .projects-page .projects-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .projects-page .projects-aggregates { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .projects-page .projects-aggregates li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 679px) {
  .projects-page .projects-card-grid { grid-template-columns: minmax(0, 1fr); }
  .projects-page .projects-lead { font-size: 1.0625rem; }
  .projects-page .projects-aggregates li { padding-inline: .75rem; }
  .projects-page .projects-aggregates strong { font-size: 2.2rem; }
  .projects-page .projects-aggregates span { font-size: .875rem; }
}

/* Page title photos (A1 treatment): each page's title section has its own photo, never reused as another page's
   title photo (translated twins of a page share its photo). Photos are already published on the site or come from the
   screened Public-Ready folder; 1600px WebP, ~6px effective blur at 1280, no metadata; no captions or place links.
   Ink overlay is darker behind the text. Measured contrast (lightest pixel under the text): see design-review/page-heroes. */
.title-photo {
  --hero-overlay: linear-gradient(90deg, rgb(20 33 61 / 84%) 0%, rgb(20 33 61 / 74%) 55%, rgb(20 33 61 / 50%) 78%, rgb(20 33 61 / 20%) 100%);
}
:is(.page-hero, .about-intro, .projects-intro).title-photo {
  border-bottom: 0; background-color: var(--ink); background-image: var(--hero-overlay), var(--hero-photo, none);
  background-size: cover; background-position: center 60%; color: var(--white);
}
.title-photo.title-photo:not(.grm-hero) { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); }
.title-photo.title-photo :is(h1, h2, p, li, span) { color: var(--white); text-shadow: 0 1px 3px rgb(0 0 0 / 35%); }
.title-photo.title-photo a:not(.button) { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.title-photo .button { text-shadow: none; }
.title-photo :focus-visible { outline-color: var(--white); }
/* GRM safety notice keeps its white box and ink text inside a photo title. */
.title-photo.title-photo .callout, .title-photo.title-photo .callout :is(p, span, li) { color: var(--ink); text-shadow: none; }
.title-photo.title-photo .callout a:not(.button) { color: var(--action); }
@media (max-width: 1240px) {
  /* Below 1240px the heading spans most of the width, so use an even overlay. */
  .title-photo { --hero-overlay: linear-gradient(180deg, rgb(20 33 61 / 72%) 0%, rgb(20 33 61 / 80%) 100%); }
}
.title-photo.title-photo--work { --hero-photo: url("/assets/photos/work-hero.webp"); background-position: center 66%; }
.title-photo--about { --hero-photo: url("/assets/photos/heroes/about.webp"); }
.title-photo--projects { --hero-photo: url("/assets/photos/heroes/projects.webp"); }
.title-photo--contact { --hero-photo: url("/assets/photos/heroes/contact.webp"); }
.title-photo--governance { --hero-photo: url("/assets/photos/heroes/governance.webp"); }
.title-photo--policies { --hero-photo: url("/assets/photos/heroes/policies.webp"); }
.title-photo--privacy { --hero-photo: url("/assets/photos/heroes/privacy.webp"); }
.title-photo--404 { --hero-photo: url("/assets/photos/heroes/404.webp"); }
.title-photo--feedback { --hero-photo: url("/assets/photos/heroes/feedback.webp"); }
.title-photo--feedback-aid { --hero-photo: url("/assets/photos/heroes/feedback-aid.webp"); }
.title-photo--feedback-misconduct { --hero-photo: url("/assets/photos/heroes/feedback-misconduct.webp"); }
.title-photo--feedback-privacy { --hero-photo: url("/assets/photos/heroes/feedback-privacy.webp"); }
.title-photo--feedback-received { --hero-photo: url("/assets/photos/heroes/feedback-received.webp"); }
.title-photo--feedback-error { --hero-photo: url("/assets/photos/heroes/feedback-error.webp"); }

/* Our work (option A, chosen 19 Oct 2026). Order: key figures, Programme areas, From the field (tinted), What we do, Results (tinted), Partner with us.
   Appended last so it overrides the older .work-page rules above, as the review stylesheet did. */
.work-page .wk-section { padding-block: clamp(3rem, 6.25vw, 5rem); }
.work-page :is(.wk-photo, .wk-field-photo) { min-width: 0; margin: 0; }
.work-page :is(.wk-photo, .wk-field-photo) picture { display: block; }
.work-page :is(.wk-photo, .wk-field-photo) img { display: block; width: 100%; height: 280px; object-fit: cover; border-radius: 0; }
.work-page :is(.wk-photo, .wk-field-photo) figcaption { color: var(--muted); font-size: .875rem; line-height: 1.45; padding-top: .75rem; }
.work-page .wk-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.work-page .wk-section-heading :is(h2, p) { margin: 0; }
.work-page .wk-section-heading p { color: var(--muted); }
.work-page .button { border-radius: 3px; }
.work-page .wk-facts { padding-block: 2.5rem 1.5rem; background: var(--white); }
.work-page .wk-fact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.work-page .wk-fact-strip li { min-width: 0; padding: .25rem 2rem; border-left: 1px solid var(--hairline); }
.work-page .wk-fact-strip li:first-child { border: 0; padding-left: 0; }
.work-page .wk-fact-strip strong { display: block; font: 600 3.75rem/1 var(--serif); margin-bottom: .6rem; }
.work-page .wk-fact-strip :is(span, small) { display: block; font-size: 1rem; line-height: 1.4; color: var(--muted); }
.work-page .wk-facts-note { margin: 1.5rem 0 0; font-size: .8125rem; }
.work-page .wk-role-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.work-page .wk-role-heading h2 { margin: 0; }
.work-page .wk-role-heading p { margin: 0; font: 400 1.6rem/1.3 var(--serif); }
.work-page .wk-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.work-page .wk-pillars > div { min-width: 0; padding: 1.6rem 1.25rem; border-top: 3px solid var(--sky); background: var(--band); }
.work-page .wk-pillars dt { margin: 0 0 .8rem; font: 600 1.5rem/1.2 var(--serif); }
.work-page .wk-pillars dd { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.work-page .wk-disclosure { margin-top: 1.25rem; border-top: 1px solid var(--hairline); }
.work-page .wk-disclosure > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding-block: .75rem; cursor: pointer; list-style: none; color: var(--action); font-size: 1rem; font-weight: 600; }
.work-page .wk-disclosure > summary::-webkit-details-marker { display: none; }
.work-page .wk-disclosure[open] > summary .programme-chevron { transform: rotate(180deg); }
.work-page .wk-disclosure .programme-sector-list { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
/* Explicitly remove closed contents from layout as well as the native details
   presentation; this also prevents phantom text rectangles in browser audits. */
.work-page .wk-disclosure:not([open]) > .programme-sector-list { display: none; }
.work-page .programme-development { margin-top: 2rem; }
/* Development (D3, 19 Oct 2026): compact featured strip under the four cards; outside the 17 sectors, not a fifth card. */
.work-page .programme-development-strip { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: 1.5rem; background: var(--band); border-top: 3px solid var(--sky); }
.work-page .programme-development-thumb { margin: 0; }
.work-page .programme-development-thumb img { display: block; width: 100%; height: 150px; object-fit: cover; }
.work-page .programme-development-copy p { margin: 0; }
.work-page .programme-development-copy .note { color: var(--muted); font-size: .875rem; margin-bottom: .4rem; }
.work-page .programme-development-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.work-page .programme-development-head .work-line-icon { width: 30px; height: 30px; }
.work-page .programme-development-head h3 { font-size: 1.8rem; margin: 0; }
.work-page .programme-development-copy > p:last-child { color: var(--ink); font-size: 1.0625rem; line-height: 1.55; max-width: 44rem; }
.work-page .programme-development-cta { margin: 0; }
.work-page .programme-development-button { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .6rem 1.1rem; border: 2px solid var(--primary); border-radius: 8px; color: var(--primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.work-page .programme-development-button:hover { background: var(--primary); color: var(--white); }
.work-page .programme-development-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 760px) {
  .work-page .programme-development-strip { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; }
  .work-page .programme-development-thumb img { height: 180px; }
}
.work-page .wk-development { padding-block: 0 3rem; }
.work-page .wk-results { background: var(--band); }
.work-page .work-results-heading { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 3rem; }
.work-page .work-results-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-block: 2.5rem; align-items: stretch; }
.work-page .work-chart { padding: 2rem; background: var(--white); border-top: 3px solid var(--sky); }
.work-page .work-chart h3 { font-size: 1.6rem; }
.work-page .work-result-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.work-page .work-result-card { grid-row: auto; border: 0; border-top: 1px solid var(--hairline); padding: 1.5rem 0 0; background: transparent; font-size: 1rem; }
.work-page .work-result-card h3 { font-size: 1.45rem; }
.work-page .work-health-total strong { font-size: 4rem; }
.work-page .wk-field { background: var(--band); } /* tinted: sits between the white Programme areas and What we do sections */
.work-page .wk-field h2 { margin-bottom: 2rem; }
.work-page .wk-field-photo .field-programme { font: 600 1.1rem/1.2 var(--serif); margin-bottom: .5rem; }
.work-page .wk-field-photo figcaption p { margin: 0 0 .5rem; }
.work-page .wk-field-photo .field-year { font-size: .8125rem; }
.work-page .wk-cta-copy { padding: clamp(2rem, 4vw, 3rem); background: var(--ink); color: var(--white); }
.work-page .wk-cta-copy h2 { color: inherit; }
.work-page .wk-cta-copy p { max-width: 61ch; margin-bottom: 1.75rem; }
.work-page .wk-cta-copy .button { color: var(--ink); background: var(--white); border-color: var(--white); }
.work-page .wk-cta-copy .button:hover { background: var(--band); }
.work-page .wk-cta-copy :focus-visible { outline-color: var(--white); }

/* Programme cards (2 x 2), edge-to-edge field strip, split partner block. */
.work-page .wk-programmes { padding-top: clamp(1.5rem, 3vw, 2.5rem); } /* follows the white key-figures strip directly */
.work-page .wk-programme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.work-page .wk-programme-card { min-width: 0; background: var(--band); }
.work-page .wk-programme-card .wk-photo figcaption { padding-inline: 1.5rem; }
.work-page .wk-card-copy { padding: 1.25rem 1.5rem .5rem; }
.work-page .wk-card-copy h3 { font-size: 1.8rem; }
/* Programme dropdown A + T3 cap (19 Oct 2026): open card and row partner span full width (no blank side). Open card: photo left capped ~280px (no stretch), denser 2-col sectors, odd last sector spans full width (no 3-vs-2 blank). Desktop only. */
@media (min-width: 761px) {
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]),
  .work-page .wk-programme-grid > .wk-programme-card:nth-child(odd):has(.wk-disclosure[open]) + .wk-programme-card,
  .work-page .wk-programme-grid > .wk-programme-card:nth-child(odd):has(+ .wk-programme-card .wk-disclosure[open]) {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  /* Closed row partner stays a compact horizontal card. */
  .work-page .wk-programme-grid > .wk-programme-card:not(:has(.wk-disclosure[open])):is(:nth-child(odd):has(.wk-disclosure[open]) + *, :nth-child(odd):has(+ * .wk-disclosure[open])) .wk-photo { display: flex; flex-direction: column; padding-bottom: 1rem; }
  .work-page .wk-programme-grid > .wk-programme-card:not(:has(.wk-disclosure[open])):is(:nth-child(odd):has(.wk-disclosure[open]) + *, :nth-child(odd):has(+ * .wk-disclosure[open])) .wk-photo picture { flex: 1; }
  /* T3 open card: align to start, cap photo height, denser 2-col sectors, odd last spans full. */
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) { align-items: start; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .wk-photo { display: block; padding-bottom: 1rem; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .wk-photo picture { flex: none; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .wk-photo img { height: 280px; max-height: 280px; min-height: 0; object-fit: cover; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .wk-card-copy { padding: 1.25rem 1.75rem .75rem; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .programme-sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .programme-sector { padding-block: .45rem; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .programme-sector-copy p { font-size: .875rem; line-height: 1.4; }
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .programme-sector-list > .programme-sector:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Basic needs open photo focal point (19 Oct 2026): keep the storage barrel and pipework in the 280px crop. */
  .work-page .wk-programme-grid > .wk-programme-card:has(.wk-disclosure[open]) .wk-photo img[src*="water-treatment-equipment"] { object-position: 78% 50%; }
}
.work-page .wk-field-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.work-page .wk-field-strip img { height: clamp(175px, 19vw, 300px); }
.work-page .wk-field-strip figcaption { padding-inline: 1rem; }
.work-page .wk-cta { padding-top: 0; }
.work-page .wk-cta-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.work-page .wk-credentials { background: var(--band); padding: 3rem 2.5rem; display: flex; align-items: center; }
.work-page .wk-credentials ul { list-style: none; margin: 0; padding: 0; }
.work-page .wk-credentials li { padding-block: 1.25rem; border-top: 1px solid var(--hairline); font-size: 1.0625rem; }
.work-page .wk-credentials li:first-child { border: 0; padding-top: 0; font: 600 1.7rem/1.3 var(--serif); }
.work-page .wk-credentials li:last-child { padding-bottom: 0; }

@media (min-width: 761px) and (max-width: 1050px) {
  .work-page .wk-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .work-page :is(.wk-section-heading, .wk-role-heading) { display: block; }
  .work-page :is(.wk-section-heading, .wk-role-heading) :is(p) { margin-top: .75rem; }
  .work-page .wk-role-heading p { font-size: 1.4rem; }
  .work-page .wk-pillars { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .work-page .wk-facts { padding-block: 1.25rem; }
  .work-page .wk-fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-page .wk-fact-strip li { border-left: 0; border-bottom: 1px solid var(--hairline); padding: 1.25rem .75rem 1.25rem 0; }
  .work-page .wk-fact-strip li:first-child { border-bottom: 1px solid var(--hairline); }
  .work-page .wk-fact-strip li:nth-child(even) { border-left: 1px solid var(--hairline); padding-left: 1.25rem; padding-right: 0; }
  .work-page .wk-fact-strip strong { font-size: 3rem; }
  .work-page .work-results-heading { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .work-page :is(.work-results-charts, .work-result-highlights) { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .work-page .work-chart { padding: 1.5rem 1.25rem; }
  .work-page .wk-photo img { height: 240px; }
  .work-page .wk-cta-copy { padding: 2rem 1.5rem; }
  .work-page .wk-cta-copy .button { display: block; text-align: center; }
  .work-page .wk-programme-grid { grid-template-columns: minmax(0, 1fr); }
  .work-page .wk-field-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: .25rem 20px 1.25rem; overscroll-behavior-x: contain; }
  .work-page .wk-field-photo { scroll-snap-align: start; }
  .work-page .wk-field-strip img { height: 225px; }
  .work-page .wk-field-strip figcaption { padding-inline: 0; }
  .work-page .wk-cta-split { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .work-page .wk-credentials { padding: 2rem 1.5rem; }
  .work-page .wk-cta { padding-bottom: 0; }
}
@keyframes work-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .work-page :is(.wk-pillars > div, .wk-programme-card, .wk-cta-copy) { animation: work-enter 1s linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-page,
  .work-page *,
  .work-page *::before,
  .work-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
