/* Daylight Roofing Dunstable, direction B "Plain as day" (STYLE-GUIDE.md): ink/paper bands, Arvo slab + Libre Franklin (loop 3), the sun
   marker bar, ruled numbered indexes, the plain-words dictionary, the A9 checklist long read. Tokens on :root; one .on-dark class (§7c.3). */

:root {
	--ink: #121110;
	--paper: #FAF7F0;
	--paper-2: #F1EDE3;
	--rule: #121110;
	--sun: #FFCC29;
	--orange: #F27136;
	--orange-text: #B4461A;
	--white: #FFFFFF;
	--f-head: 'Arvo', 'Arvo Fallback', Georgia, serif;
	--f-body: 'Libre Franklin', 'Franklin Fallback', Arial, sans-serif;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
	--pad-block: clamp(40px, 5.2vw, 80px);
	--gutter: clamp(16px, 4vw, 40px);
	--w-read: 68ch;
	--w-std: 1160px;
	--w-wide: 1320px;
	--hdr-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.65; overflow-x: clip; }
@media (min-width: 1024px) { body { font-size: 18.5px; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; margin: 0 0 var(--s4); text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }
p { margin: 0 0 var(--s4); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--w-std) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.wrap--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.wrap--mid { max-width: calc(900px + 2 * var(--gutter)); }
.wrap--read { max-width: calc(var(--w-read) + 2 * var(--gutter)); }
.band { padding-block: var(--pad-block); margin: 0; }
.band--paper { background: var(--paper); }
.band--paper-2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }

/* the marker bar: black text on a straight sun bar, sitting a little below the x-height midline (STYLE-GUIDE §2.1) */
/* the whole inline box is sun (cap height to descender, every line of a wrap): never a narrow band the glyphs can escape on ink (M3 review) */
.mk { background-color: transparent; background-image: linear-gradient(var(--sun), var(--sun)); background-repeat: no-repeat; background-size: 100% 100%; color: var(--ink); padding: 0.04em 0.14em 0.02em; margin: 0 0.02em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.on-dark .mk { color: var(--ink); }

/* one class carries every dark-ground correction (§7c.3) */
.on-dark { color: var(--paper); }
.on-dark a:not(.btn) { color: var(--sun); }
.on-dark a:focus-visible, .on-dark button:focus-visible, .on-dark summary:focus-visible { outline-color: var(--sun); }
/* Stage 6 (§27.7): the fixed mobile bar sits on ink outside any .on-dark band; rings drawn inside the bar so the viewport edge never clips them */
.mbar__a:focus-visible { outline-color: var(--sun); outline-offset: -5px; }
.mbar__q:focus-visible { outline-color: var(--ink); }

.kicker { font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 var(--s3); color: var(--orange-text); }
.on-dark .kicker { color: var(--orange); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2; background: var(--ink); color: var(--paper); text-decoration: none; border: 2px solid var(--ink); border-radius: 0; cursor: pointer; }
.btn:hover { background: #2a2826; }
.btn--sun, .on-dark .btn { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn--sun:hover, .on-dark .btn:hover { background: #ffd64f; }
.btn--line { background: transparent; color: var(--ink); }
.on-dark .btn--line { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 0.95rem; }

/* ------------------------------------------------------------------ header (§4a: full nav to 1024px, burger below) */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hdr__bar { display: flex; align-items: center; gap: var(--s5); min-height: var(--hdr-h); }
.hdr__logo img { height: 58px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__a { display: block; padding: 8px 10px; font-weight: 700; text-decoration: none; font-size: 0.98rem; white-space: nowrap; }
.nav__a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
.nav__caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 40px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.nav__dd { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: var(--s2) 0; background: var(--paper); border: 1px solid var(--rule); z-index: 60; }
.nav__dd.is-open, .nav__item--dd:hover .nav__dd, .nav__item--dd:focus-within .nav__dd { display: block; }
.nav__dd a { display: block; padding: 8px 16px; text-decoration: none; font-weight: 500; }
.nav__dd a:hover { background: var(--paper-2); }
.nav__dd-all a { font-weight: 700; border-top: 1px solid var(--rule); margin-top: 4px; }
.nav__mob { display: none; }
.hdr__act { display: flex; align-items: center; gap: var(--s3); }
.hdr__tel { font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdr__call, .hdr__burger { display: none; }
@media (max-width: 1279px) { .hdr__tel { display: none; } }
@media (max-width: 1023px) {
	.hdr__act { display: none; }
	.hdr__call, .hdr__burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }
	.hdr__call { margin-left: auto; }
	.hdr__call svg { width: 24px; height: 24px; }
	.burger, .burger span, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; }
	.burger { background: none; height: 18px; }
	.burger span { position: absolute; top: 8px; }
	.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
	.burger::before { top: 0; } .burger::after { top: 16px; }
	.nav { display: none; position: fixed; left: 0; right: 0; top: var(--hdr-h); bottom: 0; max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; background: var(--paper); padding: var(--s5) var(--gutter); border-top: 1px solid var(--rule); margin: 0; }
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--paper-2); }
	.nav__a { flex: 1; padding: 12px 0; font-size: 1.1rem; }
	.nav__caret { width: 48px; height: 48px; }
	.nav__dd { position: static; width: 100%; border: 0; min-width: 0; padding: 0 0 var(--s3) var(--s4); }
	.nav__item--dd:hover .nav__dd, .nav__item--dd:focus-within .nav__dd { display: none; }
	.nav__item--dd .nav__dd.is-open, .nav__item--dd:focus-within .nav__dd.is-open { display: block; }
	.nav__mob { display: grid; gap: var(--s3); margin-top: var(--s5); }
	html.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ inner hero */
.hero { padding-block: clamp(40px, 6vw, 96px); }
.hero__wrap { display: grid; gap: var(--s6); align-items: center; }
.hero--media .hero__wrap { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero--media .hero__wrap { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.hero__h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem); margin-bottom: var(--s5); }
.hero__lede { font-size: 1.15em; max-width: 60ch; }
.hero__cta { margin: var(--s5) 0 var(--s3); }
.cline { display: flex; flex-wrap: wrap; gap: var(--s2); font-weight: 700; }
.cline__dot { opacity: 0.7; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 var(--s5); padding: 0; font-size: 0.9rem; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.7; }

/* ------------------------------------------------------------------ section head, chips, holding */
.shead { margin-bottom: var(--s6); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: var(--s4) 0 0; padding: 0; }
.chips--center { justify-content: center; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); text-decoration: none; font-weight: 700; background: var(--white); }
.holding__p { font-size: 1.1em; }

/* ------------------------------------------------------------------ trust strip */
.band--trust { padding-block: 0; border-bottom: 2px solid var(--rule); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); list-style: none; margin: 0; padding: 0; }
.trust__i { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: var(--s4) var(--s5); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem); line-height: 1.2; text-align: center; text-wrap: balance; }
.trust__i + .trust__i { border-left: 1px solid var(--rule); }
.trust__g { text-decoration: none; }
.trust__g:hover { text-decoration: underline; }
@media (max-width: 599px) { .trust__i + .trust__i { border-left: 0; border-top: 1px solid var(--rule); } .trust__i { min-height: 64px; } }

/* ------------------------------------------------------------------ FAQ */
.faq__i { border-top: 1px solid var(--rule); padding: var(--s4) 0; }
.faq__q { display: flex; gap: var(--s4); font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__n { color: var(--orange-text); }
.faq__a { padding: var(--s3) 0 0 calc(2ch + var(--s4)); }

/* ------------------------------------------------------------------ quote band: ink, marker on "written", the one CRM card */
.qband { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .qband { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.qband__h { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.qband__lines { list-style: none; margin: var(--s5) 0; padding: 0; }
.qband__lines li { display: flex; flex-wrap: wrap; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid rgba(250, 247, 240, 0.25); }
.qband__lab { min-width: 9ch; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); align-self: center; }
.qband__a { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.qband__g { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; }
.qband__card { background: var(--white); color: var(--ink); padding: var(--s5); min-width: 0; }
.qband__ch { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; margin-bottom: var(--s3); }
.crm iframe { display: block; width: 100%; max-width: 100%; border: 0; min-height: 620px; }

/* ------------------------------------------------------------------ footer (§0e.1): paper, ink top rule, 4 even columns */
.ftr { background: var(--paper); border-top: 2px solid var(--rule); padding-top: var(--s8); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 600px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand, .ftr__contact { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ftr__brand, .ftr__contact { grid-column: auto; } }
.ftr__logo img { width: 190px; height: auto; }
.ftr__h { font-family: var(--f-head); font-size: 1.15rem; margin-bottom: var(--s4); }
.ftr__list { list-style: none; margin: 0; padding: 0; }
.ftr__list li { padding: 0; }
.ftr__list a { text-decoration: none; display: inline-block; padding: 4px 0; line-height: 1.4; }
.ftr__list a:hover { text-decoration: underline; }
.ftr__soc { display: flex; gap: var(--s2); list-style: none; margin: var(--s4) 0; padding: 0; }
.ftr__soc a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--rule); }
.ftr__soc svg { width: 20px; height: 20px; }
.ftr__q { margin-top: var(--s4); }
.ftr__base { border-top: 1px solid var(--rule); padding-block: var(--s4); font-size: 0.92rem; }
.ftr__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); align-items: center; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); list-style: none; margin: 0; padding: 0; }
.ftr__legal a { display: inline-block; padding: 6px 0; }
.ftr__copy { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s4); }
.footer-builtby { white-space: nowrap; }
@media (max-width: 599px) { .ftr__base-in { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------------ mobile CTA bar (fixed, outside main; body never padded, §7c.4) */
.mbar { display: none; }
@media (max-width: 1023px) {
	.mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); border-top: 2px solid var(--sun); }
	.mbar__a { display: flex; align-items: center; justify-content: center; min-height: 52px; color: var(--paper); font-weight: 700; text-decoration: none; }
	.mbar__q { background: var(--sun); color: var(--ink); }
	.ftr__base { padding-bottom: calc(var(--s4) + 56px); }
}

/* ------------------------------------------------------------------ WhatsApp short form */
.wa { position: fixed; inset: 0; z-index: 90; background: rgba(18, 17, 16, 0.72); display: flex; align-items: center; justify-content: center; padding: var(--s4); }
.wa[hidden] { display: none; }
.wa__panel { position: relative; width: 100%; max-width: 460px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper); padding: var(--s6); border: 2px solid var(--ink); }
.wa__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; font-size: 1.6rem; background: none; border: 0; cursor: pointer; }
.fld { margin: 0 0 var(--s3); }
.fld label { display: block; font-weight: 700; margin-bottom: 4px; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 0; background: var(--white); }
.btn--wa { width: 100%; }
html.wa-open { overflow: hidden; }

/* ------------------------------------------------------------------ figures */
.ph { margin: 0; position: relative; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: var(--paper-2); }
.ph img, .ph__draw, .ph__draw svg { width: 100%; height: 100%; object-fit: cover; }
.prose > * + * { margin-top: var(--s4); }
.map__canvas { height: 420px; background: var(--paper-2); }
.map__cap { font-size: 0.85rem; margin-top: var(--s2); }

/* ------------------------------------------------------------------ motion (only under html.js-motion, §7c.6) */
@media (prefers-reduced-motion: no-preference) {
	.js-motion .rv { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
	.js-motion .rv.is-in { opacity: 1; transform: none; }
}

/* ================================================================== HOME (mockup/master-b.png) */

/* hero: text left, the short what-we-do list right with orange dashes */
.hero--home { padding-block: clamp(40px, 5.5vw, 84px) clamp(36px, 4.5vw, 72px); }
.hh { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .hh { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.hh__h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.2rem); line-height: 1.1; margin-bottom: var(--s5); }
.hh__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.hh__li { position: relative; padding-left: 52px; font-family: var(--f-body); font-weight: 700; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem); line-height: 1.3; }
.hh__li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 34px; height: 3px; background: var(--orange); }
.hero__lede { font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); max-width: 46ch; }
.hero__line a { text-decoration: none; }
.hero__line a:hover { text-decoration: underline; }
.on-dark .cline a:not(.btn) { color: var(--paper); }

/* street letterbox: the library's widest frame (1449x322), boxed in the standard container (THEME-PROGRESS: density logged) */
.street-band { background: var(--ink); }
.street { max-width: var(--w-std); margin-inline: auto; aspect-ratio: 1449 / 322; overflow: hidden; background: var(--paper-2); }
.street img, .street .ph__draw, .street .ph__draw svg { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 699px) { .street { aspect-ratio: 2.4 / 1; } }

/* plain-words dictionary (ink): centred block, slab terms with a short orange underline */
.pw { max-width: 820px; }
.pw__k { text-align: center; margin-bottom: var(--s5); }
.pw__l { margin: 0; display: grid; gap: var(--s3); }
.pw__r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px var(--s6); align-items: baseline; }
@media (min-width: 640px) { .pw__r { grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr); } }
.pw__t { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2; margin: 0; }
.pw__t::after { content: ''; display: block; width: 2.6em; height: 3px; background: var(--orange); margin-top: 3px; }
.pw__m { margin: 0; }
.pw__more { margin: var(--s5) 0 0; }
@media (min-width: 640px) { .pw__more { padding-left: calc(min(38%, 312px) + var(--s6)); } }

/* services: numbered ruled index (two columns) + photo */
.svc-band { padding-block: clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--rule); }
.svc { display: grid; gap: var(--s6); align-items: stretch; }
@media (min-width: 900px) { .svc--ph { grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); } }
.svc__h { margin-bottom: var(--s5); }
.svc__ph { margin: 0; aspect-ratio: 3 / 2; align-self: start; }
@media (min-width: 900px) { .svc__ph { aspect-ratio: 1.36 / 1; margin-top: var(--s2); } }
.svc__ph img { width: 100%; height: 100%; object-fit: cover; }
.idx { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s6); }
@media (min-width: 640px) { .idx { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 5), auto); } }
.idx__i { display: grid; grid-template-columns: 2.4ch minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.idx__n { font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; color: var(--orange-text); line-height: 1.1; }
.on-dark .idx__n { color: var(--orange); }
.idx__a { font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; text-decoration: none; line-height: 1.25; }
.idx__a:hover { text-decoration: underline; }
.idx__d { display: block; font-size: 0.92rem; line-height: 1.4; margin-top: 2px; }
.idx--links .idx__a { text-decoration: underline; font-family: var(--f-body); }

/* proof: photo left, slab statement right */
.proof-band { padding-block: 0; border-bottom: 1px solid var(--rule); }
.proof { display: grid; gap: var(--s6); align-items: center; padding-block: var(--s6); }
@media (min-width: 900px) { .proof { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: var(--s8); } }
.proof__ph { aspect-ratio: 3 / 2; margin: 0; }
.proof__h { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; }
.proof__g a { font-weight: 700; }

/* process: four full-width ruled rows */
.pro-band { padding-block: clamp(36px, 4vw, 64px); border-bottom: 1px solid var(--rule); }
.pro__h { margin-bottom: var(--s4); }
.pro { list-style: none; margin: 0; padding: 0; max-width: 980px; }
.pro__r { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 2px var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
@media (min-width: 700px) { .pro__r { grid-template-columns: 3ch minmax(180px, 0.42fr) minmax(0, 1fr); } }
.pro__n { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; color: var(--orange-text); }
.pro__s { font-size: 1.2rem; margin: 0; }
.pro__t { margin: 0; grid-column: 2; }
@media (min-width: 700px) { .pro__t { grid-column: 3; } }

/* areas: radius map left, text right, dot-separated town links */
.areas-band { padding-block: 0; }
.areas { display: grid; gap: var(--s6); align-items: center; padding-block: var(--s6); }
@media (min-width: 900px) { .areas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); } }
.areas__h { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.08; }
.dots { list-style: none; margin: var(--s4) 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 4px; }
.dots li { display: inline-flex; align-items: center; }
.dots li:not(:last-child)::after { content: '\00B7'; margin: 0 0.5em; font-weight: 700; }
.dots a { display: inline-block; padding: 4px 0; }
.areas__all a { font-weight: 700; }
.map { margin: 0; }
.map__canvas { height: clamp(300px, 34vw, 440px); border: 1px solid var(--rule); }
.mlab { font-family: var(--f-body); font-weight: 700; font-size: 13px; line-height: 16px; color: var(--ink); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.mlab a, .leaflet-container .mlab a { color: var(--ink); text-decoration: none; }
.mlab--base { font-family: var(--f-head); font-size: 17px; }

/* quote band polish */
.band--quote { padding-block: clamp(48px, 6vw, 96px); }
.qband__dek { font-size: 1.1rem; }
.band--faq .shead { max-width: none; }
.lr + .band--faq { padding-top: var(--s6); }

/* ================================================================== A9 LONG READ: "The plain-as-day roof check" */

.lr { background: var(--paper); }
.lr__intro { padding-block: clamp(48px, 6vw, 96px) var(--s6); }
.lr__iw { display: grid; gap: var(--s5) var(--s7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lr__iw { grid-template-columns: minmax(0, 1fr) auto; } .lr__head { grid-column: 1; } .lrx__n { grid-column: 2; grid-row: 1; align-self: start; padding-top: var(--s6); } .lrx { grid-column: 1 / -1; } }
.lr--photo .lr__iw { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lr--photo .lr__iw { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } .lr--photo .lr__ph { grid-row: 1 / span 3; } .lr--photo .lr__head, .lr--photo .lrx__n, .lr--photo .lrx { grid-column: 2; } .lr--photo .lrx__n { grid-row: auto; padding-top: 0; } }
.lr__ph .ph { aspect-ratio: 3 / 2; }
.lr__h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); line-height: 1.06; }
.lr__lede { max-width: 62ch; }
.lrx__n { margin: 0; font-weight: 500; white-space: nowrap; }
.lrx { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3) var(--s7); }
@media (min-width: 700px) { .lrx { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 4), auto); } }
.lrx__a { display: flex; align-items: center; gap: var(--s4); text-decoration: none; min-height: 48px; }
.lrx__t { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); line-height: 1.2; }
.lrx__a:hover .lrx__t { text-decoration: underline; }

/* the square tick box (contents, openers, close) */
.tbox { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; }
.tbox svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tbox__sq { fill: none; stroke: currentColor; stroke-width: 2.4; }
.tbox__tk { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; stroke-dasharray: 36; stroke-dashoffset: 36; }
.tbox__n { position: relative; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; line-height: 1; }
.tbox--op { width: clamp(56px, 4vw + 30px, 80px); height: clamp(56px, 4vw + 30px, 80px); }
.tbox--op .tbox__sq { stroke-width: 2.2; }
.tbox--op .tbox__n { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); transition: opacity 0.3s ease 0.6s; }
.tbox--done { width: 48px; height: 48px; }
.tbox--done .tbox__tk { stroke-dashoffset: 0; }

/* each check: <details open>, the summary row is the opener */
.lrk { padding-block: clamp(40px, 5vw, 72px); }
.lrk--ink { background: var(--ink); }
.lrk--paper { background: var(--paper); border-top: 1px solid var(--rule); }
.lrk__d > summary { list-style: none; cursor: pointer; }
.lrk__d > summary::-webkit-details-marker { display: none; }
.lrk__op { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s3) var(--s5); max-width: calc(var(--w-std) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) var(--s5); }
.lrk__op::after { content: ''; grid-column: 1 / -1; height: 1px; background: currentColor; opacity: 0.85; margin-top: var(--s3); }
.lrk__h { margin: 0; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.06; }
.lrk__of { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); white-space: nowrap; }
.lrk--ink .lrk__of { color: var(--orange); }
@media (min-width: 700px) {
	.lrk--r .lrk__op { grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
	.lrk--r .lrk__op .tbox { grid-column: 2; grid-row: 1 / span 2; }
	.lrk--r .lrk__h { grid-column: 1; grid-row: 1; }
	.lrk--r .lrk__of { grid-column: 1; grid-row: 2; }
	.lrk--r .lrk__op::after { grid-row: 3; }
}
@media (max-width: 699px) { .lrk__op { grid-template-columns: auto minmax(0, 1fr); } .lrk__of { grid-column: 2; } }
.lrk__in { display: grid; gap: var(--s5); }
.lrk__body { max-width: var(--w-read); margin-inline: auto; width: 100%; }
.lrk__body p { margin: 0 0 var(--s4); }
.lrk__body p:last-child { margin-bottom: 0; }

/* See / Means / Do */
.smd { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (min-width: 760px) { .smd { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .smd__c { padding: 0 var(--s5); } .smd__c + .smd__c { border-left: 1px solid currentColor; } }
.smd__h { font-size: 1.12rem; margin: 0 0 4px; }
.smd__t { margin: 0; font-size: 0.98rem; line-height: 1.5; }

/* modules */
.lrm { width: 100%; }
.lrg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: var(--s4); }
.lrg__i { border: 1.5px solid currentColor; padding: var(--s4); text-align: center; }
.lrg__t { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.lrg__d { display: block; font-size: 0.95rem; line-height: 1.45; }
.lrf { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); max-width: 1000px; margin-inline: auto; }
@media (min-width: 700px) { .lrf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); } }
.lrf__m, .lrf__f { padding: var(--s4) var(--s5); border: 2px solid var(--ink); }
.lrk--ink .lrf__m { border-color: var(--paper); }
.lrf__f { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.lrf__l { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; margin: 0 0 4px; }
.lrf__t { margin: 0; }
.lrf__m s { text-decoration-thickness: 1.5px; }
.lrs { max-width: 1000px; margin-inline: auto; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; padding: var(--s4) 0; }
.lrs__h { font-family: var(--f-head); font-weight: 700; margin: 0 0 var(--s3); }
.lrs__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: var(--s3) var(--s5); }
.lrs__i { display: flex; gap: var(--s2); align-items: flex-start; font-weight: 500; line-height: 1.4; }
.lrs__i .tick { flex: none; color: var(--orange-text); margin-top: 2px; }
.lrk--ink .lrs__i .tick { color: var(--sun); }
.lrc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); max-width: 1000px; margin-inline: auto; padding: var(--s5); border: 2px solid currentColor; align-items: center; }
@media (min-width: 760px) { .lrc { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s5); } }
.lrc__l { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; background: var(--sun); color: var(--ink); padding: 6px 12px; justify-self: start; }
.lrc__h { font-weight: 700; margin: 0 0 4px; }
.lrc__t, .lrc__btn { margin: 0; }
.lrp { margin: 0 auto; max-width: 1000px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4) var(--s7); align-items: center; }
@media (min-width: 760px) { .lrp { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); } .lrp--photo { grid-template-columns: minmax(0, 370px) minmax(0, 1fr); } .lrp--solo { grid-template-columns: minmax(0, 480px); justify-content: center; } }
.lrp__box { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.lrk--ink .lrp--drawn .lrp__box { background: var(--paper); }
.lrp--drawn .lrp__box { padding: var(--s4); }
.lrp__box img, .lrp__box .ph__draw, .lrp__box svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.lrp--drawn .lrp__box svg { object-fit: contain; }
.lrp__side { border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; padding: var(--s5) 0; }
.lrp__note { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.3; margin: 0 0 var(--s3); }
.lrp__cap { font-size: 0.95rem; margin: 0; }

/* close: the tick-box row + the static line + button */
.lr__close { padding-block: var(--s7); border-top: 1px solid var(--rule); }
.lrz { list-style: none; margin: 0 0 var(--s5); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); }
.lrz .tbox { background: var(--ink); color: var(--paper); }
.lrz .tbox__sq { stroke: var(--ink); }
.lrz__t { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s4) var(--s6); margin: 0; }
.lrz__s { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); }

/* signature: the opener tick draws once when the check comes into view (CSS only, reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
	.js-motion .lrk.is-in .tbox--op .tbox__tk { animation: dlr-tick 0.6s ease-out 0.25s forwards; }
	.js-motion .lrk.is-in .tbox--op .tbox__n { opacity: 0; }
}
@keyframes dlr-tick { to { stroke-dashoffset: 0; } }

/* light form (towns) */
.lr--light .lr__head--c { text-align: center; margin: 0 auto var(--s5); max-width: 760px; }
.lrx--row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s6); border-bottom: 1px solid var(--rule); padding-bottom: var(--s5); }
.lrt__list { display: grid; gap: var(--s6); max-width: 900px; margin: var(--s6) auto 0; }
.lrt__h { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.lrt__n { color: var(--orange-text); }
.lrt .smd { margin-bottom: var(--s4); }

/* the marker bar draws in once on headings in view (STYLE-GUIDE §7) */
@media (prefers-reduced-motion: no-preference) {
	.js-motion [data-rv] .mk { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 0.7s ease-out 0.15s; }
	.js-motion [data-rv].is-in .mk { background-size: 100% 100%; }
}

/* ================================================================== INNER TEMPLATES (mockup/page-service, mockup/page-area) */

/* inner hero with a photo right: the box never exceeds 500 CSS px (the ~1024px library supply at 2x) */
.hero--media .hero__wrap { align-items: center; }
@media (min-width: 900px) { .hero--media .hero__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s7); } }
.hero__ph { margin: 0; aspect-ratio: 4 / 3; }
.hero__ph.ph--drawn { background: var(--paper); padding: var(--s4); }
.hero__ph.ph--drawn svg { object-fit: contain; }
.hero__k { color: var(--orange); }
.hero__meta { font-weight: 500; margin: 0 0 var(--s4); }
.crumbs a { color: var(--sun); }

/* town: the drawn roofline letterbox under the hero (vector: sharp at any width) */
.town-street { background: var(--ink); }
.town-street__in { max-width: var(--w-wide); margin-inline: auto; background: var(--paper); aspect-ratio: 1200 / 220; overflow: hidden; }
.town-street__in svg { width: 100%; height: 100%; display: block; }
@media (max-width: 699px) { .town-street__in { aspect-ratio: 2.4 / 1; } }

/* town fact strip: label caps (orange text) over a slab value, split by rules */
.facts-band { border-bottom: 2px solid var(--rule); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.facts__i { padding: var(--s4) var(--s5); text-align: center; }
.facts__i + .facts__i { border-left: 1px solid var(--rule); }
@media (max-width: 599px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts__i + .facts__i { border-left: 0; } .facts__i:nth-child(even) { border-left: 1px solid var(--rule); } .facts__i:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.facts__l { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); }
.facts__v { margin: 4px 0 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.2; }

/* roofs in <town>: text + numbered house types left, the one pool photo right */
.roofs-band { border-bottom: 1px solid var(--rule); }
.roofs { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .roofs { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s7); } }
.roofs__ph { margin: 0; aspect-ratio: 3 / 2; }
.roofs__h { text-transform: none; }
.idx--one { grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row !important; grid-template-rows: none !important; margin-top: var(--s4); }
.idx--plain .idx__a { font-size: 1.12rem; }

/* fixes (hub): H2 + numbered short labels in two ruled columns */
.fix-band { border-bottom: 1px solid var(--rule); }
.fix__h { margin-bottom: var(--s5); }

/* costs (hub): text left, the job table right; the table stacks label/value under 600px (no sideways scroll) */
.cost-band { border-bottom: 1px solid var(--rule); }
.cost { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .cost { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s7); } }
.cost__h { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); line-height: 1.08; }
.cost__note { margin: var(--s3) 0 0; font-weight: 500; text-align: center; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.98rem; background: var(--white); }
.tbl th, .tbl td { border: 1px solid var(--rule); padding: 10px 14px; text-align: left; vertical-align: top; }
.tbl th { font-family: var(--f-head); font-weight: 700; background: var(--paper-2); }
@media (max-width: 599px) {
	.tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
	.tbl tr { border: 1px solid var(--rule); margin-bottom: var(--s3); }
	.tbl td { border: 0; border-top: 1px solid var(--paper-2); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s3); }
	.tbl td::before { content: attr(data-label); font-weight: 700; }
}

/* hub guides and answers + spoke "more on" links: two columns of plain links */
.spk-band { border-top: 1px solid var(--rule); }
.spk { list-style: none; margin: var(--s4) 0 0; padding: 0; columns: 2 280px; column-gap: var(--s7); }
.spk li { break-inside: avoid; padding: 4px 0; }
.spk a { font-weight: 500; }
.spk__all { margin: var(--s4) 0 0; font-weight: 700; }
.part__h { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }

/* guide/post: FEATURE FLOW: big margin numbers beside a 68ch column, modules at full measure */
.feat__in { max-width: calc(var(--w-std) + 2 * var(--gutter)); }
.feat__intro { max-width: var(--w-read); margin: 0 auto var(--s7); font-size: 1.12em; }
.sec { max-width: 1000px; margin: 0 auto var(--s8); }
.sec:last-child { margin-bottom: 0; }
.sec--num { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s6); }
@media (min-width: 900px) { .sec--num { grid-template-columns: 120px minmax(0, 1fr); } }
.sec__n { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.4vw, 4.6rem); line-height: 0.9; color: var(--orange-text); border-top: 4px solid var(--ink); padding-top: var(--s3); }
@media (max-width: 899px) { .sec__n { border: 0; padding: 0; font-size: 2.2rem; margin-bottom: var(--s2); } }
.sec__in { min-width: 0; }
.sec__in > .prose { max-width: var(--w-read); }
.sec__h { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.sec__in > .lrm, .sec__tbl { margin-top: var(--s5); }
.sec__tbl { overflow: visible; }

/* answer: DIRECT ANSWER first, in a sun-ruled panel */
.ans__short { border-left: 10px solid var(--sun); background: var(--white); padding: var(--s5) var(--s6); margin-bottom: var(--s7); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.ans__l { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 var(--s2); }
.ans__t { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.35; margin: 0; }
.ans .sec { margin-bottom: var(--s7); }

/* services index: big numbered rows with the hub lede */
.sx { list-style: none; margin: 0; padding: 0; }
.sx__i { display: grid; grid-template-columns: 3.4ch minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }
.sx__n { font-family: var(--f-head); font-weight: 700; font-size: 1.8rem; color: var(--orange-text); line-height: 1; }
.sx__h { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); margin-bottom: var(--s2); }
.sx__h a { text-decoration: none; }
.sx__h a:hover { text-decoration: underline; }
.sx__d { margin: 0; max-width: 72ch; }

/* areas index: county columns of town links */
.ax { columns: 3 260px; column-gap: var(--s7); }
.ax__c { break-inside: avoid-column; margin-bottom: var(--s6); }
.ax__h { font-size: 1.3rem; border-bottom: 2px solid var(--ink); padding-bottom: var(--s2); }
.ax__n { font-family: var(--f-body); font-size: 0.85rem; color: var(--orange-text); font-weight: 700; }
.ax__l { list-style: none; margin: 0; padding: 0; }
.ax__l li { break-inside: avoid; }
.ax__l a { display: inline-block; padding: 3px 0; }
.ax-band { padding-top: var(--s6); }

/* blog index */
.bx__t { margin-bottom: var(--s5); }
.bx { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 0 var(--s6); }
.bx__i { border-top: 2px solid var(--ink); padding: var(--s4) 0 var(--s5); }
.bx__m { font-size: 0.9rem; font-weight: 700; color: var(--orange-text); margin: 0 0 var(--s2); }
.bx__h { font-size: 1.3rem; margin-bottom: var(--s2); }
.bx__h a { text-decoration: none; }
.bx__h a:hover { text-decoration: underline; }
.bx__d { margin: 0; }

/* contact: form first, details + map facade beside */
.contact-band .qband { align-items: start; }
@media (min-width: 960px) { .contact-band .qband { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.qband__card--line { border: 2px solid var(--ink); }
.contact-band .qband__lines li { border-top-color: var(--rule); }
.contact-band .qband__lab { color: var(--orange-text); }
.contact-band .qband__a { color: var(--ink); }
.contact-band .qband__g { margin: var(--s4) 0; }
.ct__soc { list-style: none; margin: 0 0 var(--s5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.ct__soc a { font-weight: 700; display: inline-block; padding: 6px 0; }
.gbp { border: 2px solid var(--ink); background: var(--paper-2); padding: var(--s5); aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s3); }
.gbp iframe { width: 100%; height: 100%; border: 0; display: block; }
.gbp:has(iframe) { padding: 0; }
.gbp__t, .gbp__alt { margin: 0; }

/* article / legal reading column */
.art__meta { font-weight: 700; color: var(--orange-text); margin-bottom: var(--s5); }
.art__intro { font-size: 1.1em; margin-bottom: var(--s6); }
.art .sec, .art-band .sec { margin-bottom: var(--s6); }
.art .sec__h, .art-band .sec__h { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s4); }
.prose li + li { margin-top: 4px; }
.prose a { font-weight: 500; }

/* seams (qa-gaps 120px): a reading band closes tighter than the default band padding */
.art, .feat, .ans, .art-band { padding-bottom: var(--s8); }
.prose > :last-child, .sec:last-child .prose > :last-child { margin-bottom: 0; }
.band--paper + .band--paper, .lr--light + .band--paper { border-top: 1px solid var(--rule); padding-top: clamp(40px, 5vw, 72px); }
.ans .sec:last-child { margin-bottom: 0; }
.art .sec__tbl { margin: 0 0 var(--s6); }
.lr__draw { background: var(--paper-2); padding: var(--s4); } .lr__draw svg { object-fit: contain; }

/* ================================================================== FIDELITY LOOP 1 (fresh judges 2026-11-16: home 7.82, service 8.27, area 8.27,
   long read 8.63). Header to the master's proportions (logo ~66px; STYLE-GUIDE's 64px bar cap overridden by the master), tighter bands,
   larger dictionary and index type, a compact quote band, full-width FAQ, the town street full bleed. */

/* header */
:root { --hdr-h: 80px; }
.hdr { border-bottom-width: 3px; }
.hdr__logo img { height: 66px; }
.nav__a { font-size: 1rem; }
.hdr__tel { font-size: 1.08rem; }
.hdr__act .pill, .hdr__act .btn { min-height: 42px; font-size: 0.98rem; }
@media (max-width: 1023px) { :root { --hdr-h: 64px; } .hdr__logo img { height: 48px; } }

/* inner heroes: plain crumbs, a tighter foot */
.crumbs a, .on-dark .crumbs a { color: var(--paper); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero { padding-block: clamp(36px, 4.6vw, 72px) clamp(32px, 3.6vw, 56px); }
.hero__line { margin-bottom: 0; }

/* kickers and labels one step up */
.kicker { font-size: 15px; }
.lrk__of { font-size: 16px; }
.pw__k { font-size: 15px; }

/* home street: paper ground (no ink flanks), the box sits on the trust strip */
.street-band { background: var(--paper); padding-top: var(--s5); }
@media (max-width: 699px) { .street { aspect-ratio: 2 / 1; } .street-band { padding-top: 0; } }

/* plain-words dictionary: the master's large slab terms */
.pw { max-width: 900px; }
.pw__l { gap: var(--s4); }
@media (min-width: 640px) { .pw__r { grid-template-columns: minmax(230px, 0.4fr) minmax(0, 1fr); } .pw__t { white-space: nowrap; } .pw__more { padding-left: calc(min(40%, 360px) + var(--s6)); } }
.pw__t { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); }
.pw__m { font-size: 1.06rem; }

/* indexes and process: bigger names, tighter rows */
.idx__i { padding: 9px 0; }
.idx__n { font-size: 1.4rem; }
.idx__a { font-size: 1.16rem; }
.pro__r { padding: 10px 0; }
.pro__s { font-size: 1.32rem; }
.pro__n { font-size: 1.4rem; }
.svc-band, .pro-band { padding-block: clamp(32px, 4vw, 64px); }

/* quote band: a wider text column so the heading sets on one or two lines, less padding */
.band--quote { padding-block: clamp(36px, 4.4vw, 64px); }
@media (min-width: 960px) { .qband { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s7); } }
.qband__h { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); }
#quote { scroll-margin-top: calc(var(--hdr-h) + 12px); }

/* FAQ at the container width, rows like the master's ruled list */
.band--faq .wrap--mid { max-width: calc(var(--w-std) + 2 * var(--gutter)); }
.faq__i { padding: 12px 0; }
.faq__q { font-size: 1.12rem; }

/* footer: compact link rows, filled round social marks */
.ftr { padding-top: var(--s7); }
.ftr__list a { padding: 2px 0; line-height: 1.3; }
.ftr__grid { padding-bottom: var(--s6); }
.ftr__soc a { border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); width: 40px; height: 40px; }
.ftr__soc a:focus-visible { outline-offset: 2px; }

/* long read: larger contents, counter at body size, a wider intro picture on hubs, a bigger close */
.lrx__t { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); }
.lrx { row-gap: var(--s4); }
.lrx__n { font-size: 1rem; }
@media (min-width: 900px) { .lr--photo .lr__iw { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); } }
.lr__intro { padding-block: clamp(40px, 5vw, 80px) var(--s5); }
.lr__draw { aspect-ratio: 3 / 2; padding: var(--s3); }
.lrz .tbox { width: 52px; height: 52px; }
.lrz { gap: var(--s5); margin-bottom: var(--s6); }
.lrz__s { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); }
.lr__close { padding-block: var(--s8); }
.lrz__t .btn { min-height: 52px; font-size: 1.05rem; }
.lrk--paper .lrk__in > :last-child { margin-bottom: 0; }
.lrg__t { font-size: 1.25rem; }
.smd__h { font-size: 1.2rem; }

/* town: the drawn street full bleed, butted to the hero */
.town-street__in { max-width: none; }
.town-street { background: var(--paper); }

/* town roofs: heading + body full measure, then the numbered types beside the one photo */
.roofs { display: block; }
.roofs__top { max-width: var(--w-read); margin-bottom: var(--s5); }
.roofs__row { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .roofs__row { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s7); } }
.roofs__row .idx--one { margin-top: 0; }

/* town nearby: a wide landscape map */
@media (min-width: 900px) { .near-band .areas { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .near-band .map__canvas { height: auto; aspect-ratio: 2 / 1; } }
.map__cap { font-size: 0.78rem; opacity: 0.85; }

/* town fact strip at 390: values wrap, never clip */
.facts__v { overflow-wrap: anywhere; }
@media (max-width: 599px) { .facts__i { padding: var(--s3); } .facts__v { font-size: 1.05rem; } }

/* dictionary: one grid for all rows, the term column as wide as the longest term (never overlaps its meaning) */
@media (min-width: 640px) { .pw__l { grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--s7); row-gap: var(--s4); align-items: baseline; } .pw__r { display: contents; } .pw__t { white-space: normal; max-width: 16ch; } .pw__more { padding-left: 0; } }

/* ================================================================== FIDELITY LOOP 2 follow-ups (judges 2026-11-16: home 8.33, service 8.46, area 8.56, long read 8.63).
   Applied after the second (last) judged loop; not re-judged (credit budget §5). */

/* header weight closer to the master */
:root { --hdr-h: 88px; }
.hdr__logo img { height: 72px; }
@media (max-width: 1023px) { :root { --hdr-h: 64px; } .hdr__logo img { height: 48px; } }

/* quote band: the copy column top-aligned with the form card (no floating heading in empty ink) */
.qband { align-items: center; } /* start-aligned copy left a 750x460 HOLE beside the 620px live form (qa-gaps): centred stays */


/* town roofs: a true two-column unit from the top: heading, intro and types left, the photo right, top-aligned */
@media (min-width: 900px) { .roofs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--s7); align-items: start; } }
.roofs__top { margin-bottom: var(--s4); }
.roofs__row { display: block; }
.roofs-band { padding-block: clamp(36px, 4.4vw, 64px); }

/* town fact strip: a data band (bigger values and labels) and a clean stack at 390 */
.facts__i { padding: var(--s5); }
.facts__l { font-size: 13px; }
.facts__v { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); }
@media (max-width: 599px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts__i, .facts__i:nth-child(even), .facts__i:nth-child(n+3) { border-left: 0; } .facts__i + .facts__i { border-top: 1px solid var(--rule); } }

/* town long read: four boxes on one row from 1024, a 2x2 grid on phones; a calmer heading */
.lr--light .lr__h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
.lr--light .lrx__t { font-size: 1.12rem; }
@media (min-width: 1024px) { .lrx--row { flex-wrap: nowrap; gap: var(--s5); } .lrx--row .lrx__i + .lrx__i { border-left: 1px solid var(--rule); padding-left: var(--s5); } }
@media (max-width: 699px) { .lrx--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; } }
@media (max-width: 899px) { .map__canvas { height: 260px; } } /* aspect-ratio + min-height forced a 440px-wide map at 390 */

/* hub long-read intro: the picture fills its column at the text's height */
@media (min-width: 900px) { .lr--photo .lr__ph { align-self: stretch; } .lr--photo .lr__ph .ph { height: 100%; aspect-ratio: auto; min-height: 320px; } }

/* town roofs (real content): heading across, body left, photo + numbered types right */
@media (min-width: 900px) { .roofs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); grid-template-areas: 'h h' 't s'; gap: var(--s4) var(--s7); align-items: start; } .roofs__h { grid-area: h; } .roofs__txt { grid-area: t; } .roofs__side { grid-area: s; } }
.roofs__side .idx--one { margin-top: var(--s4); }
@media (min-width: 900px) { .roofs { grid-template-areas: 'h h' 't t' 'l s'; align-items: center; } .roofs__txt { columns: 2; column-gap: var(--s7); } .roofs__txt p { break-inside: avoid-column; } .roofs__list { grid-area: l; margin-top: 0; } .roofs__ph { grid-area: s; } }

/* ================================================================== AGENCY LOOP 1 (operator decisions 2026-11-16; snapshot build/tmp/theme/snapshots/pre-agency1) */

/* home hero: the logo device drawn large in the right third, the three labels beneath it (left text block unchanged) */
.hh__side { display: grid; gap: var(--s5); justify-items: start; }
.hh__dev { width: 100%; max-width: 440px; }
.hh__dev svg { width: 100%; height: auto; display: block; }
@media (max-width: 899px) { .hh__dev { max-width: 300px; } }

/* home street: drawn brick-terrace street at container width (vector: sharp at any size) */
.street--drawn { aspect-ratio: 1200 / 230; background: var(--paper); border-bottom: 0; }
.street--drawn svg { width: 100%; height: 100%; display: block; }
@media (max-width: 699px) { .street--drawn { aspect-ratio: 2 / 1; } }

/* long read: checks ~25% less vertical padding; a drawn picture beside the body on every second check, mirrored opposite the opener box */
.lrk { padding-block: clamp(30px, 3.8vw, 54px); }
.lrk__duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s7); align-items: center; max-width: 1000px; margin-inline: auto; width: 100%; }
@media (min-width: 900px) { .lrk__duo { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); } .lrk--r .lrk__duo { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } .lrk--r .lrk__pic { order: -1; } }
.lrk__duo .lrk__body { max-width: var(--w-read); margin: 0; }
.lrk__pic { margin: 0; aspect-ratio: 3 / 2; background: var(--paper-2); padding: var(--s3); }
.lrk--ink .lrk__pic { background: var(--paper); }
.lrk__pic svg { width: 100%; height: 100%; object-fit: contain; display: block; }

/* hub hero photo box: 440 CSS px (the smallest tile, 932px, stays >= 2x) */
@media (min-width: 900px) { .hero--media .hero__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); } }

/* hub costs: copy above, the table across the full container, 17px cells, slab row headers */
.cost { display: block; }
.cost__txt { max-width: var(--w-read); margin-bottom: var(--s5); }
.cost__tbl { width: 100%; }
.tbl { font-size: 1.06rem; }
.tbl th, .tbl td { padding: 14px 18px; }
.tbl thead th { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tbl tbody th { font-family: var(--f-head); font-weight: 700; background: var(--white); }
.cost__note { text-align: left; font-family: var(--f-head); font-weight: 700; }
.cost__note::before { content: ''; display: inline-block; width: 1.4em; height: 0.7em; background: var(--sun); margin-right: 0.5em; vertical-align: -0.02em; }
@media (max-width: 599px) {
	.tbl th[scope="row"] { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s3); width: 100%; background: var(--paper-2); }
	.tbl th[scope="row"]::before { content: attr(data-label); font-family: var(--f-body); }
}

/* hub guides and answers: grouped ruled columns */
.spg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: var(--s5) var(--s6); margin-top: var(--s4); }
.spg__h { font-size: 1.2rem; border-bottom: 2px solid var(--ink); padding-bottom: var(--s2); margin-bottom: var(--s2); }
.spg__n { font-family: var(--f-body); font-size: 0.85rem; color: var(--orange-text); }
.spg__l { list-style: none; margin: 0; padding: 0; }
.spg__l li { border-bottom: 1px solid var(--paper-2); }
.spg__l a { display: block; padding: 7px 0; font-weight: 500; line-height: 1.35; }

/* map: the real Leaflet map tinted warm to the palette; attribution kept legible */
/* map tint REVERTED (§19.16: it dropped home areas from 8.0 to 7.67, tiles read blank) */

.leaflet-container .leaflet-control-attribution { background: rgba(250, 247, 240, 0.92); color: var(--ink); font-size: 11px; }
.leaflet-container .leaflet-control-attribution a { color: var(--ink); }
/* grouped spokes flow through balanced columns (one long group beside short ones left a 700x650 HOLE: qa-gaps) */
.spg { display: block; columns: 4 230px; column-gap: var(--s6); }
.spg__c { break-inside: auto; margin-bottom: var(--s5); }
.spg__h { break-after: avoid; break-inside: avoid; }
.spg__l li { break-inside: avoid; }
/* only a DRAWN hub intro picture stretches to the text height; a photo keeps its 3:2 box (stretched it rendered at 0.71x: img-measure) */
@media (min-width: 900px) { .lr--photo .lr__ph .ph:not(.lr__draw) { height: auto; aspect-ratio: 3 / 2; min-height: 0; } .lr--photo .lr__ph:has(.ph:not(.lr__draw)) { align-self: center; } }
@media (min-width: 900px) { .lr--photo .lr__ph .ph:not(.lr__draw) { max-width: 440px; margin-left: auto; } }
/* town roofs (re-judge 7.33): photo top-aligned with item 01, bolder type rows, tighter band */
@media (min-width: 900px) { .roofs { align-items: start; } }
.roofs__list .idx__a { font-size: 1.25rem; } .roofs__list .idx__n { font-size: 1.5rem; }
.roofs-band { padding-block: clamp(28px, 3.4vw, 52px); }
/* home drawn street (re-judge 7.5): full bleed, taller */
.street--drawn { max-width: none; aspect-ratio: 1200 / 200; }
.street-band { padding-top: 0; }
.street--drawn { aspect-ratio: 1200 / 220; }

/* ================================================================== AGENCY LOOP 2 (operator 2026-11-16; snapshot build/tmp/theme/snapshots/pre-agency2) */

/* every prose block at a reading measure (~68ch) */
.prose { max-width: var(--w-read); }

/* FAQ: a two-column question / answer grid on desktop: the slab question left, the answer at 68ch right */
@media (min-width: 900px) {
	.faq__i { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s3) var(--s7); align-items: start; padding: var(--s4) 0; }
	.faq__i > summary { grid-column: 1; }
	.faq__a { grid-column: 2; padding: 0; max-width: 68ch; }
	.faq__q { font-size: 1.2rem; }
}
.faq__a { max-width: 68ch; }

/* long read: drawings top-aligned and ~1.5x (480px), the picture-plus-body pair mirrored opposite the opener */
.lrk__duo { max-width: none; align-items: start; }
@media (min-width: 900px) { .lrk__duo { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); } .lrk--r .lrk__duo { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); } }
.lrk__pic { padding: var(--s4); border-top: 2px solid currentColor; }
/* phones: a closed check shows its opener and an open cue */
.lrk__d:not([open]) > summary .lrk__of::after { content: '  +  Open'; white-space: pre; }
.lrk__d:not([open]) > summary { padding-bottom: 0; }

/* dictionary: wider band, 17px definitions, more air */
.pw { max-width: 1100px; }
.pw__m { font-size: 1.08rem; }
@media (min-width: 640px) { .pw__l { row-gap: var(--s5); column-gap: var(--s8); } }

/* guides and answers: four equal columns, each opens with a header (groups start level) */
.spg { display: grid; columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
@media (max-width: 899px) { .spg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .spg { grid-template-columns: minmax(0, 1fr); } }
.spg__c { margin: 0; }
.spg__c .spg__h + .spg__l { margin-bottom: var(--s4); }
.spg__l + .spg__h { margin-top: var(--s4); }

/* home services: photo + drawn companion fill the column to the list's height */
@media (min-width: 900px) { .svc { align-items: stretch; } .svc__side { display: flex; flex-direction: column; gap: var(--s4); } .svc__draw { flex: 1; min-height: 120px; background: var(--paper-2); padding: var(--s3); } .svc__draw svg { width: 100%; height: 100%; object-fit: contain; } }
@media (max-width: 899px) { .svc__draw { display: none; } }

/* hub hero: a deliberate inset (sun block offset behind the photo, ruled caption with the hub's drawing and name) */
.hero__inset { margin: 0; position: relative; padding: 0 0 0 0; }
.hero__inset .hero__ph { display: block; position: relative; z-index: 1; box-shadow: 18px 18px 0 0 var(--sun); }
.hero__cap { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--s4); align-items: center; margin-top: calc(18px + var(--s4)); padding-top: var(--s3); border-top: 2px solid var(--paper); }
.hero__capdr { grid-row: 1 / span 2; width: 64px; height: 42px; background: var(--paper); padding: 4px; }
.hero__capdr svg { width: 100%; height: 100%; }
.hero__capt { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; color: var(--paper); }
.hero__capm { font-size: 0.95rem; color: var(--paper); opacity: 0.9; }
/* a square drawing panel (480x480) top-aligned: a 320px panel beside 700px of body left a 624x400 HOLE (qa-gaps, slate hub) */
@media (min-width: 900px) { .lrk__pic { aspect-ratio: 1 / 1; display: flex; align-items: center; } .lrk__pic .ph__draw { width: 100%; } }
.idx__d { font-size: 1rem; }

/* ================================================================== DEFECT PASS (orchestrator 2026-11-16, §24.19: no restyle; snapshot pre-defects) */

/* (1) one shared left edge inside every check: opener, See/Means/Do row, body and module all sit in one 1000px column */
.lrk__op, .lrk__in { max-width: calc(1000px + 2 * var(--gutter)); }
.lrk__in > * { margin-left: 0; margin-right: 0; max-width: 100%; }
.lrk__in > .lrk__body { max-width: var(--w-read); }
.smd { padding: 0; }
@media (min-width: 760px) { .smd__c:first-child { padding-left: 0; } .smd__c:last-child { padding-right: 0; } }
.lrk__duo { max-width: 100%; }
@media (min-width: 900px) { .lrk__duo { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); } .lrk--r .lrk__duo { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); } }
.lrk__duo .lrk__body { max-width: var(--w-read); }
.lrf, .lrs, .lrc, .lrp, .lrg { margin-left: 0; margin-right: 0; max-width: 100%; }

/* (2) spot drawings: no beige box: on the band ground at full size, top-aligned (the svg keeps its box, the drawing sits at its top) */
.ph--drawn, .lrk__pic, .lrp--drawn .lrp__box, .lr__draw, .svc__draw, .hero__ph.ph--drawn { background: transparent !important; padding: 0 !important; }
.lrk--ink .lrk__pic, .lrk--ink .lrp--drawn .lrp__box { background: transparent !important; }
.lrk__pic { border-top: 0; display: block; }
.lrk__pic svg, .lrp--drawn .lrp__box svg, .lr__draw svg, .svc__draw svg { object-fit: contain; object-position: top center; }
@media (min-width: 900px) { .lrk__pic { aspect-ratio: 1 / 1; } }

/* (3) contents tick boxes align to the first line of a multi-line title */
.lrx__a { align-items: flex-start; }
.lrx__a .tbox { margin-top: -0.35em; }
.lrx__t { padding-top: 0.15em; }

/* (4) quote band: the heading level with the form card's top edge; the copy column spreads to the card's height (no float, no hole) */
@media (min-width: 960px) {
	.qband { align-items: stretch; }
	.qband__txt { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s5); padding-top: var(--s5); }
	.qband__h { margin-bottom: 0; }
}

/* (5) a group carried into the next column: a light small-caps label, not a second header */
.spg__cont { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--paper-2); }
/* the drawing column stays 480 (a 380 square beside long copy left a 608x400 HOLE: qa-gaps); both columns share the check's edges */
@media (min-width: 900px) { .lrk__duo { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } .lrk--r .lrk__duo { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); } }
/* final: the drawing sits ABOVE the body on the shared left edge (460px wide, its own 400:260 shape), the body below at 68ch: any body length, no hole */
.lrk__duo, .lrk--r .lrk__duo { grid-template-columns: minmax(0, 1fr) !important; gap: var(--s4); }
.lrk__pic, .lrk--r .lrk__pic { order: -1; width: 100%; max-width: 460px; aspect-ratio: 400 / 260 !important; }

/* REVERTS after the defect-pass Fidelity check (§19.16): (2) for the FIGURE module only: its drawing goes back in its paper panel (paper check
   8.25 -> 7.67 without it); (4) the quote copy column centred again (quote 7.75 with the stretched column; it scored >= 8 centred) */
.lrp--drawn .lrp__box { background: var(--paper-2) !important; padding: var(--s4) !important; }
.lrk--ink .lrp--drawn .lrp__box { background: var(--paper) !important; }
.lrp--drawn .lrp__box svg { object-position: center; }
@media (min-width: 960px) { .qband { align-items: center; } .qband__txt { display: block; padding-top: 0; } .qband__h { margin-bottom: var(--s4); } }

/* ================================================================== CONTENT FIELDS (orchestrator 2026-11-16, no design change) */

/* about-us pillars: a ruled 4-up row under the hero, 2-up on phones */
.pil-wrap { margin-bottom: var(--s6); }
.pil { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 899px) { .pil { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pil__i { padding: var(--s4) var(--s4) var(--s5); }
.pil__i + .pil__i { border-left: 1px solid var(--rule); }
@media (max-width: 899px) { .pil__i:nth-child(odd) { border-left: 0; } .pil__i:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 389px) { .pil__i { padding: var(--s3); } }
.pil__h { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); margin-bottom: var(--s2); }
.pil__p { margin: 0; font-size: 0.98rem; line-height: 1.5; }

/* tables written inside body strings (<table> in a paragraph array): the .tbl look, and under 600px each row stacks label / value
   (dlr_table_labels() gives every body cell its column header as data-label): never a sideways scroll (memory: tables must fit) */
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--white); margin: var(--s4) 0 var(--s5); }
.prose th, .prose td { border: 1px solid var(--rule); padding: 10px 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.prose thead th { background: var(--ink); color: var(--paper); border-color: var(--ink); font-family: var(--f-head); font-weight: 700; }
.prose tbody th { font-family: var(--f-head); font-weight: 700; }
.prose caption { caption-side: top; text-align: left; font-weight: 700; padding-bottom: var(--s2); }
@media (max-width: 599px) {
	.prose table, .prose tbody, .prose tr, .prose td, .prose tbody th { display: block; width: 100%; }
	.prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.prose tr { border: 1px solid var(--rule); margin-bottom: var(--s3); background: var(--white); }
	.prose td, .prose tbody th { border: 0; border-top: 1px solid var(--paper-2); }
	.prose td[data-label] { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s3); }
	.prose td[data-label]::before { content: attr(data-label); font-weight: 700; }
}
@media (max-width: 599px) { .prose caption { display: block; width: 100%; } }
/* Stage 6 gap gate: a long long-read heading (over 45 characters, the guttering hub) set four lines beside the boxed photo
   and left a 648x424 hole above it; one step smaller keeps it to three lines (inc/longread.php adds .lr--long). */
@media (min-width: 900px) { .lr--photo.lr--long .lr__h2 { font-size: clamp(2.1rem, 1rem + 2.4vw, 3.1rem); } }

/* ================================================================== LOOP 3 (agency design loop 3, 2026-11-17; snapshot build/tmp/theme/snapshots/pre-loop3) */

/* trust strip: the Google cell as a link card: drawn pin, slab link, a small line saying what it opens, an arrow (no stars, no counts) */
.trust__g { display: inline-flex; align-items: center; gap: var(--s3); text-align: left; text-decoration: none; }
.trust__g .gpin { width: 30px; height: 36px; flex: none; }
.trust__gt { display: grid; gap: 2px; }
.trust__gl { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.trust__gs { font-family: var(--f-body); font-weight: 500; font-size: 0.82rem; line-height: 1.3; letter-spacing: 0; }
.trust__ga { width: 22px; height: 22px; flex: none; stroke-width: 2; transition: transform 0.2s ease; }
.trust__g:hover .trust__ga { transform: translateX(4px); }
.trust__g:hover .trust__gl { text-decoration-color: var(--orange); }
.proof__g a { display: inline-flex; align-items: center; gap: var(--s2); }
.proof__g .gpin { width: 22px; height: 27px; }

/* hub hero: a real caption under the inset (the hub as a label, what the photo shows beneath) */
.hero__cap { display: block; margin-top: calc(18px + var(--s4)); padding-top: var(--s3); border-top: 2px solid var(--paper); max-width: 440px; }
.hero__capk { display: block; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.hero__cap .hero__capt { display: block; font-family: var(--f-body); font-weight: 400; font-size: 0.98rem; line-height: 1.45; color: var(--paper); }

/* hubs: the dictionary beside the hub's drawing on a paper plate (home keeps the centred band) */
.pwa { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .pwa { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); } }
.pwa__art { margin: 0; background: var(--paper); padding: var(--s4); box-shadow: 14px 14px 0 0 var(--orange); }
.pwa__art svg { width: 100%; height: auto; display: block; }
.pwa__txt .pw__k { text-align: left; }
.pwa__txt .pw__l { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s4); }
@media (min-width: 640px) { .pwa__txt .pw__l { grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--s6); align-items: baseline; } .pwa__txt .pw__r { display: contents; } .pwa__txt .pw__t { max-width: 13ch; } }
.pwa__txt .pw__more { padding-left: 0; }

/* hub guides and answers: one ruled row per group, header left, links in balanced columns right */
.spr { border-top: 2px solid var(--rule); margin-top: var(--s4); }
.spr__g { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .spr__g { grid-template-columns: 250px minmax(0, 1fr); gap: var(--s6); } }
.spr__h { font-size: 1.3rem; margin: 0; line-height: 1.2; }
.spr__n { display: block; margin-top: 6px; font-family: var(--f-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-text); }
.spr__l { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: var(--s6); }
.spr__l--few { columns: 3 220px; }
.spr__l li { break-inside: avoid; padding: 0 0 2px; }
.spr__l a { display: inline-block; padding: 5px 0; font-weight: 500; line-height: 1.35; }

/* footer: the plain-as-day sign-off above the four columns, orange dictionary underlines on the column heads, an ink base row */
.ftr { padding-top: var(--s6); }
.ftr__sign-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); padding-bottom: 0; border-bottom: 2px solid var(--rule); }
.ftr__say { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--s4); }
.ftr__sky { flex: 1 1 360px; max-width: 560px; margin-bottom: -2px; }
.ftr__sky svg { width: 100%; height: auto; display: block; }
.ftr__grid { padding-top: var(--s6); }
.ftr__h::after { content: ''; display: block; width: 2.4em; height: 3px; background: var(--orange); margin-top: 6px; }
.ftr__base { background: var(--ink); color: var(--paper); border-top: 0; }
.ftr__base.on-dark a:not(.btn) { color: var(--paper); }
.ftr__base.on-dark .footer-builtby a { color: var(--sun); }
@media (max-width: 599px) { .ftr__sky { flex-basis: 100%; } }

/* phones: the See / Means / Do row as a compact ruled list (label left, sentence right) */
@media (max-width: 759px) {
	.smd { gap: 0; border-top: 1px solid currentColor; }
	.smd__c { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: var(--s3); padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
	.smd__h { font-family: var(--f-body); font-size: 11.5px; line-height: 1.3; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; padding-top: 3px; }
	.smd__t { font-size: 0.95rem; line-height: 1.45; }
}

/* phones: drawings full bleed (edge to edge of the screen) */
@media (max-width: 599px) {
	.lrk__pic, .lrk--r .lrk__pic, .lr__draw, .lrp--drawn .lrp__box, .hero__ph.ph--drawn, .pwa__art { margin-inline: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); max-width: none; }
	.pwa__art { box-shadow: none; padding: var(--s3); }
	.lrk__pic { aspect-ratio: 800 / 520 !important; }
}

/* long-read drawings: a touch larger beside the shared left edge now they carry detail */
/* (kept at the defect pass's 460px: 560px left a 616x400 HOLE beside it, qa-gaps loop 3) */
@media (min-width: 900px) { .lrk__pic, .lrk--r .lrk__pic { aspect-ratio: 800 / 520 !important; } }

/* the drawn streets: the whole viewBox at desktop (no stack clipped), a taller crop on phones so houses read at size */
.street--drawn { aspect-ratio: 1200 / 230; }
@media (max-width: 699px) { .street--drawn, .town-street__in { aspect-ratio: 1.9 / 1; } }

/* loop 3, judge round 1 */
/* short marker phrases never split across lines on tablet and up */
@media (min-width: 640px) { .mk--nw { white-space: nowrap; } }
/* "Pictured" captions under library photos (proof, hub long-read intro), the hub hero's caption language */
.pcap { margin-top: var(--s3); padding-top: var(--s2); border-top: 2px solid var(--rule); font-size: 0.95rem; line-height: 1.45; }
.pcap__k { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-text); margin-right: 6px; }
.proof__fig, .lr__fig { margin: 0; }
.proof__fig .proof__ph { display: block; box-shadow: 14px 14px 0 0 var(--sun); }
.proof__fig .pcap { margin-top: calc(14px + var(--s4)); }
@media (min-width: 900px) { .proof { align-items: start; } .proof__fig { margin-top: var(--s3); } }
.lr__fig .ph { display: block; box-shadow: 14px 14px 0 0 var(--sun); }
.lr__fig .pcap { margin-top: calc(14px + var(--s4)); }
@media (min-width: 900px) { .lr--photo .lr__ph:has(.lr__fig) { align-self: start; padding-top: var(--s6); } .lr--photo .lr__fig { max-width: 440px; margin-left: auto; } }
/* the hub long-read contents run the full width under the intro (no three-line titles in a narrow column) */
@media (min-width: 900px) { .lr--photo .lrx { grid-column: 1 / -1; } .lr--photo .lr__ph { grid-row: 1 / span 2; } }
/* process rows across the whole container */
.pro { max-width: none; }
/* See / Means / Do sentences a step larger */
.smd__t { font-size: 1.02rem; }
/* the close's tick boxes 4 x 2 on phones */
@media (max-width: 599px) { .lrz { display: grid; grid-template-columns: repeat(4, max-content); justify-content: center; } }
/* Fidelity (loop 3 judge: proof 7.9): the proof photo keeps the mockup's flush frame, no sun offset; the caption and top alignment stay */
.proof__fig .proof__ph { box-shadow: none; }
.proof__fig .pcap { margin-top: var(--s3); }

/* ================================================================== LOOP 4 (operator 2026-11-17: "relax the mockup, push to 8"; snapshot pre-loop4) */

/* home hero: the labelled house on a paper plate with the sun offset; the what-we-do list as a ruled 2 x 2 index */
.hh__plate { margin: 0; background: var(--paper); padding: var(--s3) var(--s3) var(--s2); box-shadow: 16px 16px 0 0 var(--sun); width: 100%; }
.hh__plate svg { width: 100%; height: auto; display: block; }
.hsc__t { font-family: var(--f-head); font-weight: 700; font-size: 26px; fill: var(--paper); }
@media (min-width: 900px) { .hh { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; } }
.hh__side { gap: calc(16px + var(--s5)); justify-items: stretch; }
.hh__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); }
.hh__li { padding: var(--s3) 0 0; border-top: 2px solid rgba(250, 247, 240, 0.85); font-size: clamp(1rem, 0.92rem + 0.3vw, 1.15rem); }
.hh__li::before { display: none; }
@media (max-width: 899px) { .hh__plate { max-width: 560px; } }

/* home dictionary band: full container width, six terms in two ruled columns, kicker on the content's left edge */
.pw-band:not(.pw-band--art) .pw { max-width: calc(var(--w-std) + 2 * var(--gutter)); }
.pw-band:not(.pw-band--art) .pw__k { text-align: left; }
@media (min-width: 900px) {
	.pw-band:not(.pw-band--art) .pw__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s8); row-gap: 0; }
	.pw-band:not(.pw-band--art) .pw__r { display: grid; grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr); gap: var(--s4); align-items: baseline; padding: var(--s4) 0; border-top: 1px solid rgba(250, 247, 240, 0.28); }
	.pw-band:not(.pw-band--art) .pw__t { white-space: normal; max-width: none; }
}

/* services: photo and drawing one aligned column, same width, the drawing on a paper-2 plate in the photo's proportions */
@media (min-width: 900px) {
	.svc__side { align-self: start; gap: var(--s5); }
	.svc__draw { flex: none !important; aspect-ratio: 1.36 / 1; background: var(--paper-2) !important; padding: var(--s3) !important; min-height: 0; display: flex; align-items: center; }
	.svc__draw svg { object-position: center !important; }
}

/* FAQ: the questions read as headings */
.faq__q { font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem) !important; line-height: 1.25; }
.faq__n { font-size: 0.85em; }

/* quote band: copy top-aligned with the form card; a drawn plate under the contact lines carries the column */
@media (min-width: 960px) { .qband { align-items: start !important; } .qband__txt { padding-top: var(--s2); } }
.qband__art { margin: var(--s5) 0 0; background: var(--paper); padding: var(--s3); max-width: 520px; box-shadow: 12px 12px 0 0 var(--orange); }
.qband__art svg { width: 100%; height: auto; display: block; }
@media (max-width: 959px) { .qband__art { display: none; } }

/* map: tiles warmed to the palette */
.leaflet-tile-pane { filter: sepia(0.35) saturate(0.75) hue-rotate(-8deg) brightness(1.03); }

/* ---- long read (fresh judge, accurate brief) ---- */
/* one left edge: no left/right alternation of the openers */
.lrk--r .lrk__op { grid-template-columns: auto minmax(0, 1fr) auto !important; text-align: left !important; }
.lrk--r .lrk__op .tbox { grid-column: 1 !important; grid-row: 1 !important; }
.lrk--r .lrk__h { grid-column: 2 !important; grid-row: 1 !important; }
.lrk--r .lrk__of { grid-column: 3 !important; grid-row: 1 !important; }
.lrk--r .lrk__op::after { grid-row: 2 !important; }
@media (max-width: 699px) { .lrk__op, .lrk--r .lrk__op { grid-template-columns: auto minmax(0, 1fr) !important; } .lrk__of, .lrk--r .lrk__of { grid-column: 2 !important; grid-row: 2 !important; } .lrk__op::after, .lrk--r .lrk__op::after { grid-row: 3 !important; } }
/* one frame: the body measure (800px) holds opener, summary, body and module, so nothing stops short of the rule */
.lrk__op, .lrk__in { max-width: calc(800px + 2 * var(--gutter)); }
.lrk__in > .lrk__body, .lrk__duo .lrk__body { max-width: none; }
.lrk__of { align-self: start; padding-top: 0.55em; }
/* summary row: same size as body, then a hairline before the body */
.smd__t { font-size: 1.06rem; line-height: 1.5; }
.smd__h { font-size: 1.15rem; }
.lrk__in > .smd { padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
/* glossary chips: left-aligned definitions */
.lrg__i { text-align: left; }
.lrg__d { text-wrap: pretty; }
/* figure module: wider drawing, no tint panel, note top-aligned with the figure, more air above, a readable caption */
.lrk__in > .lrp { margin-top: var(--s7); align-items: start; }
@media (min-width: 760px) { .lrp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .lrp--photo { grid-template-columns: minmax(0, 370px) minmax(0, 1fr); } }
.lrk--paper .lrp--drawn .lrp__box { background: transparent !important; padding: 0 !important; }
.lrp--drawn .lrp__box { aspect-ratio: 800 / 520; }
.lrp--drawn .lrp__box svg { object-fit: contain; object-position: center top; }
.lrp__side { padding: var(--s4) 0; }
.lrp__cap { font-size: 0.95rem; opacity: 1; color: inherit; }
/* intro: the reading-time line under the lede on a short rule; more air before the contents; contents titles a step larger */
@media (min-width: 900px) { .lr:not(.lr--photo) .lrx__n { grid-column: 1; grid-row: auto; padding-top: 0; } .lr:not(.lr--photo) .lr__iw { grid-template-columns: minmax(0, 1fr); } }
.lrx__n { display: inline-flex; align-items: center; gap: var(--s3); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
.lrx__n::before { content: ''; width: 32px; height: 3px; background: var(--orange); }
.lrx { margin-top: var(--s7); }
.lrx__t { font-size: clamp(1.15rem, 1rem + 0.45vw, 1.45rem); }
.mk { padding-left: 0.12em; padding-right: 0.12em; }
/* close: quieter outlined boxes with orange ticks, the line, a sub-line and a sun button lead; the rule held to the frame */
.lr__close { border-top: 0; padding-block: var(--s9); }
.lr__close > .wrap { max-width: calc(800px + 2 * var(--gutter)); border-top: 2px solid var(--rule); padding-top: var(--s8); }
.lrz .tbox, .lrz .tbox--done { width: 40px !important; height: 40px !important; background: transparent !important; color: var(--ink) !important; }
.lrz .tbox__sq { stroke: var(--ink) !important; stroke-width: 2.4; }
.lrz .tbox__tk { stroke: var(--orange); }
.lrz { gap: var(--s3) !important; }
.lrz__t { flex-direction: column; gap: var(--s3) !important; }
.lrz__s { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem) !important; }
.lrz__sub { font-size: 1.05rem; margin-bottom: var(--s3); }
.lrz__t .btn { font-size: 1.1rem; padding: 16px 28px; }

@media (min-width: 900px) { .pw-band:not(.pw-band--art) .pw__r { grid-template-columns: 11.5rem minmax(0, 1fr); } .pw-band:not(.pw-band--art) .pw__t { font-size: clamp(1.4rem, 1.1rem + 0.7vw, 1.7rem); } }
.hsc__t { font-size: 25px; }

/* long read, one left edge with the rest of the page (round-2 ask): checks use the standard container; on desktop the See / Means / Do
   summary becomes a ruled column on the left and the body (68ch), its drawing and the module run in the column beside it */
.lrk__op, .lrk__in { max-width: calc(var(--w-std) + 2 * var(--gutter)); }
.lr__close > .wrap { max-width: calc(var(--w-std) + 2 * var(--gutter)); }
@media (min-width: 1024px) {
	.lrk__in { display: grid; grid-template-columns: 290px minmax(0, 1fr); column-gap: var(--s8); align-items: start; }
	.lrk__in > * { grid-column: 2; min-width: 0; }
	.lrk__in > .smd { grid-column: 1; grid-row: 1 / span 4; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; border-bottom: 0; border-top: 2px solid currentColor; }
	.lrk__in > .smd .smd__c { padding: var(--s4) 0 !important; border-left: 0 !important; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
	.lrk__in > .lrk__body, .lrk__in > .lrk__duo { max-width: 68ch; }
	.lrk__in > .lrm, .lrk__in > .lrp, .lrk__in > .lrg { max-width: none; }
	.lrk__in > .lrp { margin-top: var(--s6); }
}
.lrg { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.leaflet-tile-pane { filter: sepia(0.2) saturate(0.9) contrast(1.1) brightness(0.98); }
/* phone action bar: hidden while the hero's quote button is on screen (site.js), slides up after */
@media (max-width: 1023px) { html.mbar-wait .mbar { transform: translateY(110%); transition: transform 0.25s ease; } html.mbar-wait.mbar-on .mbar { transform: none; } }
/* the summary label size above belongs to wide screens only (phones keep the compact 11.5px caps labels) */
@media (max-width: 759px) { .smd__h { font-size: 11.5px !important; } }
@media (max-width: 1023px) { html.mbar-wait .mbar { visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; } html.mbar-wait.mbar-on .mbar { visibility: visible; transition: transform 0.25s ease, visibility 0s; } }

/* loop 4, judge round 1 */
/* long-read tick boxes: smaller, finer, numbered (the long read numbers in its boxes; orange numerals everywhere else) */
.tbox--op { width: 48px !important; height: 48px !important; }
.tbox--op .tbox__sq { stroke-width: 2 !important; }
.tbox--op .tbox__n { font-size: 1.35rem !important; }
.lrx .tbox, .tbox--sm { width: 30px; height: 30px; }
.tbox--sm .tbox__n { font-size: 0.95rem; }
.lrx__a .tbox { margin-top: 0; }
.lrk__op { align-items: center; }
/* guides: a ruled index, links without underlines, a rule under each, an orange arrow on hover */
.spr__l { columns: 2 300px; column-gap: var(--s7); }
.spr__l li { border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); padding: 0; }
.spr__l a { display: flex; justify-content: space-between; gap: var(--s3); padding: 9px 0; text-decoration: none; font-weight: 600; }
.spr__l a::after { content: '\2192'; color: var(--orange-text); opacity: 0; transition: opacity 0.15s ease, transform 0.15s ease; }
.spr__l a:hover { color: var(--orange-text); }
.spr__l a:hover::after, .spr__l a:focus-visible::after { opacity: 1; transform: translateX(3px); }
@media (min-width: 900px) { .spr__g { grid-template-columns: 220px minmax(0, 1fr); } }
/* proof: photo then a drawn plate in one column beside the copy */
.proof__col { display: grid; gap: var(--s5); align-content: start; }
.proof__art { margin: 0; background: var(--paper-2); padding: var(--s3); }
.proof__art svg { width: 100%; height: auto; display: block; }
@media (max-width: 899px) { .proof__art { display: none; } }
/* home long-read intro: the drawing beside the heading on its plate */
.lr--photo .lr__draw { background: var(--paper-2) !important; padding: var(--s3) !important; aspect-ratio: 800 / 520 !important; height: auto !important; min-height: 0 !important; }
.lr--photo .lr__draw svg { object-position: center !important; }
@media (min-width: 900px) { .lr--photo .lr__ph:has(.lr__draw) { align-self: start; padding-top: var(--s6); } }
/* seams: a ruled edge where the long read starts; tighter check and close padding */
.lr--full { border-top: 1px solid var(--rule); }
.lrk { padding-block: clamp(28px, 3.2vw, 44px); }
.lr__close { padding-block: 0 var(--s8) !important; }
.lr__close > .wrap { padding-top: var(--s7) !important; }
/* close on phones: one centred block */
.lrz__t { text-align: center; }
/* FAQ: answers breathe */
.faq__a { line-height: 1.65; }
@media (min-width: 900px) { .faq__i { padding-block: var(--s6) !important; } }
/* phones: collapsed checks all sit on paper; only an open check takes the ink ground (no strobe) */
@media (max-width: 599px) {
	.lrk--ink:has(> .lrk__d:not([open])) { background: var(--paper); color: var(--ink); }
	.lrk--ink:has(> .lrk__d:not([open])) .lrk__of { color: var(--orange-text); }
	.lrk--ink:has(> .lrk__d:not([open])) .tbox { color: var(--ink); }
	.lrk:has(> .lrk__d:not([open])) { border-top: 1px solid var(--rule); }
	.pw-band--art { padding-top: 0; }
}
/* footer sign-off rule held to the content width; long email wraps inside its column */
.ftr__sign-in { border-bottom: 0 !important; background: linear-gradient(var(--rule), var(--rule)) no-repeat center bottom / calc(100% - 2 * var(--gutter)) 2px; }
.ftr__contact .ftr__list a { overflow-wrap: anywhere; }
/* gates: footer back on the header's wide edges (qa-gaps FOOT rule); one step tighter check padding (a 121px seam on the pitched hub) */
.lrk { padding-block: clamp(24px, 3vw, 40px); }
.ftr__contact .ftr__list a { overflow-wrap: normal; }
@media (max-width: 479px) { .ftr__contact .ftr__list a { overflow-wrap: anywhere; } }

/* ================================================================== LOOP 5 (fix pass, 2026-11-17; snapshot pre-loop5) */

/* (2) one section rhythm, as tokens: every paper band pads by --section-y; every paper-to-paper seam is ONE rule, --seam, held to the
   wide container (no full-bleed hairlines, no doubled borders); a change of ground (ink/paper) carries no rule */
:root { --section-y: clamp(40px, 4.2vw, 56px); --seam-w: 1px; --seam-c: var(--rule); }
.svc-band, .proof-band, .pro-band, .areas-band, .fix-band, .cost-band, .spk-band, .band--faq, .roofs-band, .near-band { padding-block: var(--section-y) !important; border-top: 0 !important; border-bottom: 0 !important; }
.proof, .areas { padding-block: 0 !important; }
.lr--full { border-top: 0 !important; }
.lr__intro { padding-top: var(--section-y) !important; }
main > :is(.band--paper, .lr, .facts-band):not(.band--trust) + :is(.band--paper, .lr):not(.band--trust) { position: relative; }
main > :is(.band--paper, .lr, .facts-band):not(.band--trust) + :is(.band--paper, .lr):not(.band--trust)::before {
	content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(calc(100% - 2 * var(--gutter)), var(--w-wide)); height: var(--seam-w); background: var(--seam-c); z-index: 1;
}

/* (3) FAQ answers in full ink at 62ch; guides: each group's header on one line above its links */
.faq__a { color: var(--ink); max-width: 62ch !important; }
.band--ink .faq__a { color: var(--paper); }
.spr__g { grid-template-columns: minmax(0, 1fr) !important; gap: var(--s3) !important; }
.spr__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s4); }
.spr__n { display: inline; margin: 0; }
.spr__l { columns: 3 260px; }
.spr__l a { font-size: 1rem; }

/* (4) cost table: balanced columns, the written-quote cell as a chip, zebra rows, a sun rule under the header; phones keep the stacked cards */
.tbl--cost { table-layout: fixed; }
.tbl--cost .c-job { width: 28%; } .tbl--cost .c-sets { width: 52%; } .tbl--cost .c-q { width: 20%; }
.tbl--cost thead th { border-bottom: 4px solid var(--sun); }
.tbl--cost tbody tr:nth-child(even) th, .tbl--cost tbody tr:nth-child(even) td { background: #F4EFE6; }
.tbl--cost td, .tbl--cost th { overflow-wrap: anywhere; }
.chip-price { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 0.9rem; line-height: 1.2; padding: 4px 10px; white-space: nowrap; }
@media (max-width: 599px) { .tbl--cost { table-layout: auto; } .tbl--cost tbody tr:nth-child(even) th, .tbl--cost tbody tr:nth-child(even) td { background: var(--white); } .chip-price { white-space: normal; } }

/* (5) quote band: the vendor card's top level with the heading, a sun offset block behind it (the embed itself untouched) */
@media (min-width: 960px) { .qband { align-items: start !important; } .qband__txt { padding-top: 0 !important; } .qband__h { margin-top: 0; } }
.qband__card { box-shadow: 16px 16px 0 0 var(--sun); }
.qband__card .qband__ch { margin-top: 0; }

/* (6) trust strip: icon + line in every cell, one left alignment */
.trust__i { justify-content: center; }
.trust__c, .trust__g { display: inline-flex; align-items: center; gap: var(--s3); text-align: left; }
.tico { width: 34px; height: 34px; flex: none; }
.trust__g .gpin { width: 30px; height: 36px; }
.trust__c .trust__t { text-align: left; }
/* map labels: a white halo */
.mlab { text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; }
/* footer email on one line on desktop */
@media (min-width: 1024px) { .ftr__contact .ftr__list a { white-space: nowrap; font-size: 0.95rem; } }

/* loop 5, repeated asks */
/* cost chips: outlined and small (the solid sun stays the headline marker's alone) */
.chip-price { background: transparent; border: 1.5px solid var(--ink); font-size: 0.82rem; padding: 2px 8px; font-weight: 700; }
/* guides: two ruled columns, 16px links; long groups fold after eight */
.spr__l { columns: 2 300px !important; }
.spr__l a { font-size: 1.02rem !important; }
.spr__more { margin-top: var(--s2); }
.spr__more > summary { display: inline-flex; align-items: center; gap: var(--s2); cursor: pointer; font-weight: 700; padding: 8px 0; list-style: none; }
.spr__more > summary::-webkit-details-marker { display: none; }
.spr__more > summary::after { content: '+'; color: var(--orange-text); font-size: 1.2em; }
.spr__more[open] > summary::after { content: '\2212'; }
.spr__more[open] > summary { margin-bottom: var(--s2); }
/* town light long read sits on the section rhythm (a 129px seam before the services band) */
.lr--light { padding-block: var(--section-y) !important; }

/* ================================================================== LOOP 5 DEFECTS (no judge) */
/* marker bar clears the descenders of the line above: headings open up a touch and the bar starts below the cap line of its own line */
h1, h2, .hero__h1, .hh__h1, .lr__h2, .proof__h, .areas__h, .cost__h, .qband__h { line-height: 1.16; }
.mk { background-size: 100% 84%; background-position: 0 100%; padding-top: 0; position: relative; }
/* "What you get": the drawing under the photo shrinks to the copy's height (no long left column) */
@media (min-width: 900px) {
	.proof { align-items: stretch !important; }
	.proof__col { display: flex; flex-direction: column; }
	.proof__art { flex: 1 1 0; min-height: 150px; display: flex; overflow: hidden; }
	.proof__art svg { width: 100%; height: 100%; }
	/* long-read intro drawing centred against the heading block */
	.lr--photo .lr__ph:has(.lr__draw) { align-self: center !important; padding-top: 0 !important; }
}
/* Leaflet controls in the palette: square ink zoom buttons, the attribution as a small paper caption (kept legible) */
.leaflet-bar { border: 2px solid var(--ink) !important; border-radius: 0 !important; box-shadow: none !important; }
.leaflet-bar a, .leaflet-bar a:hover { border-radius: 0 !important; background: var(--ink) !important; color: var(--paper) !important; border-bottom-color: rgba(250, 247, 240, 0.35) !important; font-family: var(--f-head); }
.leaflet-bar a:hover { background: #2B2826 !important; }
.leaflet-container .leaflet-control-attribution { background: var(--paper) !important; color: var(--ink) !important; font-family: var(--f-body); font-size: 11px; line-height: 1.4; padding: 2px 8px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.leaflet-container .leaflet-control-attribution a { color: var(--ink) !important; text-decoration: underline; }
/* services photo caption: a rule and words before the next band's photo on phones */
.svc__cap { margin: var(--s2) 0 0; }
@media (min-width: 900px) { .svc__cap { margin: calc(-1 * var(--s3)) 0 0; } }

/* Stage 6 2026-11-17: at 1024-1279 the one-line footer email ran 5px past the viewport (clipped). Widen the contact column there only. */
@media (min-width: 1024px) and (max-width: 1279px) { .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.3fr); } }
/* Stage 6 2026-11-17: a closed ink check turns paper under 600px, but its opener kept the on-dark sun ring (1.41:1 on paper). Ink ring there. */
@media (max-width: 599px) { .lrk--ink:has(> .lrk__d:not([open])) summary:focus-visible { outline-color: var(--ink); } }
/* Stage 6 2026-11-17: home areas band into the long read left a 125px empty seam at 1366 (gate 120). Desktop only. */
@media (min-width: 900px) { .band.areas-band { padding-bottom: 44px !important; } }
/* ===== Loop 6 (2026-11-18, §0e.7 photo and illustration mix): real photos carry more of every page; drawings stay beside them. ===== */
/* Home hero: the lead photo on the sun offset (the hub hero's inset), its Pictured caption, the 2x2 list under it. */
.hh__side .hero__inset { width: 100%; }
.hero__ph.hh__ph { aspect-ratio: 4 / 3; }
.hero__ph--32 { aspect-ratio: 3 / 2; }
.hh__side .hero__cap { max-width: none; }
/* Home long-read intro: the labelled house (moved from the hero), drawn whole. */
.lr__draw--house { aspect-ratio: auto; overflow: visible; }
.lr__draw--house svg { width: 100%; height: auto; display: block; }
/* Hub "What we fix": the list left, a real photo of the work right on the sun offset. */
.fixp { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .fixp { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: var(--s7); align-items: start; } .fixp__fig { padding-top: var(--s2); } }
.fixp__fig { margin: 0; }
.fixp__ph { display: block; aspect-ratio: 3 / 2; box-shadow: 14px 14px 0 0 var(--sun); }
.fixp__fig .pcap, .lrk__ph .pcap { margin-top: calc(14px + var(--s4)); }
@media (max-width: 899px) { .fixp__fig { max-width: 560px; margin-right: 14px; } }
/* Long read: odd checks carry a real photo beside the body (the even checks keep their drawing on the other side). */
.lrk__ph { margin: 0; width: 100%; }
.lrk__ph .ph { display: block; aspect-ratio: 3 / 2; box-shadow: 14px 14px 0 0 var(--sun); }
.lrk--ink .lrk__ph .pcap { border-top-color: var(--paper); color: var(--paper); }
.lrk--ink .lrk__ph .pcap__k { color: var(--sun); }
@media (max-width: 899px) { .lrk__duo--ph .lrk__ph { order: -1; max-width: 560px; margin-right: 14px; } }
/* Spoke heroes: the pool photo in the hub hero's inset (3:2). */
.hero--spoke.hero--media .hero__ph { aspect-ratio: 3 / 2; }
/* the check photo is one balanced unit like the figure module: a 440px photo with its caption beside it (never stretched to the column) */
@media (min-width: 900px) {
	.lrk__ph { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: calc(14px + var(--s6)); align-items: end; }
	.lrk__ph .pcap { margin-top: 0; padding-top: var(--s3); border-top: 2px solid currentColor; max-width: 34ch; }
}
.lrk__duo--ph:not(:last-child) { margin-bottom: calc(14px + var(--s4)); }
/* Spokes: the subject drawn with its parts named, held to the reading column. */
.spk-art { max-width: 860px; margin: var(--s6) calc(14px + var(--s2)) var(--s7) 0; }
.feat__in > .spk-art { grid-column: 1 / -1; }
@media (max-width: 899px) { .spk-art { margin: var(--s5) 0 var(--s6); width: 100%; max-width: none; padding: var(--s3); box-shadow: none; } }
/* loop 6 qa-gaps: an answer ending on a plain paragraph left a 123px seam into the FAQ at 1366 (limit 120). */
@media (min-width: 900px) { .band.ans { padding-bottom: 56px; } }
/* ===== Loop 6b (2026-11-18, judge 7.7 fix pass) ===== */
/* 2. Home "What you get": the chimney drawing at its own proportions under the photo (it had been squeezed to ~150px with 6px labels). */
@media (min-width: 900px) {
	.proof { align-items: start !important; }
	.proof__col { display: grid !important; }
	.proof__art { flex: none !important; min-height: 0 !important; display: block !important; overflow: visible !important; }
	.proof__art svg { height: auto !important; }
}
/* 3. Home long read collapsed after check 1: closed checks are quiet paper rows at every width (no ink/paper strobe). */
.lr--collapse .lrk--ink:has(> .lrk__d:not([open])) { background: var(--paper); color: var(--ink); }
.lr--collapse .lrk--ink:has(> .lrk__d:not([open])) .lrk__of { color: var(--orange-text); }
.lr--collapse .lrk--ink:has(> .lrk__d:not([open])) .tbox { color: var(--ink); }
.lr--collapse .lrk:has(> .lrk__d:not([open])) { border-top: 1px solid var(--rule); padding-block: var(--s4) !important; }
.lr--collapse .lrk__d:not([open]) > summary { padding-bottom: 0; }
.lr--collapse .lrk__d:not([open]) > summary::after { display: none; }
.lr--collapse .lrk__d:not([open]) .lrk__h { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); }
.lr--collapse .lrk__d:not([open]) .lrk__op::after { display: none; }
/* 4. Check photo, caption and figure held to the text column: photo, then its caption under it. */
@media (min-width: 900px) {
	.lrk__ph { display: block !important; max-width: 440px; }
	.lrk__ph .pcap { margin-top: calc(14px + var(--s3)) !important; max-width: none; }
	.lrk__in > .lrp, .lrk__in > .lrp.lrp--photo { grid-template-columns: minmax(0, 440px) !important; justify-content: start; margin-left: 0; row-gap: var(--s3); }
	.lrk__in > .lrp .lrp__side { max-width: 440px; }
}
/* 6. CTA: the home band's own photo, on the sun offset, under the contact lines (desktop; phones go straight to the form). */
.qband__ph { margin: var(--s5) 0 0; max-width: 460px; }
.qband__ph .ph { display: block; aspect-ratio: 3 / 2; box-shadow: 14px 14px 0 0 var(--sun); }
.qband__ph .pcap { margin-top: calc(14px + var(--s3)); color: var(--paper); border-top-color: var(--paper); }
.qband__ph .pcap__k { color: var(--sun); }
@media (max-width: 959px) { .qband__ph { display: none; } }
/* 7. Hub guides: two small groups share a row, each under its own header. */
.spr__g--duo { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 700px) { .spr__g--duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: var(--s8) !important; } }
.spr__sub { display: grid; gap: var(--s3); align-content: start; }
.spr__sub .spr__l { columns: 1 !important; }
/* 9. Phone glossary: the hairline between terms, as on desktop. */
@media (max-width: 899px) {
	.pw-band:not(.pw-band--art) .pw__l { gap: 0; }
	.pw-band:not(.pw-band--art) .pw__r { padding: var(--s4) 0; border-top: 1px solid rgba(250, 247, 240, 0.28); }
	.pw-band:not(.pw-band--art) .pw__r:last-child { border-bottom: 1px solid rgba(250, 247, 240, 0.28); }
}
/* 10. Cost table on phones: one compact card per job: the job and its "One total price" chip on one line, what sets the price beneath. */
@media (max-width: 599px) {
	.tbl--cost tr { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px var(--s3); padding: 12px 14px; margin-bottom: 8px; background: var(--white); }
	.tbl--cost th[scope="row"], .tbl--cost td { display: block !important; width: auto !important; border: 0 !important; padding: 0 !important; background: none !important; }
	.tbl--cost th[scope="row"]::before, .tbl--cost td::before { content: none !important; }
	.tbl--cost th[scope="row"] { font-size: 1.02rem; line-height: 1.3; }
	.tbl--cost td[data-label="Written quote"] { grid-column: 2; grid-row: 1; }
	.tbl--cost td[data-label="What sets the price"] { grid-column: 1 / -1; font-size: 0.95rem; line-height: 1.45; }
	.tbl--cost .chip-price { white-space: nowrap; }
}
@media (min-width: 900px) { .lrk__in > .lrp, .lrk__in > .lrp.lrp--photo { max-width: 440px !important; margin-right: auto !important; } }
@media (max-width: 639px) { .pwa__txt .pw__l { row-gap: 0; } .pwa__txt .pw__r { padding: var(--s3) 0; border-top: 1px solid rgba(250, 247, 240, 0.28); } }
/* ===== Loop 6c (2026-11-18, judge 7.6 fix pass) ===== */
/* Checks: body left, ONE right-hand column holding the figure then See / Means / Do (no empty column, no sticky). Every figure the same form. */
.lr .lrk__in { display: block !important; }
.lrk__row { display: grid; gap: var(--s6); }
.lrk__aside { display: grid; gap: var(--s6); align-content: start; min-width: 0; }
.lrk__row .lrk__body { max-width: none; margin: 0; }
.lrk__aside .smd { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; border-top: 2px solid currentColor; padding: 0 !important; margin: 0 !important; }
.lrk__aside .smd__c { display: grid !important; grid-template-columns: 92px minmax(0, 1fr) !important; gap: var(--s3) !important; padding: 10px 0 !important; border-left: 0 !important; border-bottom: 1px solid color-mix(in srgb, currentColor 26%, transparent); }
.lrk__aside .smd__h { margin: 0; }
@media (min-width: 1024px) {
	.lrk__row { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: var(--s8); align-items: start; }
	.lr .lrk__in > .lrm, .lr .lrk__in > .lrg, .lr .lrk__in > .lrf, .lr .lrk__in > .lrs, .lr .lrk__in > .lrc { margin-top: var(--s6); }
}
@media (max-width: 1023px) { .lrk__aside { order: -1; } }
.lrk__fig { margin: 0; }
.lrk__box { display: block; aspect-ratio: 3 / 2; overflow: hidden; box-shadow: 14px 14px 0 0 var(--sun); }
.lrk__fig--ph .lrk__box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lrk__fig--dr .lrk__box { background: var(--paper-2); padding: var(--s3); }
.lrk--ink .lrk__fig--dr .lrk__box { background: var(--paper); }
.lrk__fig--dr .lrk__box svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.lrk__cap { margin-top: calc(14px + var(--s3)); }
.lrk--ink .lrk__cap { color: var(--paper); border-top-color: var(--paper); }
@media (max-width: 1023px) { .lrk__fig { margin-right: 14px; max-width: 560px; } }
/* Closed check rows on phones: one line and the numbered box (~64-80px), no "Check n of 8" line. */
@media (max-width: 699px) {
	.lrk:has(> .lrk__d:not([open])) { padding-block: 0 !important; }
	.lrk__d:not([open]) > summary.lrk__op { grid-template-columns: 30px minmax(0, 1fr) !important; gap: var(--s3) !important; padding-block: 14px !important; align-items: center; }
	.lrk__d:not([open]) .lrk__of { display: none; }
	.lrk__d:not([open]) .tbox--op { width: 30px; height: 30px; font-size: 14px; }
	.lrk__d:not([open]) .lrk__h { font-size: 1.08rem !important; line-height: 1.25; }
}
/* Home "What you get": one photo beside the text, the columns ending together. */
.proof__ph { aspect-ratio: 1.37 / 1 !important; }
.proof__col { align-self: start; }
/* Hub plain words: a compact two-column word list on paper (home keeps the ink dictionary). */
.pwc__l { margin: var(--s4) 0 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s8); border-top: 2px solid var(--rule); }
@media (min-width: 760px) { .pwc__l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pwc__l .pw__r { display: block; padding: var(--s3) 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.pwc__l .pw__t { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; margin: 0 0 2px; }
.pwc__l .pw__m { margin: 0; }
.pw-band--compact .pw__k { color: var(--orange-text); }
/* Town lists: chips, no separators to dangle at a line end. */
.dots { gap: 8px; }
.dots li::after { content: none !important; }
.dots a { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); text-decoration: none; font-weight: 600; line-height: 1.25; }
.dots a:hover, .dots a:focus-visible { background: var(--sun); }
/* Services list: rows flow left to right, the odd last row spans both columns (columns end together). */
@media (min-width: 640px) {
	.idx:not(.idx--plain) { grid-auto-flow: row !important; grid-template-rows: none !important; }
	.idx:not(.idx--plain) > .idx__i:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* FAQ: paragraphs breathe, the first sentence leads, long answers fold (site.js adds the button; no JS = full answer). */
.faq__a p + p { margin-top: 0.9em; }
.faq__lead { font-weight: 700; }
/* Home services: the photo + drawing column ends with the list (the drawing plate takes the remaining height) */
@media (min-width: 900px) { .svc--ph .svc__side { align-self: stretch !important; } .svc--ph .svc__draw { flex: 1 1 auto !important; aspect-ratio: auto !important; min-height: 200px !important; } }
/* loop 6c: the CTA's own visual shows on phones too (home: its photo; hubs: their drawing), held small, before the form */
@media (max-width: 959px) { .qband__ph, .qband__art { display: block !important; max-width: 420px; margin: var(--s5) 14px var(--s3) 0; } .qband__art { box-shadow: 10px 10px 0 0 var(--orange); } }
.pw-band--compact { padding-bottom: 40px !important; }
.pw-band--compact .pwc__l { margin-bottom: 0; }
.lrk__of { white-space: normal !important; }
.lrk__lab { white-space: normal; }
@media (max-width: 699px) { .lrk__lab { display: none; } }
@media (max-width: 699px) {
	.lrk__d:not([open]) > summary.lrk__op { grid-template-columns: 34px minmax(0, 1fr) !important; column-gap: 14px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
	.lrk__d:not([open]) > summary .tbox--op { width: 34px !important; height: 34px !important; min-width: 0 !important; font-size: 15px !important; border-width: 2px !important; grid-column: 1 !important; grid-row: 1 !important; }
	.lrk__d:not([open]) > summary .lrk__h { grid-column: 2 !important; grid-row: 1 !important; margin: 0 !important; }
}
@media (max-width: 699px) { .lr.lr--collapse .lrk:has(> .lrk__d:not([open])) { padding-block: 4px !important; } }

/* ================================================================== LOOP 7 (fix pass 2026-11-19; snapshot pre-loop7) */

/* (1) home services: the drawing panel fits its drawing (no cream run below it); the 14th cell is the see-all link, so no orphan row */
@media (min-width: 900px) {
	.svc--ph .svc__side { align-self: start !important; }
	.svc--ph .svc__draw { flex: none !important; aspect-ratio: auto !important; min-height: 0 !important; padding: var(--s3) !important; background: var(--paper-2) !important; display: block; }
	.svc--ph .svc__draw .ph__draw { display: block; }
	.svc--ph .svc__draw svg { display: block; width: 100%; height: auto; }
}
.idx__i.idx__all { display: block; padding: 10px 0; border-bottom: 0; }
.idx__allA { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); height: 100%; min-height: 64px; padding: 12px 18px; background: var(--sun); color: var(--ink); font-family: var(--f-head); font-weight: 700; font-size: 1.16rem; text-decoration: none; border: 2px solid var(--ink); }
.idx__allA:hover { background: var(--ink); color: var(--sun); }
.idx__allA:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.idx__arr { font-size: 1.4em; line-height: 1; }

/* (3) process: a designed step line on the warm-black ground (numbered sun squares on a rule at desktop, a vertical line on phones) */
.pro-band.band--ink { padding-block: clamp(44px, 5vw, 72px) !important; }
.pro-band .pro__h { color: var(--paper); margin-bottom: var(--s6); }
.pro-band .pro { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); max-width: none; position: relative; }
.pro-band .pro__r { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 2px var(--s4); padding: 0 !important; border: 0 !important; position: relative; align-items: start; }
.pro-band .pro__n { grid-row: 1 / span 2; display: grid; place-items: center; width: 54px; height: 54px; background: var(--sun); color: var(--ink); font-size: 1.45rem; position: relative; z-index: 1; }
.pro-band .pro__s { grid-column: 2; color: var(--paper); font-size: 1.3rem; margin: 0; align-self: end; }
.pro-band .pro__t { grid-column: 2 !important; margin: 0; color: rgba(250, 247, 240, 0.9); }
.pro-band .pro__r:not(:last-child)::after { content: ''; position: absolute; left: 25px; top: 54px; bottom: calc(-1 * var(--s5)); width: 3px; background: rgba(250, 247, 240, 0.3); }
@media (min-width: 900px) {
	.pro-band .pro { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--s6); }
	.pro-band .pro::before { content: ''; position: absolute; left: 0; right: 0; top: 25px; height: 3px; background: rgba(250, 247, 240, 0.3); }
	.pro-band .pro__r { display: block; }
	.pro-band .pro__r:not(:last-child)::after { display: none; }
	.pro-band .pro__n { margin-bottom: var(--s4); }
	.pro-band .pro__s { margin: 0 0 var(--s2); }
}

/* (4) maps: the ring fills the frame (square on desktop, taller on phones); the labels keep their collision pass */
@media (min-width: 900px) { .areas-band:not(.near-band) .areas__map .map__canvas { height: auto; aspect-ratio: 1 / 1; max-height: 540px; } }
@media (max-width: 899px) { .areas-band:not(.near-band) .areas__map .map__canvas { height: 92vw; max-height: 380px; } }

/* (5)(11) glossary cards: one column on phones, a lone last card spans the row */
@media (max-width: 480px) { .lrg { grid-template-columns: minmax(0, 1fr) !important; } }

/* (7) FAQ: a plain accordion; the question is the trigger, a plus/minus marks the state, no fade, no fold */
.faq__i { display: block !important; padding: 0 !important; border-top: 1px solid var(--rule); }
.faq__i:last-child { border-bottom: 1px solid var(--rule); }
.faq__q { position: relative; align-items: baseline; padding: var(--s5) 48px var(--s5) 0; min-height: 44px; }
.faq__q::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--f-head); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--orange-text); }
.faq__i[open] > .faq__q::after { content: '\2212'; }
.faq__q:hover .faq__qt { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.faq__a { grid-column: auto !important; padding: 0 0 var(--s5) calc(2ch + var(--s4)) !important; max-width: none !important; }
.faq__a > * { max-width: 62ch; }

/* (8) hub guides: the first three of each group are cards, the rest a clean 17px list */
.spc { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (min-width: 760px) { .spc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.spc__a { display: flex; flex-direction: column; gap: var(--s2); height: 100%; padding: var(--s5); border: 2px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 5px 5px 0 0 var(--sun); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.spc__a:hover { box-shadow: 8px 8px 0 0 var(--sun); transform: translate(-2px, -2px); }
.spc__t { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.spc__d { font-size: 1rem; line-height: 1.5; }
.spc__go { margin-top: auto; padding-top: var(--s2); font-weight: 700; font-size: 0.95rem; color: var(--orange-text); }
.spr__g .spr__l a { font-size: 1.0625rem !important; }
.spr__g { padding-block: var(--s6) !important; }

/* (9) what we fix: each label is a link with its one line */
.fix-band .idx__a { color: var(--ink); }
.fix-band a.idx__a { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.fix-band a.idx__a:hover { text-decoration-color: var(--orange); }
.fix-band .idx__d { font-size: 1rem; }

/* (10) roof-check intro on a hub: the photo sits on the grid edge, level with the eyebrow, its sun offset inside the column */
@media (min-width: 900px) {
	.lr--photo .lr__ph:has(.lr__fig) { align-self: start !important; padding-top: 0 !important; }
	.lr--photo .lr__fig { margin-left: 0 !important; max-width: 426px !important; }
	.lr--photo .lr__ph .ph:not(.lr__draw) { margin-left: 0 !important; }
}

/* (12) hub plain words: term above its meaning (no wrapped term breaking the row rhythm) */
.pw-band--compact .pwc__l .pw__r { display: block !important; grid-template-columns: none !important; }
.pw-band--compact .pwc__l .pw__t { white-space: normal !important; font-size: 1.25rem !important; max-width: none !important; text-wrap: balance; }

/* loop 7: the hero's four lines, now a chip row under the services dek */
.svc__sum { list-style: none; margin: 0 0 var(--s5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.svc__sum li { padding: 6px 12px; border: 1px solid var(--ink); font-weight: 600; font-size: 0.95rem; line-height: 1.3; background: var(--paper-2); }

/* ------------------------------------------------------------------ loop 8 (2026-11-19, judges C + D after loop 7b) */
/* hubs: the word list sits under the "What we fix" photo, so the right column carries on beside the list (no dead column, no sparse band) */
.fixp__side { margin: 0; }
@media (min-width: 900px) { .fixp__side { padding-top: var(--s2); } .fixp__side .fixp__fig { padding-top: 0; } }
@media (max-width: 899px) { .fixp__side { max-width: 560px; } }
.fixp__pw { margin-top: var(--s6); }
.fixp__pw .pw__k { margin: 0; }
.fixp__dl { margin: var(--s3) 0 0; border-top: 2px solid var(--ink); }
.fixp__dl .pw__r { display: block !important; padding: var(--s3) 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.fixp__dl .pw__t { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; line-height: 1.3; margin: 0 0 2px; white-space: normal; max-width: none; }
.fixp__dl .pw__m { margin: 0; font-size: 0.98rem; line-height: 1.55; }
.fixp__pw .pw__more { margin: var(--s3) 0 0; }
/* guide cards: a flat ruled card (the sun offset stays for photos); "Read" sits under the summary, not at the foot of a stretched box */
.spc { align-items: start; }
.spc__a { height: auto; box-shadow: none; border-width: 2px; }
.spc__a:hover { box-shadow: inset 0 -5px 0 0 var(--sun); transform: none; }
.spc__go { margin-top: var(--s1, 4px); padding-top: 0; }
/* FAQ answers: one step larger with more leading */
.faq__a { font-size: 1.0625rem; line-height: 1.72; }
/* check counters: a short n/8 */
.lrk__cnt { letter-spacing: 0.08em; }
/* home roof-check intro: the labelled house is larger and starts level with the eyebrow */
@media (min-width: 900px) {
	.lr--photo .lr__iw:has(.lr__draw) { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); }
	.lr--photo .lr__ph:has(.lr__draw) { align-self: start !important; padding-top: 0 !important; }
}
/* home hero: the four "what we do" lines as a ticked 2x2 under the lede (the photo column stays photo + caption) */
.hh__ticks { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s5); max-width: 560px; }
@media (min-width: 520px) { .hh__ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hh__tk { display: flex; gap: var(--s2); align-items: flex-start; font-weight: 700; font-size: 1.02rem; line-height: 1.35; color: var(--paper); }
.hh__tk .tick { flex: none; color: var(--sun); margin-top: 1px; }

/* ------------------------------------------------------------------ loop 9 (2026-11-19, judges E 7.9 / F 8.0) */
/* guides: equal-height cards, "Read" pinned to the foot; a two-card group takes two columns (no hole); the rest behind one toggle */
.spc { align-items: stretch; }
.spc__a { height: 100%; }
.spc__go { margin-top: auto; padding-top: var(--s3); }
@media (min-width: 760px) { .spc--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spc--1 { grid-template-columns: minmax(0, 1fr); max-width: 33%; } }
.spr__more { margin-top: var(--s2); }
.spr__more > summary { cursor: pointer; font-weight: 700; color: var(--orange-text); list-style: none; display: inline-block; padding: var(--s2) 0; }
.spr__more > summary::-webkit-details-marker { display: none; }
.spr__more > summary::after { content: '  +'; white-space: pre; }
.spr__more[open] > summary::after { content: '  \2212'; }
.spr__more .spr__l { margin-top: var(--s3); }
/* hubs, What we fix: a wider side column and a tighter word list, so both columns finish level */
@media (min-width: 900px) { .fixp { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }
.fixp__pw { margin-top: var(--s5); }
.fixp__dl .pw__r { padding: 10px 0 !important; }
.fixp__dl .pw__t { display: block; font-size: 1.02rem; line-height: 1.25; margin: 0 0 3px; }
.fixp__dl .pw__t::after { content: none; }
.fixp__dl .pw__m { display: block; font-size: 0.95rem; line-height: 1.45; }
.fixp__pw .pw__k { font-size: 13px; text-align: left; margin-bottom: 0; }
/* FAQ answers: the body size of the page, at a reading measure */
.faq__a, .faq__a p, .faq__a li { font-size: 1.0625rem; }
.faq__a > * { max-width: 66ch; }
/* one offset colour for every panel (the form and the CTA drawing were sun vs orange) */
.qband__art { box-shadow: 12px 12px 0 0 var(--sun) !important; }
@media (max-width: 959px) { .qband__art { box-shadow: 10px 10px 0 0 var(--sun) !important; } }
.pwa__art { box-shadow: 14px 14px 0 0 var(--sun); }
/* home: the proof photo sits level with its text block; the ink word list opens with a real heading */
@media (min-width: 900px) { .proof { align-items: center !important; } .proof__fig { margin-top: 0 !important; } }
.pw-band:not(.pw-band--compact):not(.pw-band--art) .pw__k { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.15; letter-spacing: 0; text-transform: none; color: var(--paper); margin-bottom: var(--s5); }
/* loop 9: the four terms as a 2x2 in the side column, so it finishes level with the eight fixes */
@media (min-width: 900px) {
	.fixp__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
	.fixp__dl .pw__m { font-size: 0.92rem; }
}
