/* ==========================================================================
   LAWODA — Laikipia Women Development Association
   Design system & site styles
   --------------------------------------------------------------------------
   1. Tokens          6. Header & navigation    11. Forms
   2. Base & reset    7. Hero                   12. Content collections
   3. Typography      8. Sections & cards       13. Footer
   4. Layout          9. Programme pages        14. Utilities & review mode
   5. Buttons        10. Accountability         15. Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand palette */
  --ivory: #faf8f2;
  --paper: #f3efe4;
  --sand: #ebe4d3;
  --forest: #174d3b;
  --forest-900: #0f3528;
  --forest-800: #133f31;
  --leaf: #408a58;
  --leaf-700: #2f6e45;
  --leaf-100: #e3efe5;
  --ochre: #d6a448;
  --ochre-300: #ecd29c;
  --ochre-700: #7f5c12;
  --charcoal: #20312a;
  --clay: #d78c70;
  --clay-100: #f7e3da;
  --clay-700: #9c4b33;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--ivory);
  --surface: var(--white);
  --text: var(--charcoal);
  --text-muted: #4f5e56;
  --line: #ddd7c7;
  --line-strong: #c6bfab;
  --link: var(--forest);
  --focus: var(--ochre);
  --danger: #a52a1f;
  --danger-bg: #fbeceb;
  --success: #1f6a3f;
  --success-bg: #e5f2e8;

  /* Type */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: 1.1875rem;
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);
  --fs-display: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  /* 8px spacing scale */
  --s-1: 0.5rem;   /* 8  */
  --s-2: 1rem;     /* 16 */
  --s-3: 1.5rem;   /* 24 */
  --s-4: 2rem;     /* 32 */
  --s-5: 3rem;     /* 48 */
  --s-6: 4rem;     /* 64 */
  --s-7: 6rem;     /* 96 */
  --s-8: 8rem;     /* 128 */

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(32 49 42 / 6%), 0 2px 8px rgb(32 49 42 / 5%);
  --shadow: 0 12px 40px rgb(23 77 59 / 9%);
  --container: 1240px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base & reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ochre-300); color: var(--charcoal); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-5) 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 1000;
  background: var(--forest); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-2); }

.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. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 var(--s-2); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-2); }
p, li { text-wrap: pretty; }
.lead { font-size: var(--fs-lg); color: var(--text-muted); line-height: 1.6; max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf-700); margin: 0 0 var(--s-2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ochre); border-radius: 2px; }
.eyebrow--light { color: var(--ochre-300); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-5); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s-3); }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--leaf); }
.muted { color: var(--text-muted); }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: #e6efe9; }
.section--forest h2, .section--forest h3, .section--forest h4 { color: var(--white); }
.section--forest .lead, .section--forest .muted { color: #c7d8cd; }
.section--forest a:not(.btn) { color: var(--ochre-300); }
.section--bordered { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: var(--s-2) var(--s-5); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head > * { margin-bottom: 0; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
}

/* 12-column grid (desktop) */
.grid-12 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
  .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: 1 / -1; }
  .start-8 { grid-column-start: 8; } .start-7 { grid-column-start: 7; }
}
.cards { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stack > * + * { margin-top: var(--s-2); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: var(--white); --btn-bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--forest-900); --btn-bd: var(--forest-900); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ochre { --btn-bg: var(--ochre); --btn-fg: var(--charcoal); --btn-bd: var(--ochre); }
.btn--ochre:hover { --btn-bg: #e2b55e; --btn-bd: #e2b55e; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: var(--forest); }
.btn--ghost:hover { --btn-bg: var(--forest); --btn-fg: var(--white); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / 55%); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--forest); --btn-bd: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700;
  color: var(--forest); text-decoration: none; border-bottom: 2px solid var(--ochre); padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--forest); }
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* 6. Header & navigation --------------------------------------------------- */
.utility-bar { background: var(--forest-900); color: #cfdfd5; font-size: var(--fs-xs); }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); min-height: 38px; flex-wrap: wrap; }
.utility-bar a { color: #f2eedf; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.utility-bar a:hover { color: var(--ochre-300); text-decoration: underline; }
.utility-bar svg { width: 14px; height: 14px; flex: none; }
.utility-bar__loc { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar__links { display: flex; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 639px) { .utility-bar__loc { display: none; } .utility-bar__links { gap: var(--s-2); width: 100%; justify-content: space-between; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(250 248 242 / 94%); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(32 49 42 / 6%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); flex: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; letter-spacing: 0.06em; color: var(--forest); }
.brand__full { font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.01em; margin-top: 4px; max-width: 26ch; line-height: 1.25; }
@media (max-width: 380px) { .brand__full { display: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--forest);
}
.nav-toggle__icon { width: 18px; height: 12px; position: relative; }
.nav-toggle__icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle__icon span:nth-child(1) { top: 0; } .nav-toggle__icon span:nth-child(2) { top: 5px; } .nav-toggle__icon span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a:not(.btn), .subnav-toggle {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--charcoal);
  font-family: var(--font-head); font-weight: 600; font-size: 0.96875rem; border-radius: 8px;
  background: none; border: 0; cursor: pointer; padding: 10px 12px; white-space: nowrap;
}
.primary-nav a:not(.btn):hover, .subnav-toggle:hover { color: var(--forest); background: var(--leaf-100); }
.primary-nav a[aria-current="page"], .primary-nav .is-section > a, .primary-nav .is-section > .nav-split > a { color: var(--forest); box-shadow: inset 0 -2px 0 var(--ochre); border-radius: 0; }
.subnav-toggle svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.subnav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-split { display: inline-flex; align-items: center; }
.nav-split > a { padding-right: 4px; }
.nav-split > .subnav-toggle { padding-left: 6px; padding-right: 8px; }
.nav-cta { margin-left: var(--s-1); }

/* Mobile-first: off-canvas panel */
@media (max-width: 1239px) {
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 200;
    background: var(--ivory); padding: var(--s-2) var(--s-3) var(--s-5); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s;
    box-shadow: -20px 0 60px rgb(15 53 40 / 18%);
  }
  .primary-nav.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .primary-nav__head { display: flex; justify-content: space-between; align-items: center; min-height: 56px; margin-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
  .primary-nav__list > li { border-bottom: 1px solid var(--line); }
  .primary-nav a:not(.btn), .subnav-toggle { font-size: 1.0625rem; padding: 14px 4px; width: 100%; }
  .nav-split { width: 100%; justify-content: space-between; }
  .nav-split > a { width: auto; flex: 1; }
  .nav-split > .subnav-toggle { width: 48px; justify-content: center; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ochre); padding-left: 14px; }
  .primary-nav .is-section > a, .primary-nav .is-section > .nav-split > a { box-shadow: none; }
  .subnav { padding: 0 0 var(--s-2) var(--s-2); }
  .subnav a { font-size: var(--fs-sm); padding: 10px 4px; font-weight: 600; color: var(--text-muted); }
  .nav-cta { margin: var(--s-3) 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-backdrop { position: fixed; inset: 0; background: rgb(15 53 40 / 45%); z-index: 90; opacity: 0; transition: opacity .3s; }
  .nav-backdrop.is-visible { opacity: 1; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1240px) {
  .nav-toggle, .primary-nav__head, .nav-backdrop { display: none !important; }
  .primary-nav { display: flex; align-items: center; gap: var(--s-1); }
  .primary-nav__list { display: flex; align-items: center; gap: 2px; }
  .primary-nav__list > li { position: relative; }
  .subnav {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 10px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .subnav a { display: flex; width: 100%; padding: 10px 12px; font-weight: 600; }
  .subnav li + li { border-top: 1px solid var(--paper); }
}

.breadcrumbs { font-size: var(--fs-xs); margin-bottom: var(--s-3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--forest); font-weight: 600; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text-muted); }

/* 7. Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.hero__contours { position: absolute; inset: 0; pointer-events: none; color: var(--sand); opacity: .9; }
.hero__contours svg { width: 100%; height: 100%; }
.hero__grid { position: relative; display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-6); } }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; margin-bottom: var(--s-3); }
.hero h1 .accent { color: var(--forest); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.16em; z-index: -1;
  background: var(--ochre); opacity: .55; border-radius: 3px;
}
.hero__lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 46ch; margin-bottom: var(--s-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--leaf); }

.hero__visual { position: relative; padding: 0 0 var(--s-4) var(--s-4); }
.hero__block { position: absolute; left: 0; bottom: 0; width: 58%; height: 62%; background: var(--forest); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; }
.hero__block::after { content: ""; position: absolute; right: -18px; top: -18px; width: 56px; height: 56px; border-radius: 50%; background: var(--ochre); }
.hero__photo { position: relative; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper); box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute; right: 14px; bottom: 14px; left: 14px; max-width: max-content; margin-left: auto;
  background: rgb(255 255 255 / 92%); color: var(--charcoal); font-size: var(--fs-xs); font-weight: 600;
  padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center;
}
.hero__caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); flex: none; }

/* Interior page hero */
.page-hero { position: relative; padding-block: clamp(2rem, 1rem + 3vw, 4rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero__grid { display: grid; gap: var(--s-4); align-items: end; position: relative; }
@media (min-width: 1024px) { .page-hero__grid--media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s-6); align-items: center; } }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); position: relative; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid var(--line); box-shadow: 0 0 0 40px rgb(214 164 72 / 0.06), 0 0 0 80px rgb(214 164 72 / 0.04); pointer-events: none;
}

/* Trust strip */
.trust-strip { background: var(--forest); color: #dbe7df; }
.trust-strip .container { display: grid; gap: var(--s-3); padding-block: var(--s-4); align-items: center; }
@media (min-width: 900px) { .trust-strip .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); } }
.trust-strip__title { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; color: var(--white); line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
.trust-strip__title span { color: var(--ochre); }
.trust-strip__items { display: grid; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .trust-strip__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-strip__items li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.45; }
.trust-strip__items svg { width: 22px; height: 22px; color: var(--ochre); flex: none; margin-top: 1px; }
.trust-strip__items strong { display: block; color: var(--white); font-family: var(--font-head); }

/* 8. Sections & cards ------------------------------------------------------ */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card--link:hover { transform: translateY(-3px); }
.card__media { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card--link:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-3); flex: 1; }
.card__body > :last-child { margin-bottom: 0; }
.card__tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-700); }
.card h3 { font-size: 1.25rem; margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.card__more { margin-top: auto; padding-top: var(--s-2); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--forest); display: inline-flex; align-items: center; gap: 6px; }
.card__more svg { width: 16px; height: 16px; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--leaf-100); color: var(--forest); margin-bottom: var(--s-1); }
.card__icon svg { width: 24px; height: 24px; }
.card--plain { padding: var(--s-3); gap: var(--s-1); }
.card--plain:hover { box-shadow: none; }

/* Focus cards — numbered */
.focus-card .card__num { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ivory); color: var(--forest); font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); padding: 6px 10px; border-radius: 999px; letter-spacing: .06em; }

/* Media placeholder (used until approved photography is supplied) */
.media-note { position: relative; font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s-1); padding-left: 16px; }
.media-note::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }

/* Approach / steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; position: relative; padding: var(--s-4) var(--s-3) var(--s-3); border-top: 2px solid var(--forest); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm); color: var(--ochre-700); position: absolute; top: var(--s-2); left: var(--s-3); letter-spacing: .06em; }
.steps h3 { font-size: 1.25rem; margin: var(--s-1) 0; }
.steps p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.section--forest .steps li { border-top-color: var(--ochre); }
.section--forest .steps li::before { color: var(--ochre); }
.section--forest .steps p { color: #c7d8cd; }

/* Split feature */
.split { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); } .split--reverse > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Values / qualitative proof list */
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tick-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.tick-list svg { width: 22px; height: 22px; color: var(--leaf); margin-top: 3px; }
.section--forest .tick-list svg { color: var(--ochre); }
.tick-list strong { font-family: var(--font-head); }

.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.values > div { background: var(--surface); padding: var(--s-3); }
.values h3 { font-size: 1.125rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.values h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ochre); transform: rotate(45deg); flex: none; }
.values p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* Callout / partnership band */
.cta-band { position: relative; overflow: hidden; background: var(--forest); color: #dbe7df; border-radius: var(--radius-lg); padding: clamp(2rem, 1rem + 4vw, 4.5rem); display: grid; gap: var(--s-4); }
@media (min-width: 1024px) { .cta-band { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; } }
.cta-band h2 { color: var(--white); margin-bottom: var(--s-2); }
.cta-band p { color: #c7d8cd; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 1024px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__art { position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; color: var(--forest-800); pointer-events: none; }
.cta-band > :not(.cta-band__art) { position: relative; z-index: 1; }

.callout { border-left: 4px solid var(--ochre); background: #fff7e6; padding: var(--s-3); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h3, .callout h4 { font-size: 1.0625rem; margin-bottom: 6px; }
.callout--leaf { border-left-color: var(--leaf); background: var(--leaf-100); }
.callout--clay { border-left-color: var(--clay); background: var(--clay-100); }

.notice-draft {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #fff4dc; border: 1px solid var(--ochre-300); color: #4d3d14; font-size: var(--fs-sm); margin-bottom: var(--s-4);
}
.notice-draft svg { width: 20px; height: 20px; flex: none; color: var(--ochre-700); margin-top: 2px; }
.notice-draft p { margin: 0; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--text-muted); border: 1px solid var(--line);
}
.tag--draft { background: #fff4dc; color: var(--ochre-700); border-color: var(--ochre-300); }
.tag--pending { background: var(--clay-100); color: var(--clay-700); border-color: #ecc4b4; }
.tag--live { background: var(--leaf-100); color: var(--leaf-700); border-color: #bcd9c3; }

/* Quote — only for real, consented quotes */
.quote { font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--forest); margin: 0; }

/* Empty states */
.empty-state {
  display: grid; gap: var(--s-2); justify-items: start; padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: rgb(255 255 255 / 55%);
}
@media (min-width: 900px) { .empty-state--wide { grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: var(--s-4); } }
.empty-state__icon { width: 72px; height: 72px; border-radius: 22px; background: var(--leaf-100); color: var(--forest); display: grid; place-items: center; }
.empty-state__icon svg { width: 34px; height: 34px; }
.empty-state h3 { margin: 0; }
.empty-state p { margin: 0; color: var(--text-muted); max-width: 62ch; }

/* Social / feed card */
.feed-card { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); align-content: start; }
.feed-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #e8eef9; color: #1f4f9a; }
.feed-card__icon svg { width: 26px; height: 26px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-2); align-items: center;
  padding: var(--s-3) 0; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: linear-gradient(var(--forest), var(--forest)) center / 12px 2px no-repeat, linear-gradient(var(--forest), var(--forest)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq details[open] summary::after { background: linear-gradient(var(--white), var(--white)) center / 12px 2px no-repeat, var(--forest); border-color: var(--forest); }
.faq summary:hover { color: var(--forest); }
.faq .faq__body { padding: 0 0 var(--s-3); color: var(--text-muted); max-width: 70ch; }
.faq .faq__body > :last-child { margin-bottom: 0; }

/* Contact methods */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.contact-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-2); align-items: start; padding: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--leaf-100); color: var(--forest); display: grid; place-items: center; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; overflow-wrap: anywhere; }
.contact-item a { font-weight: 700; }

.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__placeholder { padding: var(--s-3); display: grid; gap: var(--s-2); justify-items: center; max-width: 44ch; }
.map-frame__placeholder svg.map-art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sand); }
.map-frame__placeholder > :not(.map-art) { position: relative; }

/* Share */
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share__label { font-size: var(--fs-sm); font-weight: 700; margin-right: 4px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--forest); font-weight: 700; font-size: var(--fs-xs);
  text-decoration: none; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--forest); }
.share svg { width: 16px; height: 16px; }

/* 9. Programme pages ------------------------------------------------------- */
.program-nav { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 4px; }
.program-nav a { display: block; padding: 8px 12px; border-left: 2px solid var(--line); color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; }
.program-nav a:hover { color: var(--forest); border-left-color: var(--ochre); }
.program-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1024px) { .program-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-7); } }
@media (max-width: 1023px) { .program-layout__aside { display: none; } }
.program-section { padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.program-section:last-child { border-bottom: 0; margin-bottom: 0; }
.program-section h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); }
.info-grid { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.info-grid .card--plain h3 { font-size: 1.0625rem; }

.gallery { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery figure { margin: 0; }
.gallery-slot {
  aspect-ratio: 1; border-radius: var(--radius-sm); border: 1.5px dashed var(--line-strong); background: rgb(255 255 255 / 55%);
  display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--text-muted); font-size: var(--fs-xs); font-weight: 600;
}
.gallery-slot svg { width: 28px; height: 28px; color: var(--leaf); }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--paper); }
.gallery figcaption { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 6px; }

.program-tiles { display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .program-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.program-tile { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .program-tile { grid-template-columns: 42% minmax(0, 1fr); } .program-tile .card__media { aspect-ratio: auto; height: 100%; min-height: 240px; } }

/* 10. Accountability ------------------------------------------------------- */
.doc-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: var(--fs-sm); }
.doc-table caption { text-align: left; font-family: var(--font-head); font-weight: 700; padding-bottom: var(--s-2); color: var(--charcoal); }
.doc-table th, .doc-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table thead th { background: var(--paper); font-family: var(--font-head); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.doc-table tbody tr:last-child > * { border-bottom: 0; }
.doc-table tbody th { font-family: var(--font-head); font-size: 1rem; }
@media (max-width: 719px) {
  .doc-table thead { display: none; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table th, .doc-table td { display: block; width: 100%; }
  .doc-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc-table th, .doc-table td { border: 0; padding: 6px 18px; }
  .doc-table td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
}

.network-card { display: grid; gap: var(--s-2); padding: var(--s-4); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 900px) { .network-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); } }

/* 11. Forms ---------------------------------------------------------------- */
.form-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, .75rem + 2.5vw, 3rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: var(--s-3); }
@media (min-width: 720px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--charcoal); }
.field .req { color: var(--clay-700); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--ivory); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23174d3b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 4px rgb(214 164 72 / 35%); }
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.field__error { color: var(--danger); font-size: var(--fs-xs); font-weight: 700; margin: 0; display: flex; gap: 6px; align-items: center; }
.field__error:empty { display: none; }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: var(--white); font-size: 11px; flex: none; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-sm); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); }
.check label { font-weight: 500; font-family: var(--font-body); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; justify-content: space-between; }
.form-status { border-radius: 12px; padding: 14px 18px; font-size: var(--fs-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--success { background: var(--success-bg); color: var(--success); border: 1px solid #b9dcc4; }
.form-status--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #efc3bf; }
.form-status--info { background: var(--paper); color: var(--charcoal); border: 1px solid var(--line); }
.form-status a { color: inherit; font-weight: 800; }
.error-summary { border: 2px solid var(--danger); border-radius: 12px; padding: var(--s-2) var(--s-3); background: var(--danger-bg); }
.error-summary h3 { font-size: 1rem; color: var(--danger); margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 1.2em; font-size: var(--fs-sm); }
.error-summary a { color: var(--danger); font-weight: 700; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-4); }
.filter-btn {
  min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--charcoal); cursor: pointer;
}
.filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* 12. Content collections -------------------------------------------------- */
.entry-card .card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-xs); color: var(--text-muted); font-weight: 600; }
.article { max-width: 760px; margin-inline: auto; }
.article__media { border-radius: var(--radius-lg); overflow: hidden; margin: var(--s-4) 0; background: var(--paper); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-muted); font-size: var(--fs-sm); }
.archive-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.archive-list button { background: none; border: 0; padding: 6px 0; font-weight: 700; color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.archive-list button[aria-pressed="true"] { color: var(--charcoal); text-decoration: none; }
.archive-list button[aria-pressed="true"]::after { content: " ✓"; color: var(--leaf); }
.news-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1024px) { .news-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-6); } }
.aside-box { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.aside-box + .aside-box { margin-top: var(--s-3); }
.aside-box h2 { font-size: 1.125rem; margin-bottom: var(--s-2); }

/* Path cards (Get Involved) */
.path-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.path-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--path-accent, var(--forest)); }
.path-card--ochre { --path-accent: var(--ochre); }
.path-card--clay { --path-accent: var(--clay); }
.path-card h3 { font-size: 1.5rem; margin: 0; }
.path-card ul { margin: 0; padding-left: 1.1em; color: var(--text-muted); font-size: var(--fs-sm); }
.path-card li { margin-bottom: 6px; }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.path-card h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin: var(--s-1) 0 0; }

/* 13. Footer --------------------------------------------------------------- */
.site-footer { background: var(--forest-900); color: #c4d4ca; font-size: var(--fs-sm); padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; overflow: hidden; }
.site-footer a { color: #eef3ef; text-decoration: none; }
.site-footer a:hover { color: var(--ochre-300); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.site-footer h2 { color: var(--white); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; margin-bottom: var(--s-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__full { color: #a9bfb2; }
.site-footer__about p { max-width: 42ch; margin-top: var(--s-2); }
.site-footer__contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.site-footer__contact svg { width: 16px; height: 16px; color: var(--ochre); margin-top: 4px; }
.site-footer__bottom { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); padding-block: var(--s-3); border-top: 1px solid rgb(255 255 255 / 12%); display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; font-size: var(--fs-xs); color: #a9bfb2; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.site-footer__ridge { position: absolute; left: 0; right: 0; top: 0; height: 28px; color: var(--forest-900); transform: translateY(-27px); }
.footer-pre { position: relative; }

/* 14. Utilities & review mode --------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); }
.center { text-align: center; }
.icon-inline { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }

/* Content review mode: add ?review=1 to any URL to highlight items awaiting LAWODA approval */
.review-mode [data-review] { outline: 2px dashed var(--clay-700); outline-offset: 4px; position: relative; }
.review-mode [data-review]::after {
  content: "REVIEW: " attr(data-review); position: relative; display: block; margin-top: 8px; padding: 6px 10px; border-radius: 6px;
  background: var(--clay-700); color: var(--white); font: 700 12px/1.4 var(--font-body); letter-spacing: 0; text-transform: none; z-index: 5;
}
.review-banner { position: fixed; left: 16px; bottom: 16px; z-index: 500; background: var(--clay-700); color: var(--white); padding: 10px 16px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; box-shadow: var(--shadow); }
.review-banner a { color: var(--white); margin-left: 8px; }

/* Gentle entrance for the home hero (disabled for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__copy > :nth-child(5) { animation-delay: .24s; }
  .hero__visual { animation: fade 1s var(--ease) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 404 */
.error-page { min-height: 60vh; display: grid; align-content: center; }
.error-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--sand); letter-spacing: -0.05em; margin: 0; }

/* 15. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (forced-colors: active) {
  .btn, .filter-btn, .nav-toggle { border: 2px solid ButtonText; }
  .hero h1 .accent::after { display: none; }
}
@media print {
  .utility-bar, .site-header, .site-footer, .cta-band, .share, .nav-backdrop, .skip-link, form { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
  .section { padding-block: 1.5rem; }
}
.center .lead { margin-inline: auto; }
.cluster--center { justify-content: center; }
