/* ==========================================================================
   Lower Middle Mupfure Sub-Catchment Council — main stylesheet
   1. Fonts & tokens   2. Base   3. Layout   4. Components   5. Sections
   6. Pages   7. Forms   8. Lightbox   9. Motion   10. Print
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

:root {
  /* Water blues */
  --navy-950: #061729;
  --navy-900: #0b2540;
  --navy-800: #11355a;
  --navy-700: #1a4874;
  --blue-500: #2f6fa8;
  /* Teal / aqua accent */
  --teal-700: #0a6469;
  --teal-600: #0c7a80;
  --teal-500: #129096;
  --aqua-300: #8fd3cf;
  --aqua-100: #d9f0ee;
  /* Natural greens & earth */
  --green-700: #3b6a2c;
  --green-500: #6b9a3c;
  --green-100: #e6efd9;
  --earth-700: #8a4a22;
  --earth-500: #b4672f;
  --earth-100: #f3e4d3;
  /* Neutrals */
  --sand-50: #f8f5ef;
  --mist-50: #f2f6f8;
  --white: #ffffff;
  --ink: #13202c;
  --ink-2: #374552;
  --muted: #56636f;
  --line: #d9e1e7;
  --line-strong: #b9c6d0;

  --success: #2c6b33;
  --success-bg: #e8f3e6;
  --warning: #7a4b05;
  --warning-bg: #fdf1dc;
  --danger: #a3261f;
  --danger-bg: #fbe8e6;

  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.85rem, 1.45rem + 1.7vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 4rem);

  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 64, 0.06), 0 1px 3px rgba(11, 37, 64, 0.08);
  --shadow: 0 10px 30px -12px rgba(11, 37, 64, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 23, 41, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 76px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy-800); }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--aqua-100); color: var(--navy-900); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy-900); color: var(--white); padding: 0.75rem 1.1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--lg { width: 2.25rem; height: 2.25rem; }
.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;
}

/* 3. Layout --------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }
.section--sand { background: var(--sand-50); }
.section--mist { background: var(--mist-50); }
.section--navy, .section--teal { color: rgba(255, 255, 255, 0.86); }
.section--navy { background: var(--navy-900) url("../img/contours.svg") center / cover no-repeat; }
.section--teal { background: linear-gradient(160deg, var(--teal-700), var(--navy-800)); }
.section--navy h2, .section--navy h3, .section--teal h2, .section--teal h3 { color: var(--white); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: flex-end; }
.section-head--row .section-title { margin-bottom: 0; }
.section-title { font-size: var(--step-3); }
.section-cta { margin: 2.5rem 0 0; }
.lead { font-size: clamp(1.075rem, 1rem + 0.35vw, 1.225rem); line-height: 1.6; color: var(--ink-2); }
.section--navy .lead, .section--teal .lead { color: rgba(255, 255, 255, 0.85); }

.eyebrow {
  font-family: var(--font-sans);
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0 0 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--aqua-300); }
.eyebrow--green { color: var(--green-700); }

/* 4. Components ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 46px; padding: 0.7rem 1.3rem;
  font: 600 0.975rem/1.2 var(--font-sans); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 54px; padding: 0.85rem 1.6rem; font-size: 1.02rem; }
.btn--primary:hover { --btn-bg: var(--navy-800); }
.btn--accent { --btn-bg: var(--teal-600); }
.btn--accent:hover { --btn-bg: var(--teal-700); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy-900); }
.btn--light:hover { --btn-bg: var(--aqua-100); --btn-fg: var(--navy-900); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--outline:hover { --btn-bg: var(--navy-900); --btn-fg: var(--white); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-bd: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; text-decoration: none; color: var(--teal-700); }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--aqua-300); }
.link-arrow--light:hover { color: var(--white); }

.tag {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 3px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--aqua-100); color: var(--teal-700);
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-size: var(--step--1); color: var(--muted); margin-bottom: 0.85rem; }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  border-radius: 999px; font-size: 0.82rem; font-weight: 700; line-height: 1.3;
}
.status-pill .icon { width: 1rem; height: 1rem; }
.status-pill--done { background: var(--success-bg); color: var(--success); }
.status-pill--pending { background: var(--warning-bg); color: var(--warning); }

.card {
  position: relative; padding: 1.75rem 1.6rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.2rem;
  border-radius: var(--radius); background: var(--aqua-100); color: var(--teal-700);
}
.card__icon .icon { width: 24px; height: 24px; }
.card__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card--cta { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, 0.85); display: flex; flex-direction: column; justify-content: center; }
.card--cta .card__title { color: var(--white); font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.card--cta p { color: rgba(255, 255, 255, 0.78); margin-bottom: 1.1rem; }
.card-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); }
.panel__title { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 600; margin-bottom: 1.25rem; }

.notice {
  display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--mist-50); border-left: 4px solid var(--teal-600); color: var(--ink-2); font-size: 0.97rem;
}
.notice .icon { color: var(--teal-700); margin-top: 0.15rem; }
.notice p:last-child { margin: 0; }
.notice--warning { background: var(--warning-bg); border-left-color: #c58a1a; }
.notice--warning .icon { color: var(--warning); }

.zoomable { position: relative; display: block; overflow: hidden; border-radius: inherit; cursor: zoom-in; }
.zoomable img { transition: transform 0.6s var(--ease); }
.zoomable:hover img { transform: scale(1.025); }
.zoomable__hint {
  position: absolute; right: 0.75rem; bottom: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.7rem; border-radius: var(--radius); background: rgba(6, 23, 41, 0.78); color: var(--white);
  font-size: 0.85rem; font-weight: 600;
}

/* Share */
.share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share__label { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.7rem; }
.share__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share__link {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); color: var(--navy-800);
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.share__link:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.share__link .icon { width: 19px; height: 19px; }
.share__status { margin: 0.5rem 0 0; min-height: 1.4em; font-size: 0.88rem; color: var(--success); }

/* Topbar */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__contact { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.topbar__contact a, .topbar__contact li { display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; text-decoration: none; }
.topbar__contact a:hover { color: var(--white); }
.topbar .icon { width: 0.95rem; height: 0.95rem; color: var(--aqua-300); }
.topbar__tag { margin: 0; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 1100px) { .topbar__tag, .topbar__loc { display: none !important; } }
@media (max-width: 640px) { .topbar__contact li:nth-child(2) { display: none; } .topbar__inner { justify-content: center; } }

/* Header & navigation */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line); transition: box-shadow 0.25s var(--ease);
}
@supports (backdrop-filter: blur(8px)) { @media (min-width: 1360px) { .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(10px); } } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(6, 23, 41, 0.4); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand__logo { width: 54px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 700; color: var(--navy-900); letter-spacing: -0.01em; }
.brand__sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal-700); margin-top: 0.2rem; }

.primary-nav__list { list-style: none; display: flex; gap: 0.15rem; }
.primary-nav__list a {
  position: relative; display: block; padding: 0.55rem 0.7rem; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: color 0.2s var(--ease);
}
/* Animated underline: grows from the left on hover, stays for the current page. */
.primary-nav__list a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem; height: 2px; border-radius: 2px;
  background: var(--teal-600); transform: scaleX(0); transform-origin: right center;
  transition: transform 0.35s var(--ease-out);
}
.primary-nav__list a:hover { color: var(--navy-900); }
.primary-nav__list a:hover::after, .primary-nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.primary-nav__list a[aria-current="page"] { color: var(--navy-900); }
.primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__contact { display: none; }
.nav-toggle { display: none; }

@media (min-width: 1360px) {
  .primary-nav { display: flex; align-items: center; gap: 1rem; }
}
@media (max-width: 1359.98px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.5rem 0.85rem;
    font: 600 0.95rem var(--font-sans); color: var(--navy-900); background: var(--white);
    border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
  }
  .nav-toggle:hover { border-color: var(--navy-900); }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle__close { display: none; }
  .nav-toggle[aria-expanded="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
  /* Panel wipes down from the header; links follow in a short stagger. */
  .primary-nav {
    position: fixed; inset: var(--nav-top, 0px) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; gap: 1.5rem; padding: 1.25rem var(--gutter) 2.5rem;
    background: var(--white); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s;
  }
  .primary-nav.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
  .primary-nav__list { flex-direction: column; gap: 0; }
  .primary-nav__list a { padding: 0.95rem 0.25rem; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav__list a::after { left: 0; right: auto; width: 4px; top: 1rem; bottom: 1rem; height: auto; transform: scaleY(0); }
  .primary-nav__list a[aria-current="page"] { padding-left: 1rem; color: var(--teal-700); }
  .primary-nav__list a[aria-current="page"]::after { transform: scaleY(1); }
  .primary-nav__list li, .primary-nav__cta, .primary-nav__contact {
    opacity: 0; transform: translate3d(0, 14px, 0);
    transition: opacity 0.3s var(--ease), transform 0.45s var(--ease-out);
  }
  .primary-nav.is-open .primary-nav__list li, .primary-nav.is-open .primary-nav__cta, .primary-nav.is-open .primary-nav__contact { opacity: 1; transform: none; }
  .primary-nav.is-open li:nth-child(1) { transition-delay: 0.08s; }
  .primary-nav.is-open li:nth-child(2) { transition-delay: 0.11s; }
  .primary-nav.is-open li:nth-child(3) { transition-delay: 0.14s; }
  .primary-nav.is-open li:nth-child(4) { transition-delay: 0.17s; }
  .primary-nav.is-open li:nth-child(5) { transition-delay: 0.20s; }
  .primary-nav.is-open li:nth-child(6) { transition-delay: 0.23s; }
  .primary-nav.is-open li:nth-child(7) { transition-delay: 0.26s; }
  .primary-nav.is-open li:nth-child(8) { transition-delay: 0.29s; }
  .primary-nav.is-open .primary-nav__cta { transition-delay: 0.33s; }
  .primary-nav.is-open .primary-nav__contact { transition-delay: 0.37s; }
  .primary-nav__cta { align-self: stretch; min-height: 54px; }
  .primary-nav__contact { display: grid; gap: 0.6rem; font-size: 0.97rem; }
  .primary-nav__contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink-2); text-decoration: none; }
  .primary-nav__contact .icon { color: var(--teal-600); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__logo { width: 44px; }
  .brand__name { font-size: 1.12rem; }
  .brand__sub { font-size: 0.62rem; letter-spacing: 0.1em; }
  .nav-toggle__label { display: none; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 4.5rem);
  background: var(--navy-900) url("../img/contours.svg") center / cover no-repeat; color: rgba(255, 255, 255, 0.85);
}
.page-hero__title { color: var(--white); font-size: var(--step-4); max-width: 22ch; margin-bottom: 0.4em; }
.page-hero__lede { font-size: clamp(1.075rem, 1rem + 0.4vw, 1.25rem); max-width: 62ch; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.75rem; font-size: 0.88rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: var(--aqua-300); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.75); font-size: 0.96rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr; } }
.brand--footer { margin-bottom: 1.25rem; }
.brand--footer .brand__logo { background: var(--white); border-radius: 50%; padding: 4px; width: 60px; }
.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__sub { color: var(--aqua-300); }
.site-footer__brand p { max-width: 42ch; }
.site-footer__vision { padding-left: 1rem; border-left: 2px solid var(--teal-500); font-family: var(--font-serif); font-style: italic; color: rgba(255, 255, 255, 0.85); }
.site-footer__vision span { display: block; font-family: var(--font-sans); font-style: normal; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aqua-300); margin-bottom: 0.25rem; }
.site-footer__heading { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.site-footer__heading--spaced { margin-top: 2rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.6rem; }
.site-footer__contact li, .site-footer__contact a { display: inline-flex; gap: 0.6rem; align-items: flex-start; }
.site-footer__contact .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.25rem; color: var(--aqua-300); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem; }
.site-footer__bottom p { margin: 0; }

.back-to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: var(--white);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--teal-600); color: var(--white); }

/* 5. Home sections -------------------------------------------------------- */
.statements { display: grid; gap: 1.25rem; }
.statement { position: relative; padding: 2rem 2rem 2rem 2.25rem; border-radius: var(--radius-lg); background: var(--mist-50); border: 1px solid var(--line); }
.statement::before { content: ""; position: absolute; left: 0; top: 2rem; bottom: 2rem; width: 4px; border-radius: 0 3px 3px 0; background: var(--teal-600); }
.statement--mission { background: var(--navy-900); border-color: var(--navy-900); }
.statement--mission::before { background: var(--aqua-300); }
.statement__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 0.6rem; }
.statement--mission .statement__label { color: var(--aqua-300); }
.statement__text { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.4; color: var(--navy-900); margin: 0; }
.statement--mission .statement__text { color: var(--white); }

.feature__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .feature__grid { grid-template-columns: 0.85fr 1.15fr; } }
.feature__media { margin: 0; }
.feature__media .zoomable { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.feature__media figcaption, .map-frame figcaption, .gallery figcaption { margin-top: 0.75rem; font-size: 0.88rem; color: var(--muted); }
.feature .section-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }

.progress-compact { display: grid; gap: 0.6rem; margin: 1.75rem 0 0; }
.progress-compact__item { display: flex; gap: 0.8rem; align-items: center; padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.progress-compact__item strong { display: block; font-size: 0.98rem; }
.progress-compact__item em { font-style: normal; font-size: 0.85rem; font-weight: 600; }
.progress-compact__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; }
.progress-compact__icon .icon { width: 18px; height: 18px; }
.progress-compact__item--done { border-color: #bcd9b8; }
.progress-compact__item--done .progress-compact__icon { background: var(--success); color: var(--white); }
.progress-compact__item--done em { color: var(--success); }
.progress-compact__item--pending .progress-compact__icon { background: var(--warning-bg); color: var(--warning); }
.progress-compact__item--pending em { color: var(--warning); }

.mandate-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--line); }
.mandate-item { position: relative; padding: 2rem 1.75rem 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) {
  .mandate-list { border-left: 1px solid var(--line); }
  .mandate-item { padding: 2rem 1.75rem; border-right: 1px solid var(--line); }
}
.mandate-item__num { position: absolute; top: 2rem; right: 1.5rem; font-family: var(--font-serif); font-size: 0.95rem; color: var(--line-strong); font-weight: 600; }
.mandate-item__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.1rem; border-radius: 50%; background: var(--navy-900); color: var(--aqua-300); }
.mandate-item__icon .icon { width: 22px; height: 22px; }
.mandate-item__title { font-size: 1.08rem; margin-bottom: 0.45rem; }
.mandate-item p { margin: 0; font-size: 0.97rem; color: var(--muted); }

.map-section__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .map-section__grid { grid-template-columns: 0.75fr 1.25fr; } }
.map-frame { margin: 0; }
.map-frame .zoomable { background: var(--white); padding: 0.6rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.map-frame .zoomable img { border-radius: 4px; }
.map-frame .zoomable:hover img { transform: none; }
.section--navy .map-frame figcaption { color: rgba(255, 255, 255, 0.65); }
.map-section .btn { margin-top: 1.75rem; }

.legend { list-style: none; display: grid; gap: 0.55rem 1.25rem; }
.legend--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 0.95rem; }
.legend li { display: flex; align-items: center; gap: 0.65rem; }
.legend__swatch { flex: none; width: 18px; height: 18px; border-radius: 50%; position: relative; }
.legend__swatch--health { background: var(--white); border: 1.5px solid #c8242b; }
.legend__swatch--health::before, .legend__swatch--health::after { content: ""; position: absolute; background: #c8242b; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.legend__swatch--health::before { width: 10px; height: 2.5px; }
.legend__swatch--health::after { width: 2.5px; height: 10px; }
.legend__swatch--secondary { background: #4fae48; border: 1px solid #2f7a2b; }
.legend__swatch--primary { background: #d4262c; border: 1px solid #9c1a1f; }
.legend__swatch--dam { border-radius: 2px; background: #a9c4ec; border: 1px solid #5b7fb8; width: 20px; height: 14px; }
.legend__swatch--settlement { background: var(--white); border: 1.5px solid #222; }
.legend__swatch--settlement::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #222; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.legend__swatch--borehole { background: #3c6fb4; border: 1px solid #284f86; }
.legend__swatch--river { border-radius: 0; height: 2px; width: 20px; background: #6f9dd6; }
.legend__swatch--district { border-radius: 2px; width: 20px; height: 14px; background: #b5a68a; border: 1px solid #555; }
.legend__swatch--area { border-radius: 2px; width: 20px; height: 14px; background: #c9c3b6; border: 1px solid #8a8478; }

.stewardship { background: linear-gradient(180deg, var(--white), var(--green-100)); }
.steward-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.steward-item { padding: 1.75rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); border-top: 3px solid var(--green-500); box-shadow: var(--shadow-sm); }
.steward-item__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.steward-item h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.steward-item p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.partner-band__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .partner-band__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.partner-ways { list-style: none; display: grid; gap: 1px; background: rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 600px) { .partner-ways { grid-template-columns: 1fr 1fr; } }
.partner-ways li { display: flex; gap: 1rem; padding: 1.5rem; background: rgba(6, 23, 41, 0.35); }
.partner-ways .icon { width: 28px; height: 28px; color: var(--aqua-300); margin-top: 0.15rem; }
.partner-ways h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.partner-ways p { margin: 0; font-size: 0.93rem; color: rgba(255, 255, 255, 0.78); }

.news-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .news-grid { grid-template-columns: 2fr 1fr; } }
.news-card { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.25s var(--ease), border-color 0.25s; }
.news-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
@media (min-width: 640px) { .news-card--lead { grid-template-columns: 0.8fr 1.2fr; } }
.news-card__media { display: block; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; transition: transform 0.6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body { padding: 1.75rem; }
.news-card__title { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 600; line-height: 1.25; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--teal-700); text-decoration: underline; }
.news-card__body p:last-child { margin: 0; color: var(--muted); }
.news-aside { padding: 2rem; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--mist-50); color: var(--muted); }
.news-aside .icon { color: var(--teal-600); margin-bottom: 1rem; }
.news-aside h3 { font-size: 1.1rem; }
.news-aside p { margin: 0; font-size: 0.97rem; }

.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.contact-list { list-style: none; display: grid; gap: 1.5rem; margin-top: 2rem; }
.contact-list__item { display: flex; gap: 1rem; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: var(--aqua-300); }
.contact-list__label { margin: 0 0 0.25rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list__value { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }
a.contact-list__value { color: var(--teal-700); }
.phone-list { list-style: none; display: grid; gap: 0.2rem; }
.phone-list a { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.phone-list a:hover { color: var(--teal-700); text-decoration: underline; }

/* 6. Inner pages ---------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose > :first-child { margin-top: 0; }

.check-list { list-style: none; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-list .icon { flex: none; width: 22px; height: 22px; padding: 3px; margin-top: 0.15rem; border-radius: 50%; background: var(--aqua-100); color: var(--teal-700); }

.values-grid { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.value { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value__name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--navy-900); margin-bottom: 0.35rem; }
.value p { margin: 0; font-size: 0.96rem; color: var(--muted); }
.value__index { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--teal-600); margin-bottom: 0.6rem; }

.functions { list-style: none; counter-reset: fn; display: grid; gap: 0; border-top: 1px solid var(--line); }
.functions li { counter-increment: fn; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.functions li::before { content: counter(fn, decimal-leading-zero); font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; color: var(--teal-600); }

.partners-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.partners-list li { padding: 0.55rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.95rem; font-weight: 550; color: var(--ink-2); }

.service__ask { padding: 1.25rem; border-radius: var(--radius); background: var(--mist-50); }
.service__ask h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.service__ask ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.95rem; margin-bottom: 1rem; }
.service__ask li { padding-left: 1.1rem; position: relative; }
.service__ask li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }
.service-index { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.service-index a { display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.service-index a:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Projects */
.project-card { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 860px) { .project-card { grid-template-columns: 0.8fr 1.2fr; } }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; object-position: 50% 35%; }
.project-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.project-card__title { font-family: var(--font-serif); font-size: var(--step-3); font-weight: 600; }
.project-card__title a { color: var(--ink); text-decoration: none; }
.project-card__title a:hover { color: var(--teal-700); }
.project-card__status { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.project-facts { display: grid; gap: 0.75rem 2rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 1.5rem 0; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.project-facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--ink); }
.empty-state { padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); text-align: center; color: var(--muted); background: var(--mist-50); }
.empty-state p { margin: 0; }

.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__item--done::before { background: var(--success); }
.timeline__marker { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--line-strong); color: var(--muted); }
.timeline__marker .icon { width: 26px; height: 26px; }
.timeline__item--done .timeline__marker { background: var(--success); border-color: var(--success); color: var(--white); }
.timeline__item--pending .timeline__marker { border-style: dashed; border-color: #c58a1a; color: var(--warning); background: var(--warning-bg); }
.timeline__body { padding-top: 0.4rem; }
.timeline__title { margin-bottom: 0.3rem; font-size: 1.12rem; }
.timeline__body p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.97rem; }

.status-columns { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .status-columns { grid-template-columns: 1fr 1fr; } }
.status-box { padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid; }
.status-box h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; }
.status-box ul { list-style: none; display: grid; gap: 0.6rem; }
.status-box li { display: flex; gap: 0.6rem; align-items: flex-start; }
.status-box li .icon { margin-top: 0.2rem; }
.status-box--done { background: var(--success-bg); border-color: #bcd9b8; }
.status-box--done h3, .status-box--done .icon { color: var(--success); }
.status-box--pending { background: var(--warning-bg); border-color: #efd29c; }
.status-box--pending h3, .status-box--pending .icon { color: var(--warning); }

.funding { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.funding__bar { display: block; width: 100%; height: 12px; margin: 1rem 0 0.5rem; border: 1px solid var(--line); border-radius: 99px; background: var(--mist-50); overflow: hidden; appearance: none; }
.funding__bar::-webkit-progress-bar { background: var(--mist-50); }
.funding__bar::-webkit-progress-value { background: linear-gradient(90deg, var(--teal-600), var(--green-500)); }
.funding__bar::-moz-progress-bar { background: linear-gradient(90deg, var(--teal-600), var(--green-500)); }
.funding__figures { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.95rem; }
.funding--pending { border-style: dashed; background: var(--mist-50); }

.why-grid { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.gallery { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery figure { margin: 0; }
.gallery .zoomable { border-radius: var(--radius); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery__placeholder { display: grid; place-items: center; aspect-ratio: 1; padding: 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; font-size: 0.93rem; color: var(--muted); background: var(--mist-50); }

.support-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .support-layout { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }

.project-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Map page */
.map-viewer { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.75rem; box-shadow: var(--shadow); }
.map-viewer .zoomable img { border-radius: 4px; width: 100%; }
.map-viewer .zoomable:hover img { transform: none; }
.map-viewer figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; align-items: center; padding: 0.9rem 0.4rem 0.25rem; font-size: 0.9rem; color: var(--muted); }
.legend-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.legend-table th, .legend-table td { padding: 0.85rem 0.75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.legend-table th { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legend-table td:first-child { width: 44px; }
.legend-table .legend__swatch { display: block; }

/* Articles */
.article-header { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0; }
.article-header h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.12; }
.article-figure { margin: 2rem 0; }
.article-figure .zoomable { border-radius: var(--radius-lg); }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; object-position: 50% 35%; }
.article-figure figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--muted); }
.article-body { font-size: 1.1rem; }
.article-body p:first-child { font-size: 1.22rem; color: var(--ink); }
.news-list { display: grid; gap: 1.5rem; }

/* Resources */
.resource-group { margin-bottom: 3rem; }
.resource-group h2 { font-size: var(--step-2); display: flex; align-items: center; gap: 0.75rem; }
.resource { display: grid; gap: 1rem 1.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
@media (min-width: 760px) { .resource { grid-template-columns: auto 1fr auto; align-items: center; } }
.resource__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--earth-100); color: var(--earth-700); }
.resource__title { font-size: 1.12rem; margin-bottom: 0.3rem; }
.resource p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.resource__note { margin-top: 0.5rem !important; font-size: 0.88rem !important; color: var(--warning) !important; font-weight: 600; }
.resource-empty { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--mist-50); color: var(--muted); font-size: 0.95rem; border: 1px dashed var(--line-strong); }

/* 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.notfound__code { font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--aqua-100); font-weight: 700; margin-bottom: 0.5rem; -webkit-text-stroke: 2px var(--teal-600); }
.notfound .btn-row { justify-content: center; }

/* 7. Forms ---------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313202c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 18px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(18, 144, 150, 0.22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 38, 31, 0.18); }
.field__error { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.support-types { padding: 1rem 1.1rem !important; border-radius: var(--radius); background: var(--mist-50) !important; border: 1px solid var(--line) !important; }
.support-types[hidden] { display: none; }
.checks { display: grid; gap: 0.5rem; margin-top: 0.4rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400 !important; font-size: 0.97rem !important; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--teal-600); }
.check--consent { color: var(--ink-2) !important; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form-status { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.15rem; margin-bottom: 1.5rem; border-radius: var(--radius); font-weight: 550; }
.form-status p { margin: 0; }
.form-status:focus { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.form-status .icon { margin-top: 0.15rem; }
.form-status--success { background: var(--success-bg); color: var(--success); border: 1px solid #bcd9b8; }
.form-status--warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #efd29c; }
.form-status--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f0c0bb; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: var(--white); border-radius: 50%; animation: spin 0.8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 8. Lightbox ------------------------------------------------------------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 14, 26, 0.96); color: var(--white); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(4, 14, 26, 0.9); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.lightbox__caption { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.lightbox__tools { display: flex; gap: 0.4rem; }
.lightbox__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__btn--close { background: var(--white); color: var(--navy-900); }
.lightbox__btn--close:hover { background: var(--aqua-100); }
.lightbox__stage { position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__img { max-width: 94vw; max-height: calc(100dvh - 140px); object-fit: contain; transform-origin: center center; user-select: none; will-change: transform; }
.lightbox__hint { margin: 0; padding: 0.6rem var(--gutter); text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.lightbox:not(.lightbox--zoom) [data-lb="zoom-in"], .lightbox:not(.lightbox--zoom) [data-lb="zoom-out"], .lightbox:not(.lightbox--zoom) [data-lb="reset"], .lightbox:not(.lightbox--zoom) .lightbox__hint { display: none; }

/* 9. Experience & motion ---------------------------------------------------
   9a Cinematic hero (home + project)   9b Editorial bands   9c Reusable reveal system
   9d Micro-interactions   9e Page entrances & transitions   9f Mobile & reduced motion
   -------------------------------------------------------------------------- */

/* 9a. Cinematic hero ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, 0.86); }
.hero__stage { position: relative; display: grid; min-height: min(calc(100svh - 116px), 880px); }
.hero__visual { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; background: var(--navy-900); }
.hero__img, .hero__img img { display: block; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 50% 30%; transform-origin: 55% 40%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 23, 41, 0.25) 0%, rgba(6, 23, 41, 0.5) 32%, rgba(6, 23, 41, 0.92) 62%, var(--navy-950) 100%);
}
.hero__content { position: relative; align-self: end; padding: 42svh var(--gutter) 2.75rem; }
.hero__copy { max-width: 640px; }
.hero__title {
  margin-bottom: 0.45em; max-width: 16ch; color: var(--white);
  font-size: clamp(2.4rem, 1.4rem + 2.9vw, 4.1rem); line-height: 1.05; letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--aqua-300); }
.hero__lede { max-width: 54ch; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); color: rgba(255, 255, 255, 0.84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__status { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.hero .breadcrumb ol { margin-bottom: 1.5rem; }
.hero__badge {
  position: absolute; left: var(--gutter); top: 1.1rem; display: inline-flex; align-items: center; gap: 0.6rem;
  max-width: calc(100% - 2 * var(--gutter)); padding: 0.55rem 0.85rem 0.55rem 0.6rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink-2); font-size: 0.85rem; line-height: 1.3; box-shadow: var(--shadow);
}
.hero__badge .status-pill { flex: none; }
.hero__badge-text { display: none; }
.hero__cue { display: none; }
.hero__facts { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(6, 23, 41, 0.6); }
.hero__facts-inner { display: grid; gap: 1.1rem 2.5rem; padding-block: 1.6rem; }
.hero__facts p { position: relative; margin: 0; padding-top: 0.9rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.hero__facts p::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 2px; background: var(--teal-500); transform-origin: left; }
.hero__facts strong { display: block; color: var(--white); font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
@media (min-width: 760px) { .hero__facts-inner { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 960px) and (max-height: 939px) { .hero__cue { display: none !important; } }
@media (min-width: 960px) {
  .hero__stage { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .hero__visual { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; }
  .hero__shade {
    background:
      linear-gradient(90deg, var(--navy-950) 0%, rgba(6, 23, 41, 0.45) 16%, rgba(6, 23, 41, 0) 42%),
      linear-gradient(0deg, rgba(6, 23, 41, 0.6) 0%, rgba(6, 23, 41, 0) 38%);
  }
  .hero__content {
    grid-column: 1; grid-row: 1; align-self: center;
    padding: clamp(3.5rem, 8vh, 7rem) clamp(2rem, 4vw, 4.5rem) clamp(4rem, 9vh, 7.5rem) max(var(--gutter), calc((100vw - 1200px) / 2));
  }
  .hero::before {
    content: ""; position: absolute; inset: -6% 40% -6% -6%; z-index: -1; pointer-events: none;
    background: url("../img/contours.svg") center / cover no-repeat; opacity: 0.9;
    animation: contourDrift 38s ease-in-out infinite alternate;
  }
  .hero__badge { left: auto; right: 1.75rem; top: auto; bottom: 1.75rem; max-width: 330px; border-radius: var(--radius); padding: 0.9rem 1rem; display: grid; gap: 0.45rem; }
  .hero__badge .status-pill { justify-self: start; }
  .hero__badge-text { display: block; font-size: 0.9rem; }
  .hero__cue {
    display: inline-flex; align-items: center; gap: 0.8rem; margin: 3.5rem 0 0;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
  }
  .hero__cue { animation: fadeIn 1s var(--ease) 1.2s both; }
  .hero__cue::before { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--aqua-300), transparent); transform-origin: top; animation: cue 2.4s var(--ease-in-out) infinite; }
}
.hero--project .hero__title { font-size: clamp(2.2rem, 1.3rem + 2.5vw, 3.6rem); max-width: 18ch; }

/* Hero entrance: CSS only, so it runs even if JavaScript fails, and always ends fully visible. */
.hero__copy > * { animation: rise 0.85s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 40ms); }
.hero__copy > :nth-child(2) { --i: 1; }
.hero__copy > :nth-child(3) { --i: 2; }
.hero__copy > :nth-child(4) { --i: 3; }
.hero__copy > :nth-child(5) { --i: 4; }
.hero__copy > :nth-child(6) { --i: 5; }
.hero__visual { animation: fadeIn 1s var(--ease) both; }
.hero__img img { animation: settle 2.4s var(--ease-out) both; }
.hero__badge { animation: rise 0.8s var(--ease-out) 0.75s both; }
.hero__facts p::before { animation: lineGrow 0.9s var(--ease-out) both; animation-delay: 0.6s; }
@media (min-width: 960px) {
  .hero__visual { animation: wipeIn 1.25s var(--ease-in-out) both; }
  .hero__img img { animation: settle 2.4s var(--ease-out) both, drift 26s ease-in-out 2.4s infinite alternate; }
}

@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wipeIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.045) translate3d(-0.8%, -0.6%, 0); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes contourDrift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-2.5%, 1.5%, 0) rotate(1.2deg); } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* 9b. Editorial bands ------------------------------------------------------ */
.statement-band { position: relative; overflow: hidden; padding-block: var(--space-section); background: var(--navy-900); color: rgba(255, 255, 255, 0.82); }
.statement-band::before { content: ""; position: absolute; inset: -10%; background: url("../img/contours.svg") center / cover no-repeat; opacity: 0.7; pointer-events: none; }
.statement-band .container { position: relative; }
.statement-band .eyebrow { margin-bottom: clamp(3rem, 2.2rem + 2vw, 4rem); }
.statement-band__quote {
  position: relative; margin: 0 0 clamp(3rem, 2rem + 3vw, 5rem); max-width: 30ch;
  font-family: var(--font-serif); font-size: clamp(1.7rem, 1rem + 2.7vw, 3.3rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em; color: var(--white);
}
.statement-band__quote p { margin: 0; }
.statement-band__quote::before {
  content: "\201C"; position: absolute; left: -0.04em; top: -0.5em; font-size: 2em; line-height: 1; color: var(--teal-500); opacity: 0.5;
}
.statement-band__source { margin-top: 1.4rem; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua-300); }
.highlights { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.highlight { padding-top: 1.75rem; }
.highlight__num { display: block; font-family: var(--font-serif); font-size: clamp(2.6rem, 1.9rem + 2.6vw, 4.1rem); font-weight: 600; line-height: 1; color: var(--aqua-300); font-variant-numeric: tabular-nums lining-nums; }
.highlight__label { display: block; margin-top: 0.7rem; max-width: 28ch; font-size: 0.97rem; color: rgba(255, 255, 255, 0.75); }

.intro-split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: end; }
@media (min-width: 960px) { .intro-split { grid-template-columns: 1.15fr 0.85fr; } }
.intro-split .section-title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.1; }

/* Support call-out on the project page */
.support-callout {
  position: relative; overflow: hidden; display: grid; gap: 2rem; align-items: center;
  padding: clamp(2rem, 1.25rem + 3vw, 4rem); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-700), var(--navy-900) 70%); color: rgba(255, 255, 255, 0.86);
}
.support-callout::before { content: ""; position: absolute; inset: -20%; background: url("../img/contours.svg") center / cover no-repeat; opacity: 0.6; pointer-events: none; }
.support-callout > * { position: relative; }
.support-callout__text { margin: 0; max-width: 34ch; font-family: var(--font-serif); font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.35rem); font-weight: 500; line-height: 1.28; color: var(--white); }
@media (min-width: 900px) { .support-callout { grid-template-columns: 1fr auto; } }

/* 9c. Reusable reveal system ----------------------------------------------
   main.js marks elements that start BELOW the fold with .is-pending, then swaps it for
   .is-revealing as they scroll into view. Content above the fold, and all content when
   JavaScript or IntersectionObserver is unavailable, is never hidden.
   Variants: data-reveal="" (fade-up) | left | right | scale | fade | image | words      */
:root { --reveal-dist: 26px; }
.is-pending { opacity: 0; transform: translate3d(0, var(--reveal-dist), 0); }
.is-pending[data-reveal="left"] { transform: translate3d(calc(var(--reveal-dist) * -1.25), 0, 0); }
.is-pending[data-reveal="right"] { transform: translate3d(calc(var(--reveal-dist) * 1.25), 0, 0); }
.is-pending[data-reveal="scale"] { transform: scale(0.965); }
.is-pending[data-reveal="fade"] { transform: none; }
.is-revealing {
  transition: opacity 0.85s var(--ease-out) var(--d, 0ms), transform 0.95s var(--ease-out) var(--d, 0ms), clip-path 1.2s var(--ease-in-out) var(--d, 0ms) !important;
}
/* Image reveal: a clipping mask opens while the photo settles from a slight zoom. */
.is-pending[data-reveal="image"] { opacity: 1; transform: none; clip-path: inset(10% 6% 10% 6% round var(--radius-lg)); }
.is-pending[data-reveal="image"] img { transform: scale(1.12); }
.is-revealing[data-reveal="image"] img { transition: transform 1.6s var(--ease-out) var(--d, 0ms) !important; }
/* Word-by-word statement reveal (spans are added by main.js only when motion is allowed). */
.is-pending[data-reveal="words"] { opacity: 1; transform: none; }
.w { display: inline-block; }
.is-pending[data-reveal="words"] .w { opacity: 0.08; transform: translate3d(0, 0.4em, 0); }
.is-revealing[data-reveal="words"] .w { transition: opacity 0.7s var(--ease) calc(var(--wi) * 28ms), transform 0.8s var(--ease-out) calc(var(--wi) * 28ms); }
/* Accent lines that draw in with their section. */
.eyebrow::before { transform-origin: left center; transition: transform 0.8s var(--ease-out) calc(var(--d, 0ms) + 150ms); }
.is-pending.eyebrow::before { transform: scaleX(0); }
/* Project timeline: connector draws downward and markers pop in. */
.timeline__item::before { transform-origin: top; transition: transform 1s var(--ease-out) calc(var(--d, 0ms) + 250ms); }
.timeline__item.is-pending::before { transform: scaleY(0); }
.timeline__marker { transition: transform 0.6s var(--ease-out) calc(var(--d, 0ms) + 100ms), opacity 0.4s var(--ease) calc(var(--d, 0ms) + 100ms); }
.timeline__item.is-pending .timeline__marker { transform: scale(0.55); opacity: 0; }
.progress-compact__icon { transition: transform 0.5s var(--ease-out) calc(var(--d, 0ms) + 150ms); }
.progress-compact__item.is-pending .progress-compact__icon { transform: scale(0.4) rotate(-30deg); }

/* Scroll progress (in the sticky header) */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-600), var(--aqua-300)); transform: scaleX(0); transform-origin: left center; will-change: transform; }

/* 9d. Micro-interactions --------------------------------------------------- */
.btn:active { transform: translateY(0) scale(0.98); }
.btn--accent { box-shadow: 0 10px 24px -12px rgba(12, 122, 128, 0.7); }
.card__icon, .mandate-item__icon, .steward-item__icon, .service__icon { transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.45s var(--ease-out); }
.card:hover .card__icon { background: var(--navy-900); color: var(--aqua-300); transform: translateY(-3px); }
.mandate-item { transition: background-color 0.3s var(--ease); }
.mandate-item:hover { background: var(--mist-50); }
.mandate-item:hover .mandate-item__icon { background: var(--teal-600); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.steward-item { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease); }
.steward-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steward-item:hover .steward-item__icon { background: var(--green-700); color: var(--white); }
.partner-ways li { transition: background-color 0.3s var(--ease); }
.partner-ways li:hover { background: rgba(6, 23, 41, 0.55); }
.project-card__media { overflow: hidden; }
.project-card__media img { transition: transform 0.9s var(--ease-out); }
.project-card:hover .project-card__media img { transform: scale(1.045); }
.share__link { transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out); }
.share__link:hover { transform: translateY(-2px); }
.back-to-top { transition: opacity 0.3s, transform 0.4s var(--ease-out), visibility 0s linear 0.3s, background-color 0.2s; }
.back-to-top.is-visible:hover { transform: translateY(-3px); }
.field label { transition: color 0.2s; }
.field:focus-within > label { color: var(--teal-700); }
.form-status:not([hidden]) { animation: rise 0.45s var(--ease-out) both; }
.form-status--success .icon { animation: pop 0.5s var(--ease-out) 0.15s both; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.15); } to { transform: scale(1); opacity: 1; } }

/* Services: a coherent two-column system of service cards */
.service-list { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .service-list--grid { grid-template-columns: 1fr 1fr; } }
.service {
  position: relative; display: flex; flex-direction: column; gap: 1.4rem; overflow: hidden;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  transition: border-color 0.3s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.service::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal-600), var(--aqua-300)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.service:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.service:hover::before, .service:target::before { transform: scaleX(1); }
.service__head { display: flex; gap: 1.1rem; align-items: flex-start; }
.service__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: var(--radius); background: var(--navy-900); color: var(--aqua-300); }
.service__icon .icon { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--teal-600); color: var(--white); transform: rotate(-6deg); }
.service__num { display: block; margin-bottom: 0.2rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--teal-700); }
.service__title { font-size: var(--step-1); margin-bottom: 0.5rem; }
.service__text p { margin: 0; color: var(--ink-2); }
.service__ask { margin-top: auto; }

/* 9e. Page entrances & cross-page transitions ----------------------------- */
.page-hero { overflow: hidden; isolation: isolate; background: var(--navy-900); }
.page-hero::before {
  content: ""; position: absolute; inset: -8%; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 360px at 85% 0%, rgba(18, 144, 150, 0.3), transparent 70%), url("../img/contours.svg") center / cover no-repeat;
  animation: contourDrift 40s ease-in-out infinite alternate;
}
.page-hero__inner > * { animation: rise 0.8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
.page-hero__inner > :nth-child(2) { --i: 1; }
.page-hero__inner > :nth-child(3) { --i: 2; }
.page-hero__inner > :nth-child(4) { --i: 3; }
.article-header .container--narrow > * { animation: rise 0.8s var(--ease-out) both; }
.article-header .container--narrow > :nth-child(2) { animation-delay: 80ms; }
.article-header .container--narrow > :nth-child(3) { animation-delay: 160ms; }
.article-header .container--narrow > :nth-child(4) { animation-delay: 240ms; }

/* Native cross-document View Transitions: no router; direct URLs, refresh and the back
   button behave normally. Browsers without support simply navigate as before. */
@view-transition { navigation: auto; }
.topbar { view-transition-name: lmscc-topbar; }
.site-header { view-transition-name: lmscc-header; }
::view-transition-old(root) { animation: vtOut 0.22s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.45s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translate3d(0, -10px, 0); } }
@keyframes vtIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

/* 9f. Mobile & reduced motion --------------------------------------------- */
@media (max-width: 700px) {
  :root { --reveal-dist: 16px; }
  .is-pending[data-reveal="image"] { clip-path: inset(6% 4% 6% 4% round var(--radius-lg)); }
  .page-hero::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .is-pending, .is-pending img, .is-pending .w, .is-pending::before, .is-pending .timeline__marker { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__cue { display: none; }
  @view-transition { navigation: none; }
}

/* 10. Print --------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .lightbox, .share, .enquiry-form, .btn, .btn-row, .nav-toggle, .zoomable__hint, .breadcrumb, .no-print { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section, .page-hero, .hero, .statement-band, .support-callout { padding-block: 1rem !important; background: none !important; color: #000 !important; }
  .hero__stage { display: block !important; min-height: 0 !important; }
  .hero__visual { position: static !important; max-width: 6cm; }
  .hero__shade, .hero__badge, .hero__cue, .scroll-progress, .statement-band::before, .support-callout::before { display: none !important; }
  .hero__content { padding: 0 !important; }
  .statement-band__quote, .support-callout__text, .highlight__num, .highlight__label { color: #000 !important; }
  .page-hero::before, .hero::before { display: none; }
  .is-pending, .is-pending img, .is-pending .w { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  h1, h2, h3, .hero__title, .hero__lede, .page-hero__title, .page-hero__lede { color: #000 !important; }
  a { color: #000; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* Utilities */
.mt { margin-top: 1.25rem; }
.mt-lg { margin-top: 2.5rem; }
.text-center { text-align: center; }
.h3 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 650; }
.breadcrumb--dark li { color: var(--muted); }
.breadcrumb--dark li + li::before { color: var(--line-strong); }
.breadcrumb--dark a { color: var(--teal-700); }
.breadcrumb--dark a:hover { color: var(--navy-900); }
.meta .icon { width: 1rem; height: 1rem; }
.check-list a { font-weight: 600; }
.prose .eyebrow + h2 { margin-top: 0; }

/* Experience additions */
.hero__img-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.support-callout .btn-row { margin-top: 0; }
.statements--row .statement { display: grid; gap: 0.5rem 3rem; align-items: baseline; }
@media (min-width: 900px) { .statements--row .statement { grid-template-columns: 12rem 1fr; padding: 2.5rem 3rem; } }
.statements--row .statement__text { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
/* Phones and tablets: photo occupies the top of the hero; text begins over its shaded lower edge,
   keeping the people in the photograph clear of the headline. */
@media (max-width: 959.98px) {
  .hero__visual { bottom: auto; height: min(68svh, 640px); }
  .hero__shade { background: linear-gradient(180deg, rgba(6, 23, 41, 0.15) 0%, rgba(6, 23, 41, 0.1) 45%, rgba(6, 23, 41, 0.85) 82%, var(--navy-950) 100%); }
  .hero__content { padding-top: calc(min(68svh, 640px) - 7.5rem); }
  .hero__img img { object-position: 50% 22%; }
  .hero--project .hero__badge { display: none; }
}

/* 12. Photography --------------------------------------------------------- */
.photo { margin: 0; min-width: 0; }
.photo picture { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--mist-50); }
.photo picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 0.9s var(--ease-out); }
.photo:hover picture img { transform: scale(1.03); }
.photo figcaption { margin-top: 0.65rem; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.photo__caption { color: var(--ink-2); }
.credit { display: block; margin-top: 0.2rem; font-size: 0.75rem; color: var(--muted); }
.credit a { color: inherit; text-decoration-color: currentColor; }
.photo-band { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
@media (min-width: 700px) {
  .photo-band--2 { grid-template-columns: 1fr 1fr; }
  .photo-band--3 { grid-template-columns: 1.25fr 1fr 1fr; }
}
.page-hero--photo { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg picture, .page-hero__bg img { display: block; width: 100%; height: 100%; }
.page-hero__bg img { object-fit: cover; object-position: 50% 45%; }
.page-hero--photo::before {
  background: linear-gradient(90deg, rgba(11, 37, 64, 0.96) 0%, rgba(11, 37, 64, 0.86) 48%, rgba(11, 37, 64, 0.5) 100%), url("../img/contours.svg") center / cover no-repeat;
}
@media (max-width: 759.98px) {
  .page-hero--photo::before { background: linear-gradient(180deg, rgba(11, 37, 64, 0.86), rgba(11, 37, 64, 0.94)), url("../img/contours.svg") center / cover no-repeat; }
}
.page-hero__credit { position: relative; width: min(100% - 2 * var(--gutter), 1200px); margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) auto 0; font-size: 0.75rem; line-height: 1.5; color: rgba(255, 255, 255, 0.72); text-align: right; }
.page-hero__credit .credit { display: inline; color: inherit; }

/* 13. Responsive hardening (from the mobile audit) ------------------------- */
/* Grid/flex children may shrink below their content's width, so long words, tables or
   e-mail addresses can never force a column wider than the screen. */
.split > *, .intro-split > *, .contact-grid > *, .feature__grid > *, .map-section__grid > *, .support-layout > *,
.partner-band__grid > *, .news-grid > *, .hero__stage > *, .form-grid > *, .service__head > *, .site-footer__grid > *,
.status-columns > *, .project-card > *, .support-callout > * { min-width: 0; }
h1, h2, h3, .statement__text, .contact-list__value, .phone-list a, a[href^="mailto:"] { overflow-wrap: break-word; }
.form-note a, .site-footer a[href^="mailto:"], .primary-nav__contact a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Map legend table on narrow screens: tighter cells instead of a fixed minimum width. */
@media (max-width: 599.98px) {
  .panel { padding: 1.25rem 1rem; }
  .legend-table { font-size: 0.9rem; }
  .legend-table th, .legend-table td { padding: 0.75rem 0.4rem; }
  .legend-table td:first-child { width: 26px; padding-left: 0; }
  .legend-table th[scope="row"] { font-size: 0.74rem; letter-spacing: 0.06em; }
  .legend-table td:last-child { overflow-wrap: anywhere; }
}
/* Sideways reveals become fade-ups on small screens; the one desktop band that slides
   from the right clips its own animation. */
@media (max-width: 699.98px) {
  .is-pending[data-reveal="left"], .is-pending[data-reveal="right"] { transform: translate3d(0, var(--reveal-dist), 0); }
}
.partner-band { overflow-x: clip; }
/* Touch targets: at least 44 x 44 CSS px for standalone controls. */
.topbar__contact a { min-height: 44px; }
.link-arrow { min-height: 44px; }
.service-index a { display: inline-flex; align-items: center; min-height: 44px; }
.primary-nav__contact a { min-height: 44px; }
.brand { min-height: 48px; }
.site-footer ul a, .site-footer__contact li { display: inline-flex; min-height: 36px; align-items: center; }
.share__label { margin-bottom: 0.5rem; }
@media (max-width: 599.98px) {
  .back-to-top { width: 44px; height: 44px; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); opacity: 0.92; }
  .btn-row .btn, .hero__actions .btn { flex: 1 1 100%; }
}
.credits-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .credits-list { grid-template-columns: 1fr 1fr; } }
.credits-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.credits-item__img { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; }
.credits-item__img img { width: 100%; height: 100%; object-fit: cover; }
.credits-item__caption { margin: 0 0 0.5rem; font-weight: 600; color: var(--ink); font-size: 0.97rem; }
.credits-item__meta { display: grid; gap: 0.25rem; margin: 0; font-size: 0.88rem; }
.credits-item__meta div { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.credits-item__meta dt { font-weight: 700; color: var(--muted); min-width: 4.5rem; }
.credits-item__meta dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 379.98px) { .credits-item { grid-template-columns: 1fr; } .credits-item__img { aspect-ratio: 16 / 9; } }
/* Icon + text flex rows: let the text column shrink so long e-mail addresses wrap. */
.notice > *, .contact-list__item > *, .check-list li > *, .status-box li > *, .form-status > *, .partner-ways li > * { min-width: 0; }
.notice a[href^="mailto:"], .contact-list a[href^="mailto:"], .check-list a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Header with the longer official name: keep brand, links and CTA on one line each. */
.brand__name, .primary-nav__list a, .primary-nav__cta { white-space: nowrap; }
@media (min-width: 1360px) {
  .brand__name { font-size: 1.24rem; }
  .primary-nav__list a { padding-inline: 0.6rem; }
  .primary-nav__list a::after { left: 0.6rem; right: 0.6rem; }
}
@media (max-width: 1359.98px) { .primary-nav__list a, .primary-nav__cta { white-space: normal; } }
