/* ==========================================================================
   Eyes on the Wye - central stylesheet
   Palette grounded in the river: deep teal water, riverbank green,
   misty paper, and an ochre "alert" accent for discharge / reporting flags.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Colour - sampled directly from the Eyes on the Wye logo */
  --ink:      #0F3A4E;   /* deep steel-navy - primary text, footer */
  --deep:     #14506B;   /* deep steel-blue - headings, dark water sections */
  --reed:     #44A142;   /* leaf green (brow) - accent dots, dividers */
  --reed-d:   #2F8A38;   /* darker leaf - primary buttons */
  --forest:   #00633F;   /* deep forest green (eye) - feature sections */
  --forest-d: #004F32;
  --mist:     #A7DAF3;   /* pale azure - lines, washes */
  --mist-2:   #D3ECF9;   /* lighter azure wash */
  --paper:    #ECF5FA;   /* cool water-white - page background */
  --paper-2:  #FBFDFF;   /* cards */
  --alert:    #119BE5;   /* brand azure - report / links / flags */
  --alert-d:  #0E7FBE;   /* darker azure */
  --cyan:     #2FC2F5;   /* bright cyan highlight */
  --line:     rgba(15, 58, 78, 0.14);
  --line-2:   rgba(15, 58, 78, 0.08);

  /* Type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Public Sans', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Layout */
  --container: 1120px;
  --radius: 4px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--alert-d); text-decoration-color: var(--mist); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--alert); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; color: var(--deep); margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--alert); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2rem); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section--dark { background: var(--deep); color: var(--mist-2); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--ink { background: var(--ink); color: var(--mist-2); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--forest { background: var(--forest); color: var(--mist-2); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: #fff; }
.section--forest .eyebrow { color: #BFE9C6; }
.section--forest .eyebrow::before { background: #7FD08A; box-shadow: 0 0 0 4px rgba(127,208,138,0.18); }
.section--forest .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.section--forest .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.narrow { max-width: 62ch; }
.measure { max-width: 68ch; }

/* ---------- Eyebrow / labels (the field-log voice) ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--reed-d);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--reed);
  box-shadow: 0 0 0 4px rgba(62, 124, 80, 0.16);
  flex: none;
}
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--mist); }
.section--dark .eyebrow::before, .section--ink .eyebrow::before { background: var(--mist); box-shadow: 0 0 0 4px rgba(157, 195, 188, 0.16); }
.eyebrow--alert { color: var(--alert-d); }
.eyebrow--alert::before { background: var(--alert); box-shadow: 0 0 0 4px rgba(192, 129, 43, 0.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--body); font-weight: 600; font-size: 0.98rem;
  padding: 0.72em 1.35em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--reed-d); color: #fff; }
.btn--primary:hover { background: var(--deep); }
.btn--alert { background: var(--alert); color: #fff; }
.btn--alert:hover { background: var(--alert-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--reed); background: rgba(62,124,80,0.06); }
.section--dark .btn--ghost, .section--ink .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.section--dark .btn--ghost:hover, .section--ink .btn--ghost:hover { border-color: var(--mist); background: rgba(255,255,255,0.08); }
.banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.banner .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(237, 241, 238, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--deep); }
.brand__logo { height: clamp(46px, 5.2vw, 58px); width: auto; display: block; }
.brand__mark { width: 44px; height: auto; flex: none; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1; }
.brand__name small { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--reed-d); margin-top: 3px; font-weight: 500; }

.nav__menu { display: flex; align-items: center; gap: 0.4rem; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  text-decoration: none; padding: 0.45rem 0.6rem; border-radius: var(--radius);
  transition: color .12s ease, background .12s ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--reed-d); background: rgba(62,124,80,0.08); }
.nav__cta { margin-left: 0.4rem; }

.nav__toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 0.5rem 0.7rem; cursor: pointer; color: var(--deep);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.75rem clamp(1.15rem, 4vw, 2rem) 1.25rem;
    display: none; flex-direction: column; align-items: stretch; gap: 0.15rem;
    box-shadow: 0 18px 30px -22px rgba(12,42,39,0.4);
  }
  .nav__menu.open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .nav__links a { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav__cta { margin: 0.6rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--gap);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); font-weight: 600; letter-spacing: -0.02em; }
.hero h1 .river-word { color: var(--reed-d); font-style: italic; font-weight: 500; }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--ink); max-width: 46ch; margin-top: 0.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: clamp(2rem,6vw,3rem); }
  .hero__art { order: -1; max-width: 460px; margin: 0 auto; }
}

/* Monitoring-node pulse */
.node-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.4s ease-in-out infinite; }
.node-pulse.n2 { animation-delay: 1.1s; }
.node-pulse.n3 { animation-delay: 2.2s; }
@keyframes pulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.25; transform: scale(1.9); } }

/* ---------- Centred logo hero ---------- */
.hero--center { background: #fff; text-align: center; }
.hero--center .hero__inner { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); display: flex; flex-direction: column; align-items: center; }
.brand-lockup { width: min(560px, 82%); margin: 0 auto clamp(1.5rem, 3vw, 2.2rem); }
.hero--center .eyebrow { justify-content: center; }
.hero--center h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); max-width: 16ch; }
.hero--center .hero__lead { margin-left: auto; margin-right: auto; max-width: 52ch; }
.hero--center .hero__actions { justify-content: center; }

/* ---------- Eye emblem showcase (purpose section) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--gap); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.emblem-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 50px -34px rgba(15,58,78,0.45);
}
.emblem-card img { width: 100%; height: auto; border-radius: 6px; }
.emblem-card figcaption { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--alert-d); margin-top: 1rem; text-align: center; }

/* ---------- Wave divider ---------- */
.wave {
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26'%3E%3Cpath d='M0 13 Q30 5 60 13 T120 13' fill='none' stroke='%23119BE5' stroke-width='3'/%3E%3Cpath d='M0 17 Q30 25 60 17 T120 17' fill='none' stroke='%232FC2F5' stroke-width='2' opacity='0.85'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 120px 26px;
  opacity: 0.95;
}

/* ---------- Generic grid ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Section heading block ---------- */
.head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.75rem); }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.head p { color: var(--ink); font-size: 1.08rem; }
.section--dark .head p, .section--ink .head p { color: var(--mist-2); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.3rem, 2.4vw, 1.75rem);
}
.card h3 { font-size: 1.28rem; }
.card--link { text-decoration: none; color: inherit; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; display: block; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -26px rgba(12,42,39,0.55); border-color: var(--reed); }

/* ---------- Objective / numbered river list ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: obj; }
.roadmap > li {
  position: relative; counter-increment: obj;
  padding: clamp(1.4rem, 3vw, 2rem) 0 clamp(1.4rem, 3vw, 2rem) clamp(3.6rem, 7vw, 5.2rem);
  border-top: 1px solid var(--line);
}
.roadmap > li:last-child { border-bottom: 1px solid var(--line); }
.roadmap > li::before {
  content: counter(obj, decimal-leading-zero);
  position: absolute; left: 0; top: clamp(1.4rem, 3vw, 2rem);
  font-family: var(--mono); font-size: 0.95rem; font-weight: 500; color: var(--alert-d);
}
.roadmap > li::after { /* river node on the connecting line */
  content: ""; position: absolute; left: clamp(2.2rem, 4.5vw, 3.1rem); top: 0; bottom: 0;
  width: 1px; background: var(--line);
}
.roadmap > li:first-child::after { top: clamp(1.4rem, 3vw, 2rem); }
.roadmap > li:last-child::after { bottom: auto; height: clamp(1.4rem, 3vw, 2rem); }
.roadmap .dot {
  position: absolute; left: calc(clamp(2.2rem, 4.5vw, 3.1rem) - 5px); top: calc(clamp(1.4rem, 3vw, 2rem) + 0.55em);
  width: 11px; height: 11px; border-radius: 50%; background: var(--reed); border: 2px solid var(--paper); z-index: 1;
}
.roadmap h3 { font-size: 1.4rem; margin-bottom: 0.35em; }
.roadmap p { color: var(--ink); }
.section--dark .roadmap > li, .section--dark .roadmap > li:last-child { border-color: rgba(255,255,255,0.14); }
.section--dark .roadmap p { color: var(--mist-2); }
.section--dark .roadmap .dot { border-color: var(--deep); }

/* ---------- Field-log list (testing / reporting) ---------- */
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.log li {
  display: flex; gap: 0.9rem; align-items: baseline;
  padding: 0.85rem 0; border-bottom: 1px dashed var(--line);
  font-size: 1.03rem;
}
.log li:last-child { border-bottom: none; }
.log .tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--reed-d); flex: none; min-width: 3.4rem; padding-top: 0.15rem;
}
.log--alert .tag { color: var(--alert-d); }

/* ---------- Glossary (definitions) ---------- */
.glossary { display: grid; gap: 0; }
.gloss {
  display: grid; grid-template-columns: minmax(180px, 0.5fr) 1fr; gap: clamp(0.6rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) 0; border-top: 1px solid var(--line);
}
.glossary .gloss:last-child { border-bottom: 1px solid var(--line); }
.gloss dt { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 600; color: var(--deep); }
.gloss dt .kicker { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--reed-d); margin-top: 0.5rem; font-weight: 500; }
.gloss dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .gloss { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- News list ---------- */
.updates { display: grid; gap: 0; }
.update { display: grid; grid-template-columns: 150px 1fr; gap: clamp(0.8rem, 3vw, 2rem); padding: 1.6rem 0; border-top: 1px solid var(--line); }
.updates .update:last-child { border-bottom: 1px solid var(--line); }
.update time { font-family: var(--mono); font-size: 0.82rem; color: var(--reed-d); padding-top: 0.25rem; }
.update h3 { font-size: 1.28rem; margin-bottom: 0.35em; }
@media (max-width: 620px) { .update { grid-template-columns: 1fr; gap: 0.35rem; } }

/* ---------- Documents ---------- */
.docs { display: grid; gap: 0.9rem; }
.doc {
  display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; color: inherit;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.3rem; transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.doc:hover { border-color: var(--reed); transform: translateY(-2px); box-shadow: 0 16px 28px -24px rgba(12,42,39,0.5); }
.doc__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--mist-2); border-radius: var(--radius); color: var(--deep); }
.doc__icon svg { width: 22px; height: 22px; }
.doc h3 { font-size: 1.14rem; margin-bottom: 0.2em; }
.doc p { font-size: 0.96rem; color: var(--ink); margin: 0; }
.doc__meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--reed-d); margin-top: 0.5rem; display: inline-block; }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-2); }
table.data thead th {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--deep); background: var(--mist-2); border-bottom: 1px solid var(--line);
}
table.data tbody tr:hover { background: rgba(157,195,188,0.14); }
table.data td .status { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; }
.status--spill { background: rgba(192,129,43,0.18); color: var(--alert-d); }
.status--clear { background: rgba(62,124,80,0.16); color: var(--reed-d); }

/* ---------- Supporters ---------- */
.supporters { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.supporter { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.supporter .role { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--reed-d); margin-top: 0.35rem; }
.supporter h3 { font-size: 1.18rem; margin: 0; }

/* ---------- Register form ---------- */
.form { display: grid; gap: 1rem; max-width: 520px; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.section--dark .field label { color: var(--mist); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(203,224,217,0.55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mist); background: rgba(255,255,255,0.12); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.85rem; color: var(--mist); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--mist-2); }
.check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--reed); }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper-2); padding: clamp(1.4rem, 3vw, 2rem); }
.stat .n { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; color: var(--deep); line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--reed-d); margin-top: 0.6rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist-2); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
.footer__grid h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin: 0 0 1rem; font-weight: 500; }
.footer__grid a { color: var(--mist-2); text-decoration: none; }
.footer__grid a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--reed); }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__brand p { color: var(--mist); max-width: 34ch; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.82rem; color: var(--mist); }
.footer__bottom .brand__name { color: #fff; font-size: 1.05rem; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Small utilities ---------- */
.lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.35; }
.section--dark .lede, .section--ink .lede { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--mist-2); color: var(--deep); padding: 0.3rem 0.7rem; border-radius: 999px; }
.note { background: rgba(192,129,43,0.1); border: 1px dashed var(--alert); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.92rem; color: var(--alert-d); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.center { text-align: center; }
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-hero p { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 56ch; color: var(--ink); }

/* ==========================================================================
   Content components
   ========================================================================== */

/* Compact brand strip (home) */
.brandstrip { background:#fff; text-align:center; padding: clamp(1.6rem,4vw,2.6rem) 0 clamp(1.1rem,2.5vw,1.6rem); border-bottom:1px solid var(--line); }
.brandstrip img { width: min(380px, 72%); height:auto; margin:0 auto; }

/* Photo statement banner */
.banner { position: relative; color:#fff; overflow:hidden; background: var(--deep); }
.banner__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.banner::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,58,78,0.78), rgba(0,99,63,0.62)); }
.banner__inner { position:relative; z-index:1; padding: clamp(3.5rem,9vw,6.5rem) 0; max-width: 42ch; }
.banner h1 { color:#fff; font-size: clamp(2rem,4.6vw,3.35rem); }
.banner .banner__lead { font-size: clamp(1.1rem,2vw,1.32rem); color:#e8f5fb; }
.banner .eyebrow { color:#bfe9c6; }
.banner .eyebrow::before { background:#7FD08A; box-shadow:0 0 0 4px rgba(127,208,138,0.18); }
.bignum { display:flex; align-items:baseline; gap:0.7rem; margin: 1.5rem 0 0.3rem; flex-wrap:wrap; }
.bignum .n { font-family:var(--display); font-weight:600; font-size: clamp(2.6rem,7vw,4.3rem); line-height:0.95; color:#fff; }
.bignum .u { font-family:var(--mono); font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; color:#cdeaf7; max-width:18ch; }
.banner .hero__actions { margin-top:1.7rem; }

/* Figures / images */
.figure { margin:0; }
.figure img, .img-round { width:100%; height:auto; border-radius:10px; border:1px solid var(--line); display:block; }
.figure figcaption { font-family:var(--mono); font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--alert-d); margin-top:0.6rem; }

/* Metric chips (discharge hours) */
.metrics { display:flex; flex-wrap:wrap; gap:0.5rem; margin:0.9rem 0; }
.metric { font-family:var(--mono); font-size:0.74rem; letter-spacing:0.02em; background:var(--mist-2); color:var(--deep); padding:0.35rem 0.65rem; border-radius:6px; border:1px solid var(--line); }
.metric b { color:var(--alert-d); font-weight:600; }
.section--dark .metric { background:rgba(255,255,255,0.08); color:#eaf6fb; border-color:rgba(255,255,255,0.16); }
.section--dark .metric b { color:#8fd0ef; }

/* Community entries */
.communities-list { display:grid; }
.community { padding: clamp(1.6rem,3.5vw,2.4rem) 0; border-top:1px solid var(--line); }
.communities-list .community:last-child { border-bottom:1px solid var(--line); }
.community h3 { font-size: clamp(1.4rem,2.6vw,1.8rem); margin-bottom:0.15em; }
.community .resp { margin-top:0.7rem; }
.community .resp strong { color:var(--deep); }
.contact-tag { font-family:var(--mono); font-size:0.72rem; letter-spacing:0.05em; text-transform:uppercase; color:var(--reed-d); }
.badge-soon { display:inline-block; font-family:var(--mono); font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--alert-d); background:rgba(17,155,229,0.1); border:1px dashed var(--alert); padding:0.2rem 0.6rem; border-radius:999px; }

/* News posts with thumbnails */
.posts { display:grid; }
.post { display:grid; grid-template-columns:240px 1fr; gap: clamp(1rem,3vw,2rem); padding: clamp(1.6rem,3.5vw,2.2rem) 0; border-top:1px solid var(--line); align-items:start; }
.posts .post:last-child { border-bottom:1px solid var(--line); }
.post__media img { width:100%; height:auto; border-radius:10px; border:1px solid var(--line); display:block; background:#fff; }
.post time { font-family:var(--mono); font-size:0.76rem; letter-spacing:0.05em; color:var(--reed-d); }
.post h3 { font-size:1.3rem; margin:0.3em 0 0.45em; }
@media (max-width:640px){ .post { grid-template-columns:1fr; } .post__media { max-width:300px; } }

/* Definition media split */
.def-split { display:grid; grid-template-columns:1fr 290px; gap:var(--gap); align-items:start; }
@media (max-width:760px){ .def-split { grid-template-columns:1fr; } .def-split .figure { max-width:300px; } }

/* Supporter rich cards */
.supporter--rich { display:flex; gap:1rem; align-items:flex-start; }
.supporter--rich .logo { flex:none; width:78px; height:78px; border-radius:10px; object-fit:contain; background:#fff; border:1px solid var(--line); padding:7px; }
.supporter--rich .logo.portrait { object-fit:cover; padding:0; }
.supporter--rich .logo--wide { width:150px; height:78px; padding:9px 12px; }
.supporter--rich .logo--nav { background:#072130; border-color:#072130; }
@media (max-width:420px){ .supporter--rich .logo--wide { width:128px; height:70px; } }
.supporter--rich h3 { font-size:1.16rem; margin:0; }
.supporter--rich p { font-size:0.95rem; margin-top:0.35rem; }

/* Ordered report steps */
.steps { counter-reset:step; list-style:none; margin:0; padding:0; display:grid; gap:0.1rem; }
.steps li { position:relative; padding:0.9rem 0 0.9rem 3rem; border-bottom:1px dashed var(--line); counter-increment:step; }
.steps li:last-child{ border-bottom:none; }
.steps li::before { content:counter(step); position:absolute; left:0; top:0.8rem; width:1.7rem; height:1.7rem; background:var(--alert); color:#fff; border-radius:50%; display:grid; place-items:center; font-family:var(--mono); font-size:0.8rem; }
.steps strong { color:var(--deep); }
.section--ink .steps strong, .section--dark .steps strong, .section--forest .steps strong { color:#fff; }
.section--ink .steps li, .section--dark .steps li, .section--forest .steps li { border-color:rgba(255,255,255,0.18); }

/* Sub-list inside objectives */
.roadmap ul.sub { margin:0.7rem 0 0; padding:0; list-style:none; display:grid; gap:0.45rem; }
.roadmap ul.sub li { position:relative; padding-left:1.1rem; font-size:0.98rem; }
.roadmap ul.sub li::before { content:""; position:absolute; left:0; top:0.6em; width:6px; height:6px; border-radius:50%; background:var(--reed); }
.section--dark .roadmap ul.sub li::before { background:#8fd0ef; }
.post ul.sub li::before { content:""; position:absolute; left:0; top:0.62em; width:6px; height:6px; border-radius:50%; background:var(--reed); }

/* Community photo carousel */
.carousel { position: relative; max-width: 660px; margin: 1.2rem 0 0.2rem; }
.carousel__track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; border-radius:12px; border:1px solid var(--line); }
.carousel__track::-webkit-scrollbar { height:0; width:0; }
.carousel__slide { flex:0 0 100%; scroll-snap-align:center; margin:0; }
.carousel__frame { position:relative; aspect-ratio:3/2; max-height:440px; background:var(--mist-2); overflow:hidden; }
.carousel__frame img { width:100%; height:100%; object-fit:cover; display:block; }
.carousel__cap { position:absolute; left:0; right:0; bottom:0; margin:0; padding:1.6rem 0.95rem 0.75rem; font-family:var(--mono); font-size:0.76rem; letter-spacing:0.02em; color:#fff; background:linear-gradient(to top, rgba(9,32,45,0.85), rgba(9,32,45,0)); }
.carousel__btn { position:absolute; top:50%; transform:translateY(-50%); width:2.4rem; height:2.4rem; border-radius:50%; border:none; background:rgba(255,255,255,0.92); color:var(--deep); font-size:1.5rem; line-height:1; display:grid; place-items:center; cursor:pointer; box-shadow:0 2px 8px rgba(15,58,78,0.22); transition:background .12s ease, opacity .12s ease; }
.carousel__btn:hover { background:#fff; }
.carousel__btn:focus-visible { outline:3px solid var(--alert); outline-offset:2px; }
.carousel__btn--prev { left:0.6rem; }
.carousel__btn--next { right:0.6rem; }
.carousel__btn[hidden] { display:none; }
.carousel__count { position:absolute; top:0.6rem; right:0.7rem; font-family:var(--mono); font-size:0.72rem; color:#fff; background:rgba(9,32,45,0.6); padding:0.2rem 0.55rem; border-radius:999px; }
@media (max-width:520px){ .carousel__btn { width:2.1rem; height:2.1rem; font-size:1.25rem; } }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
