/* Hunter Valley Garage Doors — High Tensile system.
   Palette + type per brand-kit/brand-kit.md (tokens verbatim). The whole layout
   language is the long horizontal: strained-wire hairlines, wide-set type, span seams.
   Berry is ONE strike per viewport (urgent repair only, never a field). */

/* ── Fonts (self-hosted, node-perf) ─────────────────────────────────────── */
@font-face {
  font-family: "Anek Latin";
  src: url("/assets/fonts/anek-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Radio Canada";
  src: url("/assets/fonts/radio-canada-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Radio Canada";
  src: url("/assets/fonts/radio-canada-italic-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ── Tokens (brand-kit :root verbatim) ──────────────────────────────────── */
:root {
  --ink:          oklch(28.4% 0.039 346);
  --ink-soft:     oklch(45.5% 0.030 346);
  --paper:        oklch(98.0% 0.006 85);
  --limestone:    oklch(94.0% 0.009 88);
  --plum-deep:    oklch(22.5% 0.030 346);
  --cane:         oklch(35.0% 0.078 348);
  --cane-deep:    oklch(28.5% 0.058 347);
  --berry:        oklch(46.5% 0.118 358);
  --berry-deep:   oklch(40.0% 0.105 356);
  --berry-bright: oklch(64.0% 0.125 357);
  --zinc:         oklch(75.9% 0.015 245);
  --zinc-deep:    oklch(60.2% 0.016 245);
  --wire:         oklch(88.0% 0.008 240);

  --font-display: "Anek Latin", "Arial", sans-serif;
  --font-body: "Radio Canada", "Segoe UI", "Helvetica Neue", sans-serif;

  --wrap: 71rem;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --band-y: clamp(3.25rem, 7vw, 5.5rem);
  --ease: cubic-bezier(.33, .8, .3, 1);
}

/* ── Reset + base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* kernel gotcha: keep before any display rules */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 650;
  line-height: 1.1;
  margin: 0 0 .6em;
  letter-spacing: .002em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.1em; }
a { color: var(--cane); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .16s var(--ease); }
a:hover { color: var(--cane-deep); }
strong { font-weight: 600; }
small { color: var(--ink-soft); }
::placeholder { color: oklch(45.5% 0.030 346 / .35); }
::selection { background: var(--cane); color: var(--paper); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
}
.skip:focus { left: 0; }

/* Kicker — the small wide label above headings */
.kicker {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
  color: var(--cane);
  display: block;
  margin-bottom: .9rem;
}
/* small uppercase kicker on dark: zinc (AA+), berry-bright is large-label-only */
.on-dark .kicker { color: var(--zinc); }
.lede { font-size: 1.17rem; line-height: 1.55; max-width: 46rem; }
.num, td.num, .drive-table td:last-child { font-variant-numeric: tabular-nums; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .78rem 1.5rem; border-radius: 3px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg, .btn img { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-cane { background: var(--cane); color: var(--paper); }
.btn-cane:hover { background: var(--cane-deep); color: var(--paper); }
.btn-berry { background: var(--berry); color: var(--paper); }
.btn-berry:hover { background: var(--berry-deep); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn-line, .hero .btn-line { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--zinc); }
.on-dark .btn-line:hover, .hero .btn-line:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ── Header — the span. Logo left, nav strung along the wire ───────────── */
.site-head { background: var(--paper); position: relative; z-index: 40; }
.site-head .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.05rem;
}
.site-head .logo { display: block; line-height: 0; }
.site-head .logo img { height: 54px; width: auto; }
.site-head .logo .logo-mark { display: none; height: 40px; }
/* the strained wire under the header: posts at both page edges */
.head-wire { position: relative; height: 10px; border-inline: 5px solid var(--ink); }
.head-wire::before {
  content: ""; position: absolute; inset-inline: 0; top: 4px; height: 2px;
  background: var(--zinc);
}
.nav-primary { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.6rem); }
.nav-primary a:not(.btn) {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 600;
  font-size: .95rem; color: var(--ink); text-decoration: none;
  padding: .35rem 0; border-bottom: 2px solid transparent;
  transition: border-color .25s var(--ease), color .2s var(--ease);
  position: relative;
}
/* Signature "The Taut Wire": the brand's strained wire made interactive. A hairline
   in --cane draws taut from the left under a nav link on hover/focus, echoing the
   header's own tensioned head-wire and drawing the eye along the path to Get a quote.
   The link never carries an underline at rest, so the resting look is unchanged. */
.nav-primary a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--cane); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav-primary a:not(.btn):hover { color: var(--cane); }
.nav-primary a:not(.btn):hover::after,
.nav-primary a:not(.btn):focus-visible::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav-primary a:not(.btn)::after { display: none; } }
.nav-primary a.btn-cane { color: var(--paper); }
/* active page: the coil sits under the word */
body[data-page="services"] .nav-primary a[href="/services/"],
body[data-page="areas"] .nav-primary a[href="/areas/"],
body[data-page="guides"] .nav-primary a[href="/guides/"],
body[data-page="muster"] .nav-primary a[href="/muster/"],
body[data-page="about"] .nav-primary a[href="/about/"] {
  color: var(--cane); border-bottom-color: var(--cane);
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .85rem .6rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); display: block; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile: the nav drops like a door curtain */
@media (max-width: 860px) {
  .site-head .logo img { height: 48px; } /* keeps the primary lockup >= ~120px wide (brand floor) */
  .nav-toggle { display: flex; }
  .nav-primary {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper) url("/assets/brand/tex/pattern-shedskin-whisper.svg");
    border-bottom: 3px solid var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem 1.4rem 1.4rem;
    box-shadow: 0 18px 30px oklch(28.4% 0.039 346 / .18);
    transform-origin: top;
  }
  .nav-primary.open { display: flex; animation: curtain-down .34s var(--ease); }
  .nav-primary a:not(.btn) {
    font-size: 1.2rem; padding: .85rem 0; border-bottom: 1px solid var(--wire);
  }
  .nav-primary a.btn { margin-top: 1rem; justify-content: center; }
}
@keyframes curtain-down {
  from { transform: scaleY(.6); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

/* ── Bands (sections) ───────────────────────────────────────────────────── */
.band { padding-block: var(--band-y); }
.band-limestone { background: var(--limestone); }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink a:not(.btn) { color: var(--berry-bright); }
.band-ink a:not(.btn):hover { color: var(--paper); }
.tex-wire { background-image: url("/assets/brand/tex/pattern-wire-whisper.svg"); }
.tex-shedskin { background-image: url("/assets/brand/tex/pattern-shedskin-whisper.svg"); }
.seam { display: block; width: 100%; height: clamp(28px, 6vw, 70px); object-fit: cover; }
.gable-horizon { display: block; width: 100%; height: auto; margin-bottom: -1px; }

/* section header block */
.band-head { max-width: 50rem; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }

/* ── Hero (home) ────────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--plum-deep); color: var(--paper); overflow: clip; }
.hero .hero-media { position: absolute; inset: 0; }
.hero .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(76deg, oklch(22.5% 0.030 346 / .88) 18%, oklch(22.5% 0.030 346 / .55) 46%, oklch(22.5% 0.030 346 / .08) 78%);
}
@media (max-width: 820px) {
  /* narrow screens: text spans the full width, so the scrim must too */
  .hero .hero-media::after {
    background: linear-gradient(180deg, oklch(22.5% 0.030 346 / .82), oklch(22.5% 0.030 346 / .62));
  }
}
.hero .hero-inner { position: relative; padding-block: clamp(4rem, 10vw, 8.5rem); max-width: 44rem; }
.hero h1 { color: var(--paper); }
.hero .lede { color: oklch(94% 0.009 88 / .92); }
.hero .kicker { color: var(--zinc); }
.hero .hero-note { font-size: .95rem; color: var(--zinc); margin-top: 1.2rem; }
.hero .hero-note a { color: var(--zinc); }
.hero .hero-note a:hover { color: var(--paper); }

/* page hero (inner pages): limestone band + wide title, photo optional right */
.page-hero { background: var(--limestone) url("/assets/brand/tex/pattern-wire-whisper.svg"); }
.page-hero .ph-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: center; }
.page-hero .ph-grid > figure { margin: 0; }
.page-hero img { border: 4px solid var(--paper); box-shadow: 0 1px 0 var(--wire), 0 14px 34px oklch(28.4% 0.039 346 / .12); }
@media (max-width: 820px) { .page-hero .ph-grid { grid-template-columns: 1fr; } }

/* ── Service rows (long horizontals, not cards) ─────────────────────────── */
.svc-rows { border-top: 2px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: 64px minmax(0, 1.35fr) minmax(0, 2fr) auto;
  gap: 1.3rem; align-items: center;
  padding-block: 1.5rem; border-bottom: 1px solid var(--wire);
  text-decoration: none; color: var(--ink);
  transition: background-color .3s var(--ease);
}
.svc-row:hover, .svc-row:focus-visible { background: var(--limestone); }
.svc-row img { width: 64px; height: 64px; }
.svc-row h3 { margin: 0; transition: color .3s var(--ease); }
.svc-row:hover h3, .svc-row:focus-visible h3 { color: var(--cane); }
.svc-row p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.svc-row .svc-spec {
  font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 600;
  color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font-display); font-stretch: 125%;
  white-space: nowrap; text-align: right;
  transition: transform .2s var(--ease);
}
.svc-row:hover .svc-spec, .svc-row:focus-visible .svc-spec { transform: translateX(3px); }
.svc-row .svc-spec::after { content: " \2192"; color: var(--cane); }
@media (max-width: 820px) {
  .svc-row { grid-template-columns: 48px 1fr; grid-template-rows: auto auto; }
  .svc-row img { width: 48px; height: 48px; grid-row: 1 / 3; align-self: start; }
  .svc-row .svc-spec { grid-column: 2; text-align: left; }
}

/* ── Tables — the door-schedule aesthetic ──────────────────────────────── */
table { border-collapse: collapse; width: 100%; margin: 1.4rem 0 1.8rem; font-size: .98rem; }
caption { text-align: left; font-size: .85rem; color: var(--ink-soft); padding-bottom: .5rem; }
th {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; font-size: .78rem;
  text-align: left; color: var(--ink-soft);
  border-bottom: 2px solid var(--ink); padding: .5rem .9rem .5rem 0;
}
td { border-bottom: 1px solid var(--wire); padding: .65rem .9rem .65rem 0; vertical-align: top; }
td.num, th.num { text-align: right; padding-right: 1.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num:last-child, th.num:last-child { padding-right: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll.table-wide table { min-width: 560px; }

/* ── Rich content (guides, legal) ───────────────────────────────────────── */
.rich { max-width: 46rem; }
.rich h2 { margin-top: 2.2em; }
.rich h3 { margin-top: 1.8em; }
.rich ul { list-style: none; padding-left: 1.5rem; }
.rich ul li { position: relative; margin-bottom: .55em; }
.rich ul li::before {
  content: ""; position: absolute; left: -1.5rem; top: .48em;
  width: 11px; height: 11px; background: url("/assets/brand/micro/bullet.svg") no-repeat center / contain;
}
.rich ol { padding-left: 1.4rem; }
.rich ol li { margin-bottom: .55em; }
.rich blockquote {
  margin: 1.8rem 0; padding: .3rem 0 .3rem 3.4rem; position: relative;
  font-size: 1.12rem; font-style: italic; color: var(--ink-soft);
}
.rich blockquote::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 40px; height: 45px;
  background: url("/assets/brand/micro/quote.svg") no-repeat center / contain;
}
hr {
  border: 0; height: 13px; margin: 2.6rem auto;
  background: url("/assets/brand/micro/divider.svg") center / auto 100% no-repeat;
}
.rich hr { background-image: url("/assets/brand/micro/divider-center.svg"); }
figure { margin: 1.8rem 0; }
figcaption { font-size: .85rem; color: var(--ink-soft); padding-top: .55rem; }
.note-box {
  background: var(--limestone) url("/assets/brand/tex/pattern-wire-firm.svg");
  border-left: 3px solid var(--cane);
  padding: 1.2rem 1.4rem; margin: 1.6rem 0;
}
.note-box.safety { border-left-color: var(--berry); }
.note-box p:last-child { margin-bottom: 0; }
.refs { font-size: .9rem; color: var(--ink-soft); }
.refs li { margin-bottom: .5em; }

/* ── Cards for guides/areas indexes (wide list rows, hairline-ruled) ───── */
.index-rows { border-top: 2px solid var(--ink); }
.index-row {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto;
  gap: 1.3rem; align-items: baseline;
  padding-block: 1.4rem; border-bottom: 1px solid var(--wire);
  text-decoration: none; color: var(--ink);
  transition: background-color .3s var(--ease);
}
.index-row:hover, .index-row:focus-visible { background: var(--limestone); }
.index-row h3 { margin: 0; transition: color .3s var(--ease); }
.index-row:hover h3, .index-row:focus-visible h3 { color: var(--cane); }
.index-row p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.index-row .go { color: var(--cane); font-weight: 600; white-space: nowrap; transition: transform .2s var(--ease); }
.index-row:hover .go, .index-row:focus-visible .go { transform: translateX(3px); }
@media (max-width: 720px) { .index-row { grid-template-columns: 1fr; gap: .3rem; } }

/* three-up ground columns on home */
.ground-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ground-grid article { border-top: 3px solid var(--cane); padding-top: 1.1rem; }
.ground-grid h3 { font-size: 1.18rem; }
.ground-grid p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 820px) { .ground-grid { grid-template-columns: 1fr; } }

/* split band: text + photo */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split figure { margin: 0; }
.split img { border: 4px solid var(--paper); box-shadow: 0 14px 34px oklch(28.4% 0.039 346 / .14); }
.band-ink .split img, .band-plum .split img { border-color: var(--plum-deep); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ── The Door Muster ────────────────────────────────────────────────────── */
.muster-app { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.muster-form {
  background: var(--paper); border: 1px solid var(--wire); border-top: 3px solid var(--cane);
  padding: 1.5rem; position: sticky; top: 1rem;
}
@media (max-width: 900px) { .muster-app { grid-template-columns: 1fr; } .muster-form { position: static; } }
.muster-form h3 { margin-top: 0; }
.muster-form label { display: block; font-weight: 600; font-size: .9rem; margin: .9rem 0 .3rem; }
.muster-form select {
  width: 100%; padding: .6rem .7rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--zinc); border-radius: 3px;
}
.muster-form .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }
.muster-list { display: grid; gap: .9rem; }
.muster-card {
  background: var(--paper) url("/assets/brand/tex/pattern-wire-firm.svg");
  border: 1px solid var(--wire); padding: 1.05rem 1.2rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem;
  animation: card-in .4s var(--ease);
}
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.muster-card h4 { margin: 0; }
.muster-card .mc-meta { font-size: .88rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.muster-card .mc-read { grid-column: 1 / -1; font-size: .95rem; margin: 0; }
.muster-card .mc-read.urgent { color: var(--berry-deep); font-weight: 600; }
.muster-card button {
  background: none; border: 0; color: var(--zinc-deep); cursor: pointer;
  font-size: .85rem; text-decoration: underline; padding: 0; align-self: start;
  transition: color .16s var(--ease);
}
.muster-card button:hover { color: var(--berry-deep); }
.muster-verdict {
  background: var(--limestone); border: 1px solid var(--wire);
  padding: 1.4rem 1.5rem; margin-top: 1.2rem;
}
.muster-verdict h3 { margin-top: 0; }
.muster-verdict .btn { margin-top: .6rem; }
.muster-clear {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: .9rem; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: .18em;
  transition: color .16s var(--ease);
}
.muster-clear:hover { color: var(--berry-deep); }
.muster-empty { padding: 2.5rem 1rem; text-align: center; color: var(--ink-soft); }
.muster-empty img { width: min(320px, 70%); margin-bottom: 1rem; }

/* ── Enquiry form ───────────────────────────────────────────────────────── */
.lead-form { max-width: 40rem; }
.lead-form .field { margin-bottom: 1.15rem; }
.lead-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.lead-form label small { font-weight: 400; color: var(--ink-soft); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"],
.lead-form select, .lead-form textarea {
  width: 100%; padding: .72rem .8rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--zinc); border-radius: 3px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--cane); box-shadow: 0 0 0 2px oklch(35% 0.078 348 / .18); outline: none;
}
.lead-form input[type="file"] { font-size: .92rem; color: var(--ink-soft); }
.lead-form textarea { min-height: 9rem; resize: vertical; }
.form-msg { padding: 1rem 1.2rem; margin-top: 1rem; font-weight: 600; }
.form-msg.ok { background: var(--limestone); border-left: 3px solid var(--cane); }
.form-msg.err { background: oklch(46.5% 0.118 358 / .1); border-left: 3px solid var(--berry); color: var(--berry-deep); }

/* ── Enquiry band (pre-footer, on ink) ──────────────────────────────────── */
.enquiry-band { background: var(--ink); color: var(--paper); position: relative; overflow: clip; }
.enquiry-band .wm {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: clamp(280px, 30vw, 460px); pointer-events: none;
}
.enquiry-band .eb-inner { position: relative; padding-block: clamp(2.8rem, 6vw, 4.2rem); max-width: 44rem; }
.enquiry-band h2 { color: var(--paper); }
.enquiry-band p { color: var(--zinc); }

/* ── Footer (plum-deep; flush with the ink enquiry band = ONE dark region,
      the watermark lives in the band above — the footer stays clean) ────── */
.site-foot { background: var(--plum-deep); color: var(--zinc); font-size: .95rem; }
.site-foot .foot-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: var(--gap); padding-block: 3.2rem 2.2rem;
}
.site-foot .foot-logo img { width: 150px; height: auto; margin-bottom: 1rem; }
.site-foot h4 {
  color: var(--paper); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .8rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .45em; }
.site-foot a:not(.btn) { color: var(--zinc); text-decoration: none; }
.site-foot a:not(.btn):hover { color: var(--paper); text-decoration: underline; }
.site-foot .foot-base {
  border-top: 1px solid oklch(75.9% 0.015 245 / .25);
  padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem;
  justify-content: space-between; font-size: .84rem; color: oklch(75.9% 0.015 245 / .8);
}
.site-foot .foot-base p { margin: 0; }
@media (max-width: 820px) { .site-foot .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot .foot-grid { grid-template-columns: 1fr; } }

/* ── Drive-time / coverage table flourish ───────────────────────────────── */
.drive-table td:first-child { font-weight: 600; }

/* ── Spot art states ────────────────────────────────────────────────────── */
.spot-hero { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.spot-hero img { width: min(360px, 80%); margin-bottom: 1.6rem; }

/* ── Motion: reveal on scroll + the floor ───────────────────────────────── */
/* Content RESTS FULLY VISIBLE. motion.js arms the hidden state (.reveal-armed) at
   runtime, and only on elements below the fold — so no-JS visitors, crawlers and
   reduced-motion visitors always see the whole page, and nothing above the fold
   flashes out and back. The .reveal class alone never hides anything. */
.reveal.reveal-armed { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.reveal-armed.in { opacity: 1; transform: none; }
/* the header logo eases its weight on hover — a small supporting touch */
.site-head .logo { transition: opacity .3s var(--ease); }
.site-head .logo:hover { opacity: .85; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-armed { opacity: 1 !important; transform: none !important; }
}

/* ── Print: keep it plain ───────────────────────────────────────────────── */
@media print {
  .site-head, .site-foot, .enquiry-band, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; }
}
