/* Community EV Charging: one stylesheet for every page.
   Colours and fonts match Menston EV Charging and Otley EV Charging. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #08126b;
  --navy-deep: #060d52;
  --blue:      #1a35d4;
  --blue-mid:  #1e3fa8;
  --lime:      #8cd93c;
  --lime-glow: rgba(140, 217, 60, 0.45);
  --white:     #ffffff;
  --offwhite:  #f0f4ff;
  --border:    #2a3fa0;
  --text-light: rgba(255,255,255,0.88);
  --text-dim:   rgba(255,255,255,0.75);
  --radius:    14px;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  font-family: var(--body);
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--lime); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible, label:focus-within {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.wrap { width: min(1080px, 90%); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--lime); color: var(--navy); font-weight: 800;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── Top bar ── */
.topbar { border-bottom: 2px solid var(--border); background: var(--navy); }
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; min-height: 68px; padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--display); font-weight: 900;
  font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
}
.nav { display: flex; align-items: center; gap: 6px 22px; }
.nav a {
  color: var(--text-light); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,0.4); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--lime); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 0.98rem; border-bottom: 2px solid transparent; }
.nav .btn:hover { border-bottom-color: transparent; }

@media (max-width: 760px) {
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
  .nav .btn { display: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: #9de24f; transform: translateY(-1px); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.45); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── Shared type ── */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-deep { background: var(--navy-deep); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.section-blue { background: var(--blue-mid); }
.section-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3rem); line-height: 1; margin-bottom: 16px;
}
.section-lead { color: var(--text-light); font-size: 1.1rem; max-width: 38em; }
.prose p { color: var(--text-light); font-size: 1.08rem; max-width: 36em; }
.prose p + p { margin-top: 14px; }

/* ── Home hero ── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(26,53,212,0.55), transparent 70%),
    var(--navy);
  padding: clamp(44px, 7vw, 88px) 0 clamp(52px, 7vw, 80px);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 56px; } }

.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.9rem, 6.6vw, 5.1rem); line-height: 0.9; letter-spacing: 0.005em;
  max-width: 11ch;
}
.hero-lead {
  margin-top: 24px; max-width: 32em;
  font-size: clamp(1.08rem, 2.1vw, 1.22rem); color: var(--text-light);
}

/* ── Network map: the home page's signature ── */
.map-panel {
  background: rgba(6, 13, 82, 0.72);
  border: 2px solid var(--border); border-radius: 20px;
  padding: 22px 20px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.map-panel h2 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.05; }
.map-panel .sub { color: var(--text-dim); font-size: 0.98rem; margin: 4px 0 8px; }
.map { display: block; width: 100%; height: auto; }
.map .river { fill: none; stroke: var(--blue); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.map .river-label { fill: rgba(255,255,255,0.5); font: italic 500 15px var(--body); letter-spacing: 0.06em; }
.map .lbl { fill: var(--text-light); font-family: var(--body); font-weight: 700; font-size: 21px; }
.map .lbl-sub { font-family: var(--body); font-weight: 600; font-size: 15px; }
.map .open .dot { fill: var(--navy-deep); stroke: rgba(255,255,255,0.6); stroke-width: 2.5; stroke-dasharray: 4 3.5; }
.map .open .lbl { fill: rgba(255,255,255,0.72); font-weight: 600; }
.map .open:hover .dot, .map .open:focus-visible .dot { stroke: var(--lime); stroke-dasharray: none; stroke-width: 3.5; }
.map .open:hover .lbl, .map .open:focus-visible .lbl { fill: var(--white); }
.map .live .halo { fill: var(--lime); opacity: 0.18; }
.map .live .dot { fill: var(--lime); }
.map .live .lbl { fill: var(--white); font-size: 27px; font-weight: 800; }
.map .live .lbl-sub, .map .exploring .lbl-sub { fill: var(--lime); }
.map .exploring .dot { fill: var(--navy-deep); stroke: var(--lime); stroke-width: 4; }
.map .exploring .lbl { fill: var(--white); font-size: 25px; font-weight: 800; }
.map .pulse {
  fill: none; stroke: var(--lime); stroke-width: 3;
  transform-box: fill-box; transform-origin: center;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(2.9); opacity: 0; }
}
.map a { outline: none; }
.map .hit { fill: transparent; }
.map a:focus-visible .dot { stroke: var(--lime); stroke-width: 5; }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 0.92rem; color: var(--text-dim); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.legend .k-live { background: var(--lime); }
.legend .k-exploring { border: 3px solid var(--lime); }
.legend .k-open { border: 2px dashed rgba(255,255,255,0.6); }

/* ── Mini battery (status on cards) ── */
.mini-battery { display: inline-flex; align-items: center; gap: 3px; flex: none; }
.mini-battery .body {
  display: grid; grid-template-columns: repeat(4, 12px); gap: 3px;
  border: 2px solid var(--white); border-radius: 5px; padding: 3px; height: 24px;
}
.mini-battery .cap { width: 4px; height: 10px; background: var(--white); border-radius: 0 2px 2px 0; }
.mini-battery .c { border-radius: 2px; background: rgba(255,255,255,0.12); }
.mini-battery .c.on { background: var(--lime); }

/* ── Village cards ── */
.villages-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 32px; }
.village-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .village-grid { grid-template-columns: repeat(3, 1fr); } }
.village {
  display: flex; flex-direction: column;
  border-radius: 18px; padding: 24px 22px 22px;
  background: rgba(26,53,212,0.14);
  border: 2px solid var(--border);
}
.village.live { border-color: var(--lime); background: rgba(140,217,60,0.08); }
.village.open { border: 2px dashed rgba(255,255,255,0.4); background: transparent; }
.village .status { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; color: var(--text-light); }
.village.live .status, .village.exploring .status { color: var(--lime); }
.village h3 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.3rem, 4.4vw, 2.9rem); line-height: 0.95; margin: 16px 0 10px;
}
.village p { color: var(--text-light); }
.village .actions { margin-top: auto; padding-top: 22px; }
.village .btn { min-height: 46px; padding: 0 20px; font-size: 1rem; }

/* ── Journey battery: how a village gets charging ── */
.journey { display: flex; align-items: stretch; gap: 3px; margin-top: 34px; }
.journey-body {
  flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  border: 3px solid var(--white); border-radius: 18px; padding: 8px;
  list-style: none;
}
.journey-cap { width: 14px; align-self: center; height: 64px; background: var(--white); border-radius: 0 6px 6px 0; }
.journey-body li { border-radius: 10px; padding: 18px 16px 20px; line-height: 1.4; }
.journey-body li:nth-child(1) { background: #223a62; }
.journey-body li:nth-child(2) { background: #436c56; }
.journey-body li:nth-child(3) { background: #649d4a; color: var(--navy); }
.journey-body li:nth-child(4) { background: var(--lime); color: var(--navy); }
.journey-body .n { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; display: block; }
.journey-body strong { display: block; font-size: 1.12rem; margin: 6px 0 4px; }
.journey-body span.t { font-size: 0.98rem; opacity: 0.92; }
@media (max-width: 760px) {
  .journey-body { grid-template-columns: 1fr; }
  .journey-cap { display: none; }
}

/* ── Hosts ── */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.checklist { list-style: none; display: grid; gap: 0; border-top: 2px solid rgba(255,255,255,0.18); }
.checklist li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 15px 0; border-bottom: 2px solid rgba(255,255,255,0.18);
  color: var(--text-light); font-size: 1.05rem; line-height: 1.4;
}
.checklist li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308126b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
}
.checklist-title { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 12px; }

/* ── Proof: Menston ── */
.proof-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; } }
.facts { list-style: none; display: grid; border-top: 2px solid rgba(255,255,255,0.18); }
.facts li {
  display: grid; grid-template-columns: 8.2rem 1fr; gap: 18px; align-items: baseline;
  padding: 16px 0; border-bottom: 2px solid rgba(255,255,255,0.18);
}
@media (max-width: 480px) { .facts li { grid-template-columns: 6.4rem 1fr; gap: 14px; } }
.facts .fig { font-family: var(--display); font-weight: 900; color: var(--lime); font-size: clamp(1.8rem, 4vw, 2.3rem); line-height: 1; }
.facts .desc { color: var(--text-light); font-size: 1.02rem; line-height: 1.4; }

.how { list-style: none; counter-reset: how; display: grid; gap: 14px; margin-top: 24px; }
.how li {
  counter-increment: how; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  color: var(--text-light); line-height: 1.45;
}
.how li::before {
  content: counter(how); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime); color: var(--navy);
  font-family: var(--display); font-weight: 900; font-size: 1.2rem;
}
.how strong { display: block; color: var(--white); font-size: 1.08rem; }

/* ── FAQ ── */
.faq { max-width: 50em; margin-top: 28px; border-top: 2px solid rgba(255,255,255,0.18); }
.faq details { border-bottom: 2px solid rgba(255,255,255,0.18); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 18px 0; font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 3px solid var(--lime); border-bottom: 3px solid var(--lime);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 20px; color: var(--text-light); max-width: 40em; }
.faq details > div p + p { margin-top: 10px; }

/* ── Village page hero + progress meter (as on the Otley site) ── */
.vhero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(26,53,212,0.55), transparent 70%),
    var(--navy);
  padding: clamp(28px, 5vw, 48px) 0 0;
  overflow: hidden;
}
.crumbs { font-size: 0.95rem; color: var(--text-dim); margin-bottom: clamp(28px, 6vw, 60px); display: flex; gap: 8px; }
.crumbs a { color: var(--text-light); }
.vhero-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .vhero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
.vhero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 10vw, 6.6rem); line-height: 0.88; letter-spacing: 0.005em;
}
.vhero h1 .place { display: block; color: var(--lime); font-size: calc(1.32em * var(--place-scale, 1)); }
.vhero .hero-lead { margin-top: 26px; }
.vhero.no-ridge { padding-bottom: clamp(56px, 8vw, 96px); }

.meter {
  background: rgba(6, 13, 82, 0.72); border: 2px solid var(--border); border-radius: 20px;
  padding: 26px 24px 22px; box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.meter h2 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.05; margin-bottom: 4px; }
.meter-sub { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 22px; }
.battery { display: flex; align-items: stretch; gap: 6px; margin-bottom: 18px; }
.battery-body {
  flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
  border: 3px solid var(--white); border-radius: 10px; padding: 5px; height: 58px;
}
.battery-cap { width: 9px; align-self: center; height: 24px; background: var(--white); border-radius: 0 4px 4px 0; }
.cell { border-radius: 4px; background: rgba(255,255,255,0.08); }
.cell.on { background: var(--lime); }
.cell.now { background: var(--lime); animation: charge 2.4s ease-in-out infinite; }
@keyframes charge {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--lime-glow); }
  50% { opacity: 0.55; box-shadow: 0 0 18px 2px var(--lime-glow); }
}
.stages { list-style: none; display: grid; gap: 10px; counter-reset: stage; }
.stages li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  color: var(--text-dim); font-size: 0.98rem; line-height: 1.4; counter-increment: stage;
}
.stages li::before {
  content: counter(stage); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  border: 2px solid rgba(255,255,255,0.3); color: var(--text-dim);
}
.stages li strong { display: block; color: var(--white); font-weight: 700; }
.stages li.done::before { border-color: var(--lime); color: var(--lime); }
.stages li.now::before { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.stages li.now strong::after {
  content: "We're here"; display: inline-block; margin-left: 8px; vertical-align: 2px;
  background: rgba(140,217,60,0.16); color: var(--lime);
  font-size: 0.78rem; font-weight: 700; padding: 1px 9px; border-radius: 999px;
}
.ridge { display: block; width: 100%; height: clamp(60px, 9vw, 120px); margin-top: clamp(40px, 7vw, 80px); }

/* ── Register ── */
.register-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .register-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.register-intro p { color: var(--text-light); font-size: 1.08rem; max-width: 30em; }
.register-intro p + p { margin-top: 14px; }
.host-note {
  margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--lime);
  background: rgba(26,53,212,0.22); border-radius: 0 var(--radius) var(--radius) 0;
}
.host-note strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.host-note span { color: var(--text-light); }

.form-card {
  background: var(--offwhite); color: var(--navy);
  border-radius: 20px; padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.role { border: 0; margin-bottom: 22px; }
.role legend { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; margin-bottom: 12px; }
.role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-options label {
  position: relative; cursor: pointer;
  border: 2px solid #c9d3f2; border-radius: 12px; background: var(--white);
  padding: 14px 14px 14px 44px; font-weight: 700; line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.role-options label small { display: block; font-weight: 500; color: #3d4a8a; font-size: 0.88rem; margin-top: 2px; }
.role-options input { position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; accent-color: var(--blue); }
.role-options label:has(input:checked) { border-color: var(--blue); background: #e3e9ff; }

.fields { display: grid; gap: 16px; }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; font-weight: 700; font-size: 0.98rem; margin-bottom: 6px; }
.field .hint { font-weight: 500; color: #4a5694; font-size: 0.9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white); border: 2px solid #c9d3f2; border-radius: 10px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(26,53,212,0.25); }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 2px solid #c9d3f2; background: var(--white); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; margin: 0;
}
.chips input { accent-color: var(--blue); width: 18px; height: 18px; }
.chips label:has(input:checked) { border-color: var(--blue); background: #e3e9ff; }
.group[hidden] { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.submit { width: 100%; margin-top: 6px; font-size: 1.1rem; min-height: 56px; }
.submit[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.error { color: #b3261e; }
.hidden-field { position: absolute; left: -9999px; }

.success h3 { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.05; margin-bottom: 10px; }
.success p { color: #26306e; }
.success p + p { margin-top: 10px; }
.success a { color: var(--blue); font-weight: 700; }
.success .btn { margin-top: 16px; min-height: 48px; }
.success .btn-share { background: var(--navy); color: var(--white); }
.success .btn-share:hover { background: var(--blue); }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin-bottom: 16px; }

.privacy-note { margin-top: 18px; font-size: 0.92rem; color: #3d4a8a; }
.privacy-note a { color: var(--blue); font-weight: 700; }

/* ── Plain content pages (privacy) ── */
.page { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 9vw, 104px); }
.page h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 0.92; margin-bottom: 18px; }
.page h2 { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin: 34px 0 8px; }
.page p, .page li { color: var(--text-light); font-size: 1.05rem; max-width: 40em; }
.page p + p { margin-top: 12px; }
.page ul { margin: 10px 0 0 1.2em; display: grid; gap: 6px; }
.page .updated { color: var(--text-dim); font-size: 0.95rem; }

/* ── Simple centred pages (thanks, 404) ── */
.simple { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 48px 0; }
.simple h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 9vw, 4rem); line-height: 0.95; color: var(--lime); margin-bottom: 18px; }
.simple p { color: var(--text-light); font-size: 1.1rem; max-width: 34em; }
.simple p + p { margin-top: 12px; }

/* ── Footer ── */
footer { background: var(--navy-deep); border-top: 2px solid var(--border); padding: 44px 0 40px; color: var(--text-dim); font-size: 0.97rem; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
footer h2 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 8px; letter-spacing: 0.02em; }
footer ul { list-style: none; display: grid; gap: 6px; }
footer a { color: var(--white); }
footer .brand { margin-bottom: 12px; }
.foot-small { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.9rem; }

@media (max-width: 600px) {
  .map-panel { padding: 18px 12px 14px; }
  .map-panel h2, .map-panel .sub, .legend { padding-inline: 6px; }
  .map .lbl { font-size: 29px; }
  .map .live .lbl { font-size: 35px; }
  .map .exploring .lbl { font-size: 32px; }
  .map .lbl-sub { font-size: 20px; transform: translateY(6px); }
  .map .river-label { font-size: 20px; }
}

@media (max-width: 480px) {
  .role-options { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .brand-name { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cell.now, .map .pulse { animation: none; }
  .map .pulse { opacity: 0; }
  .btn, .faq summary::after { transition: none; }
}
