/* Hallmark · macrostructure: bespoke (parapet band hero → working tool → long guide with right rail → town routes → quote band) · theme: custom tuned, adobe blush + red earth + turquoise · Zilla Slab / Figtree */
/* Lobo Solar v2 · private website concept. Tokens first; every colour and family below references one. */
@font-face {
  font-family: "Zilla Slab";
  src: url("zillaslab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-paper: #F4ECE5;
  --color-paper-hi: #FAF5F0;
  --color-surface: #E9DCD1;
  --color-line: #CDB9AA;
  --color-ink: #22150F;
  --color-body: #3A2B23;
  --color-muted: #66534A;
  --color-link: #0A5E56;
  --color-band: #3F1D13;
  --color-band-raised: #55291C;
  --color-band-line: #74402F;
  --color-on-band: #FBF1E8;
  --color-on-band-muted: #E0C6B6;
  --color-turq: #3BBFAF;
  --color-turq-hover: #5ED0C2;
  --color-turq-ink: #0B2422;
  --color-turq-light: #8FE6DA;
  --color-ok: #DCEDE5;
  --color-ok-edge: #2E7D6B;
  --color-stop: #F6D9CF;
  --color-stop-edge: #A23B22;
  --color-ask: #EFE4C9;
  --color-ask-edge: #8A6A1E;
  --color-meter: #D8C7BA;

  --font-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 76rem;
  --gutter: 1rem;
  --radius: 4px;
  --step: clamp(1.5rem, 3vw, 2.75rem);
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "lnum";
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  color: var(--color-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}
a { color: var(--color-link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--color-link); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 50;
  background: var(--color-band); color: var(--color-on-band); padding: 0.75rem 1rem; font-weight: 700;
  min-height: 44px; display: inline-flex; align-items: center;
}
.skip:focus { top: 0.5rem; outline-color: var(--color-turq-light); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.5rem 1.1rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; border-radius: var(--radius); cursor: pointer;
}
.btn-quote {
  background: var(--color-turq); color: var(--color-turq-ink);
  border: 2px solid var(--color-turq-ink);
}
.btn-quote:hover { background: var(--color-turq-hover); }
.btn-quote:active { background: var(--color-turq-light); }
.btn-lg { min-height: 52px; padding: 0.7rem 1.5rem; font-size: 1.0625rem; }

/* Header ----------------------------------------------------------------- */
.masthead { background: var(--color-paper-hi); border-bottom: 1px solid var(--color-line); position: relative; z-index: 5; }
.masthead-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem 1.5rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  color: var(--color-ink); text-decoration: none;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; white-space: nowrap; }
.mark { flex: none; }
.mark-wall { fill: var(--color-band); }
.mark-canale { fill: var(--color-band); }
.mark-panel { fill: var(--color-turq); }
.town-nav ul, .main-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; }
.town-nav ul { display: flex; gap: 0.25rem; justify-content: center; }
.town-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  color: var(--color-body); text-decoration: none; font-weight: 600; font-size: 0.975rem; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.town-nav a:hover { color: var(--color-ink); border-bottom-color: var(--color-line); }
.town-nav a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-band); }
.main-nav ul { display: flex; align-items: center; gap: 1rem; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--color-link); white-space: nowrap; }

@media (max-width: 71.99rem) {
  .masthead-row { grid-template-columns: auto auto; justify-content: space-between; padding-top: 0.4rem; }
  .town-nav { grid-column: 1 / -1; grid-row: 2; margin: 0 calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; }
  .town-nav::-webkit-scrollbar { display: none; }
  .town-nav ul { justify-content: flex-start; width: max-content; padding: 0 calc(var(--gutter) - 0.7rem); }
}
@media (max-width: 40rem) {
  .nav-check { display: none; }
  .brand-name { font-size: 1.3rem; }
  .masthead .btn-quote { padding: 0.5rem 0.8rem; font-size: 0.95rem; }
}
@media (max-width: 23rem) {
  .masthead .mark { display: none; }
  .masthead-row { gap: 0.5rem; }
}

/* Hero: photo above, red-earth band rising into it with a stepped parapet edge */
.hero { position: relative; background: var(--color-band); }
.hero-photo { height: clamp(11rem, 30vh, 26rem); overflow: hidden; background: var(--color-surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.band { position: relative; background: var(--color-band); color: var(--color-on-band); padding: 0 0 var(--step); }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(2.25rem, 5.5vw, 4.75rem);
  background: var(--color-band);
  clip-path: polygon(0 100%, 0 58%, 7% 58%, 7% 30%, 16% 30%, 16% 58%, 38% 58%, 38% 12%, 43% 12%, 43% 0, 50% 0, 50% 12%, 55% 12%, 55% 58%, 79% 58%, 79% 24%, 90% 24%, 90% 58%, 100% 58%, 100% 100%);
}
.band-grid {
  display: grid; gap: 1.5rem 3rem; position: relative;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 0.75rem;
}
@media (min-width: 48rem) { .hero-photo { height: clamp(14rem, 42vh, 26rem); } }
@media (min-width: 60rem) {
  .band-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
  .band-side { padding-top: 2.4rem; grid-column: 2; grid-row: 1 / span 2; }
  .band-main { grid-column: 1; grid-row: 1; }
  .band-grid > .concept { grid-column: 1; grid-row: 2; margin-top: 0; }
}
.kicker { margin: 0 0 0.5rem; font-weight: 700; color: var(--color-turq-light); font-size: 1rem; }
.hero h1 {
  color: var(--color-on-band); margin: 0 0 1rem;
  font-size: clamp(2rem, 1.2rem + 3.1vw, 3.5rem); line-height: 1.04; letter-spacing: -0.012em;
  max-width: 21ch;
}
.hero .lead { margin: 0; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; max-width: 58ch; color: var(--color-on-band); }
.hero .lead a { color: var(--color-turq-light); }
.concept { margin: 0; font-size: 0.9rem; color: var(--color-on-band-muted); max-width: 60ch; }
.props { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--color-band-line); }
.props li {
  position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--color-band-line);
  font-weight: 600; color: var(--color-on-band);
}
.props li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.85rem; height: 0.55rem;
  background: var(--color-turq);
  clip-path: polygon(0 100%, 0 40%, 30% 40%, 30% 0, 70% 0, 70% 40%, 100% 40%, 100% 100%);
}
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 0; }
.band-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-turq-light); font-weight: 600; white-space: nowrap; }
.band :focus-visible, .quote-band :focus-visible, .close-band :focus-visible, .site-footer :focus-visible { outline-color: var(--color-turq-light); }

/* Flat-roof check ----------------------------------------------------------- */
.check-band { padding: calc(var(--step) * 1.4) 0 var(--step); border-bottom: 1px solid var(--color-line); }
.check-head { max-width: 46rem; margin-bottom: 1.75rem; }
.check-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.12; margin: 0 0 0.6rem; }
.check-head p { margin: 0; }
.check-grid { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .check-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin: 0 0 1rem; min-width: 0; border: 0; padding: 0; }
.field label, .field legend { font-weight: 700; color: var(--color-ink); font-size: 0.975rem; padding: 0; }
.unit { font-weight: 500; color: var(--color-muted); }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
input[type="number"], select {
  font: inherit; font-size: 1rem; color: var(--color-ink); min-height: 48px; width: 100%;
  padding: 0.5rem 0.7rem; background: var(--color-paper-hi); border: 2px solid var(--color-muted); border-radius: var(--radius);
}
input[type="number"]:focus-visible, select:focus-visible { outline-offset: 1px; }
input[type="number"]:hover, select:hover { border-color: var(--color-ink); }
input::placeholder { color: var(--color-muted); opacity: 1; }
input:disabled, select:disabled { background: var(--color-surface); border-color: var(--color-line); color: var(--color-muted); cursor: not-allowed; }
.mount-set { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
.mount-set legend { margin-bottom: 0.3rem; width: 100%; }
.field .choice {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 48px; padding: 0.4rem 1.1rem 0.4rem 0.9rem;
  border: 2px solid var(--color-line); border-radius: var(--radius); background: var(--color-paper-hi);
  font-weight: 600 !important; color: var(--color-ink); cursor: pointer;
}
.field .choice:has(input:checked) { border-color: var(--color-band); background: var(--color-surface); }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--color-band); margin: 0; }
.price-part { border-top: 1px solid var(--color-line); padding-top: 0.5rem; margin-top: 0.25rem; }
.price-part summary {
  min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; color: var(--color-link);
}
.price-part[open] summary { margin-bottom: 0.5rem; }
.note { font-size: 0.9rem; color: var(--color-muted); margin: 0.5rem 0 0; }
.check-out { display: flex; flex-direction: column; gap: 1rem; }
.gauge { background: var(--color-paper-hi); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1rem 1.1rem 0.8rem; }
.gauge-label { margin: 0; font-weight: 700; color: var(--color-muted); font-size: 0.95rem; }
.gauge-figure { margin: 0.1rem 0 0.6rem; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.meter { position: relative; height: 0.85rem; background: var(--color-meter); border-radius: 2px; overflow: visible; }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--color-ok-edge); border-radius: 2px; }
.gauge[data-over="true"] .meter-fill { background: var(--color-stop-edge); }
.gauge[data-off="true"] .meter-fill { width: 0 !important; }
.gauge[data-off="true"] .gauge-figure { color: var(--color-muted); }
.meter-line { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 3px; margin-left: -1.5px; background: var(--color-ink); }
.gauge-scale { display: flex; justify-content: space-between; margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--color-muted); }
.verdict { border: 1px solid var(--color-ok-edge); border-top-width: 5px; background: var(--color-ok); padding: 0.9rem 1.1rem; border-radius: var(--radius); }
.verdict[data-state="stop"] { border-color: var(--color-stop-edge); background: var(--color-stop); }
.verdict[data-state="ask"] { border-color: var(--color-ask-edge); background: var(--color-ask); }
.verdict-head { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; color: var(--color-ink); }
.verdict-text { margin: 0.3rem 0 0; }
.verdict-list { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.verdict-list li { margin: 0.2rem 0; }
.verdict-price { margin: 0.6rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--color-line); font-weight: 600; }

/* Town strip (town pages) ------------------------------------------------------ */
.town-strip { border-bottom: 1px solid var(--color-line); padding: 1.5rem 0 1.25rem; background: var(--color-paper-hi); }
.facts { display: grid; gap: 0.75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin: 0; }
.facts dt { font-weight: 700; color: var(--color-muted); font-size: 0.9rem; }
.facts dd { margin: 0.1rem 0 0; color: var(--color-ink); font-weight: 600; }
.strip-tool { margin: 0.75rem 0 0; }
.strip-tool a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Reading: article left, sticky section rail right --------------------------- */
.reading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 3.5rem; padding-top: calc(var(--step) * 1.2); padding-bottom: calc(var(--step) * 1.5); }
@media (min-width: 64rem) {
  .reading { grid-template-columns: minmax(0, 68ch) minmax(0, 17rem); justify-content: space-between; }
  .reading .toc { grid-column: 2; grid-row: 1; }
  .reading .editorial { grid-column: 1; grid-row: 1; }
}
.reading-solo { display: block; }
.toc {
  position: sticky; top: 0; z-index: 3; align-self: start; background: var(--color-paper);
  border-bottom: 1px solid var(--color-line); margin: 0 calc(var(--gutter) * -1) 1.5rem; padding: 0 var(--gutter);
}
.toc summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 48px; cursor: pointer;
  font-weight: 700; color: var(--color-ink); list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); transform: rotate(45deg) translateY(-3px); margin-left: 0.75rem; }
.toc[open] summary::after { transform: rotate(-135deg); }
.toc-count { margin-left: auto; font-weight: 500; color: var(--color-muted); font-size: 0.9rem; }
.toc ul { list-style: none; margin: 0 0 0.75rem; padding: 0; max-height: 60vh; overflow-y: auto; }
.toc li a {
  display: flex; align-items: center; min-height: 44px; padding: 0.35rem 0 0.35rem 0.85rem; line-height: 1.3;
  color: var(--color-body); text-decoration: none; border-left: 3px solid var(--color-line); font-size: 0.95rem;
}
.toc li a:hover { color: var(--color-ink); border-left-color: var(--color-muted); }
.toc li a[aria-current="true"] { color: var(--color-ink); font-weight: 700; border-left-color: var(--color-band); }
@media (min-width: 64rem) {
  .toc { top: 1.5rem; margin: 0.4rem 0 0; padding: 0; border: 0; background: transparent; }
  .toc summary { cursor: default; pointer-events: none; min-height: 0; margin-bottom: 0.6rem; }
  .toc summary::after { display: none; }
  .toc ul { max-height: calc(100vh - 6rem); }
}

/* Editorial prose ----------------------------------------------------------------- */
.editorial { font-size: 1.125rem; }
.editorial > :first-child { margin-top: 0; }
.editorial h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); line-height: 1.15; margin: 2.8em 0 0.6em;
  padding-top: 1.1rem; border-top: 3px solid var(--color-band);
}
.editorial h2:first-child { margin-top: 0; }
.editorial h3 { font-size: 1.3rem; line-height: 1.25; margin: 1.8em 0 0.5em; }
.editorial p, .editorial ul, .editorial ol { margin: 0 0 1em; }
.editorial li { margin: 0.3em 0; }
.editorial li::marker { color: var(--color-muted); }
.editorial strong { color: var(--color-ink); }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-paper-hi); }
.table-scroll:focus-visible { outline-offset: 2px; }
.table-scroll {
  background:
    linear-gradient(to right, var(--color-paper-hi) 30%, transparent) left / 2rem 100% no-repeat local,
    linear-gradient(to left, var(--color-paper-hi) 30%, transparent) right / 2rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(60, 30, 20, 0.22), transparent) left / 0.75rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(60, 30, 20, 0.22), transparent) right / 0.75rem 100% no-repeat scroll,
    var(--color-paper-hi);
}
.editorial table { border-collapse: collapse; width: 100%; min-width: 0; font-size: 0.9375rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.table-wide table { min-width: 34rem; }
.editorial tbody td { background: transparent; }
.editorial th, .editorial td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--color-line); }
.editorial thead th { background: var(--color-band); color: var(--color-on-band); font-weight: 700; }
.editorial tbody tr:last-child td { border-bottom: 0; }
.editorial td:first-child { font-weight: 600; color: var(--color-ink); }
.worked {
  margin: 1.75rem 0; padding: 1.1rem 1.25rem; background: var(--color-paper-hi);
  border: 2px dashed var(--color-band-line); border-radius: var(--radius); font-size: 1.05rem;
}
.worked p:last-child { margin-bottom: 0; }

/* Placeholder (town guide in preparation) ------------------------------------------ */
.placeholder { max-width: 46rem; padding: calc(var(--step) * 1.4) 0; }
.placeholder h2 { font-size: 1.8rem; margin: 0 0 0.6rem; }
.placeholder a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Town guides (home) --------------------------------------------------------------- */
.town-guides { padding: calc(var(--step) * 1.4) 0 calc(var(--step) * 2); border-top: 1px solid var(--color-line); }
.section-head { max-width: 48rem; margin-bottom: 1.75rem; }
.section-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.12; margin: 0 0 0.5rem; }
.section-note { margin: 0; color: var(--color-muted); }
.town-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.town-list a {
  display: flex; flex-direction: column; gap: 0.4rem; height: 100%; padding: 1.1rem 1.1rem 1.2rem;
  text-decoration: none; color: var(--color-body); background: var(--color-paper-hi);
  border: 1px solid var(--color-line); border-top: 6px solid var(--color-band); border-radius: var(--radius);
}
.town-list a:hover { border-color: var(--color-muted); border-top-color: var(--color-band); }
.town-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--color-line); }
.town-list a:hover .town-name { text-decoration-color: var(--color-ink); }
.town-dist { font-weight: 700; color: var(--color-muted); font-size: 0.9rem; }
.town-topic { color: var(--color-ink); font-weight: 600; line-height: 1.35; }
.town-meta { color: var(--color-muted); font-size: 0.925rem; line-height: 1.45; margin-top: auto; padding-top: 0.4rem; }

/* Quote band and town close: red-earth, stepped top edge ------------------------------- */
.quote-band, .close-band { position: relative; background: var(--color-band); color: var(--color-on-band); padding: calc(var(--step) * 1.5) 0 calc(var(--step) * 1.6); margin-top: 2.5rem; }
.quote-band::before, .close-band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 1.75rem; background: var(--color-band);
  clip-path: polygon(0 100%, 0 55%, 22% 55%, 22% 0, 29% 0, 29% 55%, 63% 55%, 63% 20%, 74% 20%, 74% 55%, 100% 55%, 100% 100%);
}
.quote-band h2, .close-band h2 { color: var(--color-on-band); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; margin: 0 0 0.6rem; }
.quote-band p, .close-band p { color: var(--color-on-band); }
.quote-grid { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .quote-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.quote-intro p { margin: 0; max-width: 46ch; }
.quote-tool { background: var(--color-band-raised); padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--color-band-line); }
.quote-tool label { color: var(--color-on-band); }
.quote-tool select { background: var(--color-paper-hi); border-color: var(--color-paper-hi); }
.quote-tool .btn { margin-top: 0.25rem; }
.quote-result:not(:empty) { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--color-band-line); }
.quote-result h3 { color: var(--color-on-band); font-size: 1.3rem; margin: 0 0 0.5rem; }
.quote-result ol { margin: 0; padding-left: 1.4rem; }
.quote-result li { margin: 0.4rem 0; }
.quote-result .note { color: var(--color-on-band-muted); }
.close-grid > * { max-width: 48rem; }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.25rem 0 0; }

/* Footer -------------------------------------------------------------------------------- */
.site-footer { background: var(--color-band); color: var(--color-on-band-muted); padding: 2.5rem 0 3rem; border-top: 1px solid var(--color-band-line); font-size: 0.95rem; }
.page-town .site-footer, .page-home .site-footer { margin-top: 0; }
.footer-grid { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); } }
.site-footer .brand { color: var(--color-on-band); }
.site-footer .mark-wall { fill: var(--color-on-band); }
.site-footer .mark-canale { fill: var(--color-on-band-muted); }
.site-footer p { margin: 0.6rem 0 0; }
.site-footer strong { color: var(--color-on-band); }
.site-footer a { color: var(--color-turq-light); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-band); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--color-turq-light); text-decoration: underline; text-decoration-thickness: 2px; }

@media print {
  .masthead, .hero-photo, .toc, .site-footer, .check-band, .quote-band::before, .band::before { display: none; }
  body, .band, .quote-band { background: var(--color-paper-hi); color: var(--color-ink); }
}
