/* No to Moto · M25 (Northeast) Residents' Association
   Visual direction (21 Oct 2026, Ivailo's brief): the CO2 Impact website. A clean white
   product-style page: white sticky bar, bold geometric sans, centred section heads with a
   small label, white cards with coloured top edges and tinted icon tiles, grey bands. */
:root {
  --ink: #0f2a33;           /* headings: deep slate-teal */
  --text: #46585f;          /* body copy */
  --muted: #6b7b81;
  --paper: #ffffff;
  --band: #f3f6f7;          /* grey bands */
  --line: #e2e8eb;
  --emerald: #12a875;       /* campaign green, the action colour */
  --emerald-deep: #0b7a54;
  --emerald-tint: #e5f6ee;
  /* the card accents come from the land around the M25, not from CO2 Impact: */
  --hedgerow: #2a6a4c; --hedgerow-tint: #e3efe8;   /* hedgerow green */
  --stubble: #a5772b;  --stubble-tint: #f6eedd;    /* harvested field */
  --sky: #4b7486;      --sky-tint: #e6eef1;        /* Essex sky */
  --red: #e0312d;           /* the no-entry roundel */
  --night: #0c2229;         /* dark bands */
  --focus: #f2b705;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 42, 51, 0.04), 0 12px 32px -16px rgba(15, 42, 51, 0.18);
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  /* names the editor and admin styles rely on */
  --hedge: var(--emerald-deep); --meadow: var(--emerald-tint); --sign: var(--emerald-deep); --stop: var(--red); --forest: var(--night); --emerald-mist: var(--emerald-tint);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #b9c6cb var(--paper); accent-color: var(--emerald); caret-color: var(--emerald-deep); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--emerald-tint); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-deep); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); font-weight: 800; line-height: 1.1; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 700; }
.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2:not(:first-child) { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.6em; }
.prose ul li::marker { color: var(--emerald); }
.prose blockquote { margin: 1.4em 0; padding: 1rem 1.25rem; background: var(--band); border-radius: 12px; color: var(--ink); font-weight: 600; }

/* the small label above section headings */
.eyebrow { margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald-deep); }
.eyebrow:empty { display: none; }
.sec-head, .steps-head, .tl-head, .concerns-head, .embed-head, .areas-head { max-width: 780px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.sec-head .prose, .steps-head .prose, .tl-head .prose, .concerns-head .prose, .embed-head .prose { margin: 0 auto; font-size: 1.12rem; color: var(--muted); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--wrap)) / 2)); background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; color: var(--ink); flex: none; }
.wordmark { display: inline-flex; align-items: center; gap: 0.65rem; }
.wordmark .roundel { width: 2.1rem; height: 2.1rem; flex: none; color: var(--red); }
.wm-text { display: grid; line-height: 1.1; }
.wm-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink); }
.wm-sub { font-weight: 600; font-size: 0.7rem; color: var(--muted); margin-top: 0.15rem; }
.topnav { display: flex; align-items: center; gap: clamp(0.75rem, 1.6vw, 1.5rem); font-weight: 600; font-size: 0.93rem; }
.topnav a { color: var(--ink); text-decoration: none; }
.topnav a:hover { color: var(--emerald-deep); }
.topnav .topnav-join { background: var(--emerald); color: #fff; border-radius: 10px; padding: 0.6rem 1.25rem; box-shadow: 0 8px 20px -10px rgba(18, 168, 117, 0.8); }
.topnav .topnav-join:hover { background: var(--emerald-deep); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0.75rem 1.6rem; border-radius: 10px;
  border: 1.5px solid var(--emerald); background: var(--emerald); color: #fff; cursor: pointer; font: 700 1rem/1.2 var(--sans); text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(18, 168, 117, 0.75); transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.sec-action { margin: 1.75rem 0 0; }

/* ---------- opening ---------- */
.sec-hero { position: relative; min-height: min(84vh, 820px); display: flex; flex-direction: column; justify-content: center; background: var(--night); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 32, 39, 0.94) 0%, rgba(9, 32, 39, 0.78) 38%, rgba(9, 32, 39, 0.25) 75%, rgba(9, 32, 39, 0.1) 100%); }
.hero-inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 2.5rem); }
.sec-hero h1 { color: #fff; font-size: clamp(2.8rem, 1.6rem + 5vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 0.6rem; max-width: 12ch; }
.hero-tagline { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); font-weight: 700; color: #3fd69d; letter-spacing: -0.02em; margin: 0 0 1.5rem; max-width: 26ch; line-height: 1.2; }
.hero-tagline:empty { display: none; }
.hero-body { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: rgba(255, 255, 255, 0.86); max-width: 50ch; }
.sec-hero a:not(.btn):not(.ticker) { color: #fff; }

/* the band */
.ticker { position: relative; display: block; overflow: hidden; background: var(--emerald); color: #fff; text-decoration: none; }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker-track span { font-weight: 800; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem); letter-spacing: -0.01em; padding: 1rem 0; display: inline-flex; align-items: center; white-space: nowrap; }
.ticker-track span::after { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: rgba(255, 255, 255, 0.6); margin: 0 clamp(1.5rem, 3vw, 2.5rem); }
.ticker-track span:nth-child(even) { font-weight: 600; opacity: 0.85; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section rhythm ---------- */
main#page > .sec:not(.sec-hero):not(.sec-feature) { padding: clamp(4.5rem, 9vw, 7rem) max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--wrap)) / 2)); }
main#page > .sec-stats, main#page > .sec-timeline, main#page > .sec-news, main#page > .sec-embed, main#page > .sec-block.has-art { background: var(--band); }

/* plain text and text + picture sections */
.sec-block.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sec-block.has-image.image-left .sec-figure { order: -1; }
.sec-figure { margin: 0; }
.sec-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.sec-figure figcaption:empty { display: none; }
.sec-block:not(.has-image) .sec-text { max-width: 820px; margin: 0 auto; }
.sec-art { background: var(--paper); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }

/* ---------- cards: shared ---------- */
.stats-list, .steps-list, .concerns-list, .news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.stats-list li, .steps-list li, .concerns-list li, .news-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
/* the coloured top edge, cycling like CO2 Impact's cards */
.stats-list li::before, .concerns-list li::before, .steps-list li::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c, var(--emerald)); }
:is(.stats-list, .concerns-list, .steps-list) li:nth-child(4n+1) { --c: var(--emerald); --t: var(--emerald-tint); }
:is(.stats-list, .concerns-list, .steps-list) li:nth-child(4n+2) { --c: var(--hedgerow); --t: var(--hedgerow-tint); }
:is(.stats-list, .concerns-list, .steps-list) li:nth-child(4n+3) { --c: var(--stubble); --t: var(--stubble-tint); }
:is(.stats-list, .concerns-list, .steps-list) li:nth-child(4n+4) { --c: var(--sky); --t: var(--sky-tint); }

/* figures */
.stats-inner { max-width: var(--wrap); margin: 0 auto; }
.sec-stats .stats-inner > .eyebrow, .sec-stats .stats-inner > h2 { text-align: center; }
.sec-stats .stats-inner > h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.stats-list { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stats-list li { padding: 1.9rem 1.6rem 1.6rem; }
.stat-value { font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; letter-spacing: -0.035em; color: var(--c); margin: 0 0 0.8rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.stat-label { font-size: 0.95rem; line-height: 1.55; color: var(--text); margin: 0; }

/* how to object */
.steps-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.steps-list li { counter-increment: step; padding: 2rem 1.75rem 1.75rem; }
.steps-list li .step-title::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; margin-bottom: 1.1rem;
  background: var(--t); color: var(--c); font-size: 1.15rem; font-weight: 800; }
.step-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-body { font-size: 0.98rem; line-height: 1.65; }
.steps-head .sec-action { margin-top: 1.5rem; }

/* concerns */
.concerns-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.concerns-list li { padding: 1.9rem 1.75rem 1.75rem; display: block; }
.concern-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 14px; background: var(--t); color: var(--c); margin-bottom: 1.1rem; }
.concern-icon svg { width: 1.5rem; height: 1.5rem; }
.concern-title { font-size: 1.22rem; margin: 0 0 0.4rem; }
.concern-body { font-size: 0.97rem; line-height: 1.6; color: var(--text); }

/* timeline */
.tl-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; display: grid; gap: 1rem; }
.tl-list::before { content: ''; position: absolute; left: 1.15rem; top: 1rem; bottom: 1rem; width: 2px; background: var(--line); }
.tl-list li { position: relative; padding: 1.4rem 1.6rem 1.4rem 1.6rem; margin-left: 3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tl-list li::before { content: ''; position: absolute; left: -2.35rem; top: 1.65rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--emerald); }
.tl-list li:last-child::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(224, 49, 45, 0.15); }
.tl-date { display: inline-block; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald-deep); background: var(--emerald-tint); border-radius: 999px; padding: 0.25rem 0.7rem; margin: 0 0 0.6rem; }
.tl-title { font-size: 1.25rem; margin: 0 0 0.35rem; }
.tl-body { font-size: 0.98rem; line-height: 1.65; }

/* news */
.news-list { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); max-width: var(--wrap); margin: 0 auto; }
.news-list li { display: flex; flex-direction: column; }
.news-media { margin: 0; aspect-ratio: 16 / 10; background: var(--emerald-tint); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.news-list li:hover .news-media img { transform: scale(1.04); }
.news-noimg { display: grid; place-items: center; width: 100%; height: 100%; }
.news-noimg .roundel { width: 3.5rem; height: 3.5rem; color: var(--red); }
.news-text { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.75rem; font-size: 0.82rem; }
.news-tag { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald-deep); background: var(--emerald-tint); border-radius: 999px; padding: 0.25rem 0.65rem; }
.news-date { color: var(--muted); font-weight: 600; }
.news-title { font-size: 1.2rem; margin: 0 0 0.5rem; }
.news-body { font-size: 0.96rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; padding-top: 1rem; font-weight: 700; text-decoration: none; }
.news-more::after { content: ''; display: inline-block; width: 0.45em; height: 0.45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 0.45em; vertical-align: 0.12em; }
.sec-news > .sec-action { text-align: center; }

/* pull quote */
main#page > .sec-quote { background: linear-gradient(135deg, var(--night) 0%, #0e3a32 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.quote-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.quote-inner blockquote { margin: 0; }
.quote-inner blockquote p { font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.15; letter-spacing: -0.03em; color: #fff; margin: 0; text-wrap: balance; }
.quote-inner figcaption { margin-top: 1.5rem; font-weight: 700; color: #3fd69d; }
.quote-inner figcaption:empty { display: none; }
.sec-quote::after { content: ''; position: absolute; width: min(70vw, 680px); aspect-ratio: 1; right: -14%; top: 50%; transform: translateY(-50%); border: 2px solid rgba(63, 214, 157, 0.18); border-radius: 50%; }

/* full-width picture bands */
main#page > .sec-feature { position: relative; min-height: clamp(420px, 68vh, 720px); display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.feature-media { position: absolute; inset: 0; margin: 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.feature-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 32, 39, 0.9) 0%, rgba(9, 32, 39, 0.6) 40%, rgba(9, 32, 39, 0.1) 75%); }
.feature-inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem); }
.feature-inner > * { max-width: 36rem; }
.sec-feature h2 { color: #fff; }
.sec-feature .prose { color: rgba(255, 255, 255, 0.88); }
.sec-feature .prose a, .feature-caption a { color: #fff; }
.feature-caption { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); margin: 1.25rem 0 0; }
.feature-caption:empty { display: none; }
main#page > .sec-feature.text-below { display: block; min-height: 0; background: var(--night); }
.sec-feature.text-below .feature-media { position: relative; }
.sec-feature.text-below .feature-media img { height: auto; max-height: 82vh; }
.sec-feature.text-below .feature-media::after { display: none; }
.sec-feature.text-below .feature-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.5rem clamp(2rem, 5vw, 4rem); align-items: start; }
.sec-feature.text-below .feature-inner > * { max-width: none; }
.sec-feature.text-below .feature-inner > :not(h2) { grid-column: 2; }
.sec-feature.text-below h2 { grid-row: 1 / span 3; margin: 0; }

/* coming soon */
.soon-card { max-width: var(--wrap); margin: 0 auto; border: 2px dashed #c9d4d8; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: start; background: var(--band); }
.soon-text .eyebrow { margin-bottom: 0.5rem; }
.soon-text h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 0 0 0.5rem; }
.soon-text .prose { color: var(--muted); }
.soon-badge { margin: 0; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stubble); background: var(--stubble-tint); border-radius: 999px; padding: 0.4rem 0.8rem; white-space: nowrap; }

/* where our members live */
main#page > .sec-members { background: linear-gradient(135deg, var(--night) 0%, #0e3a32 100%); color: rgba(236, 244, 239, 0.8);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sec-members .areas-head { text-align: left; margin: 0; }
.sec-members .eyebrow { color: #3fd69d; }
.sec-members h2 { color: #fff; }
.sec-members .prose { color: rgba(236, 244, 239, 0.8); }
.areas-body { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.areas-total { margin: 0 0 1.5rem; font-weight: 600; }
.areas-num { display: block; font-weight: 800; font-size: clamp(2.8rem, 2rem + 3vw, 4.2rem); line-height: 1; color: #fff; letter-spacing: -0.04em; margin-bottom: 0.3rem; }
.areas-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.areas-list li { display: grid; grid-template-columns: minmax(9rem, 1.1fr) minmax(0, 2fr) 2.5rem; gap: 1rem; align-items: center; }
.area-name strong { display: block; color: #fff; }
.area-name span { display: block; font-size: 0.8rem; color: rgba(236, 244, 239, 0.6); line-height: 1.35; }
.area-bar { height: 0.55rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.area-fill { display: block; height: 100%; border-radius: inherit; background: var(--emerald); }
.area-n { margin: 0; text-align: right; color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.areas-empty { font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.4; color: #fff; margin: 0; }
.areas-empty a { color: #3fd69d; }
.area-fill.w1 { width: 5%; } .area-fill.w2 { width: 10%; } .area-fill.w3 { width: 15%; } .area-fill.w4 { width: 20%; } .area-fill.w5 { width: 25%; }
.area-fill.w6 { width: 30%; } .area-fill.w7 { width: 35%; } .area-fill.w8 { width: 40%; } .area-fill.w9 { width: 45%; } .area-fill.w10 { width: 50%; }
.area-fill.w11 { width: 55%; } .area-fill.w12 { width: 60%; } .area-fill.w13 { width: 65%; } .area-fill.w14 { width: 70%; } .area-fill.w15 { width: 75%; }
.area-fill.w16 { width: 80%; } .area-fill.w17 { width: 85%; } .area-fill.w18 { width: 90%; } .area-fill.w19 { width: 95%; } .area-fill.w20 { width: 100%; }

/* map embed */
.embed-frame { position: relative; max-width: var(--wrap); margin: 0 auto; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-empty { display: grid; place-items: center; isolation: isolate; }
.embed-empty::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/static/fields.svg') center / cover no-repeat; opacity: 0.12; }
.embed-empty p { font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0; padding: 1rem; text-align: center; }

/* ---------- forms: join and signs ---------- */
main#page > .sec-join { background: linear-gradient(135deg, #0b6b4b 0%, var(--emerald) 100%); color: rgba(255, 255, 255, 0.9);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sec-join .eyebrow { color: #c9f5e2; }
.sec-join h2 { color: #fff; }
.sec-join .prose { color: rgba(255, 255, 255, 0.88); }
.sec-join .prose a { color: #fff; }
main#page > .sec-signs { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.signs-intro .sec-figure { margin-top: 2rem; }
.join-form, .join-done { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: 0 30px 60px -30px rgba(9, 32, 39, 0.45); border: 1px solid var(--line); }
.join-done h3 { color: var(--emerald-deep); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-email, .field-address1, .field-address2 { grid-column: 1 / -1; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 3.1rem; padding: 0.65rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #cdd7db; border-radius: 10px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #a8b7bd; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--emerald); outline: none; box-shadow: 0 0 0 4px rgba(18, 168, 117, 0.18); }
.has-error input { border-color: var(--red); }
.field-error, .form-error { color: #c0221e; font-weight: 700; margin: 0.35rem 0 0; font-size: 0.88rem; }
.form-error { margin: 0 0 1rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; margin: 0.4rem 0 1.1rem; font-size: 0.95rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; }
.check .field-error { grid-column: 2; }
.privacy { font-size: 0.85rem; color: var(--muted); }
.join-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(236, 244, 239, 0.7); padding: 3rem clamp(1.25rem, 4vw, 2.5rem); font-size: 0.95rem; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: center; }
.site-footer .prose { margin: 0; max-width: none; }
.site-footer a { color: #fff; }
.site-footer .wm-name { color: #fff; }
.site-footer .wm-sub { color: rgba(236, 244, 239, 0.6); }

/* back to top */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 30; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--emerald); background: #fff; color: var(--emerald-deep);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 1.1rem; height: 1.1rem; }

/* ---------- signed-in bar (committee only) ---------- */
.adminbar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between;
  background: #0a1418; color: #e8ece6; padding: 0.5rem clamp(1rem, 3vw, 2rem); font-size: 0.88rem; }
.adminbar-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; align-items: center; }
.adminbar a { color: #fff; }
.adminbar form { margin: 0; }
.adminbar button { font: inherit; color: #fff; background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }
.adminbar ~ .topbar { top: 2.4rem; }

/* ---------- drawn diagrams ---------- */
.art-gap, .art-route { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.art-gap .g-gap { fill: var(--emerald-tint); }
.art-gap .g-fields path { stroke: var(--emerald-deep); stroke-width: 1; fill: none; opacity: 0.35; }
.art-gap .g-house { fill: #c3ccd0; }
.art-gap .g-m25 { stroke: var(--ink); stroke-width: 3; fill: none; stroke-linecap: round; }
.art-gap .g-site { fill: var(--red); fill-opacity: 0.82; stroke: #b3221f; stroke-width: 1.5; }
.art-gap .g-measure path { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.art-gap text, .art-route text { font-size: 14px; font-weight: 700; fill: var(--muted); }
.art-gap .g-strong { fill: var(--ink); font-weight: 800; }
.art-gap .g-site-label { fill: #b3221f; font-weight: 800; }
.art-gap .g-measure text { fill: var(--ink); font-size: 15px; }
.art-route .r-road { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.art-route .r-stretch { fill: none; stroke: var(--red); stroke-width: 26; stroke-linecap: round; opacity: 0.16; }
.art-route .r-j circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.art-route .r-existing rect { fill: var(--emerald); }
.art-route .r-existing text { fill: var(--emerald-deep); font-weight: 800; }
.art-route .r-moto { fill: var(--red); }
.art-route .r-wb { fill: var(--paper); stroke: var(--red); stroke-width: 3; stroke-dasharray: 4 3; }
.art-route .r-new text { fill: #b3221f; font-weight: 800; font-size: 15px; }
.art-route .r-note { fill: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
/* one orchestrated moment per diagram, started by site.js once in view */
.art-anim .art-gap .g-town { clip-path: inset(100% 0 0 0); }
.art-anim .art-gap .g-gap { transform: scaleX(0); transform-origin: 170px 0; transform-box: view-box; }
.art-anim .art-gap .g-m25 { stroke-dasharray: 520; stroke-dashoffset: 520; }
.art-anim .art-gap .g-site { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; }
.art-anim .art-gap .g-measure, .art-anim .art-gap .g-labels { opacity: 0; }
.art-anim .is-in .g-town { clip-path: inset(0 0 0 0); transition: clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.art-anim .is-in .g-gap { transform: scaleX(1); transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms; }
.art-anim .is-in .g-m25 { stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms cubic-bezier(0.22, 1, 0.36, 1) 700ms; }
.art-anim .is-in .g-measure, .art-anim .is-in .g-labels { opacity: 1; transition: opacity 600ms ease-out 1200ms; }
.art-anim .is-in .g-site { opacity: 1; transform: scale(1); transition: opacity 500ms ease-out 1700ms, transform 700ms cubic-bezier(0.34, 1.4, 0.64, 1) 1700ms; }
.art-anim .is-in .g-site2 { transition-delay: 1950ms; }
.art-anim .art-route .r-road { stroke-dasharray: 760; stroke-dashoffset: 760; }
.art-anim .art-route .r-junctions, .art-anim .art-route .r-existing, .art-anim .art-route .r-note, .art-anim .art-route .r-stretch { opacity: 0; }
.art-anim .art-route .r-new circle { opacity: 0; transform: scale(0.3); transform-box: fill-box; transform-origin: center; }
.art-anim .art-route .r-new text { opacity: 0; }
.art-anim .is-in .r-road { stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms cubic-bezier(0.22, 1, 0.36, 1); }
.art-anim .is-in .r-junctions { opacity: 1; transition: opacity 500ms ease-out 700ms; }
.art-anim .is-in .r-existing { opacity: 1; transition: opacity 500ms ease-out 1100ms; }
.art-anim .is-in .r-stretch { opacity: 0.16; transition: opacity 600ms ease-out 1500ms; }
.art-anim .is-in .r-new circle { opacity: 1; transform: scale(1); transition: opacity 400ms ease-out 1700ms, transform 650ms cubic-bezier(0.34, 1.5, 0.64, 1) 1700ms; }
.art-anim .is-in .r-new text, .art-anim .is-in .r-note { opacity: 1; transition: opacity 500ms ease-out 2000ms; }

/* ---------- motion and small screens ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .news-media img, .to-top { transition: none; }
}
@media (max-width: 1080px) {
  .topnav a:not(.topnav-join) { display: none; }
}
@media (max-width: 900px) {
  .sec-block.has-image, main#page > .sec-join, main#page > .sec-signs, main#page > .sec-members, .sec-feature.text-below .feature-inner { grid-template-columns: 1fr; }
  .sec-block.has-image.image-left .sec-figure { order: 0; }
  .sec-feature.text-below .feature-inner > :not(h2) { grid-column: 1; }
  .sec-feature.text-below h2 { grid-row: auto; margin-bottom: 0.5em; }
  .soon-card { grid-template-columns: 1fr; }
  .soon-badge { justify-self: start; }
  .areas-list li { grid-template-columns: 1fr 2.5rem; }
  .area-bar { grid-column: 1 / -1; grid-row: 2; }
  .feature-media::after { background: linear-gradient(to top, rgba(9, 32, 39, 0.92) 0%, rgba(9, 32, 39, 0.55) 60%, rgba(9, 32, 39, 0.25) 100%); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .wm-sub { display: none; }
  .wm-name { font-size: 1.15rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .tl-list li { margin-left: 2.4rem; }
  .tl-list::before { left: 0.85rem; }
  .tl-list li::before { left: -2rem; }
}
