/* Self-hosted fonts (was Google Fonts) — latin + latin-ext, variable woff2. */
@font-face{font-family:'Mulish';font-style:italic;font-weight:200 1000;font-display:swap;src:url('/assets/fonts/mulish-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Mulish';font-style:italic;font-weight:200 1000;font-display:swap;src:url('/assets/fonts/mulish-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Mulish';font-style:normal;font-weight:200 1000;font-display:swap;src:url('/assets/fonts/mulish-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Mulish';font-style:normal;font-weight:200 1000;font-display:swap;src:url('/assets/fonts/mulish-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:200 800;font-display:swap;src:url('/assets/fonts/newsreader-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:200 800;font-display:swap;src:url('/assets/fonts/newsreader-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:200 800;font-display:swap;src:url('/assets/fonts/newsreader-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:200 800;font-display:swap;src:url('/assets/fonts/newsreader-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Balance Point Garage Doors — Toronto NSW
   The sculler's manner as a stylesheet: a heavy thing moving lightly.
   Varnish green in tension over shell cream, timber warmth, hairlines dead level.
   Tokens verbatim from brand-kit/system.md. Baked artwork keeps its own hexes;
   everything the CSS colours comes from these tokens only. */

:root {
  --ink: oklch(23.5% 0.012 175);
  --ink-soft: oklch(46% 0.02 175);
  --paper: oklch(97.4% 0.010 92);
  --paper-shade: oklch(93.6% 0.014 95);
  --primary: oklch(34% 0.068 168);
  --primary-deep: oklch(25% 0.05 170);
  --timber: oklch(56% 0.08 62);
  --timber-deep: oklch(42% 0.07 58);
  --steel: oklch(62% 0.012 210);
  --lake: oklch(92% 0.012 175);
  --hairline: oklch(89.5% 0.008 100);
  --holds: oklch(45% 0.085 158);

  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Mulish", "Segoe UI", "Helvetica Neue", sans-serif;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 10px;
}

/* ── Reset-ish ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px floor — the oldest market on the lake reads this site */
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
::placeholder { color: color-mix(in oklab, var(--ink-soft) 40%, transparent); }

/* ── Type ──────────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: 0.002em;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 0 0 0.5em; }
p { margin: 0 0 1.1em; max-width: 70ch; }
.lede { font-size: clamp(1.2rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink); }
/* the page hook: H1 orients (what+where), the hook keeps its line right below in the node's italic-Newsreader voice */
p.hook {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  line-height: 1.3;
  color: var(--ink-soft);
  margin: 0.15em 0 0.85em;
  max-width: 34ch;
}
.on-dark p.hook { color: var(--lake); }
.soft { color: var(--ink-soft); }
.num { font-variant-numeric: tabular-nums; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
strong { font-weight: 700; }

/* The one spoken aside per page — Newsreader italic, the timber voice */
.aside-spoken {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--timber-deep);
  margin: 0.4em 0 0;
}

/* Kicker labels (not headlines) */
.kicker {
  font: 700 0.8rem/1.3 var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.9rem;
}
.on-dark .kicker { color: var(--lake); }

/* ── The balance-beam device: a level rule holding on the brass point ─────
   The mark's own grammar as a section opener. Brass is the baked asset hex. */
.beam {
  position: relative;
  width: 64px; height: 3px; border-radius: 2px;
  background: var(--primary);
  margin: 0 0 1.4rem;
}
.beam::after {
  content: "";
  position: absolute; left: 50%; top: 6px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #A5793D;
}
.beam.center { margin-inline: auto; }
.on-dark .beam { background: var(--lake); }

/* hr = the held edge + the point, site-wide */
hr {
  border: 0;
  height: 18px;
  margin: 3rem auto;
  width: 220px;
  background: url("/assets/brand/divider.svg") center / contain no-repeat;
  color: var(--primary);
}

/* Lists carry the brass balance point */
ul.point-list { list-style: none; padding: 0; margin: 0 0 1.2em; max-width: 70ch; }
ul.point-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.65em; }
ul.point-list li::before {
  content: "";
  position: absolute; left: 2px; top: 0.42em;
  width: 11px; height: 11px;
  background: url("/assets/brand/bullet.svg") center / contain no-repeat;
}

blockquote {
  position: relative;
  margin: 2rem 0; padding: 0.4rem 0 0.4rem 3.2rem;
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  color: var(--ink); max-width: 60ch;
}
blockquote::before {
  content: "";
  position: absolute; left: 0; top: 0.5rem;
  width: 34px; height: 30px;
  background: url("/assets/brand/quote.svg") center / contain no-repeat;
  opacity: 0.85;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }

.band-shade { background: var(--paper-shade); }
.band-lake { background: var(--lake); }         /* one wash per page, no more */
.band-slats { background: var(--paper) url("/assets/brand/tex-cream-slats.webp") top left / 1376px auto repeat; }
.band-deep {
  background: var(--primary-deep) url("/assets/brand/tex-green-boards.webp") top left / 1376px auto repeat;
  color: var(--paper);
}
.band-deep :is(h1,h2,h3,p) { color: var(--paper); }
.band-deep .soft { color: var(--lake); }
.band-deep a { color: var(--paper); }

.grid-2 { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Photo frames sit on a level line */
figure.frame { margin: 0; }
figure.frame img { border-radius: var(--radius); width: 100%; object-fit: cover; }
figure.frame figcaption {
  font-size: 0.9rem; color: var(--ink-soft);
  padding-top: 0.6rem; margin-top: 0.6rem;
  border-top: 1px solid var(--hairline);
}
.band-deep figure.frame figcaption { color: var(--lake); border-top-color: color-mix(in oklab, var(--lake) 30%, transparent); }

/* ── Buttons: hierarchy through weight, one temperament ────────────────── */
.btn {
  display: inline-block;
  font: 700 1.05rem/1.25 var(--font-body);
  padding: 0.95rem 1.7rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-repair { background: var(--primary-deep); color: var(--paper); }        /* the heaviest object in any view */
.btn-repair:hover { background: var(--ink); color: var(--paper); }
.btn-quote { background: var(--primary); color: var(--paper); }
.btn-quote:hover { background: var(--primary-deep); color: var(--paper); }
.btn-line { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-line:hover { background: var(--primary); color: var(--paper); }
/* filled CTAs keep their own text colour inside dark bands (specificity guard) */
.band-deep .btn-repair { background: var(--paper); color: var(--primary-deep); }
.band-deep .btn-repair:hover { background: var(--lake); color: var(--primary-deep); }
.band-deep .btn-line { color: var(--paper); border-color: var(--paper); }
.band-deep .btn-line:hover { background: var(--paper); color: var(--primary-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--timber);
  outline-offset: 2px;
}

/* ── Header: cream, the balance line as its base ───────────────────────── */
.site-head { background: var(--paper); position: relative; }
.site-head::after {          /* the balance line, dead level, full width */
  content: ""; display: block; height: 1px; background: var(--hairline);
}
.head-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.05rem;
}
.head-logo { display: inline-flex; align-items: center; text-decoration: none; }
.head-logo img { height: 46px; width: auto; }
.head-nav { display: flex; align-items: center; gap: 1.6rem; }
.head-nav a {
  font: 700 1rem/1.2 var(--font-body);
  color: var(--primary); text-decoration: none;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.head-nav a:hover { border-bottom-color: var(--timber); }
/* the filled CTA re-asserts its own text colour against the nav link rule
   (a section-wide link colour silently beats a filled button's colour otherwise) */
.head-nav a.btn { border-bottom: 0; padding: 0.7rem 1.25rem; color: var(--paper); }
.head-nav a.btn:hover { color: var(--paper); }
/* active page: the level line held under the item */
body[data-page="services"]  .head-nav a[href="/services/"],
body[data-page="areas"]     .head-nav a[href="/areas/"],
body[data-page="guides"]    .head-nav a[href="/guides/"],
body[data-page="balance"]   .head-nav a[href="/balance-test/"],
body[data-page="about"]     .head-nav a[href="/about/"] {
  border-bottom-color: var(--primary);
}

/* Mobile nav: <details> so it works with JavaScript off */
.nav-toggle { display: none; }
@media (max-width: 940px) {
  .head-nav { display: none; }
  .nav-toggle { display: block; position: relative; }
  .nav-toggle > summary {
    list-style: none; cursor: pointer;
    font: 700 1rem/1 var(--font-body); color: var(--primary);
    padding: 0.75rem 1.1rem; border: 2px solid var(--primary); border-radius: 8px;
    user-select: none;
  }
  .nav-toggle > summary::-webkit-details-marker { display: none; }
  .nav-toggle[open] > summary { background: var(--primary); color: var(--paper); }
  .nav-panel {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 40;
    min-width: 240px;
    background: var(--paper);
    border: 1px solid var(--hairline); border-radius: var(--radius);
    box-shadow: 0 14px 40px oklch(23.5% 0.012 175 / 0.18);
    padding: 0.6rem;
  }
  .nav-panel a {
    display: block; padding: 0.8rem 1rem;
    font: 700 1.05rem/1.3 var(--font-body);
    color: var(--primary); text-decoration: none; border-radius: 6px;
  }
  .nav-panel a:hover { background: var(--paper-shade); }
  .nav-panel a.btn-repair { background: var(--primary-deep); color: var(--paper); margin-top: 0.4rem; text-align: center; }
}

/* Mobile sticky path bar: the urgent path stays reachable, quietly */
.path-bar { display: none; }
@media (max-width: 700px) {
  .path-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    padding: 0.55rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
  }
  .path-bar .btn { padding: 0.8rem 0.5rem; font-size: 0.98rem; border-radius: 8px; }
  body { padding-bottom: 4.4rem; } /* keep the footer clear of the bar */
  /* the enquiry page IS the destination: the bar would only cover its submit */
  body[data-page="enquiry"] { padding-bottom: 0; }
  body[data-page="enquiry"] .path-bar { display: none; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 6fr 5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-copy .btn-row { margin-top: 1.6rem; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; object-position: 12% 50%; width: 100%; }
/* the held edge: a level rule crossing the photo at its half line, brass point beneath */
.hero-figure::before {
  content: ""; position: absolute; left: -14px; right: -14px; top: 50%;
  height: 2px; background: var(--paper);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary-deep) 25%, transparent);
  z-index: 2;
}
.hero-figure::after {
  content: ""; position: absolute; left: 50%; top: calc(50% + 7px);
  transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 11px solid #A5793D;
  z-index: 2;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
}
.band-shade .card, .band-lake .card, .band-slats .card { background: var(--paper); }
.card .icon { width: 56px; height: 56px; margin-bottom: 0.9rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--primary); }

/* The two-paths panel: weight tells you which is urgent */
.path-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.path-card {
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.path-card.urgent { background: var(--primary-deep); color: var(--paper); }
.path-card.urgent :is(h2,h3,p) { color: var(--paper); }
.path-card.urgent .soft { color: var(--lake); }
/* baked green icons vanish on the deep ground: seat them on a lake chip */
.path-card.urgent .icon { background: var(--lake); border-radius: 12px; padding: 9px; }
/* and the filled CTA inverts so it stays the heaviest legible object on the card */
.path-card.urgent .btn-repair { background: var(--paper); color: var(--primary-deep); }
.path-card.urgent .btn-repair:hover { background: var(--lake); color: var(--primary-deep); }
.path-card.considered { background: var(--paper); border: 1px solid var(--hairline); }
.path-card .icon { width: 62px; height: 62px; margin-bottom: 1rem; }
@media (max-width: 860px) { .path-cards { grid-template-columns: 1fr; } }

/* Service rows: a ledger, not a grid of tiles */
.service-row {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 1.4rem; align-items: center;
  padding: 1.35rem 0.25rem;
  border-top: 1px solid var(--hairline);
}
.service-row:last-child { border-bottom: 1px solid var(--hairline); }
.service-row .icon { width: 56px; height: 56px; }
.service-row h3 { margin: 0 0 0.2em; }
.service-row h3 a { text-decoration: none; color: var(--ink); }
.service-row h3 a:hover { color: var(--primary); text-decoration: underline; }
.service-row p { margin: 0; color: var(--ink-soft); }
.service-row .go { font: 700 1rem/1 var(--font-body); white-space: nowrap; }
@media (max-width: 700px) {
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row .icon { width: 44px; height: 44px; }
  .service-row .go { grid-column: 2; justify-self: start; margin-top: 0.4rem; }
}

/* ── The drive-time board (areas viz): level tracks, tabular minutes ───── */
.board { max-width: 780px; }
.board-row {
  display: grid; grid-template-columns: minmax(118px, 172px) 1fr 84px;
  gap: 0.9rem; align-items: center;
  padding: 0.55rem 0;
}
.board-row + .board-row { border-top: 1px solid var(--hairline); }
.board-row .place { font-weight: 700; font-size: 1rem; }
.board-row .place a { color: var(--ink); text-decoration: none; }
.board-row .place a:hover { color: var(--primary); text-decoration: underline; }
.board-track { position: relative; height: 12px; }
.board-track::before {           /* the level line */
  content: ""; position: absolute; left: 0; right: 0; top: 5px;
  height: 2px; border-radius: 1px; background: var(--hairline);
}
.board-fill {
  position: absolute; left: 0; top: 5px; height: 2px; border-radius: 1px;
  background: var(--primary);
}
.board-fill::after {             /* the brass point rides at the minute mark */
  content: ""; position: absolute; right: -6px; top: 4px;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 8px solid #A5793D;
}
.board-row .mins { text-align: right; font-weight: 600; color: var(--ink-soft); font-size: 1rem; }
.board-note { font-size: 0.95rem; color: var(--ink-soft); max-width: 640px; margin-top: 1rem; }

/* ── Stat plates (suburb pages): plain, tabular, honest ────────────────── */
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.plate { background: var(--paper); padding: 1.1rem 1.2rem; }
.plate .n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.plate .l { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 700px) { .plates { grid-template-columns: 1fr; } }

/* ── The balance test tool ─────────────────────────────────────────────── */
.bt-shell { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .bt-shell { grid-template-columns: 1fr; } }
.bt-door-panel { position: sticky; top: 1.5rem; }
.bt-door-panel .door-caption { font-size: 0.95rem; color: var(--ink-soft); border-top: 1px solid var(--hairline); padding-top: 0.6rem; margin-top: 0.75rem; }
fieldset.bt-q { border: 0; padding: 0; margin: 0 0 1.9rem; }
fieldset.bt-q legend {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  margin-bottom: 0.9rem; padding: 0;
}
.bt-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bt-chips label {
  display: inline-block; cursor: pointer;
  font: 600 1.02rem/1.3 var(--font-body);
  padding: 0.75rem 1.1rem;
  border: 2px solid var(--hairline); border-radius: 999px;
  background: var(--paper);
}
.bt-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bt-chips input:checked + span { }
.bt-chips label:has(input:checked) {
  border-color: var(--primary); background: var(--primary); color: var(--paper);
}
.bt-chips label:has(input:focus-visible) { outline: 3px solid var(--timber); outline-offset: 2px; }
.bt-verdict {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  background: var(--paper);
  margin-top: 0.5rem;
}
.bt-verdict .holds-line { color: var(--holds); font-weight: 700; }
.bt-verdict .stop-line { font-weight: 700; }
.bt-findings h3 { margin-top: 1.6em; }
.bt-rail {
  font-size: 0.95rem; color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
  padding-top: 0.8rem; margin-top: 1.4rem; max-width: 62ch;
}

/* ── Forms: patient, legible, one column ───────────────────────────────── */
form.lead { max-width: 620px; }
form.lead .field { margin-bottom: 1.25rem; }
form.lead label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
form.lead .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
form.lead input[type="text"], form.lead input[type="tel"], form.lead input[type="email"],
form.lead select, form.lead textarea {
  width: 100%;
  font: 400 1.1rem/1.4 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--hairline);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus {
  outline: none; border-color: var(--primary);
}
form.lead textarea { min-height: 130px; resize: vertical; }
form.lead input[type="file"] { font-size: 1rem; }
form.lead button[type="submit"] { width: 100%; font-size: 1.15rem; padding: 1.05rem; }
.form-note { font-size: 0.95rem; color: var(--ink-soft); }
.form-result { border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 1.2rem; }
.form-result.ok { border: 2px solid var(--holds); }
.form-result.ok .headline { color: var(--holds); font-weight: 700; }
.form-result.err { border: 2px solid var(--timber-deep); }
.form-result img { width: 120px; margin-bottom: 0.6rem; }

/* Enquiry band partial */
.enquiry-band .beam { margin-bottom: 1.2rem; }
.enquiry-band form.lead { margin-top: 1.4rem; }

/* ── Watermark behind long-form content only ───────────────────────────── */
.longform {
  position: relative;
}
.longform::before {
  content: "";
  position: absolute; right: 0; top: 60px;
  width: 520px; height: 420px;
  background: url("/assets/brand/watermark.webp") top right / contain no-repeat;
  pointer-events: none;
}
.longform > * { position: relative; }
@media (max-width: 1100px) { .longform::before { display: none; } }

/* Guides / article pages */
.article { max-width: 720px; }
.article h2 { margin-top: 1.7em; }
.article h3 { margin-top: 1.5em; }
.article .defn {
  background: var(--paper-shade);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}
.article .defn dt { font-weight: 700; }
.article .defn dd { margin: 0.2rem 0 0.9rem; color: var(--ink-soft); }
.article .defn dd:last-child { margin-bottom: 0; }
.article-meta { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 2rem; }
.refs { font-size: 0.98rem; }
.refs li { margin-bottom: 0.6em; }

/* Guide cards on the index */
.guide-card { display: grid; grid-template-columns: 200px 1fr; gap: 1.4rem; align-items: center; }
.guide-card img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 700px) { .guide-card { grid-template-columns: 1fr; } }

/* ── Footer: the hull in the rafters ───────────────────────────────────── */
.site-foot {
  background: var(--primary-deep) url("/assets/brand/tex-green-boards.webp") top left / 1376px auto repeat;
  color: var(--lake);
  margin-top: 0; position: relative;
}
.site-foot::before {          /* the level line with the brass point, holding the page */
  content: ""; display: block; height: 2px; background: #A5793D;
}
.foot-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
.foot-grid img.foot-logo { width: 190px; height: auto; }
.site-foot p, .site-foot li { color: var(--lake); font-size: 1rem; }
.site-foot .foot-h { font: 700 0.85rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); margin: 0 0 0.9rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot ul li { margin-bottom: 0.55em; }
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-base {
  border-top: 1px solid color-mix(in oklab, var(--lake) 25%, transparent);
  padding-block: 1.4rem 1.8rem;
  font-size: 0.92rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between;
  color: var(--lake);
}
.foot-base .fine { max-width: 62ch; }
@media (max-width: 940px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ── Small utilities ───────────────────────────────────────────────────── */
.crumbs { font-size: 0.95rem; color: var(--ink-soft); margin: 1.4rem 0 0; }
.crumbs a { color: var(--ink-soft); }
.spot { width: clamp(150px, 30vw, 210px); margin-inline: auto; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--primary-deep); color: var(--paper);
  padding: 0.8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   MOTION LAYER — added after the build, additive only. It eases the existing
   hovers, adds the signature Half-Lift, and governs the scroll-reveal wired
   from motion.js. Nothing here changes the resting design: it only decides how
   things BEHAVE on interaction and on arrival. The why is in MOTION.md.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  /* a well-balanced door: quick up, weighted settle onto its point, no bounce */
  --ease-settle: cubic-bezier(0.2, 0.72, 0.24, 1);
  --motion-fast: 0.16s;
}

/* 1 · Ease the snapping hovers ──────────────────────────────────────────── */
a { transition: color var(--motion-fast) var(--ease-settle); }
.btn {
  transition:
    transform var(--motion-fast) var(--ease-settle),
    box-shadow var(--motion-fast) var(--ease-settle),
    background-color var(--motion-fast) var(--ease-settle),
    border-color var(--motion-fast) var(--ease-settle),
    color var(--motion-fast) var(--ease-settle);
}
.head-nav a { transition: color var(--motion-fast) var(--ease-settle), border-bottom-color var(--motion-fast) var(--ease-settle); }
.nav-panel a { transition: background-color var(--motion-fast) var(--ease-settle), color var(--motion-fast) var(--ease-settle); }
.site-foot a { transition: color var(--motion-fast) var(--ease-settle); }
.card { transition: transform var(--motion-fast) var(--ease-settle), box-shadow var(--motion-fast) var(--ease-settle), border-color var(--motion-fast) var(--ease-settle); }
.card h3 a, .service-row h3 a, .board-row .place a { transition: color var(--motion-fast) var(--ease-settle); }
.service-row { transition: background-color var(--motion-fast) var(--ease-settle); }
.service-row .go { transition: transform var(--motion-fast) var(--ease-settle), color var(--motion-fast) var(--ease-settle); }
form.lead input, form.lead select, form.lead textarea { transition: border-color var(--motion-fast) var(--ease-settle); }
.bt-chips label {
  transition:
    background-color var(--motion-fast) var(--ease-settle),
    border-color var(--motion-fast) var(--ease-settle),
    color var(--motion-fast) var(--ease-settle),
    transform var(--motion-fast) var(--ease-settle);
}

/* 2 · THE HALF-LIFT (signature) ─────────────────────────────────────────────
   "A door in balance lifts light with one hand." The elements that carry the
   enquiry click lift a few px to the hand and hold — quick up, weighted down,
   never floaty. On the service ledger the eye is nudged toward Read more. */
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 18px oklch(23.5% 0.012 175 / 0.16); }
.btn:active { transform: translateY(-1px); }
.path-card { transition: transform var(--motion-fast) var(--ease-settle), box-shadow var(--motion-fast) var(--ease-settle); }
.path-card:hover, .path-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px oklch(23.5% 0.012 175 / 0.18); }
.service-row:hover { background: var(--lake); }
.service-row:hover .go, .service-row:focus-within .go { transform: translateX(4px); }

/* 4 · Focus-visible parity where it aids the path (global outline preserved) */
.head-nav a:focus-visible { border-bottom-color: var(--timber); }
.btn:focus-visible { transform: translateY(-3px); }

/* 3 · Scroll-reveal — hidden state applied by motion.js only, so the page rests
   fully visible for no-JS and crawlers. The board fill draws out to its minute
   mark, the brass point riding the level line as the visitor arrives. */
.js-motion .motion-el {
  transition: opacity 0.55s ease, transform 0.55s var(--ease-settle);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-motion .motion-el.motion-hide { opacity: 0; transform: translateY(14px); will-change: opacity, transform; }
.js-motion .board-row.motion-el .board-fill {
  transition: transform 0.5s var(--ease-settle);
  transition-delay: var(--reveal-delay, 0ms);
  transform-origin: left center;
}
.js-motion .board-row.motion-el.motion-hide .board-fill { transform: scaleX(0); }

/* 5 · THE MOTION FLOOR — reduced motion neutralises every transition, the
   Half-Lift and the reveal. motion.js also declines to hide anything, so this
   is belt-and-braces: elements simply appear at rest. */
@media (prefers-reduced-motion: reduce) {
  a, .btn, .head-nav a, .nav-panel a, .site-foot a, .card, .card h3 a, .service-row,
  .service-row h3 a, .board-row .place a, .service-row .go, .bt-chips label,
  form.lead input, form.lead select, form.lead textarea, .path-card,
  .js-motion .motion-el, .js-motion .board-row.motion-el .board-fill {
    transition: none !important;
  }
  .btn:hover, .btn:active, .btn:focus-visible,
  .path-card:hover, .path-card:focus-within,
  .service-row:hover .go, .service-row:focus-within .go {
    transform: none !important;
    box-shadow: none !important;
  }
  .js-motion .motion-el.motion-hide { opacity: 1 !important; transform: none !important; }
  .js-motion .board-row.motion-el.motion-hide .board-fill { transform: none !important; }
}
