/* Hallmark · shape: Index-led service page (draw: Catalogue, swapped: a quote-led trade has no inventory to grid) · genre: editorial · theme: Solstice (deal 3/3, seed local-roof-window-replacement-a4a4·4103397a·2026-11-07·r0) · redesign: full · draw: f15d3f
 * hero: Poster (draw: Corridor, swapped: the hero leads with the room in late light) · nav: slab · footer: letter close · imagery: photographs, the owner’s 3 (VELUX supplied): hero, two before and after splits · signature: the loft room in long light, full-bleed, the head on its shaded side · solstice: long-light, brand yellow replaces vermilion as the signal
 * axes: light/high-contrast-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the only photograph is a library stand-in; the old-code to new-size list carries the specifics until Ian's own job photos land */
/* Hallmark · reworded "Old roof window leaking, sticking or misted up? We replace VELUX and non-VELUX roof windows…" to one hero sentence · 58 names the hero paragraph */
/* Hallmark · reworded "A fixed, itemised written quotation" to "A fixed written quotation" · quotes give only the final amount and VAT */
/* Hallmark · brand kept: the Daylight Doctor logo in the nav, its yellow as the one signal (filled pill with an ink rule, ink text) · VELUX, FENSA and TrustMark marks in their own colours */
/* Hallmark · dismissed 58 · copy: the owner’s words kept from the audited page; FAQs and services carry the count */
/* Hallmark · dropped topbar strip, emoji icons, eyebrow labels, the drawn hero room and drawn project cards · 30a, 54, 80 name them */

/* ---------- tokens (Solstice, long-light) ---------- */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(94% 0.03 80); --color-paper-2: oklch(97% 0.02 85); --color-paper-3: oklch(89% 0.05 80);
  --color-ink: oklch(27% 0.05 50); --color-ink-2: oklch(36% 0.05 50); --color-muted: oklch(48% 0.06 55);
  --color-rule: oklch(84% 0.06 78);
  --color-accent: oklch(96.5% 0.21 110); --color-accent-2: oklch(90% 0.19 105); --color-accent-ink: oklch(27% 0.05 50); --color-focus: oklch(36% 0.05 50);
  --color-focus-on-ink: oklch(84% 0.11 80);
  --color-gold: oklch(74% 0.14 75); --color-gold-2: oklch(84% 0.11 80); --color-slot: var(--color-gold);
  --color-on-ink: oklch(94% 0.03 80); --color-on-ink-2: oklch(84% 0.04 78);
  --font-display: "Yeseva One", ui-serif, Georgia, serif; --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Archivo Narrow", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 0; --radius-pill: 999px; --rule-hair: 1px; --rule-bar: 2px;
  --shadow-card: 10px 10px 0 var(--color-paper-3);
  --tracking-display: -0.005em; --display-weight: 400;
  --nav-h: 80px;
}

/* ---------- base (Hallmark scaffold) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); scroll-behavior: smooth; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-ink); }
::selection { background: color-mix(in oklab, var(--color-gold) 40%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 14ch; font-size: var(--text-display); }
h2 { max-width: 20ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.15; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 46ch; color: var(--color-ink-2); }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.small { font: 600 var(--text-xs)/1.4 var(--font-outlier); color: var(--color-muted); }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2), var(--color-paper-3)); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: sepia(0.28) saturate(0.94) brightness(0.96); }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }

/* ---------- grid ---------- */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.section { padding-block: var(--section-gap-s); }
.section + .section { padding-top: 0; }
.section--rule > .container > .g12 { border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-xl); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-outlier); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--quiet { min-height: 44px; padding: 0 0 var(--space-3xs); border: 0; border-radius: 0; background: none; color: var(--color-ink); border-bottom: var(--rule-bar) solid currentColor; }
.btn--quiet:hover { background: none; color: var(--color-muted); }
.btn--quiet:disabled { opacity: 0.55; color: var(--color-muted); border-bottom-color: var(--color-rule); cursor: not-allowed; }
.on-ink .btn--quiet { color: var(--color-on-ink); }
.on-ink .btn--quiet:hover { color: var(--color-gold-2); }
.on-ink :focus-visible, .on-ink .btn:focus-visible { outline-color: var(--color-focus-on-ink); }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color var(--dur-short) var(--ease-out); }
.link:focus-visible { outline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }
.link:active { color: var(--color-muted); }

/* ---------- nav: slab ---------- */
header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper-2); color: var(--color-ink); border-bottom: var(--rule-bar) solid var(--color-ink); }
nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 64px; width: auto; }
.navlinks { display: flex; gap: var(--space-lg); align-items: center; }
.navlinks a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.navlinks a:hover { color: var(--color-ink); text-decoration: underline; }
.nav-cta { display: flex; gap: var(--space-lg); align-items: center; }
.nav-phone { text-decoration: none; font-weight: 500; font-size: var(--text-md); }
.nav-phone:hover { text-decoration: underline; }
.nav-cta .btn { min-height: 44px; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; background: none; border: var(--rule-hair) solid var(--color-ink); border-radius: 0; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.menu-btn:hover { background: var(--color-paper-3); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn svg { width: 24px; height: 24px; }
.mobile-menu { display: none; border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.mobile-menu a { display: block; padding: var(--space-md) var(--gutter); text-decoration: none; font-weight: 500; border-bottom: var(--rule-hair) solid var(--color-rule); }
.mobile-menu a:hover { background: var(--color-paper-3); }
.mobile-menu.open { display: block; }
.skip-content { position: fixed; left: var(--space-md); top: var(--space-md); z-index: var(--z-toast); background: var(--color-paper-2); color: var(--color-ink); padding: var(--space-sm) var(--space-md); transform: translateY(-200%); }
.skip-content:focus { transform: none; }

/* ---------- hero: poster ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: end; color: var(--color-on-ink); background: var(--color-ink); }
.hero .photo { position: absolute; inset: 0; margin: 0; }
.hero .photo > img { object-position: 50% 42%; }
.hero-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, color-mix(in oklab, var(--color-ink) 82%, transparent) 0%, color-mix(in oklab, var(--color-ink) 55%, transparent) 42%, transparent 72%); }
.hero-content { position: relative; z-index: 3; padding-block: var(--space-3xl) var(--space-3xl); }
.hero h1 { color: var(--color-on-ink); }
.hero .lead { color: var(--color-on-ink-2); margin-top: var(--space-lg); max-width: 34ch; }
.hero-actions { display: flex; gap: var(--space-xl); flex-wrap: wrap; align-items: center; margin-top: var(--space-xl); }

/* ---------- problems: rows ---------- */
.head-col { grid-column: 1 / span 4; }
.head-col .lead, .head-col p { margin-top: var(--space-md); }
.rows-col { grid-column: 6 / -1; list-style: none; }
.rows-col > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.rows-col > li:first-child { border-top: 0; padding-top: 0; }
.rows-col p { color: var(--color-ink-2); }

/* ---------- services: grid + the label well ---------- */
.services-head { grid-column: 1 / span 7; margin-bottom: var(--space-2xl); }
.services-head .lead { margin-top: var(--space-md); }
.svc-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); list-style: none; }
.svc { display: flex; flex-direction: column; gap: var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }
.svc h3 { font-size: var(--text-xl); }
.svc p { color: var(--color-ink-2); }
.svc ul { list-style: none; display: grid; gap: var(--space-2xs); flex: 1; align-content: start; }
.svc ul li { padding-left: var(--space-md); position: relative; color: var(--color-ink-2); }
.svc ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: var(--rule-hair); background: var(--color-ink); }
.codes { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; margin-top: var(--space-3xl); }
.codes h3 { font-size: var(--text-2xl); }
.codes p { margin-top: var(--space-md); color: var(--color-ink-2); }
.well { background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-ink); outline: var(--rule-hair) solid var(--color-gold); outline-offset: -8px; box-shadow: var(--shadow-card); padding: var(--space-xl); }
.plate { width: 100%; border-collapse: collapse; }
.plate caption { text-align: left; padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-gold); }
.plate th, .plate td { text-align: left; padding: var(--space-md) 0; border-bottom: var(--rule-hair) dotted var(--color-gold); }
.plate tr:last-child th, .plate tr:last-child td { border-bottom: 0; padding-bottom: 0; }
.plate thead th { font: 600 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); padding-top: var(--space-md); }
.plate tbody th, .plate tbody td { font: 400 var(--text-2xl)/1 var(--font-display); }
.plate tbody td { text-align: right; }
.plate thead th:last-child { text-align: right; }

/* ---------- steps ---------- */
.steps-head { grid-column: 1 / span 7; margin-bottom: var(--space-2xl); }
.steps { grid-column: 1 / -1; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.steps li { counter-increment: step; display: grid; gap: var(--space-sm); align-content: start; }
.steps li::before { content: counter(step); font: 400 var(--text-display-s)/1 var(--font-display); color: var(--color-ink); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-gold); margin-bottom: var(--space-xs); }
.steps p { color: var(--color-ink-2); }

/* ---------- certified: ink band ---------- */
.band-cert { background: var(--color-paper-2); padding-block: var(--section-gap-s); border-block: var(--rule-bar) solid var(--color-ink); }
.cert-text { grid-column: 1 / span 6; }
.cert-text p { color: var(--color-ink-2); margin-top: var(--space-lg); }
.cert-text .small { color: var(--color-muted); }
.figs { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
.fig { padding-inline: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.fig:first-child { padding-left: 0; border-left: 0; }
.fig b { display: block; font: 400 clamp(5rem, 8vw, 8rem)/0.9 var(--font-display); font-variant-numeric: tabular-nums; }
.fig span { display: block; font-weight: 500; margin-top: var(--space-sm); }
.fig small { display: block; color: var(--color-muted); font-size: var(--text-sm); }
.creds { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-gold); }
.creds li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-items: center; padding: var(--space-lg) var(--space-xl) 0; border-left: var(--rule-hair) solid var(--color-rule); }
.creds img { height: 56px; width: auto; }
.creds img.wide { height: 44px; }
.creds li:has(img.wide) { grid-template-columns: minmax(0, 1fr); }
.creds li:first-child { padding-left: 0; border-left: 0; }
.creds strong { display: block; font: 400 var(--text-title)/1.15 var(--font-display); }
.creds span { display: block; color: var(--color-ink-2); font-size: var(--text-sm); margin-top: var(--space-2xs); }

/* ---------- work: index ---------- */
.work-head { grid-column: 1 / span 6; margin-bottom: var(--space-2xl); }
.work-head p { margin-top: var(--space-md); color: var(--color-ink-2); }
.index { grid-column: 1 / -1; list-style: none; }
.index li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.index li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.index h3 { grid-column: 1 / span 4; font-size: var(--text-3xl); }
.index .pc { grid-column: 5 / span 2; }
.index p { grid-column: 7 / -1; font-size: var(--text-lead); color: var(--color-ink-2); }

.ba { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-bottom: var(--space-3xl); }
.ba figure { margin: 0; min-width: 0; }
.ba-frame { aspect-ratio: 4 / 5; }
.ba-frame > img { filter: none; outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.ba figcaption { margin-top: var(--space-sm); }
.hero .photo > img { filter: sepia(0.12) saturate(0.98); }
.rating { grid-column: 1 / span 5; display: grid; gap: var(--space-md); align-content: start; }
.rating-fig { font: 400 clamp(6rem, 12vw, 11rem)/0.85 var(--font-display); }
.rating h2 { font-size: var(--text-2xl); max-width: 20ch; }
.rating .link { width: fit-content; }
.quotes { grid-column: 7 / -1; display: grid; gap: var(--space-2xl); }
.pull { margin: 0; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-gold); }
.pull blockquote { margin: 0; }
.pull p { font: 400 var(--text-title)/1.3 var(--font-display); max-width: 46ch; text-indent: -0.4em; }
.pull figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.installs { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-gold); color: var(--color-ink-2); }
.installs b { display: block; font: 400 var(--text-display-s)/1 var(--font-display); color: var(--color-ink); }
.index h3 a { text-decoration: none; }
.index h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
/* ---------- quote: form ---------- */
.quote { background: var(--color-paper-2); padding-block: var(--section-gap-s); border-top: var(--rule-bar) solid var(--color-ink); }
.quote-side { grid-column: 1 / span 5; }
.quote-side > p { margin-top: var(--space-lg); color: var(--color-ink-2); }
.quote-side .small { margin-top: var(--space-md); }
.contact-list { list-style: none; margin-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.contact-item { display: flex; gap: var(--space-md); align-items: center; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.contact-item:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.contact-item svg { width: 24px; height: 24px; flex-shrink: 0; }
.contact-item strong { display: block; font: 400 var(--text-xl)/1.15 var(--font-display); transition: color var(--dur-short) var(--ease-out); }
.contact-item span { display: block; font-size: var(--text-sm); color: var(--color-muted); }
form { grid-column: 7 / -1; }
form h3 { font-size: var(--text-2xl); }
form > p { margin: var(--space-sm) 0 var(--space-xl); color: var(--color-ink-2); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-lg); min-width: 0; border: 0; padding: 0; }
.field > label, legend { font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); padding: 0; }
.opt { font-weight: 400; color: var(--color-muted); }
input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; transition: background-color var(--dur-micro) var(--ease-out); }
input:hover, select:hover, textarea:hover { background: var(--color-paper-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--color-focus); }
input:disabled, select:disabled, textarea:disabled { opacity: 0.55; cursor: not-allowed; }
input[aria-invalid="true"] { border-color: var(--color-error); }
textarea { min-height: 112px; resize: vertical; }
.hint { font-size: var(--text-sm); color: var(--color-muted); }
.seg { display: flex; flex-wrap: wrap; gap: 0; }
.seg label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); margin-left: -1px; cursor: pointer; font-size: var(--text-sm); font-weight: 500; background: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out); }
.seg label:first-of-type { margin-left: 0; }
.seg label:hover { background: var(--color-paper-3); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--color-ink); color: var(--color-paper-2); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; z-index: 1; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-xl); align-items: center; margin-top: var(--space-xs); }
.form-note { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-md); max-width: 60ch; }
.form-note.is-error { color: var(--color-error); }

.emma-note { margin-top: var(--space-md); max-width: 52ch; }
.legal a { text-decoration: underline; }
.privacy h1 { font-size: var(--text-display-s); }
.privacy .lead { margin-top: var(--space-md); }
.pv-rows > li { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.pv-h { font-size: var(--text-title); max-width: 20ch; }
/* ---------- faq: rows ---------- */
.faq-list { grid-column: 6 / -1; }
details { border-top: var(--rule-hair) solid var(--color-rule); }
details:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
summary { cursor: pointer; list-style: none; position: relative; padding: var(--space-lg) var(--space-xl) var(--space-lg) 0; font: 400 var(--text-title)/1.2 var(--font-display); transition: color var(--dur-short) var(--ease-out); }
summary:hover { color: var(--color-muted); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: var(--space-lg); font: 400 var(--text-xl)/1 var(--font-body); color: var(--color-ink); }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); }

/* ---------- footer: letter close ---------- */
footer { background: var(--color-paper); padding-block: var(--section-gap-s) var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); }
.sign { grid-column: 1 / span 6; }
.sign p.close { font: 400 var(--text-display-s)/1.05 var(--font-display); max-width: 28ch; }
.sign address { font-style: normal; margin-top: var(--space-xl); color: var(--color-ink-2); }
.sign address a { display: block; width: fit-content; }
.areas-col { grid-column: 8 / -1; }
.areas-col h2 { font-size: var(--text-2xl); }
.areas-col > p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.area-list { list-style: none; columns: 3; column-gap: var(--gap-columns); margin-top: var(--space-lg); }
.area-list li { padding-block: var(--space-2xs); break-inside: avoid; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.legal p { font-size: var(--text-sm); color: var(--color-muted); }
.legal a { color: inherit; }

/* ---------- town pages ---------- */
.town-hero { padding-block: var(--space-2xl) var(--space-3xl); }
.town-hero .g12 { align-items: center; row-gap: var(--space-xl); }
.town-hero-text { grid-column: 1 / span 6; }
.crumbs { margin-bottom: var(--space-lg); }
.town-hero .lead { margin-top: var(--space-lg); }
.town-photo { grid-column: 8 / -1; margin: 0; aspect-ratio: 4 / 5; max-height: 680px; width: 100%; }
.town-photo > img { filter: none; outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.jobs-head { grid-column: 1 / span 7; margin-bottom: var(--space-2xl); }
.jobs-head .lead { margin-top: var(--space-md); }
.jobs { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3xl) var(--gap-columns); }
.jobs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job { display: grid; gap: var(--space-sm); align-content: start; }
.job-frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-paper-3); margin-bottom: var(--space-xs); }
.jobs--3 .job-frame { aspect-ratio: 4 / 5; }
.job-frame img { width: 100%; height: 100%; object-fit: cover; outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.job h3 { font-size: var(--text-xl); }
.job p { color: var(--color-ink-2); max-width: 56ch; }
.proof-figs { grid-column: 1 / span 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; }
.proof-figs p { padding-inline: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); font-size: var(--text-sm); }
.proof-figs p:first-child { padding-left: 0; border-left: 0; }
.proof-figs b { display: block; font: 400 var(--text-display-s)/1 var(--font-display); color: var(--color-ink); margin-bottom: var(--space-xs); }
.proof-text { grid-column: 7 / -1; }
.proof-text h2 { font-size: var(--text-2xl); }
.proof-text p { margin-top: var(--space-md); color: var(--color-ink-2); }
.cred-marks { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: center; margin-top: var(--space-xl); }
.cred-marks img { height: 48px; width: auto; }
.cta-text { grid-column: 1 / span 6; }
.cta-text .lead { margin-top: var(--space-md); }
.cta-list { grid-column: 8 / -1; margin-top: 0; }
.nearby { grid-column: 1 / -1; margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--gap-columns); row-gap: var(--space-sm); }
.nearby h3 { grid-row: span 2; }
.nearby p { color: var(--color-ink-2); }
.nearby-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
@media (max-width: 60rem) {
  .town-hero-text, .town-photo, .jobs-head, .proof-figs, .proof-text, .cta-text, .cta-list { grid-column: 1 / -1; }
  .town-photo { max-height: 520px; }
  .proof-text, .cta-list { margin-top: var(--space-xl); }
  .jobs--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nearby { grid-template-columns: minmax(0, 1fr); }
  .nearby h3 { grid-row: auto; }
}
@media (max-width: 40rem) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .jobs, .jobs--3 { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .town-hero { padding-block: var(--space-xl) var(--space-2xl); }
  .town-photo { display: none; }
}

/* ---------- phone bar ---------- */
.mobile-bar { display: none; }

@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; }
  .navlinks, .nav-phone, .nav-cta .btn { display: none; }
  .menu-btn { display: grid; }
  .hero-scrim { background: linear-gradient(0deg, color-mix(in oklab, var(--color-ink) 88%, transparent) 0%, color-mix(in oklab, var(--color-ink) 60%, transparent) 50%, transparent 85%); }
  .rating, .quotes, .head-col, .rows-col, .services-head, .steps-head, .cert-text, .figs, .work-head, .quote-side, form, .faq-list, .sign, .areas-col { grid-column: 1 / -1; }
  .rows-col, .faq-list, form, .figs, .areas-col, .quotes { margin-top: var(--space-xl); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
  .codes { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds li, .creds li:first-child { padding: var(--space-md) 0; border-left: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .index h3 { grid-column: 1 / span 8; }
  .index .pc { grid-column: 9 / -1; text-align: right; }
  .index p { grid-column: 1 / -1; margin-top: var(--space-sm); }
}
@media (max-width: 40rem) {
  .ba { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; --nav-h: 64px; }
  .hero { min-height: 88dvh; }
  .hero-actions { gap: var(--space-lg); }
  .rows-col > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fig { padding-inline: var(--space-lg); }
  .area-list { columns: 2; }
  .well { padding: var(--space-lg); }
  body { padding-bottom: 76px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background: var(--color-paper-2); padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom)); border-top: var(--rule-bar) solid var(--color-ink); }
  .mobile-bar .btn { padding-inline: var(--space-sm); }
  .mobile-bar .btn--quiet { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
