/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 */
/* Brighter Day Solar v2 tokens. Every colour and family below is referenced by name in site.css. */
@font-face {
  font-family: "Gabarito";
  src: url("gabarito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("gelasio.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("gelasio-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colour */
  --pine: #17332A;          /* ink, dark bands */
  --pine-2: #22463A;        /* raised surface on pine */
  --pine-deep: #0F231C;     /* footer, below the pine quote band */
  --body: #2B3B35;          /* running text on light (11.2:1 on paper) */
  --muted: #51625B;         /* secondary text (6.1:1 on paper) */
  --paper: #F7FAFB;         /* page */
  --white: #FCFEFE;          /* tinted, not pure white */
  --sky: #E1EDF4;           /* tool and section surface */
  --sky-2: #CBDDE8;         /* deeper sky for fills */
  --link: #1C5A85;          /* links on paper/sky (6.9:1 on paper, 6.0:1 on sky) */
  --marigold: #F4B321;      /* CTA, sun (pine on marigold 8.0:1) */
  --marigold-press: #E2A00E;
  --marigold-soft: #FCE9B8;
  --rule: #C5D5DD;
  --on-pine: #F2F7F4;       /* text on pine (12.9:1) */
  --on-pine-muted: #BFD2C9; /* secondary text on pine (8.6:1) */
  --scrim: rgba(13, 34, 27, 0.86);
  --ghost-hover: rgba(255, 255, 255, 0.12);
  --scrim-0: rgba(13, 34, 27, 0);
  --focus: #F4B321;
  --focus-dark: #1C5A85;
  --pv-front: #1F3B5C;      /* panels on the first-choice slope */
  --pv-rear: #F4B321;       /* panels moved by the HOA */
  --roof-front: #8A969C;
  --roof-rear: #A3AEB3;
  --lawn: #CFE0C9;
  --street: #5C6870;

  /* Type */
  --font-display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Gelasio", Georgia, "Times New Roman", serif;

  /* Space and shape */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-pill: 999px;
  --shadow-ruler: 0 18px 40px -18px rgba(13, 34, 27, 0.45);
}

/* Brighter Day Solar v2 site styles (tokens.css is prepended at build time). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, legend, .btn, label, summary { font-family: var(--font-display); font-style: normal; }
h1, h2, h3 { color: var(--pine); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }

/* ---------- skip, concept strip, masthead */
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--marigold); color: var(--pine); padding: 12px 16px;
  font-family: var(--font-display); font-weight: 700; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }
.concept {
  margin: 0; background: var(--pine); color: var(--on-pine-muted);
  font-family: var(--font-display); font-size: 0.875rem; line-height: 1.4; padding: 8px 0;
}
.concept .wrap { display: block; }
.masthead { background: var(--white); border-bottom: 1px solid var(--rule); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); text-decoration: none; min-height: 44px; }
.mark { width: 40px; height: 32px; flex: none; }
.mark-sun { fill: var(--marigold); }
.mark-ray { stroke: var(--marigold); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.mark-roof { stroke: currentColor; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.wordmark { display: flex; flex-direction: column; font-family: var(--font-display); line-height: 1; }
.wordmark b { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.015em; }
.wordmark span { font-weight: 500; font-size: 0.875rem; margin-top: 3px; color: var(--muted); letter-spacing: 0.01em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--pine); text-decoration: none; border-radius: var(--radius-s);
}
.nav-link:hover { background: var(--sky); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-sun { background: var(--marigold); color: var(--pine); border-color: var(--marigold); }
.btn-sun:hover { background: var(--marigold-press); border-color: var(--marigold-press); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--on-pine); }
.btn-ghost:hover { background: var(--ghost-hover); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1.0625rem; }
.btn:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 3px; }
.hero .btn:focus-visible, .quote .btn:focus-visible { outline-color: var(--white); }

.town-nav { border-top: 1px solid var(--rule); background: var(--paper); }
.town-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 4px; }
.town-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--body); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.town-nav a:hover { color: var(--pine); border-bottom-color: var(--rule); }
.town-nav a[aria-current="page"] { color: var(--pine); font-weight: 700; border-bottom-color: var(--marigold); }
.town-nav li:first-child a { padding-left: 0; }

/* ---------- hero: text set straight on the photo */
.hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--pine); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; z-index: -2; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim) 34%, var(--scrim-0) 78%),
              linear-gradient(0deg, var(--scrim) 0%, var(--scrim-0) 38%);
}
.hero-inner { display: flex; align-items: flex-end; min-height: 620px; padding-top: 44px; padding-bottom: 116px; }
.hero-town .hero-inner { min-height: 520px; padding-bottom: 112px; }
.hero-copy { max-width: 700px; }
.kicker { margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--marigold); }
.hero h1 { color: var(--white); margin: 0 0 18px; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.hero .h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.04; }
.hero .h1-long { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1.08; }
.hero .lead { margin: 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--on-pine); max-width: 64ch; }
.hero .lead a { color: var(--white); }
.proposition { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.proposition li { display: flex; gap: 10px; align-items: baseline; }
.proposition li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); transform: translateY(-1px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* ---------- journey ruler: overlaps the photo edge */
.journey { position: relative; z-index: 2; margin-top: -72px; }
@media (min-width: 1000px) {
  /* Desktop: proposition on one line and a shorter home hero, so the journey ruler's stops sit inside a 900px fold. */
  .hero-copy { max-width: 780px; }
  .proposition { display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 6px; }
  .hero-home .hero-inner { min-height: 0; padding-top: 48px; padding-bottom: 108px; }
}
.journey-card { background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-ruler); padding: 26px 28px 22px; border-top: 5px solid var(--marigold); }
.journey-title { margin: 0 0 20px; font-size: 1.25rem; font-weight: 700; }
.journey-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); counter-reset: stop; position: relative; }
.journey-list::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: var(--rule); }
.journey-list li { position: relative; counter-increment: stop; padding-right: 12px; font-size: 0.9375rem; line-height: 1.4; }
.stop-dot { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pine); color: var(--white); margin-bottom: 12px; }
.stop-dot::after { content: counter(stop); font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; }
.journey-list li:last-child .stop-dot { background: var(--marigold); color: var(--pine); }
.journey-list b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--pine); font-size: 1rem; margin-bottom: 2px; }
.journey-list span:not(.stop-dot) { color: var(--muted); }
.journey-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--muted); }

/* ---------- placement check */
.placement { background: var(--sky); margin-top: 64px; padding: 72px 0; }
.placement-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); grid-template-areas: "intro intro" "figure tool" "note note"; gap: 28px 48px; }
.placement-intro { grid-area: intro; max-width: 760px; }
.placement-intro h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 800; }
.placement-intro p { margin: 0; }
.legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--font-display); font-size: 0.9375rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 14px; border-radius: 2px; }
.sw-front { background: var(--pv-front); }
.sw-rear { background: var(--pv-rear); }
.placement-figure { grid-area: figure; margin: 0; align-self: start; }
.roof-plan { width: 100%; height: auto; border-radius: var(--radius-m); background: var(--lawn); }
.roof-plan .lawn { fill: var(--lawn); }
.roof-plan .rear-face { fill: var(--roof-rear); }
.roof-plan .front-face { fill: var(--roof-front); }
.roof-plan .ridge { stroke: var(--pine); stroke-width: 3; }
.roof-plan .street { fill: var(--street); }
.roof-plan .curb { stroke: var(--white); stroke-width: 3; stroke-dasharray: 18 12; }
.roof-plan .svg-label { fill: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.roof-plan .svg-small { fill: var(--pine); font-size: 15px; }
.pv { transition: opacity 0.25s ease, fill 0.25s ease; }
.pv.front { fill: var(--pv-front); }
.pv.front.gone { fill: none; stroke: var(--pv-front); stroke-width: 1.5; stroke-dasharray: 4 3; opacity: 0.55; }
.pv.rear { fill: var(--pv-rear); opacity: 0; }
.pv.rear.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pv { transition: none; } }
.placement-tool { grid-area: tool; background: var(--white); border-radius: var(--radius-m); padding: 24px; display: grid; gap: 18px; align-self: start; }
.field { display: grid; gap: 6px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; color: var(--pine); font-size: 1rem; }
.field small { font-weight: 500; color: var(--muted); font-size: 0.875rem; }
.field output { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--pine); }
input[type="number"], select {
  width: 100%; min-height: 48px; padding: 8px 12px; border: 2px solid var(--rule); border-radius: var(--radius-s);
  background: var(--white); color: var(--pine); font-family: var(--font-display); font-size: 1.0625rem;
}
input[type="number"]:focus-visible, select:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 1px; border-color: var(--pine); }
input[type="range"] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--pine); background: transparent; }
input[type="range"]:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 2px; }
.pc-result { background: var(--pine); color: var(--on-pine); border-radius: var(--radius-s); padding: 18px 20px; }
.pc-result p { margin: 0; }
.pc-label { font-family: var(--font-display); font-size: 0.875rem; color: var(--marigold); font-weight: 600; }
.pc-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); color: var(--white); line-height: 1.15; margin-top: 4px !important; font-variant-numeric: tabular-nums; }
.pc-line { font-size: 1rem; color: var(--on-pine-muted); }
.pc-money { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); margin-top: 10px !important; }
.pc-math { font-size: 0.875rem; color: var(--on-pine-muted); margin-top: 6px !important; }
.placement-note { grid-area: note; margin: 0; font-size: 0.9375rem; color: var(--muted); max-width: 90ch; }

/* ---------- reading column */
.reading { display: grid; grid-template-columns: 250px minmax(0, var(--measure)); gap: 56px; padding-top: 72px; padding-bottom: 80px; justify-content: center; }
.reading-single { grid-template-columns: minmax(0, var(--measure)); }
.page-town .reading { padding-top: 64px; }
.toc-col { position: relative; }
.toc { position: sticky; top: 20px; }
.toc summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--pine); font-size: 1rem; border-bottom: 2px solid var(--pine);
}
.toc summary::-webkit-details-marker { display: none; }
.toc-count { font-weight: 500; color: var(--muted); font-size: 0.875rem; }
.toc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.toc a {
  display: block; padding: 9px 0 9px 12px; min-height: 44px; border-left: 3px solid transparent;
  font-family: var(--font-display); font-size: 0.9375rem; line-height: 1.35; color: var(--body); text-decoration: none;
}
.toc a:hover { color: var(--pine); border-left-color: var(--rule); }
.toc a.is-current { color: var(--pine); font-weight: 700; border-left-color: var(--marigold); }

.editorial { min-width: 0; }
.editorial > :first-child { margin-top: 0; }
.editorial h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); font-weight: 800; margin: 2.4em 0 0.6em; scroll-margin-top: 20px; text-wrap: balance; }
.editorial h3 { font-size: 1.3125rem; font-weight: 700; margin: 1.8em 0 0.5em; scroll-margin-top: 20px; }
.editorial p, .editorial ul, .editorial ol { margin: 0 0 1.1em; }
.editorial ul, .editorial ol { padding-left: 1.3em; }
.editorial li { margin-bottom: 0.45em; }
.editorial li::marker { color: var(--muted); }
.editorial strong { color: var(--pine); }
.editorial .worked {
  margin: 1.6em 0; padding: 22px 24px; background: var(--sky); border: 1px solid var(--sky-2);
  border-radius: var(--radius-m);
}
.editorial .worked > :last-child { margin-bottom: 0; }
.table-scroll { margin: 1.4em 0 1.6em; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--white); }
.table-scroll:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 2px; }
.editorial table { border-collapse: collapse; width: 100%; font-size: 0.9688rem; line-height: 1.5; min-width: 520px; }
.editorial th, .editorial td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.editorial thead th { font-family: var(--font-display); font-weight: 700; color: var(--pine); background: var(--sky); }
.editorial tbody tr:last-child td { border-bottom: 0; }

/* ---------- town guides (home) */
.towns { padding: 80px 0; background: var(--white); border-top: 1px solid var(--rule); }
.towns-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.towns h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 800; }
.section-note { margin: 0 0 24px; color: var(--muted); font-size: 1rem; max-width: 62ch; }
.town-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--pine); }
.town-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding: 18px 4px; min-height: 44px;
  border-bottom: 1px solid var(--rule); color: var(--body); text-decoration: none;
}
.town-row:hover { background: var(--paper); }
.town-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--pine); line-height: 1.1; grid-row: span 2; }
.town-topic { font-size: 1.0625rem; line-height: 1.45; color: var(--pine); }
.town-row:hover .town-topic { text-decoration: underline; text-underline-offset: 0.18em; }
.town-status { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--marigold-soft); color: var(--pine); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; vertical-align: 2px; }
.town-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--font-display); font-size: 0.875rem; color: var(--muted); }
.towns-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; border-radius: var(--radius-m); }

/* ---------- quote checklist */
.quote { background: var(--pine); color: var(--on-pine); padding: 88px 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.quote h2 { color: var(--white); margin: 0 0 14px; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; }
.quote-intro p { margin: 0 0 14px; }
.quote-private { font-family: var(--font-display); font-weight: 600; color: var(--marigold); }
.quote-sheet { background: var(--white); color: var(--body); border-radius: var(--radius-m); padding: 28px; display: grid; gap: 20px; }
.quote-sheet .field label { color: var(--pine); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; color: var(--pine); font-size: 1rem; margin-bottom: 8px; padding: 0; }
.choices { display: grid; gap: 6px; }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s);
  font-family: var(--font-display); font-size: 1rem; line-height: 1.3; color: var(--body); cursor: pointer;
}
.choice:hover { border-color: var(--pine); }
.choice:has(input:checked) { border-color: var(--pine); background: var(--sky); }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--pine); }
.choice input:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 2px; }
.quote-sheet .btn { justify-self: start; }
.quote-sheet .btn:focus-visible { outline-color: var(--focus-dark); }
.quote-result:empty { display: none; }
.quote-result { border-top: 2px solid var(--pine); padding-top: 18px; }
.quote-result:focus { outline: none; }
.quote-result h3 { margin: 0 0 10px; font-size: 1.375rem; }
.quote-result ol { margin: 0 0 14px; padding-left: 1.4em; }
.quote-result li { margin-bottom: 0.5em; line-height: 1.55; }
.quote-result .sent { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: 0.9375rem; }
.hint { margin: 0; color: var(--muted); }

/* ---------- town pages */
.placeholder { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--marigold); border-radius: var(--radius-m); padding: 28px; }
.placeholder h2 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 800; }
.placeholder p:last-child { margin-bottom: 0; }
.next { background: var(--sky); padding: 72px 0; }
.next h2 { margin: 0 0 24px; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 800; }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.next-card {
  display: grid; gap: 8px; height: 100%; padding: 24px; border-radius: var(--radius-m); background: var(--white);
  color: var(--body); text-decoration: none; border: 2px solid transparent;
}
.next-card:hover { border-color: var(--pine); }
.next-quote { background: var(--pine); color: var(--on-pine); }
.next-name { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--pine); line-height: 1.2; }
.next-quote .next-name { color: var(--white); }
.next-text { font-size: 1rem; }
.next-action { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; background: var(--pine); color: var(--white); white-space: nowrap; }
.next-quote .next-action { background: var(--marigold); color: var(--pine); }
.next-card:focus-visible { outline: 3px solid var(--focus-dark); outline-offset: 3px; }

/* ---------- footer */
.site-footer { background: var(--pine-deep); color: var(--on-pine-muted); padding: 56px 0 64px; font-size: 0.9375rem; line-height: 1.6; border-top: 1px solid var(--pine-2); }
.page-home .site-footer { border-top-color: var(--pine-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 40px; }
.site-footer .brand { color: var(--white); }
.site-footer .wordmark span { color: var(--on-pine-muted); }
.footer-brand p { margin: 14px 0 0; max-width: 36ch; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-pine); font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--marigold); }
.footer-notes p { margin: 0 0 12px; }
.footer-notes strong { color: var(--white); }
.site-footer a { color: var(--on-pine); }
.site-footer :focus-visible { outline-color: var(--focus); }

/* ---------- responsive */
@media (max-width: 1100px) {
  .journey-list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .journey-list::before { display: none; }
}
@media (max-width: 999px) {
  .reading { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 56px; }
  .toc { position: static; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 0 16px; }
  .toc summary { border-bottom: 0; }
  .toc[open] summary { border-bottom: 1px solid var(--rule); }
  .toc ul { margin-bottom: 8px; }
  .placement-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "figure" "tool" "note"; }
  .towns-grid, .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .towns-photo { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-notes { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-extra { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  /* Phones: the photo becomes a band above the text, so the house stays visible instead of sky behind copy. */
  .hero { display: flex; flex-direction: column; }
  .hero-img { position: relative; inset: auto; z-index: auto; height: auto; aspect-ratio: 3 / 2; object-position: 50% 55%; }
  .hero-scrim { display: none; }
  .hero-inner, .hero-town .hero-inner { min-height: 0; padding-top: 28px; padding-bottom: 96px; }
  .journey { margin-top: -56px; }
  .journey-card { padding: 22px 18px 18px; }
  .journey-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .journey-list::before { display: block; left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .journey-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 0 0 14px; }
  .stop-dot { grid-row: span 2; margin: 0; }
  .placement { margin-top: 48px; padding: 56px 0; }
  .placement-tool, .quote-sheet { padding: 20px 16px; }
  .town-row { grid-template-columns: minmax(0, 1fr); }
  .town-name { grid-row: auto; }
  .next-list { grid-template-columns: minmax(0, 1fr); }
  .quote { padding: 64px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .masthead-row { gap: 8px; }
  .mark { width: 34px; height: 27px; }
  .wordmark b { font-size: 1.125rem; }
  .masthead .btn { padding: 0 14px; font-size: 0.9375rem; }
  .town-nav ul { column-gap: 0; }
  .town-nav a { padding: 0 7px; font-size: 0.8125rem; }
}
@media (max-width: 340px) {
  .wordmark b { font-size: 1rem; }
  .masthead .btn { padding: 0 11px; font-size: 0.875rem; }
}
