/* Solar Today and Tomorrow v2 · site styles
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 (see design-review.md)
 * Tokens first; every colour and family below references a token. */

@font-face { font-family: "Epilogue"; src: url("epilogue.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("petrona.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("petrona-italic.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --snow: #F3F5F6;
  --paper: #FFFFFF;
  --iron: #2A2623;
  --iron-2: #3A3531;
  --stone: #5B5650;
  --ore: #A9401F;
  --ore-deep: #8C3416;
  --glacier: #245A7C;
  --sky: #DDE8EE;
  --aspen: #F2C462;
  --line: #C9D1D6;
  --on-dark: #FFFFFF;
  --on-dark-soft: #E6E1DC;
  --scrim-top: rgba(30, 27, 25, 0.55);
  --scrim-mid: rgba(30, 27, 25, 0.38);
  --scrim-low: rgba(30, 27, 25, 0.86);
  --hatch: rgba(169, 64, 31, 0.28);

  --hair-dark: rgba(255,255,255,0.22);
  --hair-hero: rgba(255,255,255,0.4);
  --hair-faint: rgba(255,255,255,0.12);
  --tile-edge: rgba(255,255,255,0.25);
  --tile-seam: rgba(255,255,255,0.18);
  --ghost-hover: rgba(255,255,255,0.12);
  --font-display: "Epilogue", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Petrona", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--snow); color: var(--iron);
  font-family: var(--font-body); font-size: 1.1875rem; line-height: 1.6;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--glacier); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ore); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, legend, .kicker, .btn, .nav-link, summary { font-family: var(--font-display); font-style: normal; }
h1, h2, h3 { overflow-wrap: anywhere; min-width: 0; }

.skip { position: absolute; left: 8px; top: -100px; z-index: 50; background: var(--iron); color: var(--on-dark); padding: 12px 16px; font-family: var(--font-display); font-weight: 600; }
.skip:focus { top: 8px; }
main:focus { outline: none; }

/* ------------------------------------------------------------ concept notice + header */
.concept { margin: 0; background: var(--iron); color: var(--on-dark-soft); font-family: var(--font-display); font-size: 0.8125rem; line-height: 1.45; padding: 7px var(--gutter); text-align: center; }

.masthead { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand towns main"; align-items: center; gap: 12px 28px; min-height: 72px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; color: var(--iron); text-decoration: none; min-height: 44px; }
.mark { flex: none; color: var(--ore); }
.mark-later { fill: none; stroke: var(--ore); stroke-width: 1.6; stroke-dasharray: 2.4 1.8; }
.wordmark { display: flex; flex-direction: column; font-family: var(--font-display); line-height: 1; }
.wm-today { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.wm-tomorrow { font-weight: 500; font-size: 0.9375rem; color: var(--stone); margin-top: 3px; }

.town-nav { grid-area: towns; min-width: 0; }
.town-nav ul, .main-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; }
.town-nav ul { display: flex; gap: 2px; justify-content: center; }
.town-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--iron); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.town-nav a:hover { border-bottom-color: var(--line); }
.town-nav a[aria-current="page"] { border-bottom-color: var(--ore); font-weight: 700; }

.main-nav { grid-area: main; }
.main-nav ul { display: flex; align-items: center; gap: 18px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 0.9375rem; color: var(--iron); text-decoration: none; white-space: nowrap; border-bottom: 2px dashed var(--ore); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 2px solid transparent; font-weight: 700; font-size: 0.9375rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-quote { background: var(--ore); color: var(--on-dark); }
.btn-quote:hover { background: var(--ore-deep); }
.btn-quote:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn-ghost { color: var(--on-dark); border-color: var(--on-dark); background: transparent; }
.btn-ghost:hover { background: var(--ghost-hover); }

@media (max-width: 1120px) {
  .masthead-row { grid-template-columns: auto 1fr; grid-template-areas: "brand main" "towns towns"; min-height: 0; padding-top: 8px; }
  .main-nav ul { justify-content: flex-end; }
  .town-nav { border-top: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .town-nav::-webkit-scrollbar { display: none; }
  .town-nav ul { justify-content: flex-start; }
  .town-nav a { padding: 0 10px; }
  .town-nav li:first-child a { padding-left: 0; }
}
@media (max-width: 640px) {
  .nav-tool { display: none; }
  .masthead-row { gap: 6px 10px; }
  .btn { padding: 0 14px; }
  .wm-today { font-size: 1rem; }
  .wm-tomorrow { font-size: 0.8125rem; }
}
@media (max-width: 359px) { .masthead .mark { display: none; } .btn { font-size: 0.875rem; padding: 0 12px; } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden; background: var(--iron); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--scrim-top) 0%, var(--scrim-mid) 38%, var(--scrim-low) 100%); }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: clamp(600px, calc(100vh - 110px), 860px); padding-top: clamp(40px, 8vh, 96px); padding-bottom: 28px; gap: 40px; }
.hero-town .hero-inner { min-height: clamp(520px, 72vh, 700px); }
.hero-stack { max-width: 1100px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.kicker { margin: 0 0 18px; font-weight: 600; font-size: 1rem; color: var(--aspen); }
.hero h1 { max-width: 920px; margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
.hero h1.h1-s { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.hero h1.h1-m { font-size: clamp(2.25rem, 5.2vw, 4.25rem); }
.hero h1.h1-l { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.hero .lead { margin: 22px auto 0; max-width: 40em; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--on-dark); text-wrap: pretty; }
.hero .lead a { color: var(--on-dark); }
.hero-actions { margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.props { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; font-family: var(--font-display); font-weight: 500; font-size: 0.96875rem; line-height: 1.35; color: var(--on-dark-soft); }
.props li { padding: 2px 18px; white-space: nowrap; }
@media (max-width: 1060px) { .props li { white-space: normal; } }
.props li + li { border-left: 1px solid var(--hair-hero); }

/* the signature: phase strip */
.phase-strip { width: 100%; max-width: 980px; }
.tiles { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; }
.tile { aspect-ratio: 5 / 3; border-radius: 2px; }
.tile-now { background: var(--ore); box-shadow: inset 0 0 0 1px var(--tile-edge); background-image: linear-gradient(90deg, transparent 49%, var(--tile-seam) 49%, var(--tile-seam) 51%, transparent 51%); }
.tile-later { border: 2px dashed var(--aspen); }
.strip-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; }
.lbl-now { color: var(--on-dark); }
.lbl-later { color: var(--aspen); text-align: right; }

@media (max-width: 720px) {
  .hero-inner { min-height: 0; padding-top: 36px; gap: 32px; }
  .hero-town .hero-inner { min-height: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .props { flex-direction: column; align-items: center; gap: 6px; }
  .props li + li { border-left: 0; }
  .tiles { gap: 5px; }
  .tile.m-hide { display: none; }
  .tiles { grid-template-columns: repeat(var(--m-cols), minmax(0, 1fr)); }
  .strip-labels { font-size: 0.8125rem; }
}

/* ------------------------------------------------------------ phase room check */
.room-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--space-5) 0; }
.room-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: var(--space-4); align-items: start; }
.room-intro h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
.room-intro p { margin: 0 0 14px; }
.room-note { font-size: 1rem; color: var(--stone); }
.room-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.room-inputs { background: var(--sky); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .choices legend { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; color: var(--iron); }
.unit { font-weight: 400; color: var(--stone); }
.field output { float: right; font-weight: 700; color: var(--ore); }
select, input[type="number"] { font: 600 1rem/1.2 var(--font-display); color: var(--iron); background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); min-height: 46px; padding: 0 12px; width: 100%; min-width: 0; }
input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--ore); margin: 0; }
.room-plate { background: var(--iron); color: var(--on-dark); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.plate { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; padding: 14px; border: 1px solid var(--hair-dark); border-top: 6px solid var(--stone); border-radius: 2px; align-content: start; }
.plate-caption { margin: -6px 0 0; font: 500 0.8125rem/1.35 var(--font-display); color: var(--on-dark-soft); }
.plate .cell { aspect-ratio: 5 / 3; border-radius: 2px; }
.plate .cell.now { background: var(--ore); }
.plate .cell.later { border: 2px dashed var(--aspen); }
.plate .cell.over { background: repeating-linear-gradient(135deg, var(--hatch) 0 4px, transparent 4px 8px); border: 2px solid var(--ore); }
.plate .cell.empty { border: 1px solid var(--hair-faint); }
.plate-key { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 500 0.8125rem/1.3 var(--font-display); color: var(--on-dark-soft); }
.key-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-right: 8px; }
.key { display: inline-block; width: 18px; height: 11px; border-radius: 2px; }
.key-now { background: var(--ore); }
.key-later { border: 2px dashed var(--aspen); }
.key-over { border: 2px solid var(--ore); background: repeating-linear-gradient(135deg, var(--hatch) 0 3px, transparent 3px 6px); }
.room-result { border-top: 1px solid var(--hair-dark); padding-top: 14px; }
.result-line { margin: 0 0 10px; font: 800 1.375rem/1.2 var(--font-display); color: var(--aspen); }
.result-math { margin: 0; display: grid; grid-template-columns: auto auto; gap: 4px 14px; font: 500 0.9375rem/1.35 var(--font-display); }
.result-math dt { color: var(--on-dark-soft); }
.result-math dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.result-note { margin: 12px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-soft); }
.room-plate :focus-visible { outline-color: var(--aspen); }

@media (max-width: 1020px) { .room-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .room-tool { grid-template-columns: minmax(0, 1fr); } .room-band { padding: var(--space-4) 0; } }

/* ------------------------------------------------------------ reading: trail rail + article */
.reading { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 720px); gap: var(--space-5); padding-top: var(--space-5); padding-bottom: var(--space-5); justify-content: center; }
.trail { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 124px); overflow: auto; }
.trail summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-weight: 700; font-size: 0.9375rem; cursor: default; pointer-events: none; }
.trail summary::-webkit-details-marker { display: none; }
.trail-count { font-weight: 500; color: var(--stone); font-size: 0.8125rem; }
.trail ol { list-style: none; margin: 6px 0 0; padding: 0 0 0 2px; position: relative; }
.trail ol::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; border-left: 2px dashed var(--line); }
.trail li a { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; min-height: 44px; color: var(--stone); text-decoration: none; font-family: var(--font-display); font-size: 0.875rem; line-height: 1.3; }
.trail-dot { width: 12px; height: 12px; margin-top: 2px; border-radius: 50%; background: var(--snow); border: 2px solid var(--stone); }
.trail li a:hover { color: var(--iron); }
.trail li a.is-here { color: var(--iron); font-weight: 700; }
.trail li a.is-here .trail-dot { background: var(--ore); border-color: var(--ore); }
.trail li a.is-past .trail-dot { background: var(--iron); border-color: var(--iron); }

.editorial { min-width: 0; background: var(--paper); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); }
.editorial > :first-child { margin-top: 0; }
.editorial h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.018em; margin: 1.9em 0 0.6em; padding-top: 0.8em; border-top: 2px solid var(--iron); }
.editorial h2:first-child { padding-top: 0; border-top: 0; }
.editorial h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin: 1.8em 0 0.5em; }
.editorial p, .editorial ul, .editorial ol { margin: 0 0 1em; }
.editorial ul, .editorial ol { padding-left: 1.3em; }
.editorial li { margin: 0.35em 0; }
.editorial li::marker { color: var(--ore); }
.editorial strong { font-weight: 700; }
.editorial .worked { margin: 1.6em 0; padding: 20px 24px; background: var(--sky); border-left: 6px solid var(--ore); border-radius: 0 var(--radius) var(--radius) 0; }
.editorial .worked > :last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 1.4em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll:focus-visible { outline-offset: 2px; }
.editorial table { border-collapse: collapse; width: 100%; min-width: 520px; font-family: var(--font-display); font-size: 0.9375rem; line-height: 1.4; }
.editorial th, .editorial td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.editorial thead th { background: var(--iron); color: var(--on-dark); font-weight: 700; }
.editorial tbody tr:last-child td { border-bottom: 0; }
.editorial tbody tr:nth-child(even) td { background: var(--snow); }

@media (max-width: 960px) {
  .reading { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding-top: var(--space-4); }
  .trail { position: static; max-height: none; overflow: visible; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; }
  .trail summary { pointer-events: auto; cursor: pointer; }
  .trail summary::after { content: "Show"; font-weight: 600; font-size: 0.875rem; color: var(--glacier); margin-left: 12px; }
  .trail[open] summary::after { content: "Hide"; }
  .trail summary .trail-count { margin-left: auto; }
  .trail ol { padding-bottom: 8px; }
}
@media (max-width: 480px) { .editorial { padding: 22px 18px; border-left: 0; border-right: 0; border-radius: 0; margin: 0 calc(-1 * var(--gutter)); } body { font-size: 1.125rem; } }

/* ------------------------------------------------------------ photo band + towns */
.photo-band { height: clamp(260px, 36vw, 480px); overflow: hidden; background: var(--iron); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.towns-band { padding: var(--space-5) 0; }
.towns-band h2, .next-band h2 { margin: 0 0 10px; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.section-note { margin: 0 0 var(--space-3); max-width: 44em; color: var(--stone); }
.town-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--iron); }
.town-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 260px) minmax(0, 1fr); gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--iron); text-decoration: none; min-height: 44px; }
.town-row:hover .town-name { color: var(--ore); }
.town-name { font: 800 1.375rem/1.15 var(--font-display); letter-spacing: -0.01em; }
.town-coop { font: 600 0.9375rem/1.3 var(--font-display); color: var(--stone); }
.town-topic { color: var(--glacier); text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 760px) { .town-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ------------------------------------------------------------ quote checklist */
.quote-band { background: var(--iron); color: var(--on-dark); padding: var(--space-5) 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: var(--space-4); align-items: start; }
.quote-intro h2 { margin: 0 0 14px; font-size: clamp(2rem, 3.6vw, 2.875rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.quote-intro p { margin: 0; color: var(--on-dark-soft); }
.quote-tool { background: var(--paper); color: var(--iron); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 6px; font-family: var(--font-display); font-size: 0.96875rem; line-height: 1.3; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ore); background: var(--snow); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--ore); flex: none; }
.quote-tool .btn { align-self: flex-start; }
.quote-result:empty { display: none; }
.quote-result { border-top: 2px solid var(--iron); padding-top: 16px; }
.quote-result h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; }
.quote-result h4 { margin: 14px 0 4px; font: 700 0.9375rem/1.3 var(--font-display); color: var(--stone); }
.quote-result ul { margin: 0; padding-left: 1.2em; font-size: 1.0625rem; }
.quote-result li::marker { color: var(--ore); }
.quote-result .sent { margin: 14px 0 0; font: 600 0.9375rem/1.4 var(--font-display); color: var(--stone); }
.quote-tool :focus-visible, .quote-band :focus-visible { outline-color: var(--aspen); }
.quote-tool :focus-visible { outline-color: var(--ore); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .quote-tool { padding: 18px 16px; } .quote-tool .btn { align-self: stretch; } }

/* ------------------------------------------------------------ town pages */
.placeholder { margin: var(--space-5) auto; max-width: 760px; background: var(--paper); border: 2px dashed var(--ore); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.placeholder h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.placeholder p:last-child { margin-bottom: 0; }
.next-band { background: var(--paper); border-top: 1px solid var(--line); padding: var(--space-5) 0; }
.next-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border: 2px dashed var(--iron); border-radius: var(--radius); color: var(--iron); text-decoration: none; min-height: 44px; }
.next-quote { border: 2px solid var(--ore); background: var(--ore); color: var(--on-dark); }
.next-name { font: 800 1.375rem/1.2 var(--font-display); }
.next-text { font-size: 1.0625rem; line-height: 1.45; }
.next:hover .next-name { text-decoration: underline; text-underline-offset: 0.16em; }
@media (max-width: 720px) { .next-list { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--iron); color: var(--on-dark-soft); padding: var(--space-4) 0 var(--space-5); border-top: 6px solid var(--ore); }
.page-home .site-footer { border-top-color: var(--iron-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.5fr); gap: var(--space-4); }
.site-footer .brand { color: var(--on-dark); }
.site-footer .wm-tomorrow { color: var(--on-dark-soft); }
.site-footer .mark, .site-footer .mark-later { color: var(--aspen); stroke: var(--aspen); }
.footer-brand p { margin: 12px 0 0; font-size: 1rem; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); font-family: var(--font-display); font-weight: 500; text-decoration: none; }
.footer-nav a[aria-current="page"] { color: var(--aspen); font-weight: 700; }
.footer-notes p { margin: 0 0 12px; font-size: 0.9375rem; line-height: 1.5; }
.site-footer a { color: var(--on-dark); }
.site-footer :focus-visible { outline-color: var(--aspen); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }
