/* Public site: donors, funders, partners. Mobile-first, then desktop.
   Uses the one heading web font (Source Serif 4) unless low-data mode. */
/* Served from /fonts (SIL Open Font License, public/fonts/OFL-source-serif-4.txt).
   font-display: swap shows Georgia at once and swaps when the font arrives,
   so slow connections never wait for text. Low-data mode never loads it. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
.public { --f-head: "Source Serif 4", Georgia, "Times New Roman", serif; }
.public.low-data { --f-head: Georgia, "Times New Roman", serif; }

/* ---- Design refresh (Dec 2026) ---------------------------------------
   Goal: a calm, editorial charity site that looks made by people, not
   generated. Rules: square corners, no drop shadows, thin rules instead of
   boxes, real photos, serif headings, and the logo's own colours
   (navy, blue, green, gold) on the cream from SR&C's deck. */
.public {
  --c-navy-ink: #14294b;      /* headings — 13:1 on cream */
  --c-lagoon: #1d4f91;        /* links & primary buttons (logo blue, deepened) — 8:1 on white */
  --c-lagoon-dark: #14294b;
  --c-lagoon-tint: #e9eef6;
  --c-ok: #1f6b3a;            /* logo green, deepened — 6.6:1 on white */
  --c-ok-tint: #e8f0e6;
  --c-sunset: #f2b705;        /* logo gold — fills only, with navy text (9:1) */
  --c-sunset-tint: #fbf3dc;
  --c-sand: #f6f1e7;          /* page cream (from SR&C's own deck) */
  --c-line: #d9d1c0;
  --c-muted: #4f5866;
  --radius: 2px;
  --shadow: none;
}
.public.low-data { --f-head: Georgia, "Times New Roman", serif; }
.h3 { font-size: 1.15rem; }

/* Header */
.site-header { background: var(--c-surface); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 72px; }
.site-header .brand-name { font-size: 1.05rem; }
.site-header .brand .public-logo { width: min(240px, 55vw); height: auto; }
.main-nav { display: none; align-items: center; gap: var(--s-4); }
.main-nav ul { display: flex; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); text-decoration: none; color: var(--c-ink); font-weight: 600; border-radius: 8px; }
.main-nav a:not(.btn):hover { background: var(--c-ok-tint); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--c-lagoon-dark); box-shadow: inset 0 -3px 0 var(--c-sunset); border-radius: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown summary, .mobile-about summary { display: flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 var(--s-3); color: var(--c-ink); font-weight: 600; border-radius: 8px; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker, .mobile-about summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover, .nav-dropdown:focus-within summary { background: var(--c-ok-tint); }
.main-nav .nav-dropdown ul { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; padding: var(--s-2); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.main-nav .nav-dropdown:hover ul, .main-nav .nav-dropdown:focus-within ul, .main-nav .nav-dropdown details[open] ul { display: block; }
.main-nav .nav-dropdown ul a { display: flex; white-space: nowrap; }
.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav ul { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, 90vw); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: var(--s-2); }
.mobile-nav li a:not(.btn) { display: flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); text-decoration: none; color: var(--c-ink); font-weight: 600; }
.mobile-nav li a[aria-current="page"] { color: var(--c-lagoon-dark); background: var(--c-ok-tint); border-radius: 8px; }
.mobile-nav .mobile-about ul { position: static; width: auto; padding: 0 0 0 var(--s-3); border: 0; box-shadow: none; }
@media (min-width: 1060px) { .main-nav { display: flex; } .mobile-nav { display: none; } }
.preview-bar { background: var(--c-warn-tint); color: var(--c-warn); border-bottom: 2px solid var(--c-warn); padding: var(--s-2) var(--s-4); text-align: center; }

/* Hero & page heroes */
.hero { background: linear-gradient(120deg, var(--c-ok-tint) 0%, var(--c-sunset-tint) 100%); padding: var(--s-6) 0; }
.hero-grid { display: grid; gap: var(--s-5); align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.lead { font-size: 1.15rem; max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--c-sunset-text); margin-bottom: var(--s-2); font-family: var(--f-body); }
.eyebrow a { color: inherit; }
.hero-img { aspect-ratio: 4/3; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } .hero { padding: var(--s-7) 0; } }
.page-hero { background: var(--c-ok-tint); padding: var(--s-6) 0 var(--s-5); border-bottom: 1px solid var(--c-line); }
.page-hero .lead { margin-bottom: 0; }
.low-data .hero { background: var(--c-ok-tint); }

/* Results (decision 4: every figure carries an as-of date) */
.results-band { background: var(--c-ok); color: #fff; }
.results-band h2 { color: #fff; }
.results-band .muted { color: var(--c-ok-tint); }   /* 5:1 on the green band */
.results { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.result { display: flex; flex-direction: column; gap: 2px; padding: var(--s-4); border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.result-num { font: 700 clamp(2.2rem, 5vw, 3rem)/1 var(--f-head); }
.result-num.inline { font-size: 1.8rem; color: var(--c-lagoon-dark); }
.result-num.big { color: var(--c-lagoon-dark); margin: 0; }
.result-label { font-weight: 600; }
.result-asof { font-size: .85rem; opacity: .85; }
.section .results .result, .result-card .results .result { background: var(--c-surface); border-color: var(--c-line); color: var(--c-ink); }
.section:not(.results-band) .result-num { color: var(--c-lagoon-dark); }

/* Pillars */
.pillar-card { border-top: 6px solid var(--c-lagoon); display: flex; flex-direction: column; }
.pillar-card h3 a, .pillar-card h2 a { text-decoration: none; color: var(--c-lagoon-dark); }
.pillar-card .more { margin-top: auto; font-weight: 700; }
.pillar-education { border-top-color: var(--c-ok); }
.pillar-water-shelter { border-top-color: var(--c-lagoon); }
.pillar-jobs { border-top-color: var(--c-sunset); }
.pillar-stat strong { font: 700 1.6rem var(--f-head); color: var(--c-lagoon-dark); }
.band-light { background: var(--c-ok-tint); border-block: 1px solid var(--c-line); }
.two-col-public { display: grid; gap: var(--s-6); }
@media (min-width: 860px) { .two-col-public { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: var(--s-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--c-ok); font-weight: 700; }
.result-card .btn { margin-top: var(--s-3); }
.pillar-nav { display: flex; gap: var(--s-3); flex-wrap: wrap; padding-bottom: var(--s-6); }
.section-sm { padding-top: var(--s-5); }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
.photo-strip img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

/* Story */
.story-grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 860px) { .story-grid { grid-template-columns: 1fr 1.2fr; } }
.story-img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); width: 100%; }
.story { margin: 0; }
.story blockquote { margin: 0 0 var(--s-3); font: 600 clamp(1.15rem, 2.4vw, 1.45rem)/1.45 var(--f-head); color: var(--c-lagoon-dark); border-left: 5px solid var(--c-sunset); padding-left: var(--s-4); }
.cta-band { background: var(--c-sunset-tint); }

/* Map */
.map-band { background: var(--c-ok-tint); border-block: 1px solid var(--c-line); }
.map-preview-grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 860px) { .map-preview-grid { grid-template-columns: 1fr 1.5fr; } }
.map-preview { display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.si-map { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.si-map .sea { fill: #e5eee9; }
.si-map .land { fill: #f4efe2; stroke: #8fa9a6; stroke-width: 1.2; }
.si-map .island-label { font: 600 13px var(--f-body); fill: #4d5c60; }
.si-map .pin path { stroke: #fff; stroke-width: 1.5; fill: var(--c-lagoon); }
.si-map .pin-water-shelter path { fill: #2f6fa5; }
.si-map .pin-jobs path { fill: var(--c-sunset); }
.si-map .pin-link:focus-visible { outline: none; }
.si-map .pin-link:focus-visible .pin path, .si-map .pin-link:hover .pin path { stroke: #1b2629; stroke-width: 3; }
.map-controls { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-end; margin-bottom: var(--s-3); }
.map-controls .field { margin: 0; min-width: 220px; }
.view-toggle { display: inline-flex; gap: 4px; margin-left: auto; }
.legend { display: flex; gap: var(--s-4); list-style: none; padding: 0; margin: 0 0 var(--s-3); flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend-pin { display: inline-block; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c-lagoon); border: 1px solid #fff; vertical-align: middle; margin-right: 4px; }
.legend-pin.pin-water-shelter { background: #2f6fa5; }
.legend-pin.pin-jobs { background: var(--c-sunset); }
.map-wrap { position: relative; }
.pin-popup { position: absolute; right: var(--s-3); top: var(--s-3); width: min(340px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); overflow: auto; z-index: 5; }
.popup-close { float: right; }
.pin-cards { list-style: none; padding: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.pin-cards-map { margin-top: var(--s-6); }
.pin-card:target { outline: 3px solid var(--c-sunset); }
.pin-photo { aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: var(--s-3); width: 100%; }
.latest { background: var(--c-sand); padding: var(--s-2) var(--s-3); border-radius: 8px; }

/* Businesses */
.business-grid { display: grid; gap: var(--s-5); align-items: start; }   /* start: a 16:9 photo box was stretching the row and the text spilled into the next card */
@media (min-width: 860px) { .business-grid { grid-template-columns: 1fr 1.4fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-3); margin: var(--s-4) 0; }
.facts dt { font-size: .85rem; color: var(--c-muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; }
progress { width: 100%; height: 14px; accent-color: var(--c-sunset); }
.progress { margin-bottom: var(--s-2); }

/* Accountability */
.bars { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.bars li { display: grid; grid-template-columns: 11rem 1fr 3rem; gap: var(--s-3); align-items: center; }
.bars progress { accent-color: var(--c-lagoon); height: 18px; }
.bar-val { font-weight: 700; text-align: right; }
.doc-list { padding-left: 1.1rem; }
@media (max-width: 520px) { .bars li { grid-template-columns: 1fr 3rem; } .bar-label { grid-column: 1 / -1; } }

/* Get involved */
.paths .path { display: flex; flex-direction: column; border-top: 6px solid var(--c-sunset); }
.paths .path > :last-child { margin-top: auto; }
.stack-sm > * + * { margin-top: var(--s-2); }

/* Contact */
.contact-grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.8fr 1fr; align-items: start; } }
.contact-actions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form-2 { display: grid; gap: 0 var(--s-4); }
@media (min-width: 640px) { .form-2 { grid-template-columns: 1fr 1fr; } }
.check-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
[aria-invalid="true"] { border-color: var(--c-bad) !important; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--s-4); background: var(--c-ok-tint); color: var(--c-ok); font-size: 2.2rem; font-weight: 700; border: 3px solid var(--c-ok); }
.center-row { justify-content: center; }
.prose h2 { margin-top: var(--s-5); }

/* Footer */
.site-footer { background: var(--c-ink); color: #e9eeee; padding: var(--s-6) 0 var(--s-4); margin-top: var(--s-6); }
.site-footer a { color: #fff; }
.brand-light { color: #fff; }
.site-footer .footer-brand { background: #fff; border-radius: 8px; padding: 4px; }
.site-footer .footer-brand img { width: min(240px, 70vw); height: auto; }
.tagline { font-family: var(--f-head); font-size: 1.15rem; margin: var(--s-3) 0; }
.footer-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-h { color: #fff; font-size: 1rem; font-family: var(--f-body); text-transform: uppercase; letter-spacing: .05em; }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.lowdata-form { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; margin-top: var(--s-3); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); border-top: 1px solid #3a4a4e; margin-top: var(--s-5); padding-top: var(--s-4); color: #c4cfd1; }
.staff-link { color: #c4cfd1 !important; }


/* Interactive Leaflet impact map. */
.impact-map-hero {
  background:
    radial-gradient(ellipse at 88% 18%, rgba(205, 220, 160, .28), transparent 35%),
    var(--c-ok-tint);
}
.map-filter-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.map-filter-heading h2 { margin-bottom: 4px; }
.map-filter-heading p { margin-bottom: 0; }
.map-count {
  white-space: nowrap;
  color: var(--c-muted);
  font-size: .9rem;
  font-weight: 700;
}
.map-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--s-3) 0 var(--s-5);
}
.map-filter-tab {
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 42px;
  background: #fff;
  color: var(--c-ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.map-filter-tab:hover { transform: translateY(-1px); border-color: var(--c-lagoon); }
.map-filter-tab.is-active {
  background: var(--c-lagoon-dark);
  border-color: var(--c-lagoon-dark);
  color: #fff;
}
.map-filter-tab.filter-education:not(.is-active) { background: #edf4e8; border-color: #c8d9bd; color: #3d6845; }
.map-filter-tab.filter-water-shelter:not(.is-active) { background: #eaf2f7; border-color: #c5d9e5; color: #315f7c; }
.map-filter-tab.filter-jobs:not(.is-active) { background: #fbf2df; border-color: #ead7a8; color: #82652b; }
.impact-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
  gap: var(--s-4);
  align-items: stretch;
}
.map-panel, .project-detail {
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: var(--c-surface);
  box-shadow: 0 8px 24px rgba(25, 54, 48, .06);
  overflow: hidden;
}
.map-panel { padding: var(--s-3); }
.map-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-2) var(--s-3);
}
.map-panel-heading h2 { margin: 0; font-size: 1.35rem; }
.map-panel-heading .eyebrow { margin-bottom: 3px; }
.map-hint { color: var(--c-muted); font-size: .78rem; text-align: right; }
.leaflet-map {
  width: 100%;
  height: clamp(390px, 55vw, 590px);
  border-radius: 11px;
  background: #e6f0ee;
  z-index: 1;
}
#map-status { margin: 9px 4px 0; }
.leaflet-container { font-family: var(--f-body); }
.leaflet-control-zoom a {
  color: var(--c-ink) !important;
  border-color: var(--c-line) !important;
}
.impact-marker-wrap {
  background: transparent;
  border: 0;
}
.impact-marker {
  display: block;
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--c-lagoon);
  box-shadow: 0 2px 8px rgba(0,0,0,.32);
  transform: rotate(-45deg);
}
.impact-marker.marker-education { background: #6f9b70; }
.impact-marker.marker-water-shelter { background: #4d83a7; }
.impact-marker.marker-jobs { background: #c59a43; }
.project-detail {
  padding: var(--s-4);
  min-height: 390px;
}
.detail-empty {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.detail-spark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #edf4e8;
  color: #5d895e;
  font-size: 1.6rem;
  margin-bottom: var(--s-3);
}
.detail-empty h2 { font-size: 1.55rem; }
.detail-empty p:last-child { color: var(--c-muted); }
.detail-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--s-3); }
.project-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .76rem;
  line-height: 1.25;
  font-weight: 750;
  background: #edf4e8;
  color: #3d6845;
}
.project-tag.tag-water-shelter { background: #eaf2f7; color: #315f7c; }
.project-tag.tag-jobs { background: #fbf2df; color: #82652b; }
.project-tag.tag-other { background: var(--c-sand); color: var(--c-ink); }
.project-kind { color: var(--c-muted); font-size: .78rem; font-weight: 650; }
.detail-title { font-size: 1.55rem; line-height: 1.2; margin-bottom: 5px; }
.detail-place { color: var(--c-muted); font-size: .9rem; margin-bottom: var(--s-3); }
.detail-summary { line-height: 1.55; }
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: var(--s-3) 0 var(--s-4);
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 9px;
}
.detail-no-photo { padding: 12px; background: var(--c-sand); border-radius: 8px; }
.detail-update {
  border-top: 1px solid var(--c-line);
  padding-top: var(--s-3);
  margin-top: var(--s-3);
}
.detail-update .eyebrow { margin-bottom: 5px; }
.detail-date { margin-bottom: 6px; }
.detail-metrics { font-weight: 750; color: var(--c-lagoon-dark); }
.detail-story { font-family: var(--f-head); font-size: 1.05rem; line-height: 1.5; }
.detail-note { background: var(--c-sand); border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.detail-clear { margin-top: var(--s-3); }
.map-projects-section { margin-top: var(--s-6); }
.map-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: var(--s-3);
}
.map-project-card {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-surface);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.map-project-card.is-selected {
  border-color: var(--c-lagoon);
  box-shadow: 0 0 0 2px rgba(10, 107, 112, .14);
  transform: translateY(-2px);
}
.map-card-photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.map-project-card-body { padding: var(--s-3); }
.map-project-card h3 { font-size: 1.1rem; }
.map-project-card .eyebrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.map-project-card .legend-pin { margin-right: 0; }
@media (max-width: 900px) {
  .impact-map-layout { grid-template-columns: 1fr; }
  .project-detail { min-height: 0; }
  .detail-empty { min-height: 220px; }
}
@media (max-width: 560px) {
  .map-filter-heading { align-items: start; flex-direction: column; }
  .map-panel-heading { align-items: start; flex-direction: column; }
  .map-hint { text-align: left; }
  .leaflet-map { height: 430px; }
  .project-detail { padding: var(--s-3); }
}

/* Education is the green pillar across the map, legend and home preview. */
.legend-pin.pin-education { background: #6f9b70; }
.si-map .pin-education path { fill: #6f9b70; }

.detail-report-type { color: var(--c-muted); text-transform: capitalize; margin-bottom: 8px; }


/* Geographic labels on the interactive Solomon Islands map. */
.island-label-wrap {
  background: transparent;
  border: 0;
  white-space: nowrap;
  pointer-events: none;
}
.island-label {
  display: inline-block;
  transform: translate(-50%, -50%);
  padding: 2px 5px;
  border-radius: 4px;
  color: #334e52;
  background: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .015em;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
  box-shadow: 0 1px 3px rgba(25, 54, 48, .12);
}
@media (min-width: 700px) {
  .island-label { font-size: 11px; padding: 3px 6px; }
}


/* =====================================================================
   Design refresh — shared pieces (all public pages)
   ===================================================================== */
.public h1, .public h2, .public h3 { color: var(--c-navy-ink); font-weight: 600; letter-spacing: -.005em; }
.public .btn { border-radius: 2px; font-weight: 650; }
.public .btn-accent { color: var(--c-navy-ink); }
.public .btn-accent:hover { background: #dba500; }
.public .card { border-radius: 2px; box-shadow: none; }
.public .eyebrow, .kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--c-ok); margin: 0 0 var(--s-3); font-family: var(--f-body); }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.main-nav a:not(.btn), .nav-dropdown summary { border-radius: 0; }
.main-nav a:not(.btn):hover, .nav-dropdown summary:hover { background: transparent; text-decoration: underline; text-underline-offset: 6px; }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--c-navy-ink); box-shadow: inset 0 -3px 0 var(--c-sunset); }
.hero, .page-hero, .impact-map-hero { background: var(--c-sand); }
.page-hero { border-bottom: 1px solid var(--c-line); }
.ph-img { border-radius: 0; }
.photo-strip img, .pin-photo, .story-img, .detail-gallery img { border-radius: 0; }
.map-panel, .project-detail, .map-project-card { border-radius: 2px; box-shadow: none; }
.map-project-card.is-selected { transform: none; box-shadow: inset 0 0 0 2px var(--c-lagoon); }
.map-filter-tab { border-radius: 2px; }
.map-filter-tab:hover { transform: none; }
.leaflet-map { border-radius: 0; }
.map-preview { box-shadow: none; border: 1px solid var(--c-line); border-radius: 0; }
.si-map { border-radius: 0; }
.pillar-card { border-top-width: 4px; }
.site-footer { background: var(--c-navy-ink); }
.site-footer .footer-brand { border-radius: 2px; }
.footer-base { border-top-color: #33466b; }

/* =====================================================================
   Home page
   ===================================================================== */
/* Our impact (Eden-style): one set of numbers, alive, not repeated. */
.impact { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.impact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .impact-grid { grid-template-columns: 1fr 2fr; align-items: start; } }
.impact-intro h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.impact-meta { color: var(--c-muted); }
.impact-figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--c-line); }
.impact-figure { display: flex; flex-direction: column; gap: 4px; padding: var(--s-5) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
.impact-num { font: 600 clamp(2.8rem, 6vw, 4rem)/1 var(--f-head); color: var(--c-lagoon); font-variant-numeric: tabular-nums; }
.figure-education .impact-num { color: var(--c-ok); }
.figure-jobs .impact-num { color: #8a6400; }          /* gold, darkened for text: 5.3:1 */
.impact-label { font-weight: 650; color: var(--c-ink); max-width: 22ch; }
.impact-change { font-size: .9rem; color: var(--c-muted); }
.impact-more { margin-top: auto; padding-top: var(--s-2); font-weight: 650; font-size: .95rem; }
.latest-h { font-size: 1.2rem; margin: var(--s-6) 0 var(--s-3); }
.field-feed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 var(--s-5); }
.field-feed li { display: grid; gap: 2px; padding: var(--s-3) 0; border-top: 3px solid var(--c-navy-ink); }
.field-feed time { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ok); }
.feed-where { font-size: .88rem; color: var(--c-muted); }

/* Three ways we help: square photo tiles with the words on the photo (GlobalGiving-style). */
.way-tiles { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: 4px; }
@media (min-width: 760px) { .way-tiles { grid-template-columns: repeat(3, 1fr); } }
.way-tile a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; background: var(--c-navy-ink); }
.way-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.way-tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 44, .92) 0%, rgba(10, 22, 44, .55) 40%, transparent 70%); }
.way-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: var(--s-5); display: grid; gap: var(--s-2); }
.way-name { font: 600 1.6rem/1.15 var(--f-head); }
.way-name::after { content: " →"; color: var(--c-sunset); }
.way-summary { font-size: .95rem; line-height: 1.45; }
.way-tile a:hover img, .way-tile a:focus-visible img { transform: scale(1.04); }
.way-tile a:focus-visible { outline: 4px solid var(--c-sunset); outline-offset: -4px; }
.way-tile.no-photo a { aspect-ratio: auto; min-height: 220px; }
.way-tile.no-photo a::after { display: none; }
@media (prefers-reduced-motion: reduce) { .way-tile img { transition: none; } }

/* Where we work / story / call to action */
.map-band { background: var(--c-sand); border: 0; }
.story-band { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.story blockquote { border-left-color: var(--c-sunset); font-weight: 500; color: var(--c-navy-ink); }
.cta-band { background: var(--c-navy-ink); color: #fff; padding: var(--s-7) 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.public .site-footer { margin-top: 0; }
@media (max-width: 759px) {
  .way-tile a { aspect-ratio: 4 / 3; }
}

/* Who we help (shown to donors before they give) */
.who-line { font-size: .92rem; color: var(--c-muted); margin: var(--s-4) 0 0; max-width: 52ch; }
.cta-band .who-line { color: #d8deea; margin-inline: auto; }
.cta-band .who-line a { color: #fff; }
.who-note { background: var(--c-sunset-tint); border-left: 4px solid var(--c-sunset); padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-5); }
.who-note p { margin: 0; }
.who-full { background: var(--c-surface); border-top: 4px solid var(--c-navy-ink); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6); }
.who-full h2 { margin-top: 0; }

/* =====================================================================
   "Rising Together" zoom intro (views/partials/zoom-intro.ejs,
   public/js/zoom-intro.js). Still by default; the script adds .zoom-live
   to turn on the pinned, scroll-driven version.
   ===================================================================== */
.zoom { --zbg: #14294b; background: var(--zbg); color: #fff; position: relative; }
.zoom-defs { position: absolute; }
/* Fine line drawing, like the hand sketch: navy fill (so overlapping petals
   hide the lines behind them), coloured outline. */
/* (Plain class selectors: the drawn shapes are copied in by <use>, where
   ancestor selectors like ".zoom-defs .x" no longer match.) */
.zs-shape { fill: #14294b; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; }
.zs-heart { fill: #f2b705; }
.zs-vein { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* The front: the lei around the words. */
.zoom-front { position: relative; height: calc(100vh - 72px); min-height: 460px; max-height: 900px; overflow: hidden; background: var(--zbg); }
.zoom-pattern, .zp-layer { position: absolute; inset: 0; }
.zp-sym { position: absolute; width: calc(var(--k) * clamp(3rem, 9vmin, 6.5rem)); height: calc(var(--k) * clamp(3rem, 9vmin, 6.5rem)); overflow: visible; }
.zp-leaf, .zp-leaf2 { width: calc(var(--k) * clamp(2.6rem, 8vmin, 5.6rem)); height: calc(var(--k) * clamp(2.6rem, 8vmin, 5.6rem)); }
.zp-cream { color: #efe6d2; }
.zp-gold { color: #f2b705; }
.zp-sage { color: #8fbf98; }
.zp-layer-0 { opacity: .55; }
.zp-layer-1 { opacity: .8; }
.zoom-words { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; z-index: 1; font-family: var(--f-head); line-height: .95; }
.zw-small { font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 600; color: #fff; letter-spacing: .02em; }
.zw-after { font-style: italic; font-weight: 500; color: #efe6d2; margin-top: .75em; }   /* room for the "g" of Together to hang down */
.zw-big { font-size: clamp(4rem, 18vw, 10rem); font-weight: 600; color: var(--c-sunset); letter-spacing: -.02em; white-space: nowrap; }
.zw-o { display: inline-block; width: .56em; height: .52em; fill: currentColor; margin: 0 .01em; vertical-align: baseline; }
.zoom-cue { display: none; }
/* A slow drift for phones (no mouse to follow). */
@media (prefers-reduced-motion: no-preference) and (pointer: coarse) {
  .zp-layer-1 { animation: zp-drift 16s ease-in-out infinite alternate; }
  .zp-layer-2 { animation: zp-drift 12s ease-in-out infinite alternate-reverse; }
}
@keyframes zp-drift { to { transform: translate(1.2%, -1.5%) rotate(.6deg); } }
.btn-on-dark { background: transparent; color: #fff; border-color: #fff; }
.btn-on-dark:hover { background: rgba(255,255,255,.12); color: #fff; }
.zoom-text .kicker { color: #f2d47a; }
.zoom-text .lead { color: #fff; }
.zoom-text .who-line { color: #d8deea; }
.zoom-text .who-line a { color: #fff; }

/* Still version: the photo and words come after the pattern. */
.zoom-photo { position: relative; height: 60vh; min-height: 320px; }
.zoom-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.zoom-text { position: relative; z-index: 3; max-width: 640px; padding: var(--s-6) var(--s-4) var(--s-7); margin-left: max(0px, calc((100vw - 1140px) / 2)); }
.zoom-text h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.zoom-text p { font-size: 1.1rem; }
.zoom-text .text-link { color: var(--c-sunset); }
.zoom-stage { display: flex; flex-direction: column; }
.zoom-stage > .zoom-photo { order: 2; }
.zoom-stage > .zoom-front { order: 1; }
.zoom-stage > .zoom-text { order: 3; }

/* Live version: pinned for ~2 screens of scrolling while the camera flies
   into the "o". The script sets --zoom-mask (the hole), the scale and fades. */
.zoom.zoom-live { height: 240vh; }
.zoom-live .zoom-front { max-height: none; }
.zoom-live .zoom-cue {
  display: block; position: absolute; left: 50%; bottom: 2vh; transform: translateX(-50%); z-index: 4;
  min-width: var(--tap); min-height: var(--tap); padding: 6px 14px; margin: 0;
  background: transparent; border: 0; cursor: pointer;
  font: 600 .8rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #c8d1e0;
}
.zoom-live .zoom-cue:hover { color: #fff; }
.zoom-live .zoom-cue:focus-visible { outline: 3px solid var(--c-sunset); outline-offset: 2px; }
.zoom-text h2:focus { outline: none; }
.zoom-live .zoom-cue::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: cue-bob 1.6s ease-in-out infinite; }
@keyframes cue-bob { 50% { transform: translateY(5px) rotate(45deg); } }
.zoom-live .zoom-stage { display: block; position: sticky; top: 72px; height: calc(100vh - 72px); overflow: hidden; }
.zoom-live .zoom-photo { position: absolute; inset: 0; height: auto; min-height: 0; }
.zoom-live .zoom-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 22, 44, .94) 0%, rgba(10, 22, 44, .78) 45%, rgba(10, 22, 44, .2) 85%, transparent 100%); opacity: var(--zoom-shade, 0); }
.zoom-zoomer { position: absolute; inset: 0; }
.zoom-live .zoom-front {
  position: absolute; inset: 0; height: auto; min-height: 0; z-index: 2;
  -webkit-mask: var(--zoom-mask); mask: var(--zoom-mask);   /* the hole, redrawn crisp at every size */
}
.zoom-live .zoom-zoomer { transform-origin: var(--zoom-ox, 50%) var(--zoom-oy, 50%); }   /* no will-change: lets the browser redraw the letters sharp as they grow */
.zoom-live .zoom-text { position: absolute; left: 0; bottom: 0; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.zoom-live .zp-layer { will-change: transform; }

/* Short pages: the footer sits at the bottom of the window, never halfway up
   (and still follows the content down on long pages). */
body.public { min-height: 100vh; display: flex; flex-direction: column; }
body.public > main { flex: 1 0 auto; }
body.public > .site-footer { flex-shrink: 0; }

/* =====================================================================
   Inner pages (update 6): same editorial look as the home page.
   Photo-led page tops, thin rules instead of boxes, square photos.
   ===================================================================== */
/* Page top: words on the left (lined up with the page column), photo to the
   right edge of the screen. Phones: words, then the photo full width. */
.page-hero:has(.ph-hero) { padding: 0; }
.ph-hero { display: grid; grid-template-columns: minmax(1rem, 1fr) minmax(0, 1088px) minmax(1rem, 1fr); }
.ph-hero-text { grid-column: 2; padding: var(--s-6) 0 var(--s-5); }
.ph-hero-text > :last-child { margin-bottom: 0; }
.ph-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.08; margin-bottom: var(--s-3); }
.ph-hero-photo { grid-column: 1 / -1; position: relative; aspect-ratio: 16 / 9; background: var(--c-navy-ink); overflow: hidden; }
.ph-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .has-photo .ph-hero { grid-template-columns: minmax(1rem, 1fr) minmax(0, 544px) minmax(0, 544px) minmax(1rem, 1fr); min-height: 460px; }
  .has-photo .ph-hero-text { grid-column: 2; align-self: center; padding: var(--s-7) var(--s-6) var(--s-7) 0; }
  .has-photo .ph-hero-photo { grid-column: 3 / -1; aspect-ratio: auto; }
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.hero-stat-num { font: 600 2.4rem/1 var(--f-head); color: #8a6400; }
.hero-stat-label { font-weight: 650; }

/* Section helpers */
.band-white { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.section-tight { padding-block: var(--s-5); background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.section-head { margin-bottom: var(--s-4); }
.section-head h2 { margin: 0; }
.side-panel { border-top: 4px solid var(--c-navy-ink); padding-top: var(--s-4); }
.side-panel .btn { margin-top: var(--s-3); }
@media (min-width: 860px) { .side-panel { position: sticky; top: 96px; } }

/* Big serif number (results, rates) */
.feature-num { font: 600 clamp(2.6rem, 5vw, 3.4rem)/1 var(--f-head); color: var(--c-lagoon); font-variant-numeric: tabular-nums; margin: 0 0 var(--s-2); }
.feature-num.small-num, .small-num { font-size: clamp(1.4rem, 3vw, 1.8rem); }

/* Feature rows: big square-cornered photo beside the words, alternating sides. */
.feature-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); }
.feature-row { display: grid; gap: var(--s-5); align-items: center; }
.feature-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-navy-ink); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.feature-photo:hover img { transform: scale(1.03); }
.feature-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: var(--s-3); }
.feature-text h2 a { color: inherit; text-decoration: none; }
.feature-text h2 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.feature-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.feature-stat .feature-num { font-size: 2.4rem; margin: 0; }
.pillar-education .feature-num { color: var(--c-ok); }
.pillar-jobs .feature-num { color: #8a6400; }
@media (min-width: 900px) {
  .feature-row:not(.no-photo) { grid-template-columns: 1.1fr 1fr; gap: var(--s-7); }
  .feature-rows > .feature-row:nth-child(even):not(.no-photo) { grid-template-columns: 1fr 1.1fr; }
  .feature-rows > .feature-row:nth-child(even) .feature-photo { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .feature-photo img { transition: none; } }

/* Short lists (program areas): small gold squares instead of bullets */
.tag-line { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: 2px; font-size: .92rem; color: var(--c-muted); }
.tag-line li { padding-left: 1.1rem; position: relative; }
.tag-line li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--c-sunset); }
.tag-line.big { font-size: 1.02rem; color: var(--c-ink); gap: var(--s-1); }

/* Lists with thin rules between items */
.ruled-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); border-top: 1px solid var(--c-line); }
.ruled-list > li { padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.ruled-list.numbered { counter-reset: n; }
.ruled-list.numbered > li { counter-increment: n; display: grid; grid-template-columns: 2.5rem 1fr; }
.ruled-list.numbered > li::before { content: counter(n, decimal-leading-zero); font: 600 1rem/1.55 var(--f-head); color: var(--c-ok); }
.report-list li { display: grid; gap: 2px; }
.report-list time { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ok); }

/* Projects on a pillar page */
.project-list { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--c-navy-ink); }
.project-list > li { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
.project-list h3 { margin: 0; font-size: 1.25rem; }
.project-list h3 a { color: inherit; }
.project-list p { margin: 0; }
.project-served strong { font: 600 1.5rem/1 var(--f-head); color: var(--c-lagoon); }
@media (min-width: 860px) { .project-list > li { grid-template-columns: 1.1fr 1.6fr 10rem; gap: var(--s-5); align-items: baseline; } .project-served { text-align: right; } }

/* Before and after */
.before-after { display: grid; gap: 4px; }
@media (min-width: 760px) { .before-after { grid-template-columns: 1fr 1fr; } }
.before-after figure { margin: 0; background: var(--c-surface); }
.before-after img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.before-after figcaption { padding: var(--s-3) var(--s-4); }

/* Square photo grid */
.gallery { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 4px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery li { aspect-ratio: 1; overflow: hidden; background: var(--c-sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Two photo tiles ("More of our work", other businesses) */
.way-tiles.two { margin-top: var(--s-4); }
@media (min-width: 760px) { .way-tiles.two { grid-template-columns: repeat(2, 1fr); } }
.way-tiles.two .way-tile a { aspect-ratio: 16 / 10; }
.way-tiles.two .way-tile.no-photo a { aspect-ratio: auto; min-height: 160px; height: 100%; }
@media (min-width: 760px) { .way-tiles.two:has(> li:nth-child(3)) { grid-template-columns: 2fr 1fr; } }

/* A business's numbers at a glance */
.fact-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 var(--s-5); }
.fact-strip li { display: grid; align-content: start; gap: 4px; padding: var(--s-3) 0; border-top: 3px solid var(--c-navy-ink); }
.fact-num { font: 600 2.4rem/1.05 var(--f-head); color: var(--c-lagoon); }
.fact-num.small-num { font-size: 1.35rem; color: var(--c-navy-ink); padding-top: .6rem; }
.fact-label { font-weight: 650; }
.fact-strip progress { margin-top: var(--s-2); }
.model-line { font: 500 clamp(1.4rem, 3vw, 1.9rem)/1.3 var(--f-head); color: var(--c-navy-ink); margin: 0 0 var(--s-7); padding-left: var(--s-4); border-left: 5px solid var(--c-sunset); }
.model-line span { color: #8a6400; }

/* About */
.values { margin: 0 0 var(--s-5); }
.values div { padding: var(--s-2) 0; border-bottom: 1px solid var(--c-line); }
.values dt { font-weight: 700; color: var(--c-navy-ink); }
.values dd { margin: 0; color: var(--c-muted); }
.wide-figure { margin: var(--s-6) 0 0; }
.wide-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.wide-figure figcaption { padding-top: var(--s-2); font-size: .92rem; color: var(--c-muted); }
.prose .who-full { padding-inline: 0; border-top-width: 3px; background: transparent; }

/* Accountability */
.band-white .results, .results-ruled .results { gap: 0 var(--s-5); }
.public .band-white .results .result, .public .results-ruled .results .result { background: transparent; border: 0; border-top: 3px solid var(--c-navy-ink); border-radius: 0; padding: var(--s-3) 0; }
.band-white .result-num, .results-ruled .result-num { color: var(--c-lagoon); font-weight: 600; }
.doc-cols { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .doc-cols { grid-template-columns: 1fr 1fr; } }
.doc-cols .doc-list { padding-left: 0; }

/* Get involved */
.paths { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.paths .path { display: flex; flex-direction: column; border-top: 0; }
.paths .path h2 { margin-top: var(--s-4); }
.path-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.low-data .paths .path { border-top: 4px solid var(--c-navy-ink); padding-top: var(--s-3); }
.volunteer-line { margin: var(--s-6) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--c-line); }

/* Contact */
.contact-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; display: block; }
.public .contact-card { border: 0; border-top: 1px solid var(--c-line); padding: var(--s-3) 0 0; background: transparent; }
.public .form-card { border: 0; border-top: 4px solid var(--c-navy-ink); }
.block-link { display: inline-block; padding-block: 6px; }

/* Page top with the photo BEHIND the words (About, Our Work, Our Businesses,
   Accountability, Get Involved). The photo fills the whole header; a navy wash
   sits under the words (left) and fades out to the right, so the words read
   easily and the photo still shows. Phones: an even wash over the whole photo. */
.hero-bg { position: relative; overflow: hidden; background: var(--c-navy-ink); border-bottom: 0; }
.hero-bg .ph-hero { position: relative; min-height: 380px; align-items: end; }
.hero-bg .ph-hero-photo { position: absolute; inset: 0; aspect-ratio: auto; z-index: 0; }
.hero-bg .ph-hero-photo img { object-position: var(--photo-pos, 50% 50%); }
.hero-bg .ph-hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 44, .92) 0%, rgba(10, 22, 44, .78) 55%, rgba(10, 22, 44, .58) 100%); }
.hero-bg .ph-hero-text { position: relative; z-index: 1; grid-column: 2; padding: var(--s-7) 0 var(--s-6); max-width: 620px; color: #fff; }
.hero-bg h1 { color: #fff; }
.hero-bg .lead { color: #eef1f6; }
.hero-bg .eyebrow, .hero-bg .eyebrow a { color: var(--c-sunset); }
.hero-bg .hero-stat { border-top-color: rgba(255, 255, 255, .3); }
.hero-bg .hero-stat-num { color: var(--c-sunset); }
.hero-bg .hero-stat-label { color: #fff; }
.hero-bg .hero-stat .muted { color: #d8deea; }
.hero-bg h1, .hero-bg .lead, .hero-bg .hero-stat { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
@media (min-width: 900px) {
  .hero-bg .ph-hero { min-height: 500px; align-items: center; }
  .hero-bg .ph-hero-photo::after {
    background: linear-gradient(90deg, rgba(10, 22, 44, .9) 0%, rgba(10, 22, 44, .84) calc(50% + 80px),
                rgba(10, 22, 44, .3) calc(50% + 380px), rgba(10, 22, 44, .08) 100%); }
}

/* Context figures (About: the Solomon Islands at a glance) */
.fact-strip.glance { margin: var(--s-4) 0 var(--s-3); }
.fact-strip.glance > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: var(--s-3) 0; border-top: 3px solid var(--c-navy-ink); }
.fact-strip.glance dd { margin: 0; padding-top: 0; }

/* Short points in a row with a rule on top (no boxes) */
.point-grid { display: grid; gap: 0 var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); margin: var(--s-4) 0; }
.point-grid > article { padding: var(--s-3) 0; border-top: 3px solid var(--c-navy-ink); }
.point-grid h3 { margin: 0 0 var(--s-2); }
.point-grid p { margin: 0; }
@media (min-width: 640px) { .point-grid.two { grid-template-columns: 1fr 1fr; } }
.prose .model-line, .two-col-public .model-line { margin: var(--s-5) 0 var(--s-3); }
.model-intro { max-width: 760px; margin-bottom: var(--s-7); }
.model-intro .model-line { margin: 0 0 var(--s-4); font-weight: 500; }
.future-pilot { margin-top: var(--s-7); padding: var(--s-4) 0 0; border-top: 3px solid var(--c-navy-ink); max-width: 760px; }
.section-sm .volunteer-line { margin: 0; border-top: 0; padding-bottom: var(--s-6); }

/* Get Involved: "Interested in a future donor account?" (a planned feature, folded away) */
.donor-account-details { margin-top: var(--s-4); border-top: 1px solid var(--c-line); padding-top: var(--s-2); }
.donor-account-details summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 650; color: var(--c-lagoon); }
.donor-account-details summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.donor-account-details-content p { margin: 0 0 var(--s-2); }
.paths .path > .donor-account-details { margin-top: var(--s-4); }
.paths .path > .stack-sm { margin-top: auto; }
.donor-account-details summary::-webkit-details-marker { display: none; }
.donor-account-details summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; color: #8a6400; }
.donor-account-details[open] summary::before { content: "–"; }

/* Get Involved: line up the three paths' buttons on desktop. Each column
   shares the same rows (photo, heading, text, list, buttons, extra), so the
   yellow buttons sit on one line however long each column's text is. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .paths { grid-template-columns: repeat(3, 1fr); row-gap: 0; }
    .paths .path { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
    .paths .path > * { margin-top: 0; margin-bottom: 0; }
    .paths .path > h2 { margin-top: var(--s-4); margin-bottom: var(--s-2); }
    .paths .path > p { margin-bottom: var(--s-3); }
    .paths .path > ul { margin-bottom: var(--s-4); }
    .paths .path > .stack-sm, .paths .path > .btn, .paths .path > :last-child { align-self: start; margin-top: 0; }
    .paths .path > .donor-account-details.donor-account-details { margin-top: var(--s-4); }
  }
}

/* Contact page (update 8): people as a clean list, quick facts, next steps */
.contact-side > h2 { margin-top: var(--s-4); }
.contact-people { list-style: none; margin: 0 0 var(--s-4); padding: 0; border-top: 3px solid var(--c-navy-ink); }
.contact-person { padding: var(--s-3) 0 var(--s-4); border-bottom: 1px solid var(--c-line); }
.contact-role { font-size: 1.15rem; margin: 0 0 2px; }
.contact-phone { margin: var(--s-1) 0 var(--s-2); font: 600 1.35rem/1.2 var(--f-head); }
.contact-phone a { color: var(--c-navy-ink); text-decoration: none; }
.contact-phone a:hover { text-decoration: underline; }
.contact-person .contact-actions { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 480px) and (max-width: 899px) { .contact-person .contact-actions { grid-template-columns: repeat(4, 1fr); } }
.contact-facts { margin: 0 0 var(--s-3); }
.contact-facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s-2); padding: var(--s-2) 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.contact-facts dt { font-weight: 700; color: var(--c-navy-ink); }
.contact-facts dd { margin: 0; overflow-wrap: anywhere; }
.next-steps { counter-reset: step; list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-3); display: grid; gap: var(--s-2); }
@media (min-width: 700px) { .next-steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.next-steps li { counter-increment: step; padding-top: var(--s-2); border-top: 2px solid var(--c-sunset); font-size: .92rem; }
.next-steps li::before { content: counter(step); display: block; font: 600 1.4rem/1 var(--f-head); color: #8a6400; margin-bottom: 4px; }
@media (max-width: 699px) {
  .next-steps li { display: grid; grid-template-columns: 1.6rem 1fr; border-top-width: 1px; }
  .next-steps li::before { margin: 0; font-size: 1.1rem; }
}


/* Softer, friendlier map and accountability details. */
.map-preview {
  overflow: hidden;
  border: 1px solid #d5e2d8;
  border-radius: 22px;
  background: #e8f1ee;
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-preview:hover, .map-preview:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 41, 75, .12);
}
.map-preview .si-map { border-radius: 22px; }
.si-map .sea { fill: #dcecf0; }
.si-map .land { fill: #f7f1df; stroke: #9eb9a8; stroke-width: 1.4; }
.si-map .pin path { stroke: #fff; stroke-width: 2; }
.si-map .pin-education path { fill: #6f9b70; }
.si-map .pin-water-shelter path { fill: #6598b5; }
.si-map .pin-jobs path { fill: #d2ae58; }
.impact-map-layout .map-panel, .impact-map-layout .project-detail {
  border-color: #d7e3dc;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(30, 66, 65, .07);
}
.leaflet-map { border-radius: 16px; background: #dcecf0; }
.impact-marker {
  width: 21px; height: 21px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 12%;
  box-shadow: 0 3px 10px rgba(25, 55, 68, .24);
}
.project-detail {
  background: linear-gradient(160deg, #fff 0%, #fbfcf8 100%);
}
.detail-topline { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.project-tag {
  display:inline-flex; align-items:center; gap:6px;
  border-radius:999px; padding:6px 11px;
  background:#e9f1e8; color:#3d6845; font-size:.78rem; font-weight:700;
}
.project-tag::before { content:"✿"; font-size:.9rem; }
.tag-water-shelter { background:#eaf2f7; color:#315f7c; }
.tag-jobs { background:#fbf2df; color:#82652b; }
.project-kind {
  border:1px solid #e1e7df; border-radius:999px;
  padding:5px 10px; color:var(--c-muted); font-size:.76rem;
}
.detail-title { font-size:clamp(1.55rem, 3vw, 2rem); line-height:1.15; margin-bottom:7px; }
.detail-place { color:#55766c; font-weight:650; margin-bottom:12px; }
.detail-summary { font-size:1.02rem; line-height:1.65; }
.detail-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:18px 0; }
.detail-gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:14px; }
.detail-update {
  margin-top:18px; padding:17px; border-radius:16px;
  background:#f0f5ed; border:1px solid #e0eadc;
}
.detail-update .eyebrow { color:#456c4c; }
.detail-metrics { font-weight:750; color:#315f50; }
.detail-story { font-family:var(--f-head); font-size:1.08rem; color:#344d4a; }
.map-project-card { border-color:#dce5dd; border-radius:18px; }
.map-project-card.is-selected { border-color:#6f9b70; box-shadow:0 0 0 3px rgba(111,155,112,.16); }
.map-project-card .map-card-photo { border-radius:16px 16px 0 0; }
.map-project-card-body { padding:18px; }
.accountability-pillars article {
  padding:18px; border:1px solid var(--c-line); border-radius:16px;
  background:var(--c-surface);
}
.accountability-facts { margin-top:22px; }
.accountability-facts li { padding:18px 12px 18px 0; }
.accountability-note {
  margin-top:22px; padding:16px 18px;
  border-radius:14px; background:#f5f7f1; border:1px solid #e0e7dc;
}
.accountability-note summary { cursor:pointer; color:var(--c-navy-ink); font-weight:700; }
.accountability-note p { margin:12px 0 0; }
.accountability-docs > div { padding:18px; border:1px solid var(--c-line); border-radius:16px; }
.accountability-docs .doc-list li { display:grid; gap:5px; padding:12px 0; }
@media (prefers-reduced-motion: reduce) {
  .map-preview, .map-project-card { transition:none; }
}

.impact-marker { position:relative; }
.impact-marker::after {
  content:""; position:absolute; width:5px; height:5px;
  border-radius:50%; background:rgba(255,255,255,.9);
  top:5px; left:5px;
}
.detail-empty .detail-spark { border-radius:16px 16px 16px 5px; transform:rotate(-5deg); }
.map-project-card .project-tag::before { content:"✿"; }


/* Home-page map preview: a small illustrated invitation to explore. */
.map-preview {
  position: relative;
  isolation: isolate;
}
.map-preview::after {
  content: "✦  Explore the islands";
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #315f50;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .01em;
  box-shadow: 0 4px 14px rgba(25,55,68,.12);
  pointer-events: none;
}
.map-preview .si-map .island-label {
  paint-order: stroke;
  stroke: #f7f1df;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.impact-map-layout .project-detail {
  scroll-margin-top: 100px;
}
.impact-map-layout .project-detail:focus-within {
  outline: 2px solid rgba(111,155,112,.28);
  outline-offset: 3px;
}
.impact-marker-wrap { cursor: pointer; }
.impact-marker { transition: transform .18s ease, box-shadow .18s ease; }
.impact-marker-wrap:hover .impact-marker,
.impact-marker-wrap:focus .impact-marker {
  transform: scale(1.2);
  box-shadow: 0 4px 14px rgba(25,55,68,.32);
}
@media (prefers-reduced-motion: reduce) {
  .impact-marker { transition: none; }
}


/* A little more playful detail on the home-page island illustration.
   Keep the existing lift-and-shadow hover treatment on the whole map. */
.map-preview {
  background: #dcecf0;
}
.map-preview .si-map .sea {
  fill: #dcecf0;
}
.map-preview .si-map .land {
  fill: #f8f2df;
  stroke: #91b6a2;
  stroke-width: 1.8;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 2px rgba(66, 111, 100, .12));
}
.map-preview .si-map .island-label {
  fill: #54766b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.map-preview .si-map .pin path {
  stroke: #fff;
  stroke-width: 2.2;
  filter: drop-shadow(0 2px 2px rgba(39, 70, 75, .2));
}
.map-preview .si-map .pin circle {
  fill: #fff;
  stroke: rgba(255,255,255,.85);
}
.map-sea-decor { pointer-events: none; }
.map-sea-decor circle {
  fill: rgba(255,255,255,.72);
  stroke: rgba(111,155,112,.18);
  stroke-width: 1;
}
.map-sea-decor text {
  fill: rgba(255,255,255,.92);
  font-size: 18px;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .map-preview:hover, .map-preview:focus-visible { transform: none; }
}


/* Home page map is a still preview beside its short introduction. */
.home-map-layout {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(var(--s-4), 4vw, var(--s-7));
}
.home-map-copy { max-width: 420px; }
.home-map-copy h2 { margin-bottom: var(--s-2); }
.home-map-copy p { margin-bottom: var(--s-3); }
.home-map-copy .text-link { font-weight: 700; }
.home-leaflet-map { height: clamp(300px, 32vw, 390px); cursor: default; border-radius: var(--radius-lg); }
.home-leaflet-map .leaflet-tile-pane,
.home-leaflet-map .leaflet-marker-pane { pointer-events: none; }
.home-map-projects { display: none !important; }
.home-leaflet-map .island-label {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 5px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 5px;
  background: rgba(255,255,255,.86);
  color: #315f50;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  box-shadow: 0 1px 4px rgba(30,55,60,.12);
}
.home-leaflet-map .island-label-wrap { pointer-events: none; }
@media (max-width: 900px) {
  .home-map-layout { grid-template-columns: 1fr; }
  .home-map-copy { max-width: 680px; }
}
@media (max-width: 560px) {
  .home-leaflet-map { height: 320px; }
}


/* Keep the interactive Impact Map cards and panels square-cornered. */
.impact-map-layout .map-panel,
.impact-map-layout .project-detail,
.impact-map-layout .map-project-card,
.impact-map-layout .map-project-card .map-card-photo,
.impact-map-layout .detail-gallery img,
.impact-map-layout .detail-update,
.impact-map-layout .detail-no-photo,
.impact-map-layout .detail-note,
.map-project-grid .map-project-card {
  border-radius: 0 !important;
}


/* Make the home map preview an obvious, keyboard-accessible link. */
.home-map-link {
  display: block;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.home-map-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(20, 55, 70, .16);
}
.home-map-link:focus-visible {
  outline: 3px solid var(--gold, #d6ad45);
  outline-offset: 4px;
}
.home-map-link .home-leaflet-map { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .home-map-link { transition: none; }
  .home-map-link:hover { transform: none; }
}


/* Home mission statement */
.home-mission { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: #f7f4eb; }
.home-mission-inner { max-width: 900px; text-align: center; }
.home-mission .eyebrow { color: #8a6a20; margin-bottom: var(--s-2); }
.home-mission h2 { max-width: 850px; margin: 0 auto; font-size: clamp(1.55rem, 3.2vw, 2.5rem); line-height: 1.28; font-weight: 600; }

/* Solomon Islands context deck */
.context-heading { display:flex; justify-content:space-between; align-items:end; gap:var(--s-5); margin-bottom:var(--s-4); }
.context-heading h2 { margin-bottom:var(--s-2); }
.context-heading p { max-width:680px; margin-bottom:0; }
.context-instruction { color:var(--c-muted); font-size:.88rem; }
.context-deck { border-top:3px solid var(--c-navy-ink); }
.context-slide { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(var(--s-4),4vw,var(--s-7)); align-items:stretch; padding:var(--s-4) 0; }
.context-slide[hidden] { display:none; }
.context-slide-photo { min-height:300px; background:var(--c-sand); overflow:hidden; }
.context-slide-photo img { display:block; width:100%; height:100%; min-height:300px; object-fit:cover; }
.context-slide-copy { display:flex; flex-direction:column; justify-content:center; padding:var(--s-3) 0; }
.context-count { color:#8a6a20; font-size:.78rem; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
.context-slide-copy h3 { margin:var(--s-2) 0 var(--s-3); font:600 clamp(1.5rem,3vw,2.15rem)/1.15 var(--f-head); color:var(--c-navy-ink); }
.context-slide-copy > p:not(.context-stat) { max-width:560px; }
.context-stat { display:flex; align-items:baseline; gap:var(--s-3); margin:var(--s-2) 0 0; padding-top:var(--s-2); border-top:1px solid var(--c-line); }
.context-stat strong { flex:0 0 auto; min-width:5.2rem; color:var(--c-lagoon); font:600 1.55rem/1.1 var(--f-head); }
.context-stat span { color:var(--c-muted); font-size:.88rem; }
.context-controls { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); padding:var(--s-3) 0; border-top:1px solid var(--c-line); }
.context-dots { display:flex; align-items:center; justify-content:center; gap:10px; }
.context-dot { width:12px; height:12px; padding:0; border:1px solid var(--c-lagoon); border-radius:50%; background:transparent; cursor:pointer; }
.context-dot.is-active { background:var(--c-lagoon); box-shadow:0 0 0 4px rgba(80,130,119,.14); }
.context-dot:focus-visible { outline:3px solid var(--c-sunset); outline-offset:4px; }
.context-source { max-width:900px; margin:var(--s-2) 0 0; }
@media (max-width:760px) {
  .context-heading { display:block; }
  .context-instruction { margin-top:var(--s-2) !important; }
  .context-slide { grid-template-columns:1fr; gap:var(--s-3); }
  .context-slide-photo, .context-slide-photo img { min-height:220px; max-height:300px; }
  .context-slide-copy { padding:0; }
}
@media (prefers-reduced-motion:reduce) {
  .context-dot { transition:none; }
}

/* Footer: visitor paths first, utility links grouped in a quiet lower bar. */
.footer-grid-refresh { grid-template-columns:minmax(220px,1.25fr) repeat(2,minmax(220px,1fr)); gap:clamp(var(--s-4),3vw,var(--s-7)); align-items:start; }
.footer-brand-column .footer-legal { max-width:300px; }
.footer-nav-group .footer-links { display:grid; gap:8px; list-style:none; margin:0; padding:0; }
.footer-nav-group .footer-links a, .footer-utility a { text-decoration:none; }
.footer-nav-group .footer-links a:hover, .footer-utility a:hover { text-decoration:underline; text-underline-offset:3px; }
.footer-connect > p { max-width:290px; }
.footer-connect .btn { margin-bottom:var(--s-3); }
.footer-subhead { margin:var(--s-3) 0 var(--s-1); font-size:.85rem; line-height:1.3; font-weight:700; color:var(--c-navy-ink); }
.footer-connect > p.small { margin-bottom:var(--s-2); }
.footer-base-refresh { display:grid; grid-template-columns:1fr auto; gap:var(--s-3); align-items:center; }
.footer-utility { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:.82rem; }
.footer-office-row { grid-column:1/-1; display:flex; flex-wrap:wrap; justify-content:space-between; gap:var(--s-2); padding-top:var(--s-2); border-top:1px solid var(--c-line); font-size:.82rem; }
.footer-base-refresh .lowdata-form { margin:0; }
@media (max-width:900px) {
  .footer-grid-refresh { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .footer-grid-refresh { grid-template-columns:1fr; }
  .footer-base-refresh { grid-template-columns:1fr; }
  .footer-office-row { grid-column:auto; }
}

.context-slide.context-low-data { grid-template-columns:1fr; }


/* Footer navigation: warm gold emphasis on hover and keyboard focus. */
.footer-nav-group .footer-links a {
  display:inline-block;
  color:inherit;
  transition:color .16s ease, transform .16s ease;
}
.footer-nav-group .footer-links a:hover,
.footer-nav-group .footer-links a:focus-visible {
  color:var(--c-sunset-text, #7a5a00);
  text-decoration:underline;
  text-decoration-color:var(--c-sunset);
  text-decoration-thickness:2px;
  text-underline-offset:4px;
}
.footer-nav-group .footer-links a:focus-visible {
  outline:2px solid var(--c-sunset-text, #7a5a00);
  outline-offset:4px;
}
@media (prefers-reduced-motion:reduce) {
  .footer-nav-group .footer-links a { transition:none; }
}


/* Contact form: clear, optional giving-allocation preferences. */
.giving-allocation {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
}
.giving-allocation legend { font-weight: 700; color: var(--c-navy-ink); }
.giving-allocation .hint { max-width: 720px; }
.giving-allocation input[type="number"] { max-width: 100%; }

/* A selected Impact Map pin is visibly connected to its detail panel. */
.impact-marker-wrap.is-selected .impact-marker {
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(111,155,112,.24), 0 4px 14px rgba(25,55,68,.34);
}
.impact-marker-wrap:focus-visible .impact-marker {
  outline: 3px solid var(--c-sunset);
  outline-offset: 3px;
}
/* Contact page (update 10): the form comes first. Phones get a short
   "Prefer to talk?" strip above it; the full list of people follows the form. */
.contact-quick { padding: var(--s-3) var(--s-4); border-left: 4px solid var(--c-sunset); background: #fff; }
.contact-quick p { margin: 0; }
.contact-quick a[href^="tel:"]:not(.btn) { font-weight: 700; white-space: nowrap; }
.contact-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-2) !important; }
@media (min-width: 900px) { .contact-quick { display: none; } }
@media (max-width: 899px) { .contact-photo-wrap { display: none; } .contact-side > h2 { margin-top: 0; } }
.next-steps li > span { min-width: 0; }
/* About chapter dots (update 10): 24px tap area around the 12px dot (WCAG 2.5.8). */
.context-dots { gap: 2px; }
.context-dot { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; box-shadow: none; position: relative; }
.context-dot::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--c-lagoon); border-radius: 50%; }
.context-dot.is-active { background: transparent; box-shadow: none; }
.context-dot.is-active::before { background: var(--c-lagoon); box-shadow: 0 0 0 4px rgba(80,130,119,.14); }

/* ---- update 11: About (Our story) layout -------------------------------
   Phones: values → story → partners. Desktop: story on the left; values and,
   right under them, partners on the right. */
.about-grid { display: grid; gap: var(--s-5); grid-template-areas: "values" "story" "partners"; }
.about-values { grid-area: values; }
.about-story { grid-area: story; min-width: 0; }
.about-partners { grid-area: partners; }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--s-6);
    grid-template-areas: "story values" "story partners"; align-items: start; }
  .about-grid .side-panel { position: static; }
}
/* "Who we help" sat in a box with a big bottom margin, then "Our history" added its own top margin. */
.about-story .who-full { margin-bottom: 0; padding-bottom: 0; }
.about-story .who-full + h2 { margin-top: var(--s-5); }
.about-story > h2:first-child { margin-top: 0; }
.leadership-text { max-width: 760px; }

/* Board and leadership: three profile tiles, with confirmation status shown quietly below each bio. */
.leadership-profiles-note { margin: var(--s-5) 0 var(--s-3); color: var(--c-navy-ink); font-size: 1.25rem; font-weight: 700; }
.leadership-profile-status { margin: var(--s-3) 0 0 !important; color: #858d96 !important; font-size: .82rem !important; font-weight: 600; letter-spacing: 0; text-transform: none; }
.leadership-profile-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4); margin: 0 0 var(--s-6);
}
.leadership-profile-card {
  display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; min-width: 0;
  padding: var(--s-4); border: 1px solid var(--c-line); border-radius: var(--radius-card, 16px);
  background: #fff; box-shadow: 0 8px 24px rgba(20, 41, 75, .06);
}
.leadership-profile-mark {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--c-sand, #f4efe2); color: var(--c-lagoon, #1d4f91);
  font-size: 1.05rem; font-weight: 700;
}
.leadership-profile-status {
  margin: var(--s-3) 0 0 !important; color: #858d96 !important; font-size: .82rem !important;
  font-weight: 600; letter-spacing: 0; text-transform: none;
}
.leadership-profile-card h3 { margin: 0; font-size: 1.1rem; }
.leadership-profile-role { margin: .2rem 0 .65rem; color: var(--c-lagoon, #1d4f91); font-weight: 600; }
.leadership-profile-card p:last-child { margin-bottom: 0; color: var(--c-muted); font-size: .9rem; }
@media (max-width: 760px) {
  .leadership-profile-grid { grid-template-columns: 1fr; }
}

/* Lists with a small round icon (values, partners). */
.icon-list { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.icon-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list strong { display: block; color: var(--c-navy-ink); }
.icon-list-sub { display: block; color: var(--c-muted); font-size: .95rem; }
.icon-badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-sand, #f4efe2); color: var(--c-lagoon, #1d4f91); box-shadow: inset 0 0 0 1px rgba(20, 41, 75, .12); }
.icon-badge .icon { width: 22px; height: 22px; }
.about-partners .icon-badge { background: #fff; }

/* ---- update 11: fixed photo frames everywhere ---------------------------
   Every photo sits in a frame with a set shape and is cropped to fit, so a
   tall or unusual photo (or one swapped in from Admin → Content) can never
   stretch a box. */
.context-slide { align-items: start; }
.context-slide-photo { position: relative; aspect-ratio: 4 / 3; min-height: 0 !important; max-height: none !important; height: auto; }
.context-slide-photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; min-height: 0 !important; max-height: none !important; object-fit: cover; }
.feature-photo img, .path-photo, .contact-photo, .story-img, .map-card-photo, .wide-figure img, .gallery img, .before-after img { object-fit: cover; }
.photo-strip img, .detail-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- update 11: Impact Map list = one column per pillar ---------------- */
.map-project-grid.map-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
@media (min-width: 900px) { .map-project-grid.map-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.map-project-grid.map-columns.one-column { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .map-columns.one-column .map-column-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); } }
.map-column { min-width: 0; }
.map-column-head { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-3); padding-bottom: var(--s-2); border-bottom: 4px solid var(--c-lagoon); font-size: 1.15rem; }
.col-education .map-column-head { border-color: #6f9b70; }
.col-water-shelter .map-column-head { border-color: #2f6fa5; }
.col-jobs .map-column-head { border-color: var(--c-sunset); }
.map-column-count { color: var(--c-muted); font-weight: 400; font-size: .95rem; }
.map-column-cards { display: grid; gap: var(--s-3); }
.map-column-cards > [hidden] { display: none; }
.map-card-title { font-size: 1.05rem; margin: 0 0 2px; }
.map-column-more { margin-top: var(--s-2); width: 100%; }

/* Home: each "Latest from the field" item opens that place on the Impact Map. */
.field-feed li { padding: 0; }
.field-feed .feed-link { display: grid; gap: 2px; padding: var(--s-3) 0; color: inherit; text-decoration: none; }
.field-feed .feed-link:hover strong, .field-feed .feed-link:focus-visible strong { text-decoration: underline; }
.feed-go { color: var(--c-lagoon, #1d4f91); font-weight: 600; white-space: nowrap; }

/* Slow-connection offer (update 11) */
.lowdata-hint { background: #fff7d6; border-bottom: 1px solid #e8d27a; }
.lowdata-hint[hidden] { display: none; }
.lowdata-hint-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); padding-block: var(--s-2); }
.lowdata-hint p { margin: 0; font-size: .95rem; }
.lowdata-hint form { display: flex; gap: var(--s-2); flex-wrap: wrap; }
/* The column headings are the map's filters (update 11). */
.map-column-head { padding-bottom: 0; }
.map-column-filter { all: unset; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: 100%; padding: var(--s-2) var(--s-2) var(--s-2) 0; cursor: pointer; font: inherit; color: var(--c-navy-ink); }
.map-column-filter:hover { background: rgba(20, 41, 75, .05); }
.map-column-filter:focus-visible { outline: 3px solid var(--c-sunset); outline-offset: 2px; }
.map-column-filter[aria-pressed="true"] { background: rgba(20, 41, 75, .06); }
.map-column-how { flex-basis: 100%; font: 600 .8rem var(--f-body, inherit); color: var(--c-lagoon, #1d4f91); text-decoration: underline; text-underline-offset: 3px; }
.map-list-hint { margin: 4px 0 0; }

/* ======================================================================
   update 12: flowers and leaves, the same frangipani-and-leaf line drawing
   as the home opening, carried through the site. Small SVG files (2–4 KB,
   cached), drawn with CSS, never in the way of text, hidden in low-data
   mode and from screen readers (they're decoration only).
   ====================================================================== */
.public:not(.low-data) .page-hero:not(.hero-bg),
.public:not(.low-data) .cta-band,
.public:not(.low-data) .story-band,
.public:not(.low-data) .site-footer,
.public:not(.low-data) .home-mission,
.public:not(.low-data) .who-full { position: relative; overflow: hidden; }
.public:not(.low-data) .page-hero:not(.hero-bg) > *,
.public:not(.low-data) .cta-band > *,
.public:not(.low-data) .story-band > *,
.public:not(.low-data) .home-mission > *,
.public:not(.low-data) .who-full > * { position: relative; z-index: 1; }

/* A sprig of frangipani and leaves in the corner of each page top. */
.public:not(.low-data) .page-hero:not(.hero-bg)::after,
.public:not(.low-data) .hero-bg .ph-hero::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%); right: max(8px, calc((100vw - 1180px) / 2)); height: min(calc(100% - 16px), 190px); width: auto; aspect-ratio: 220 / 180;
  background: url("/img/deco/sprig.svg") center / contain no-repeat; pointer-events: none; z-index: 0;
}
.public:not(.low-data) .hero-bg .ph-hero::after { background-image: url("/img/deco/sprig-light.svg"); opacity: .75; z-index: 2; top: 24px; transform: none; height: 170px; }
@media (max-width: 599px) { .public:not(.low-data) .page-hero:not(.hero-bg)::after { opacity: .45; } }

/* A vine with a flower at the meeting point of two page bands. */
.public:not(.low-data) .band-white, .public:not(.low-data) .cta-band, .public:not(.low-data) .story-band { position: relative; }
.public:not(.low-data) .band-white::before,
.public:not(.low-data) .story-band::before {
  content: ""; position: absolute; top: -21px; left: 50%; width: min(420px, 80vw); height: 42px; transform: translateX(-50%);
  background: url("/img/deco/vine.svg") center / contain no-repeat; pointer-events: none; z-index: 2;
}
.public:not(.low-data) .story-band { overflow: visible; }

/* Leaf-and-flower watermark behind call-to-action boxes, "Who we help" and the footer. */
.public:not(.low-data) .cta-band::after,
.public:not(.low-data) .home-mission::after,
.public:not(.low-data) .who-full::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 300px; height: 300px;
  background: url("/img/deco/watermark.svg") center / contain no-repeat; opacity: .16; pointer-events: none; z-index: 0;
}
.public:not(.low-data) .cta-band::before {
  content: ""; position: absolute; left: -60px; top: -70px; width: 240px; height: 240px; transform: rotate(160deg);
  background: url("/img/deco/watermark.svg") center / contain no-repeat; opacity: .12; pointer-events: none; z-index: 0;
}
.public:not(.low-data) .who-full::after { width: 180px; height: 180px; right: -30px; bottom: -40px; opacity: .14; }
.public:not(.low-data) .home-mission::after { width: 340px; height: 340px; right: max(-60px, calc((100vw - 1180px) / 2 - 120px)); bottom: -90px; opacity: .12; }
.public:not(.low-data) .site-footer::before {
  content: ""; position: absolute; left: -70px; bottom: -60px; width: 320px; height: 320px; transform: rotate(-20deg);
  background: url("/img/deco/watermark-light.svg") center / contain no-repeat; opacity: .07; pointer-events: none;
}
.public:not(.low-data) .site-footer > * { position: relative; z-index: 1; }

/* A small frangipani before each section label ("OUR MISSION", "PUBLIC DOCUMENTS"...). */
.public:not(.low-data) .eyebrow:not(.crumbs)::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px;
  background: url("/img/deco/flower.svg") center / contain no-repeat;
}
.public:not(.low-data) .map-project-card .eyebrow::before,
.public:not(.low-data) .map-panel-heading .eyebrow::before,
.public:not(.low-data) .detail-update .eyebrow::before,
.public:not(.low-data) .zoom-text .kicker::before { content: none; }

/* Ticked lists on the public site get a small leaf instead of a plain mark. */
.public:not(.low-data) .check-list li::before { content: "" !important; width: 15px; height: 15px; background: url("/img/deco/leaf.svg") center / contain no-repeat; border: 0; transform: none; }
.public:not(.low-data) .check-list li::before { top: .25em; }

/* ======================================================================
   Footer, update 15: three clear boxes (about, explore, get involved),
   readable headings, contact options as tappable buttons, and a quieter
   bottom bar. Works the same in low-data mode (no images involved).
   ====================================================================== */
.site-footer .footer-grid-refresh { gap: var(--s-4); align-items: stretch; }
.site-footer .footer-brand-column,
.site-footer .footer-nav-group,
.site-footer .footer-connect {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; padding: var(--s-4);
}
.site-footer .footer-h,
.site-footer .footer-subhead {
  color: #ffd76a; font-family: var(--f-body); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin: 0 0 var(--s-3);
}
.site-footer .footer-subhead { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, .16); }
.site-footer .tagline { color: #fff; }
.site-footer .footer-legal { color: #c9d3e6; }
.site-footer .footer-nav-group .footer-links a { display: block; padding: 4px 0; font-size: 1.02rem; }
.site-footer .footer-contact-actions { list-style: none; margin: var(--s-2) 0 var(--s-3); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .footer-contact-actions a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); text-decoration: none; font-size: .9rem; font-weight: 600;
}
.site-footer .footer-contact-actions a:hover, .site-footer .footer-contact-actions a:focus-visible { background: #fff; color: var(--c-navy-ink); }
.site-footer .footer-base-refresh { border-top: 0; margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: rgba(0, 0, 0, .18); border-radius: 10px; }
.site-footer .footer-office-row { border-top-color: rgba(255, 255, 255, .16); color: #c9d3e6; }
.site-footer .footer-utility a, .site-footer .staff-link { color: #e6ecf7; }
.public:not(.low-data) .site-footer::before { opacity: .05; }
@media (max-width: 900px) {
  .site-footer .footer-brand-column { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer .footer-brand-column { grid-column: auto; }
  .site-footer .footer-brand-column, .site-footer .footer-nav-group, .site-footer .footer-connect { padding: var(--s-3); }
}
.site-footer .footer-proof { margin-top: var(--s-3); }

/* ======================================================================
   Impact map, update 15: round pins (no rotation); the chosen pin grows to
   about 3x and sits on top; all three columns always show, and the active
   filter's column is highlighted instead of taking over the list.
   ====================================================================== */
.impact-marker, .legend-pin { border-radius: 50%; transform: none; }
.impact-marker { transition: width .18s ease, height .18s ease, margin .18s ease, box-shadow .18s ease; }
.impact-marker-wrap.is-selected .impact-marker {
  width: 54px; height: 54px; margin: -16px 0 0 -16px; transform: none; border-width: 5px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .55), 0 6px 18px rgba(20, 41, 75, .45);
}
@media (prefers-reduced-motion: reduce) { .impact-marker { transition: none; } }
.map-columns .map-column.is-active-filter { background: rgba(20, 41, 75, .04); border-radius: 10px; box-shadow: 0 0 0 2px var(--c-navy-ink); padding: 0 var(--s-2) var(--s-2); }
.map-column.is-active-filter .map-column-filter { color: var(--c-navy-ink); font-weight: 700; }
.detail-history { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.detail-history-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.detail-history-list li { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.detail-history-date { font-weight: 600; }
.detail-history-type { text-transform: capitalize; color: var(--c-muted); }
.impact-marker { position: relative; }
.impact-marker::after { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.impact-marker-wrap.is-selected .impact-marker::after { width: 14px; height: 14px; }
/* Update 15: no flowers on top of header photos. The vine on the photo's
   bottom edge carries the theme; plain (no-photo) headers keep their sprig. */
.public:not(.low-data) .hero-bg .ph-hero::after { content: none; }
/* Open problems for university teams (Get involved, update 15) */
.problem-grid { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.problem-card { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; margin: 0; }
.problem-card h3 { margin: 0; }
.problem-card p { margin: 0; }
.problem-card .btn { margin-top: auto; }
