/* Self-hosted fonts (was Google Fonts) — latin + latin-ext, variable woff2. */
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:200 800;font-display:swap;src:url('/assets/fonts/atkinson-hyperlegible-next-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:'Atkinson Hyperlegible Next';font-style:italic;font-weight:200 800;font-display:swap;src:url('/assets/fonts/atkinson-hyperlegible-next-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:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url('/assets/fonts/atkinson-hyperlegible-next-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:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url('/assets/fonts/atkinson-hyperlegible-next-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:'Petrona';font-style:italic;font-weight:100 900;font-display:swap;src:url('/assets/fonts/petrona-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:'Petrona';font-style:italic;font-weight:100 900;font-display:swap;src:url('/assets/fonts/petrona-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:'Petrona';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/petrona-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:'Petrona';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/petrona-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;}
/* Stone Parade Removals — Davidson NSW 2085
   One stylesheet, hand-set. Tokens verbatim from brand-kit/system.md; every colour
   in the site flows through them (assets keep their own baked hexes — never mix). */

:root {
  --dusk:          oklch(28.7% 0.021 257.3);  /* #242B35 ink + dark band/footer surface */
  --paper:         oklch(94.1% 0.014 84.6);   /* #F0EBE1 page — pale cut-sandstone buff */
  --card:          oklch(97.7% 0.010 87.5);   /* #FAF7F0 raised cards, form fields */
  --strata:        oklch(88.6% 0.019 86.2);   /* #DFD9CC section tint, stripes — surface only */
  --lorikeet:      oklch(55.1% 0.170 13.5);   /* #C03A54 PRIMARY: display/large >=24px only */
  --lorikeet-deep: oklch(46.0% 0.155 12.2);   /* #9B2340 text-safe primary: links, buttons */
  --magenta:       oklch(53.7% 0.149 346.6);  /* #A8437F ACCENT: marks/large */
  --magenta-deep:  oklch(44.2% 0.126 346.6);  /* #823061 text-safe accent */
  --slate:         oklch(43.3% 0.026 250.5);  /* #46525F eyebrows, lighter dark band */
  --stone:         oklch(51.4% 0.018 90.3);   /* #6B675C meta text floor */
  --lamplight:     oklch(85.4% 0.093 80.4);   /* #EFC988 Borgnis glow — DARK SURFACES ONLY */
  --ease: cubic-bezier(.33,.72,.28,1);
  --shadow-card: 0 1px 2px oklch(28.7% 0.021 257.3 / .06), 0 8px 28px oklch(28.7% 0.021 257.3 / .08);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--dusk);
  font: 400 17px/1.6 "Atkinson Hyperlegible Next", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
::placeholder { color: oklch(28.7% 0.021 257.3 / 0.25); }
::selection { background: var(--lorikeet); color: var(--card); }

h1, h2, h3, h4 {
  font-family: "Petrona", Georgia, serif;
  line-height: 1.16;
  margin: 0 0 .55em;
  letter-spacing: -0.005em;
}
h1 { font-weight: 700; font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p { margin: 0 0 1.05em; }
strong { font-weight: 700; }
a { color: var(--lorikeet-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--magenta-deep); }

.kicker {
  font-weight: 700; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--slate); display: block; margin-bottom: .9rem;
}
.aside-note { font-family: "Petrona", Georgia, serif; font-style: italic; font-weight: 500; color: var(--slate); }
.meta { color: var(--stone); font-size: .92rem; }

/* The site's <hr>: the voussoir threshold rule */
hr {
  border: 0; height: 12px; margin: 2.6rem auto;
  background: url(/assets/brand/micro/divider.svg) center / auto 100% no-repeat;
}

/* Styled lists: crimson keystone bullets */
ul.keyed { list-style: none; padding-left: 0; }
ul.keyed li { padding-left: 1.5em; position: relative; margin-bottom: .55em; }
ul.keyed li::before {
  content: ""; position: absolute; left: .1em; top: .42em; width: .72em; height: .62em;
  background: url(/assets/brand/micro/bullet.svg) center / contain no-repeat;
}

/* On dark bands the crimson keystone bullet would sit too quiet — buff carries the
   furniture there (brand rule), so the bullet becomes a lamplight block. */
.band-dusk ul.keyed li::before, .band-slate ul.keyed li::before, .enquiry-band ul.keyed li::before {
  background: var(--lamplight); width: .5em; height: .5em; top: .55em; border-radius: 2px;
}

blockquote {
  margin: 2rem 0; padding: 1.4rem 1.6rem 1.2rem 3.4rem; position: relative;
  background: url(/assets/brand/textures/pattern-strata-firm.svg) repeat var(--card);
  border-radius: 10px; font-family: "Petrona", Georgia, serif; font-weight: 500;
  font-size: 1.08em;
}
blockquote::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.25rem; width: 26px; height: 26px;
  background: url(/assets/brand/micro/quote.svg) center / contain no-repeat;
}
blockquote cite { display: block; margin-top: .6rem; font-family: "Atkinson Hyperlegible Next", sans-serif; font-style: normal; font-size: .88rem; color: var(--stone); }

/* ── Layout primitives ────────────────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.wrap-narrow { max-width: 780px; }
.band { padding: clamp(3rem, 7vw, 5.2rem) 0; position: relative; overflow: clip; }
.band-tight { padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.band-strata  { background: url(/assets/brand/textures/pattern-strata-whisper.svg) repeat var(--paper); }
.band-courses { background: url(/assets/brand/textures/pattern-courses-whisper.svg) repeat var(--paper); }
.band-chisel  { background: url(/assets/brand/textures/pattern-chisel-whisper.svg) repeat var(--paper); }
.band-card    { background: var(--card); }
.band-stone   { background: url(/assets/brand/textures/pattern-sandstone-whisper.webp) repeat; background-size: 400px; }
/* Dark bands stay FLAT: each carries ONE motif (arch watermark / dusk glow) and the
   kit forbids stacking a pattern under a motif. The strata-dark pattern lives only on
   the drawer (chrome, no motif). */
.band-dusk  { background: var(--dusk); color: var(--card); }
.band-slate { background: var(--slate); color: var(--card); }
.band-dusk h1, .band-dusk h2, .band-dusk h3, .band-slate h2, .band-slate h3 { color: var(--paper); }
.band-dusk .kicker, .band-slate .kicker { color: var(--lamplight); }
.band-dusk a:not(.btn), .band-slate a:not(.btn) { color: var(--card); }
.band-dusk a:not(.btn):hover, .band-slate a:not(.btn):hover { color: var(--lamplight); }
.band-dusk .meta, .band-slate .meta { color: oklch(97.7% 0.010 87.5 / .72); }

/* Section-scale motifs (one per contiguous colour region; negative offsets need the
   band's overflow: clip — set above — or they widen the page on mobile) */
.has-arch-watermark::after {
  content: ""; position: absolute; right: -5%; bottom: -10%;
  width: min(44vw, 500px); aspect-ratio: 480/428; pointer-events: none; z-index: 0;
  background: url(/assets/brand/textures/motif-arch-watermark.svg) no-repeat center / contain;
}
.band-dusk.has-arch-watermark::after, .band-slate.has-arch-watermark::after {
  background-image: url(/assets/brand/textures/motif-arch-watermark-dark.svg);
}
.has-voussoir-fan::before {
  content: ""; position: absolute; left: -2%; bottom: 0;
  width: min(34vw, 380px); aspect-ratio: 460/230; pointer-events: none; z-index: 0;
  background: url(/assets/brand/textures/motif-voussoir-fan.svg) no-repeat left bottom / contain;
}
.band-dusk.has-voussoir-fan::before, .band-slate.has-voussoir-fan::before {
  background-image: url(/assets/brand/textures/motif-voussoir-fan-dark.svg);
}
.has-dusk-glow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  pointer-events: none; z-index: 0;
  background: url(/assets/brand/textures/motif-dusk-glow.svg) no-repeat center bottom / 100% auto;
}
.band > .wrap { position: relative; z-index: 1; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 1rem/1.2 "Atkinson Hyperlegible Next", sans-serif;
  padding: .78em 1.5em; border-radius: 10px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lorikeet-deep); color: var(--card); }
.btn-primary:hover { background: var(--magenta-deep); color: var(--card); }
.btn-quiet { background: transparent; color: var(--dusk); border-color: oklch(28.7% 0.021 257.3 / .35); }
.btn-quiet:hover { border-color: var(--dusk); color: var(--dusk); }
.band-dusk .btn-quiet, .band-slate .btn-quiet, .enquiry-band .btn-quiet { color: var(--card); border-color: oklch(97.7% 0.010 87.5 / .5); }
.band-dusk .btn-quiet:hover, .band-slate .btn-quiet:hover, .enquiry-band .btn-quiet:hover { border-color: var(--card); color: var(--card); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--magenta); outline-offset: 2px;
}
.band-dusk :focus-visible, .band-slate :focus-visible, .enquiry-band :focus-visible { outline-color: var(--lamplight); }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-head {
  background: var(--card);
  border-bottom: 3px solid oklch(51.4% 0.018 90.3 / .35); /* the threshold rule */
  position: sticky; top: 0; z-index: 60;
}
.site-head .wrap { display: flex; align-items: center; gap: 1.4rem; min-height: 74px; }
.head-logo { display: flex; align-items: center; flex: 0 0 auto; }
.head-logo img { height: 44px; width: auto; }
.nav-primary { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.nav-primary a:not(.btn) {
  color: var(--dusk); text-decoration: none; font-weight: 500; font-size: 1rem;
  padding: .35rem 0; position: relative;
}
.nav-primary a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2.5px;
  background: linear-gradient(90deg, var(--lorikeet), var(--magenta));
  transition: right .28s var(--ease);
}
.nav-primary a:not(.btn):hover::after,
body[data-page="services"] .nav-primary a[data-nav="services"]::after,
body[data-page="areas"]    .nav-primary a[data-nav="areas"]::after,
body[data-page="guides"]   .nav-primary a[data-nav="guides"]::after,
body[data-page="scope"]    .nav-primary a[data-nav="scope"]::after,
body[data-page="about"]    .nav-primary a[data-nav="about"]::after { right: 0; }
.nav-primary a:not(.btn):hover { color: var(--dusk); }
.nav-primary .btn { padding: .55em 1.2em; font-size: .95rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: .55rem; border-radius: 8px; color: var(--dusk);
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* Mobile drawer — dusk surface sliding from the right */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(21rem, 86vw); z-index: 80;
  background: url(/assets/brand/textures/pattern-strata-dark.svg) repeat var(--dusk);
  color: var(--card); padding: 1.4rem 1.6rem 2rem;
  transform: translateX(102%); visibility: hidden;
  transition: transform .32s var(--ease), visibility 0s .32s; /* hidden after the slide-out: closed drawer leaves the tab order + guard measurement */
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { transform: translateX(0); visibility: visible; transition: transform .32s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.drawer-head img { height: 52px; width: auto; }
.drawer-close { background: none; border: 0; color: var(--card); cursor: pointer; padding: .5rem; }
.drawer-close svg { width: 24px; height: 24px; display: block; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a:not(.btn) {
  color: var(--card); text-decoration: none;
  font-family: "Petrona", Georgia, serif; font-weight: 500; font-size: 1.35rem;
  padding: .68rem 0; border-bottom: 1px solid oklch(85.4% 0.093 80.4 / .18);
}
.drawer nav a:not(.btn):hover { color: var(--lamplight); }
.drawer nav .btn { margin-top: 1.4rem; justify-content: center; }
.drawer nav .btn.btn-primary { color: var(--card); font-family: "Atkinson Hyperlegible Next", sans-serif; font-size: 1rem; padding: .78em 1.5em; }
.drawer .meta { margin-top: auto; padding-top: 1.6rem; color: oklch(97.7% 0.010 87.5 / .6); }
.scrim {
  position: fixed; inset: 0; z-index: 70; background: oklch(28.7% 0.021 257.3 / .5);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.scrim.show { opacity: 1; pointer-events: auto; }
@media (max-width: 940px) {
  .nav-primary { display: none; }
  .nav-toggle { display: block; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(1.8rem, 4.5vw, 4rem); align-items: center; }
.hero-lede { font-size: 1.14rem; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.9rem; }
.hero-streets { border-top: 1px solid oklch(51.4% 0.018 90.3 / .3); padding-top: 1rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 460px; }
}

/* Arch-framed figures — photos seen through the brand's own gateway */
.arch-frame { position: relative; margin: 0; }
.arch-frame img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: 50% 50% 12px 12px / 33% 33% 12px 12px;
}
.arch-frame::after {
  content: ""; position: absolute; inset: -10px; pointer-events: none;
  border: 2px solid oklch(51.4% 0.018 90.3 / .4);
  border-radius: 50% 50% 16px 16px / 33% 33% 16px 16px;
}
.arch-frame figcaption { margin-top: 1.3rem; font-size: .88rem; color: var(--stone); text-align: center; }

/* Wide figures on inner pages */
.figure-wide { margin: 2rem 0; }
.figure-wide img { width: 100%; border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; }
.figure-wide figcaption { margin-top: .55rem; font-size: .88rem; color: var(--stone); }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--card); border-radius: 14px; padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card); position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.card { text-decoration: none; color: var(--dusk); display: block; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 3px oklch(28.7% 0.021 257.3 / .07), 0 14px 36px oklch(28.7% 0.021 257.3 / .12); }
.card .icon { width: 56px; height: 56px; margin-bottom: .9rem; }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; color: var(--slate); font-size: .98rem; }
.card .card-more { display: inline-block; margin-top: .8rem; font-weight: 700; font-size: .95rem; color: var(--lorikeet-deep); }
.card:hover .card-more { color: var(--magenta-deep); }

/* The lead-service card carries more weight than its siblings — deliberate hierarchy.
   (a.card-lead beats a.card's display:block — specificity, not accident.) */
.card-lead, a.card-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 0; overflow: hidden; padding: 0; }
.card-lead .card-body { padding: 2rem 2rem 1.8rem; }
.card-lead > img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; } /* the photo only — the body's icon keeps its 56px */
@media (max-width: 700px) { .card-lead, a.card-lead { grid-template-columns: 1fr; } .card-lead > img { min-height: 200px; order: -1; } }

/* Tier cards — the three honest rates */
.tiers { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tier {
  background: var(--card); border-radius: 14px; padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-card); border-top: 5px solid var(--strata);
}
.tier-fit { border-top-color: var(--lorikeet); }
.tier .tier-crew { font-weight: 700; font-size: 1.02rem; }
.tier .tier-rate {
  font-family: "Petrona", Georgia, serif; font-weight: 600; font-size: 2.5rem;
  color: var(--lorikeet); line-height: 1.1; margin: .35rem 0 .1rem;
}
.tier .tier-rate small { font-size: 1.05rem; color: var(--stone); font-family: "Atkinson Hyperlegible Next", sans-serif; font-weight: 400; }
.tier p { color: var(--slate); font-size: .95rem; margin: .5rem 0 0; }

/* Step arc (scope → carry → settled) */
.steps { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { background: var(--card); border-radius: 14px; padding: 1.5rem; box-shadow: var(--shadow-card); position: relative; }
.step .icon { width: 62px; height: 62px; margin-bottom: .9rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 1.15rem; right: 1.3rem;
  font-family: "Petrona", Georgia, serif; font-weight: 600; font-size: 1.9rem;
  color: var(--strata);
}
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--slate); font-size: .97rem; }

/* Street strip — the real streets, set like a noticeboard line */
.streets { display: flex; flex-wrap: wrap; gap: .45rem .55rem; padding: 0; margin: .6rem 0 0; list-style: none; }
.streets li {
  font-size: .85rem; font-weight: 500; color: var(--slate);
  background: var(--strata); padding: .22em .7em; border-radius: 99px;
}

/* ── Two-column page splits (collapse on small screens) ──────────────────── */
.cols { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cols-75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cols-66 { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.cols-32 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.cols-center { align-items: center; }
.cols > * { min-width: 0; }
@media (max-width: 760px) { .cols-75, .cols-66, .cols-32 { grid-template-columns: minmax(0, 1fr); } }

/* ── Tables ───────────────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; }
table { border-collapse: collapse; width: 100%; background: var(--card); border-radius: 12px; overflow: hidden; font-size: .97rem; }
.table-scroll table { min-width: 560px; }
th, td { text-align: left; padding: .7rem .95rem; border-bottom: 1px solid var(--strata); vertical-align: top; }
th { font-weight: 700; background: var(--strata); font-size: .92rem; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 1.4rem; }
td.num:last-child, th.num:last-child { padding-right: .95rem; }

/* ── Enquiry form ─────────────────────────────────────────────────────────── */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: block; font-weight: 700; font-size: .93rem; }
label.field span { display: block; margin-bottom: .35rem; }
label.field .optional { font-weight: 400; color: var(--stone); }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; padding: .72em .85em; border-radius: 9px;
  border: 1.5px solid oklch(51.4% 0.018 90.3 / .5);
  background: var(--card); color: var(--dusk);
  font: 400 1rem/1.4 "Atkinson Hyperlegible Next", sans-serif;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid oklch(53.7% 0.149 346.6 / .4); border-color: var(--magenta-deep);
}
textarea { resize: vertical; min-height: 7.5em; }
.lead-result { border-radius: 14px; padding: 1.6rem; margin-top: 1.4rem; }
.lead-result.ok { background: var(--card); box-shadow: var(--shadow-card); text-align: center; }
.lead-result.ok img { margin: 0 auto .8rem; width: 150px; }
.lead-result.err { background: oklch(55.1% 0.170 13.5 / .1); border: 1.5px solid var(--lorikeet-deep); color: var(--lorikeet-deep); font-weight: 700; }

/* ── The Driveway Scope (signature tool) ─────────────────────────────────── */
.scope-shell { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.6rem, 3.5vw, 2.8rem); align-items: start; }
@media (max-width: 880px) { .scope-shell { grid-template-columns: 1fr; } .scope-canvas { position: static; } }
.scope-canvas {
  position: sticky; top: 96px; background: var(--card); border-radius: 16px;
  box-shadow: var(--shadow-card); padding: 1.3rem 1.3rem 1rem; z-index: 0;
}
.scope-canvas svg { width: 100%; height: auto; display: block; }
.scope-canvas .canvas-caption { font-size: .86rem; color: var(--stone); text-align: center; margin: .5rem 0 .2rem; min-height: 1.2em; }
.scope-q { margin-bottom: 2.1rem; }
.scope-q h3 { margin-bottom: .7rem; }
.scope-q .q-num { color: var(--lorikeet); }
.choice-row { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice {
  border: 2px solid oklch(51.4% 0.018 90.3 / .4); background: var(--card);
  border-radius: 12px; padding: .85rem .9rem; cursor: pointer; text-align: left;
  font: 500 .96rem/1.35 "Atkinson Hyperlegible Next", sans-serif; color: var(--dusk);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.choice small { display: block; font-weight: 400; color: var(--stone); margin-top: .2rem; font-size: .85rem; }
.choice:hover { border-color: var(--magenta-deep); transform: translateY(-1px); }
.choice[aria-pressed="true"] {
  border-color: var(--lorikeet-deep); background: oklch(46.0% 0.155 12.2 / .07);
}
.choice[aria-pressed="true"] small { color: var(--slate); }
.scope-result { border-radius: 16px; background: var(--card); box-shadow: var(--shadow-card); padding: 1.8rem 1.7rem; }
.scope-result .tier-rate { font-family: "Petrona", Georgia, serif; font-weight: 600; font-size: 2.2rem; color: var(--lorikeet); }
.scope-plan { margin: 1.1rem 0; }
.scope-plan li { margin-bottom: .5em; }
.scope-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }

/* ── Enquiry band + footer (one contiguous dark region — glow sits at the seam) ─ */
.enquiry-band { background: var(--dusk); color: var(--card); }
.enquiry-band h2 { color: var(--paper); }
.enquiry-band .kicker { color: var(--lamplight); }
.enquiry-band .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
@media (max-width: 760px) { .enquiry-band .wrap { grid-template-columns: 1fr; } }
.enquiry-band p { color: oklch(97.7% 0.010 87.5 / .88); }
.enquiry-band .band-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.enquiry-band a:not(.btn) { color: var(--card); }
.enquiry-band a:not(.btn):hover { color: var(--lamplight); }
/* the lit windows — motion.js raises them as the band enters view */
.windows { display: flex; gap: .55rem; margin-top: 1.2rem; }
.windows i {
  width: 14px; height: 20px; border-radius: 2.5px; background: var(--lamplight);
  opacity: .14; transition: opacity .9s var(--ease), box-shadow .9s var(--ease);
}
.windows.lit i { opacity: 1; box-shadow: 0 0 14px oklch(85.4% 0.093 80.4 / .55); }
.windows.lit i:nth-child(2) { transition-delay: .35s; }
.windows.lit i:nth-child(3) { transition-delay: .7s; }
.windows.lit i:nth-child(4) { transition-delay: 1.05s; }

.site-foot {
  background: var(--dusk); color: var(--card);
  padding: 3.2rem 0 2.2rem; position: relative; overflow: clip;
  border-top: 1px solid oklch(85.4% 0.093 80.4 / .22);
}
.site-foot .foot-grid { display: grid; gap: 2.2rem; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
@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; } }
.site-foot img.foot-logo { width: 190px; height: auto; }
.site-foot h4 { color: var(--lamplight); font-family: "Atkinson Hyperlegible Next", sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8rem; }
.site-foot nav { display: flex; flex-direction: column; gap: .45rem; }
.site-foot a:not(.btn) { color: oklch(97.7% 0.010 87.5 / .85); text-decoration: none; font-size: .96rem; }
.site-foot a:not(.btn):hover { color: var(--lamplight); text-decoration: underline; }
.site-foot .foot-note { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid oklch(97.7% 0.010 87.5 / .16); font-size: .85rem; color: oklch(97.7% 0.010 87.5 / .6); }
.site-foot .foot-note a { color: oklch(97.7% 0.010 87.5 / .75); text-decoration: underline; }

/* ── Guide / prose pages ─────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.7em; }
.page-hero { padding: clamp(2.4rem, 5vw, 3.8rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.page-hero .hero-lede { font-size: 1.12rem; color: var(--slate); max-width: 40em; }
.crumbs { font-size: .88rem; color: var(--stone); margin-bottom: 1.2rem; }
.crumbs a { color: var(--stone); }
.crumbs a:hover { color: var(--magenta-deep); }

/* Guide index cards */
.guide-list { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guide-list .card h3 { font-size: 1.25rem; }

/* FAQ details */
details.faq { background: var(--card); border-radius: 12px; box-shadow: var(--shadow-card); padding: 0 1.4rem; margin-bottom: .9rem; }
details.faq summary {
  cursor: pointer; font-weight: 700; padding: 1.1rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: "Petrona", Georgia, serif; font-size: 1.5rem; color: var(--lorikeet-deep); transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 0 1.2rem; }

/* Checklist (settled-by-Sunday) */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0; }
.checklist li { padding: .55rem 0 .55rem 2rem; position: relative; border-bottom: 1px dashed oklch(51.4% 0.018 90.3 / .35); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 1.15em; height: 1.15em;
  border: 2px solid var(--magenta-deep); border-radius: 5px;
}

/* Spot states */
.spot-state { text-align: center; padding-block: 2rem; }
.spot-state img { width: min(240px, 60vw); margin: 0 auto 1.4rem; }

/* ── Motion layer (see MOTION.md) ─────────────────────────────────────────── */
/* Initial-hidden states are gated on html.js (set by an inline script in the head
   partial) so a no-JS visitor sees everything: the reveal is an enhancement, never
   a dependency. */
.reveal, .reveal-stagger > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1 !important; transform: none !important; }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(12px); }
.reveal-stagger.in > * { opacity: 1 !important; transform: none !important; }
.reveal-stagger.in > :nth-child(2) { transition-delay: .09s; }
.reveal-stagger.in > :nth-child(3) { transition-delay: .18s; }
.reveal-stagger.in > :nth-child(4) { transition-delay: .27s; }
.reveal-stagger.in > :nth-child(5) { transition-delay: .36s; }
.reveal-stagger.in > :nth-child(6) { transition-delay: .45s; }

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

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