/* Legend Roofing Lowestoft: main stylesheet, direction B (mockup/master-b.png; STYLE-GUIDE.md), written fresh.
   "A roofer's drawing legend, set in charcoal and tan: big calm serif words, ruled indexes and numbered parts, with the
   roof photographs framed like plates." Charcoal and off-white bands; square corners; 1px tan hairlines and photo frames;
   DM Serif Display headlines whose <em> is the tan italic key phrase; tan serif numerals; small spaced capitals.
   Contrast (design-dna): tan #CEAF83 is text on charcoal ONLY (7.45:1); on light grounds small tan text is #7D603A
   (5.13:1) and large numerals (>= 32px) #9A7A4C (3.5:1, AA large). One .on-dark class carries every dark-ground correction (§7c.3). */

:root {
	--ink: #242424; --ink-2: #2e2c2b; --ink-3: #373534; --ground: #f4f0eb; --ground-2: #fbf9f6; --white: #fff;
	--on-dark: #f4f0eb; --muted-dark: #b9b3ab; --muted-light: #57524c;
	--tan: #ceaf83; --tan-text: #7d603a; --tan-big: #9a7a4c; --rule-dark: rgba(206, 175, 131, .55); --rule-light: #cfb894; --hair-dark: rgba(244, 240, 235, .18);
	--serif: 'DM Serif Display', 'DM Serif Fallback', Georgia, 'Times New Roman', serif;
	--sans: 'Plus Jakarta Sans', 'Jakarta Fallback', Arial, Helvetica, sans-serif;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
	--band: clamp(44px, 4.3vw, 60px); --band-tight: clamp(34px, 3.4vw, 46px);
	--gut: clamp(16px, 3.4vw, 40px);
	--hdr: 76px;
	--fg: var(--ink); --fg-2: var(--muted-light); --accent: var(--tan-text); --accent-big: var(--tan-big); --rule: var(--rule-light); --hair: #ddd3c4;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--ground); color: var(--fg); font: 400 17px/1.65 var(--sans); overflow-x: clip; }
@media (min-width: 1100px) { body { font-size: 18px; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--tan); }
.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: 12px; top: -60px; z-index: 200; background: var(--tan); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
main { display: block; }

.wrap { width: 100%; max-width: calc(1180px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.wrap--wide { max-width: calc(1320px + 2 * var(--gut)); }
.wrap--read { max-width: calc(720px + 2 * var(--gut)); }

/* grounds: every band paints its own ground (no vertical margins on full-bleed bands, §7c.4) */
.band { padding: var(--band) 0; background: var(--ground); }
.band--tight { padding: var(--band-tight) 0; }
.band--light { background: var(--ground); }
.band--white { background: var(--ground-2); }
.band--dark { background: var(--ink); }
.band--light + .band--quote, .band--white + .band--quote, .band--light + .band--light { border-top: 1px solid var(--rule-light); }

/* THE dark-ground mechanism (§7c.3): one class, every correction */
.on-dark { --fg: var(--on-dark); --fg-2: var(--muted-dark); --accent: var(--tan); --accent-big: var(--tan); --rule: var(--rule-dark); --hair: var(--hair-dark); color: var(--on-dark); background-color: var(--ink); }
.on-dark a:not(.btn) { color: var(--on-dark); }

/* type */
.display { font: 400 clamp(40px, 5.2vw, 72px)/1.04 var(--serif); letter-spacing: -.01em; color: var(--fg); }
.h2, .shead__h { font: 400 clamp(30px, 3.5vw, 48px)/1.1 var(--serif); letter-spacing: -.005em; color: var(--fg); }
.shead--long .shead__h { font-size: clamp(26px, 2.8vw, 38px); }
.shead--display .shead__h { font-size: clamp(34px, 4.2vw, 58px); }
.display em, .h2 em, .shead__h em, .hero__h1 em, .lri__h em, .lrc__h em, .qband__h em, .tz__h em { font-style: italic; color: var(--accent); }
.on-dark .display em, .on-dark .h2 em, .on-dark .shead__h em, .on-dark .lri__h em, .on-dark .lrc__h em, .on-dark .tz__h em { color: var(--tan); }
.shead { margin-bottom: var(--s6); max-width: 60ch; }
.shead__dek { margin: var(--s4) 0 0; color: var(--fg-2); font-size: 1.02em; max-width: 58ch; }
.kicker { margin: 0 0 var(--s3); font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.num { font-family: var(--serif); }
.meta { color: var(--fg-2); font-size: 15px; }
.ulink { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 600; }
.on-dark .ulink { color: var(--tan); text-decoration-color: var(--tan); }
.ulink:hover { text-decoration-thickness: 2px; }

/* buttons: square corners (2px), the tan button on dark, the charcoal button on light; the WhatsApp pill is the one rounded shape */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border: 1px solid transparent; border-radius: 2px; font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn--lg { min-height: 52px; padding: 13px 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn--tan { background: var(--tan); color: var(--ink) !important; border-color: var(--tan); }
.btn--tan:hover { background: #dcc29d; }
.btn--ink { background: var(--ink); color: var(--on-dark) !important; border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { background: transparent; color: var(--fg) !important; border-color: currentColor; }
.btn--line:hover { background: rgba(36, 36, 36, .06); }
.on-dark .btn--line { color: var(--on-dark) !important; border-color: var(--on-dark); }
.on-dark .btn--line:hover { background: rgba(244, 240, 235, .08); }
.btn--pill { border-radius: 999px; background: transparent; color: var(--on-dark) !important; border-color: var(--tan); }
.btn--pill:hover { background: rgba(206, 175, 131, .14); }

/* ------------------------------------------------------------------ header */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--ink); border-bottom: 1px solid rgba(206, 175, 131, .35); }
.hdr__bar { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); min-height: var(--hdr); }
.hdr__logo { flex: none; display: block; background: #fff; padding: 6px 9px; line-height: 0; }
.hdr__logo img { width: 128px; height: auto; }
.nav { flex: 1 1 auto; min-width: 0; }
.nav__list { list-style: none; display: flex; align-items: center; gap: clamp(10px, 1.5vw, 26px); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__a { display: inline-block; padding: 10px 0; color: var(--on-dark) !important; text-decoration: none; font: 500 15px/1.2 var(--sans); white-space: nowrap; }
.nav__a:hover, .nav__a[aria-current] { text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 8px; }
.nav__caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; margin-left: 2px; padding: 0; background: none; border: 0; color: var(--on-dark); cursor: pointer; }
.nav__caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__dd { list-style: none; position: absolute; top: calc(100% + 6px); left: -18px; min-width: 290px; padding: 10px 0; background: var(--ink-2); border: 1px solid rgba(206, 175, 131, .45); display: none; z-index: 120; }
.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: 9px 20px; color: var(--on-dark) !important; text-decoration: none; font-size: 15px; }
.nav__dd a:hover, .nav__dd a[aria-current] { background: rgba(206, 175, 131, .12); }
.nav__dd-all a { border-top: 1px solid var(--hair-dark); margin-top: 6px; padding-top: 12px; color: var(--tan) !important; font-weight: 600; }
.nav__mob { display: none; }
.hdr__act { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__tel { color: var(--on-dark) !important; text-decoration: none; font: 700 16px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; margin-right: 6px; }
.hdr__burger, .hdr__call { display: none; }
@media (max-width: 1239px) and (min-width: 1024px) {
	.hdr__tel { display: none; }
	.hdr__logo img { width: 112px; }
}
@media (max-width: 1023px) {
	:root { --hdr: 64px; }
	.hdr__logo img { width: 104px; }
	.hdr__act { display: none; }
	.hdr__burger { display: inline-flex; order: 3; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; background: none; border: 1px solid rgba(206, 175, 131, .6); color: var(--on-dark); cursor: pointer; }
	.burger, .burger::before, .burger::after, .burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
	.burger { background: none; }
	.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
	.burger::before { top: -6px; } .burger::after { top: 6px; }
	.hdr__burger[aria-expanded="true"] .burger span { opacity: 0; }
	.hdr__burger[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
	.hdr__burger[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }
	.hdr__call { display: inline-flex; order: 2; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--on-dark); border: 1px solid rgba(206, 175, 131, .6); }
	.hdr__call .ico { width: 22px; height: 22px; }
	.hdr__call + .hdr__burger, .hdr__burger { margin-left: 8px; }
	.nav { order: 4; position: fixed; left: 0; right: 0; top: var(--hdr); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; background: var(--ink); border-top: 1px solid rgba(206, 175, 131, .35); padding: 8px var(--gut) 28px; display: none; }
	.nav.is-open { display: block; }
	html.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--hair-dark); }
	.nav__a { flex: 1 1 auto; padding: 15px 0; font-size: 18px; }
	.nav__caret { width: 46px; height: 46px; }
	.nav__dd { position: static; display: none; min-width: 0; width: 100%; padding: 0 0 10px 14px; background: none; border: 0; border-left: 1px solid var(--tan); margin-bottom: 12px; }
	.nav__item--dd:hover .nav__dd, .nav__item--dd:focus-within .nav__dd { display: none; }
	.nav__dd.is-open { display: block !important; }
	.nav__dd a { padding: 10px 12px; }
	.nav__mob { display: grid; gap: 10px; margin-top: 20px; }
	.nav__mob .btn { width: 100%; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--ink); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__h1 { font: 400 clamp(42px, 5.6vw, 82px)/1.03 var(--serif); letter-spacing: -.012em; color: var(--on-dark); margin: 0 0 var(--s5); }
.hero__h1--long { font-size: clamp(38px, 4.6vw, 66px); }
.hero__h1 em { color: var(--tan); }
.hero__lede { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; max-width: 44ch; color: var(--on-dark); margin-bottom: var(--s6); }
.hero__cta { margin: 0 0 var(--s4); }
.cline { margin: 0; font-weight: 700; font-size: 16px; }
.cline a { text-decoration: none; }
.cline a:hover { text-decoration: underline; text-decoration-color: var(--tan); }
.cline__dot { color: var(--tan); margin: 0 10px; }
.hero__media { align-self: stretch; display: flex; align-items: center; }
.hero__frame { display: block; width: 100%; border: 1px solid var(--tan); padding: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media--drawn .hero__frame { padding: 14px; color: var(--on-dark); }
.hero__draw, .hero__draw svg { display: block; width: 100%; height: 100%; }
.hero--home .hero__frame { aspect-ratio: 5 / 4; }
.hero--short .hero__frame { aspect-ratio: 16 / 10; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 var(--s5); font-size: 14.5px; color: var(--on-dark); }
.crumbs li + li::before { content: '/'; margin: 0 9px; color: var(--muted-dark); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 819px) {
	.hero__in { grid-template-columns: minmax(0, 1fr); }
	.hero__media { order: 2; }
	.hero__frame, .hero--home .hero__frame { aspect-ratio: 16 / 11; }
}

/* ------------------------------------------------------------------ trust strip */
.trust { background: var(--ink); border-top: 1px solid var(--rule-dark); }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust__list li { display: flex; align-items: center; gap: 18px; padding: 22px clamp(14px, 2.4vw, 36px); }
.trust__list li + li { border-left: 1px solid var(--hair-dark); }
.trust__list li:first-child { padding-left: 0; }
.trust__n { font: 400 clamp(34px, 3.2vw, 44px)/1 var(--serif); color: var(--tan); flex: none; }
.trust__t { font: 400 clamp(18px, 1.55vw, 22px)/1.22 var(--serif); color: var(--on-dark); max-width: 17em; }
@media (max-width: 819px) {
	.trust__list { grid-template-columns: minmax(0, 1fr); }
	.trust__list li { padding: 14px 0; }
	.trust__list li + li { border-left: 0; border-top: 1px solid var(--hair-dark); }
}

/* ------------------------------------------------------------------ splits (12-col proportions) */
.split { display: grid; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.split--mid { align-items: center; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--6-6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr) !important; } }

/* ------------------------------------------------------------------ ruled numbered list (problem, proof, parts) */
.nl { list-style: none; border-top: 1px solid var(--rule); }
.nl__i { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start; padding: 14px 0 15px; border-bottom: 1px solid var(--rule); }
.nl__n { font: 400 44px/1 var(--serif); color: var(--accent-big); padding-top: 2px; }
.nl__t { font: 700 17px/1.35 var(--sans); color: var(--fg); margin: 6px 0 2px; }
.nl__s { margin: 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }
.nl--tight .nl__i { grid-template-columns: 52px minmax(0, 1fr); padding: 11px 0; align-items: center; }
.nl--tight .nl__n { font-size: 32px; }
.nl--tight .nl__t { font-weight: 500; margin: 0; }
.band--problem .display { max-width: 9ch; }
.band--problem .split { align-items: center; }
.problem__wa { margin: var(--s4) 0 0; }
.proof__g { margin: var(--s5) 0 0; }
.band--proof .h2 { margin-bottom: var(--s5); }

/* ------------------------------------------------------------------ plates: photos framed in 1px tan */
.plate { margin: 0; }
.plate__m { display: block; position: relative; overflow: hidden; border: 1px solid var(--tan); background: var(--ink-2); }
.plate__m img { width: 100%; height: 100%; object-fit: cover; }
.plate--drawn .plate__m { background: var(--ground-2); color: var(--ink); padding: 10px; }
.on-dark .plate--drawn .plate__m { background: var(--ink-2); color: var(--on-dark); }
.plate__draw, .plate__draw svg { display: block; width: 100%; height: 100%; }
.plate__cap { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--fg-2); }
.plate__cap b { color: var(--fg); font-weight: 700; margin-right: 4px; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted-dark); }

/* ------------------------------------------------------------------ services index (ruled typographic) */
.sx { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 44px); }
.sx > li { border-bottom: 1px solid var(--rule); }
.sx__a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 11px; text-decoration: none; font: 400 clamp(19px, 1.65vw, 23px)/1.25 var(--serif); color: var(--fg); }
.sx__a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.sx__ar { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .2s; }
.sx__a:hover .sx__ar { transform: translateX(4px); }
.band--services .split { align-items: center; }
.services__media .plate__m { aspect-ratio: 4 / 3; }
.sx--q .sx__a { font-size: clamp(17px, 1.35vw, 19px); }
@media (max-width: 599px) { .sx { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 4px clamp(14px, 2vw, 30px); align-items: start; }
.step + .step { border-left: 1px solid var(--hair); }
.step:first-child { padding-left: 0; }
.step__n { font: 400 clamp(64px, 6.4vw, 96px)/.82 var(--serif); color: var(--accent-big); }
.step__t { font: 400 clamp(19px, 1.6vw, 22px)/1.2 var(--serif); color: var(--fg); margin: 2px 0 8px; }
.step__p { margin: 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.5; }
.band--process .shead { margin-bottom: var(--s6); }
@media (max-width: 899px) {
	.steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.step:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 519px) {
	.steps, .steps--3 { grid-template-columns: minmax(0, 1fr); }
	.step { padding-left: 0; border-left: 0 !important; }
}

/* ------------------------------------------------------------------ dot rows (towns, links) */
.dots { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 6px; }
.dots li { display: inline-flex; align-items: baseline; }
.dots li + li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--tan); margin: 0 12px; transform: translateY(-3px); }
.dots a { text-decoration: none; color: var(--fg); }
.dots a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.dots--towns { font-size: 17px; line-height: 1.9; max-width: 34em; }
.dots--big { font: 400 clamp(22px, 2.2vw, 30px)/1.45 var(--serif); }
.dots--big li + li::before { width: 6px; height: 6px; margin: 0 16px; transform: translateY(-6px); }
.dots--links { margin-top: var(--s5); font-size: 16px; }
.dots--links a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; color: var(--accent); font-weight: 600; }
.dots--center { justify-content: center; font-size: 18px; }
.dots--jump { margin-bottom: var(--s6); font-size: 15px; }
.areas__all { margin: var(--s4) 0 0; }

/* ------------------------------------------------------------------ map (white card) */
.map { margin: 0; background: #fff; border: 1px solid #d8cdbb; padding: 8px; }
.on-dark .map { border-color: var(--tan); }
.map__canvas { position: relative; height: clamp(300px, 30vw, 380px); background: #eceae5; overflow: hidden; }
.map__canvas--tall { height: clamp(360px, 38vw, 500px); }
.map__poster { position: absolute; inset: 0; font: 600 13px/1 var(--sans); color: var(--ink); }
.map__canvas.is-live .map__poster { display: none; }
.mpos__sea { position: absolute; top: 0; bottom: 0; right: 0; width: 44%; background: #c9dbe8; }
.mpos__ring { position: absolute; left: 50%; top: 50%; width: 69%; height: 96%; transform: translate(-50%, -50%); border: 2px dashed var(--ink); border-radius: 50%; }
.mpos { position: absolute; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; transform: translate(0, -50%); }
.mpos i { width: 7px; height: 7px; background: var(--ink); border-radius: 50%; display: block; }
.mpos--l { transform: translate(-100%, -50%); flex-direction: row-reverse; }
.mpos--t { transform: translate(-50%, -120%); flex-direction: column-reverse; }
.mpos--b { transform: translate(-50%, 10%); flex-direction: column; }
.mpos--base { font-size: 15px; font-weight: 800; }
.mpos--base i { width: 11px; height: 11px; }
.map__cap { font-size: 12.5px; color: #57524c; padding: 8px 2px 0; line-height: 1.4; }
.mdot { background: var(--ink); border-radius: 50%; }
.mlab { font: 600 13px/16px var(--sans); color: var(--ink); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.mlab a { color: var(--ink) !important; text-decoration: none; }
.mlab--base { font-weight: 800; font-size: 15px; }
.leaflet-container { font-family: var(--sans); }

/* ------------------------------------------------------------------ long-read teaser (home) */
.tz { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.tz__h { font-size: clamp(32px, 3.4vw, 46px); }
.tz__list { list-style: none; counter-reset: none; }
.tz__list li { border-bottom: 1px solid var(--hair-dark); }
.tz__list a { display: flex; gap: 16px; align-items: baseline; padding: 8px 0; text-decoration: none; font: 400 clamp(18px, 1.5vw, 21px)/1.3 var(--serif); }
.tz__list a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--tan); }
.tz__n { color: var(--tan); font-size: .9em; }
.tz__go { margin: var(--s4) 0 0; }
.tz__c .plate__m { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .tz { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ quote band (#quote) */
.qband { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.qband__h { font: 400 clamp(34px, 3.8vw, 52px)/1.08 var(--serif); color: var(--fg); margin-bottom: var(--s4); }
.qband__line { font-size: 18px; max-width: 34ch; color: var(--fg); }
.qband__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s5) 0 var(--s4); }
.qband__mail { font-size: 15.5px; color: var(--fg-2); }
.qband__mail a { color: var(--fg); }
.qband__g { margin: var(--s4) 0 0; padding-top: var(--s4); border-top: 1px solid var(--rule-light); font: 400 19px/1.3 var(--serif); color: var(--fg); max-width: 26ch; }
.qband__panel { background: #fff; border: 1px solid #d8cdbb; padding: clamp(16px, 2.4vw, 28px); }
.qband__ph { font: 700 17px/1.3 var(--sans); margin: 0 0 10px; color: var(--ink); }
.crm iframe { display: block; width: 100%; min-height: 620px; border: 0; background: #fff; }
@media (max-width: 899px) { .qband { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ FAQ */
.faqgrid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--rule); }
.faq__i { border-bottom: 1px solid var(--rule); }
.faq__q { list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 16px 0; cursor: pointer; font: 400 clamp(18px, 1.5vw, 21px)/1.3 var(--serif); color: var(--fg); }
.faq__q::-webkit-details-marker { display: none; }
.faq__n { font-size: 22px; color: var(--accent); }
.faq__x { position: relative; width: 18px; height: 18px; }
.faq__x::before, .faq__x::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 1.5px; background: var(--accent); }
.faq__x::after { transform: rotate(90deg); transition: transform .2s; }
.faq__i[open] .faq__x::after { transform: rotate(0); }
.faq__a { padding: 0 36px 18px 56px; color: var(--fg); }
@media (max-width: 899px) { .faqgrid { grid-template-columns: minmax(0, 1fr); } .faq__a { padding-left: 0; padding-right: 0; } }

/* ------------------------------------------------------------------ footer */
.ftr { background: var(--ink); border-top: 1px solid var(--rule-dark); padding: clamp(40px, 5vw, 64px) 0 0; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.ftr__logo { display: inline-block; background: #fff; padding: 8px 12px; line-height: 0; }
.ftr__logo img { width: 168px; }
.ftr__soc { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.ftr__soc a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--on-dark); color: var(--ink) !important; align-items: center; justify-content: center; }
.ftr__soc a:hover { background: var(--tan); }
.ftr__soc .ico { width: 19px; height: 19px; }
.ftr__line { margin: 0; color: var(--on-dark); line-height: 1.45; }
.ftr__h { font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tan); margin: 4px 0 14px; }
.ftr__list { list-style: none; }
.ftr__list li { margin: 0 0 7px; }
.ftr__list a { text-decoration: none; color: var(--on-dark); }
.ftr__list a:hover { text-decoration: underline; text-decoration-color: var(--tan); }
.ftr__all a { color: var(--tan) !important; font-weight: 600; }
.ftr__q { margin-top: 12px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 16px; padding-bottom: 18px; border-top: 1px solid var(--hair-dark); font-size: 13.5px; }
.ftr__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__legal a, .ftr__copy a { color: var(--on-dark); text-decoration: none; }
.ftr__legal a:hover, .ftr__copy a:hover { text-decoration: underline; }
.ftr__copy { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; color: var(--on-dark); }
.footer-builtby { white-space: nowrap; }
@media (max-width: 899px) {
	.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftr__brand, .ftr__contact { grid-column: 1 / -1; }
	.ftr__base { flex-direction: column; }
}

/* mobile call / WhatsApp / quote bar: from the first pixel (§7d.4); its clearance sits on the footer (§7c.4) */
.mbar { display: none; }
@media (max-width: 1023px) {
	.mbar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); border-top: 1px solid var(--tan); }
	.mbar__a { display: flex; align-items: center; justify-content: center; min-height: 54px; color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 15px; }
	.mbar__a + .mbar__a { border-left: 1px solid var(--hair-dark); }
	.mbar__q { background: var(--tan); color: var(--ink) !important; }
	.mbar__a:focus-visible { outline: 3px solid var(--tan); outline-offset: -3px; }
	.mbar__q:focus-visible { outline-color: var(--ink); }
	.ftr { padding-bottom: 54px; }
}

/* ------------------------------------------------------------------ WhatsApp short form */
.wa { position: fixed; inset: 0; z-index: 300; background: rgba(20, 20, 20, .66); display: grid; place-items: center; padding: 16px; }
.wa[hidden] { display: none; }
.wa__panel { position: relative; width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--ground-2); border: 1px solid var(--tan); padding: 28px; color: var(--ink); }
.wa__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); }
.wa__h { font: 400 32px/1.1 var(--serif); margin-bottom: 8px; }
.wa__dek { font-size: 15px; color: var(--muted-light); }
.fld { margin: 0 0 12px; }
.fld label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.fld input, .fld textarea, .fld select { width: 100%; padding: 10px 12px; border: 1px solid #8a8178; border-radius: 2px; font: 16px/1.4 var(--sans); background: #fff; color: var(--ink); }
.fld-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
html.wa-open { overflow: hidden; }

/* ------------------------------------------------------------------ the drawing language (SVG) */
.dg { display: block; width: 100%; height: auto; color: inherit; overflow: visible; }
.dg--crop { height: 100%; }
.dg .dg-1, .dg .dg-2, .dg .dg-3, .dg .dg-v, .dg .dg-lead { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.dg .dg-1 { stroke-width: 1.35; }
.dg .dg-2 { stroke-width: .85; }
.dg .dg-3 { stroke-width: .7; opacity: .55; }
.dg .dg-v { stroke-width: 1.6; stroke-dasharray: 1 0; }
.dg .dg-p { fill: none; stroke: currentColor; stroke-width: .7; opacity: .5; vector-effect: non-scaling-stroke; }
.dg .dg-pf { fill: currentColor; opacity: .45; }
.dg .dg-pat { stroke: none; }
.dg .dg-lead { stroke: var(--tan); stroke-width: 1.5; stroke-dasharray: 1.5 4; opacity: .95; }
.dg .dg-dot { fill: var(--tan); }
.dg .dg-rc { fill: var(--tan); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dg .dg-rn { fill: var(--ink); font-family: var(--serif); }
.dg .dg-glass { fill: currentColor; fill-opacity: .08; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dg .dg-sheet { fill: currentColor; fill-opacity: .1; stroke: none; }
.dg a .dg-ring { cursor: pointer; }
html.js-motion .dg.is-pulse .dg-rc { animation: lgr-pulse 1.1s ease-out 1; transform-box: fill-box; transform-origin: center; }
@keyframes lgr-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* the ring (HTML twin of the SVG ring: the Legend key, the town crop marker) */
.ring { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tan); color: var(--ink); font: 400 17px/1 var(--serif); }

/* ------------------------------------------------------------------ service: "Which part is letting water in?" */
.parts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); grid-template-areas: "h fig key" "list fig key"; gap: clamp(20px, 3vw, 48px); align-items: start; }
.parts__h { grid-area: h; max-width: 11ch; }
.parts__fig { grid-area: fig; margin: 0; color: var(--ink); align-self: center; }
.parts__key { grid-area: key; }
.parts__list { grid-area: list; }
@media (max-width: 1099px) {
	.parts { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "h h" "fig key" "list list"; }
}
@media (max-width: 699px) { .parts { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "fig" "key" "list"; } }

/* the Legend key panel (boxed, tan 1px, serif italic heading) */
.lkey { border: 1px solid var(--tan); padding: clamp(18px, 2vw, 28px) clamp(18px, 2vw, 30px); }
.lkey__h { font: italic 400 clamp(26px, 2.4vw, 34px)/1 var(--serif); color: var(--accent); margin: 0 0 16px; }
.lkey__list { list-style: none; }
.lkey__list li { margin: 0 0 12px; }
.lkey__list li:last-child { margin-bottom: 0; }
.lkey__list a, .lkey__s { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg); font-size: 16px; line-height: 1.3; }
.lkey__list a .lkey__t { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.lkey__list a:hover .lkey__t { text-decoration-thickness: 2px; }
.lkey--light { background: var(--ground-2); }

/* ------------------------------------------------------------------ comparison tables (tan rules; fit, never scroll) */
.cmp { width: 100%; }
.cmp__t { width: 100%; table-layout: fixed; border: 1px solid var(--rule); font-size: 16px; }
.cmp__t th, .cmp__t td { border: 1px solid var(--rule); padding: 11px 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere; hyphens: auto; }
.cmp__t thead th { font: 700 15.5px/1.3 var(--sans); color: var(--accent); }
.cmp__t tbody th { font-weight: 600; width: 28%; }
.cmp__t caption { caption-side: top; text-align: left; font-weight: 700; padding-bottom: 8px; }
.cmp__src, .lrm__src { font-size: 13.5px; color: var(--fg-2); margin: 8px 0 0; }
.cmp__go { margin: var(--s5) 0 0; }
@media (max-width: 559px) {
	.cmp__t thead { display: none; }
	.cmp__t, .cmp__t tbody, .cmp__t tr { display: block; border: 0; }
	.cmp__t tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--rule); margin-bottom: 10px; }
	.cmp__t tbody th { grid-column: 1 / -1; width: auto; border: 0; border-bottom: 1px solid var(--rule); }
	.cmp__t td { border: 0; padding: 8px 14px 10px; }
	.cmp__t td + td { border-left: 1px solid var(--rule); }
	.cmp__t td::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 2px; }
	.cmp--2 .cmp__t tr, .cmp--4 .cmp__t tr { grid-template-columns: minmax(0, 1fr); }
	.cmp--2 .cmp__t td + td, .cmp--4 .cmp__t td + td { border-left: 0; border-top: 1px solid var(--rule); }
}

/* ------------------------------------------------------------------ guides band, spoke index */
.band--guides .split__b .plate__m { aspect-ratio: 1 / 1; }
.sidx--2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.sidx__h { font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sidx__n { color: var(--fg-2); }
.sidx__list { list-style: none; border-top: 1px solid var(--rule); columns: 1; }
.sidx__list li { border-bottom: 1px solid var(--hair); }
.sidx__list a { display: block; padding: 9px 0; text-decoration: none; color: var(--fg); }
.sidx__list a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 699px) { .sidx--2 { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ town */
.roofs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 56px); }
.roofs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roofs__i { border-top: 1px solid var(--tan); padding-top: 14px; }
.roofs__n { display: block; font: 400 clamp(46px, 4.4vw, 62px)/1 var(--serif); color: var(--accent-big); margin-bottom: 12px; }
.roofs__h { font: 700 clamp(19px, 1.6vw, 22px)/1.3 var(--sans); margin-bottom: 10px; }
.roofs__p p { color: var(--fg); }
@media (max-width: 799px) { .roofs, .roofs--2 { grid-template-columns: minmax(0, 1fr); } }

/* the ruled key list (labels in spaced tan capitals) */
.kl { margin: 0; border-top: 1px solid var(--rule); }
.kl__r { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kl__l { font: 700 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.kl__v { margin: 0; font-size: 17px; line-height: 1.45; }
.band--local .h2 { margin-bottom: var(--s5); }
.local__more { margin-top: clamp(32px, 4vw, 48px); columns: 2; column-gap: clamp(28px, 4.5vw, 72px); }
.local__more p { break-inside: avoid; }
.local__h3 { column-span: all; font: 400 26px/1.2 var(--serif); margin-bottom: 14px; }
@media (max-width: 799px) { .local__more { columns: 1; } .kl__r { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* town long read (light form) */
.lrt__ch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--rule-light); }
.lrt__ch--b { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lrt__ch--b .lrt__side { order: 2; }
.lrt__open { position: relative; margin: 0 0 var(--s5); border: 1px solid var(--tan); background: var(--ground-2); color: var(--ink); aspect-ratio: 4 / 3; overflow: hidden; }
.lrt__open .dg { width: 100%; height: 100%; }
.lrt__ring { position: absolute; left: 12px; top: 12px; z-index: 1; width: 40px; height: 40px; font-size: 24px; }
.lrt__h { font: 400 clamp(26px, 2.6vw, 36px)/1.12 var(--serif); margin-bottom: 10px; }
.lrc__k { margin-bottom: 8px; }
@media (max-width: 799px) { .lrt__ch, .lrt__ch--b { grid-template-columns: minmax(0, 1fr); } .lrt__ch--b .lrt__side { order: 0; } }

/* ------------------------------------------------------------------ THE LONG READ (A5) */
.lri { background: var(--ink); padding: var(--band) 0 calc(var(--band) * .8); }
.lri--bare { padding-top: 0; }
.band--teaser { padding-bottom: clamp(32px, 4vw, 48px); }
.lri__head { max-width: 720px; margin-bottom: clamp(20px, 3vw, 36px); }
.lri__h { font: 400 clamp(40px, 5vw, 72px)/1.04 var(--serif); letter-spacing: -.01em; margin-bottom: var(--s4); }
.lri__dek { font-size: 18px; max-width: 46ch; color: var(--on-dark); margin: 0; }
/* Stage 6 2026-11-25 (qa-gaps HOLE 600x440 beside a three-line conservatory intro head): at desktop the head runs the full width, title left and dek right. Desktop only. */
@media (min-width: 1100px) {
	.lri__head:not(:has(.lri__dek--bare)) { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 4vw, 64px); align-items: end; }
	.lri__head:not(:has(.lri__dek--bare)) > .kicker { grid-column: 1 / -1; }
	.lri__head:not(:has(.lri__dek--bare)) > .lri__h { grid-column: 1; margin-bottom: 0; }
	.lri__head:not(:has(.lri__dek--bare)) > .lri__dek { grid-column: 2; padding-bottom: .4em; }
}
.lri__grid { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.lri__fig { margin: 0; color: var(--on-dark); }
.lri__fig .dg-rn { font-size: 20px; }
.lri .lkey { align-self: center; }
@media (max-width: 899px) { .lri__grid { grid-template-columns: minmax(0, 1fr); } }

.lrc { padding: clamp(36px, 4vw, 54px) 0 clamp(36px, 4vw, 56px); background: var(--ground); }
.lrc--dark { background: var(--ink); }
.lrc__open { margin: 0 0 clamp(24px, 3vw, 40px); aspect-ratio: 4 / 1; border: 1px solid var(--ink); overflow: hidden; color: var(--ink); background: var(--ground-2); }
.lrc--dark .lrc__open { border-color: var(--tan); color: var(--on-dark); background: var(--ink); }
.lrc__open .dg { width: 100%; height: 100%; }
.lrc__h { font: 400 clamp(36px, 4.2vw, 58px)/1.06 var(--serif); letter-spacing: -.008em; color: var(--fg); margin-bottom: 12px; }
.lrc__h--long { font-size: clamp(30px, 3.2vw, 44px); }
.lrc__sf { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--fg); margin: 0; max-width: 40ch; }
.lrc__head { margin-bottom: var(--s5); }
.lrc__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.lrc__grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.lrc__grid--side { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lrc__grid--split .lrc__prose { max-width: 68ch; padding-top: 4px; }
.lrc__lead > .lrm { margin-top: var(--s5); }
.lrc__aside { display: grid; gap: 16px; }
.lrc__col { max-width: 760px; margin: 0 auto; }
.lrc__col .lrc__head { text-align: left; }
.lrc__mods { display: grid; gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 3.5vw, 44px); align-items: start; }
.lrc__mods--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lrc__mods--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) {
	.lrc__grid--split, .lrc__grid--side, .lrc__mods--2, .lrc__mods--3 { grid-template-columns: minmax(0, 1fr); }
	.lrc__open { aspect-ratio: 3 / 1; }
}
@media (max-width: 519px) { .lrc__open { aspect-ratio: 2.4 / 1; } }

/* prose */
.prose { color: var(--fg); }
.prose p, .prose li { max-width: 68ch; }
.prose h3 { font: 400 clamp(22px, 1.9vw, 26px)/1.25 var(--serif); margin: 1.4em 0 .5em; color: var(--fg); }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0 0 .4em; }
.prose ul li::marker { color: var(--accent); }
.prose a { color: var(--fg); text-decoration-color: var(--accent); }
.prose table { width: 100%; table-layout: fixed; margin: 0 0 1.2em; border: 1px solid var(--rule); font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 9px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.prose thead th { color: var(--accent); }
.prose > :last-child { margin-bottom: 0; }
.prose--drop > p:first-of-type::first-letter { float: left; font: 400 4.1em/.8 var(--serif); color: var(--accent); margin: .06em .1em 0 0; }
@media (max-width: 559px) {
	.prose table thead { display: none; }
	.prose table, .prose tbody, .prose tr { display: block; border: 0; }
	.prose tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--rule); margin-bottom: 10px; }
	.prose tr > :first-child { grid-column: 1 / -1; border: 0; border-bottom: 1px solid var(--rule); font-weight: 700; }
	.prose td { border: 0; }
	.prose td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
}

/* modules */
.lrm { min-width: 0; }
.lrm__k { font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pair .plate__m { aspect-ratio: 4 / 3; }
.mf { border: 1px solid var(--tan); padding: 16px 20px; font: 400 clamp(19px, 1.6vw, 23px)/1.3 var(--serif); color: var(--fg); }
.mf p { margin: 0; }
.mf + .mf { margin-top: 12px; }
.mf__k { font: 700 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-right: 6px; display: inline-flex; align-items: center; gap: 8px; }
.mf__x { position: relative; display: inline-block; width: 14px; height: 14px; }
.mf__x::before, .mf__x::after { content: ''; position: absolute; left: -1px; top: 6px; width: 16px; height: 2px; background: var(--accent); transform: rotate(45deg); }
.mf__x::after { transform: rotate(-45deg); }
.lrm--spec { border: 1px solid var(--tan); padding: 16px 18px 18px; }
.spec__t { font: italic 400 clamp(22px, 2vw, 28px)/1.15 var(--serif); color: var(--accent); margin: 0 0 12px; }
.spec__tb { width: 100%; table-layout: fixed; border: 1px solid var(--rule); font-size: 15.5px; }
.spec__tb th, .spec__tb td { border: 1px solid var(--rule); padding: 8px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.spec__tb th { width: 38%; font-weight: 600; }
.figs { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.figs li { padding: 16px 14px 14px 0; }
.figs li + li { border-left: 1px solid var(--rule); padding-left: 18px; }
.fig__v { display: block; font: 400 40px/1 var(--serif); color: var(--accent-big); margin-bottom: 8px; }
.fig__l { display: block; font-size: 14.5px; line-height: 1.4; color: var(--fg); }
.lrm--cost { border-top: 2px solid var(--tan); padding-top: 14px; }
.cost__t { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); margin: 0 0 10px; }
.cost__dl { margin: 0; }
.cost__r { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.cost__r dt { color: var(--fg); }
.cost__r dd { margin: 0; font: 400 20px/1.2 var(--serif); color: var(--fg); white-space: nowrap; }
/* Stage 6 2026-11-25: a long figure ("Average around £1,000-£1,600") in a nowrap dd pushed /services/roof-repairs/ to 395px at 390. Phones only: the row wraps and the figure may break. */
@media (max-width: 599px) { .cost__r { flex-wrap: wrap; gap: 4px 16px; } .cost__r dd { white-space: normal; min-width: 0; } }
.cost__note { font-size: 14.5px; color: var(--fg-2); margin: 8px 0 0; }
@media (max-width: 519px) { .pair { grid-template-columns: minmax(0, 1fr); } .figs li + li { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }

/* ------------------------------------------------------------------ articles (guide: feature flow; answer: direct answer; core/legal) */
.art .wrap--read { position: relative; }
.standfirst { font: 400 clamp(21px, 1.9vw, 25px)/1.4 var(--serif); color: var(--fg); margin-bottom: var(--s6); }
.sec { margin: 0 0 clamp(28px, 3.4vw, 44px); }
.sec__rule { display: flex; align-items: center; gap: 18px; margin: 0 0 12px; }
.sec__rule::before, .sec__rule::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--rule-light); }
.sec__n { font: 400 30px/1 var(--serif); color: var(--accent-big); }
.sec__h { font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--serif); color: var(--fg); margin: 0 0 14px; text-align: center; }
.sec__h--plain { text-align: left; font-size: clamp(24px, 2.3vw, 30px); padding-top: 8px; border-top: 1px solid var(--rule-light); }
.prose--first-drop .sec:first-of-type .prose > p:first-child::first-letter { float: left; font: 400 4em/.8 var(--serif); color: var(--accent); margin: .06em .1em 0 0; }
.sec .lrm { margin-top: var(--s5); }
.art__fig { margin: var(--s5) 0 0; padding: 14px; border: 1px solid var(--tan); background: var(--ink); color: var(--on-dark); }
.art__figcap { margin-top: 8px; font-size: 13.5px; color: var(--muted-dark); }
.art__intro { margin-bottom: var(--s6); }
.kl--art { margin-bottom: var(--s6); }
.ans { background: var(--ink); color: var(--on-dark); border-left: 3px solid var(--tan); padding: clamp(20px, 2.6vw, 32px); margin-bottom: clamp(28px, 3.4vw, 44px); }
.ans__k { font: italic 400 26px/1 var(--serif); color: var(--tan); margin-bottom: 12px; }
.ans__p { font-size: 18.5px; line-height: 1.6; }
.ans__p p:last-child { margin-bottom: 0; }
.kl--ans { margin-top: 16px; }
.partof { margin-top: clamp(36px, 4vw, 56px); border: 1px solid var(--rule-light); padding: 22px 24px; background: var(--ground); }
.partof__h { font: 400 26px/1.2 var(--serif); margin-bottom: 10px; }
.partof__h a { text-decoration-color: var(--accent); }
.partof__list { list-style: none; }
.partof__list li { border-top: 1px solid var(--hair); }
.partof__list a { display: block; padding: 8px 0; text-decoration: none; }
.partof__list a:hover { text-decoration: underline; }
.holding__p { font-size: 18px; }
.onep { margin: var(--s4) 0 0; font: 400 20px/1.3 var(--serif); }
.prose--center { text-align: center; margin: var(--s7) auto 0; max-width: 68ch; }

/* ------------------------------------------------------------------ indexes */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px) clamp(18px, 2.6vw, 36px); }
.tile__a { display: block; text-decoration: none; color: var(--fg); }
.tile__h { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0 8px; border-bottom: 1px solid var(--rule); font: 400 clamp(21px, 1.8vw, 25px)/1.2 var(--serif); }
.tile__a:hover .tile__h span { text-decoration: underline; text-decoration-color: var(--accent); }
.tile__p { margin: 10px 0 0; font-size: 15.5px; color: var(--fg-2); }
@media (max-width: 899px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.agrps { columns: 3 280px; column-gap: clamp(24px, 3.5vw, 56px); }
.agrp { break-inside: avoid; margin: 0 0 28px; }
.agrp--big { break-inside: auto; }
.agrp__h { font: 400 24px/1.2 var(--serif); padding-bottom: 8px; border-bottom: 1px solid var(--tan); margin-bottom: 4px; break-after: avoid; }
.agrp__n, .bgrp__n { font: 600 14px/1 var(--sans); color: var(--accent); }
.agrp__list, .bgrp__list { list-style: none; }
.agrp__list li, .bgrp__list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hair); padding: 7px 0; break-inside: avoid; }
.agrp__list a, .bgrp__list a { text-decoration: none; color: var(--fg); }
.agrp__list a:hover, .bgrp__list a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.amiles, .btype { font-size: 13.5px; color: var(--fg-2); white-space: nowrap; }
.fcards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.fcards .plate { margin-bottom: 12px; }
.fcard__t { font: 400 clamp(21px, 1.8vw, 25px)/1.22 var(--serif); }
.fcard__t a { text-decoration: none; }
.fcard__t a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 799px) { .fcards { grid-template-columns: minmax(0, 1fr); } }
.bgrps { columns: 2 340px; column-gap: clamp(28px, 4vw, 64px); }
.bgrp { margin: 0 0 30px; }
.bgrp__h { font: 400 24px/1.2 var(--serif); padding-bottom: 8px; border-bottom: 1px solid var(--tan); break-after: avoid; }
.bgrp__h a { text-decoration: none; }

/* contact */
.ccard { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--tan); }
.ccard__h { font: 400 30px/1.1 var(--serif); margin-bottom: 14px; }
.kl--card .kl__r { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.ccard__note { margin: 14px 0 0; }
.ccard__g { margin: 16px 0 0; font: 400 19px/1.3 var(--serif); }
.ccard__gbp { margin: 14px 0; }
.gbp { border: 1px dashed var(--rule); padding: 16px; text-align: center; }
.gbp iframe { width: 100%; height: 300px; border: 0; }
.gbp__t { font-size: 14px; color: var(--fg-2); }
.band--contact .h2 { margin-bottom: var(--s5); }

/* ------------------------------------------------------------------ motion (CSS only, under html.js-motion, §7c.6) */
@media (prefers-reduced-motion: no-preference) {
	html.js-motion .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
	html.js-motion .rv.is-in { opacity: 1; transform: none; }
	.ulink, .dots a, .sx__a span { transition: text-decoration-color .2s; }
}
body.lgr-shot .rv, body.lgr-fid .rv { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------------ M2 (2026-11-25): long-read flow + quote plate */
/* the prose beyond the narrow column's height runs on in two balanced columns (no hole beside a short column, §22.11) */
.lrc__more { columns: 2; column-gap: clamp(28px, 4vw, 64px); margin-top: var(--s5); }
.lrc__more > * { break-inside: avoid; }
.lrc__more h3 { break-after: avoid; }
/* Stage 6 2026-11-25 (qa-gaps HOLE 704x432 on skylights ch4): a long list kept whole jumped to column 2 and left column 1 bare. Lists may split between items. */
.lrc__more > ul, .lrc__more > ol { break-inside: auto; }
.lrc__more li { break-inside: avoid; }
.lrc__more p, .lrc__more li { max-width: none; }
.lrc__grid--side .lrc__prose { max-width: 68ch; }
.lrc--side > .wrap > .lrc__head { max-width: 900px; }
@media (max-width: 899px) { .lrc__more { columns: 1; } }
.qband__plate { margin-top: var(--s5); }
.qband__plate .plate__m { aspect-ratio: 4 / 3; }
/* shots.mjs 2026-11-25: article -> quote and hero -> article seams (158px) and a long email in the contact card at 390 */
.art .sec:last-child, .art .wrap--read > :last-child { margin-bottom: 0; }
.hero { padding-bottom: clamp(36px, 3.6vw, 52px); }
.kl__v, .ccard, .ftr__list a, .qband__mail { overflow-wrap: anywhere; }
/* a lone last tile spans the row as a wide card (photo beside its words), never one card beside two empty cells (§27.16) */
@media (min-width: 900px) {
	.tiles > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 clamp(18px, 2.6vw, 36px); align-items: center; }
	.tiles > li:last-child:nth-child(3n+1) .tile__a { display: contents; }
	.tiles > li:last-child:nth-child(3n+1) .plate { grid-row: span 2; }
	.tiles > li:last-child:nth-child(3n+1) .tile__h { align-self: end; }
	.tiles > li:last-child:nth-child(3n+1) .tile__p { align-self: start; }
}
/* img-measure 2026-11-25 (§0e.2, §25.18): boxes sized to the ~980px library supply so every photo is >= 2x at DPR 2 */
.lrm--pair .pair { max-width: 980px; }
.services__media .plate { max-width: 470px; margin-left: auto; }
.qband__plate { max-width: 480px; }
.band--guides .split__b .plate { max-width: 360px; margin-left: auto; }
.hero--town .hero__frame { max-width: 468px; margin-left: auto; } /* town pool frames are ~940-980px: hold 2x (GAPS) */
/* fidelity prep 2026-11-25: the services index reads down the columns with a tan rule between them (mockup) */
@media (min-width: 600px) {
	.sx--cols { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 5), auto); column-gap: 56px; position: relative; }
	.sx--cols::after { content: ''; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: var(--rule); }
}
.hero__h1 { font-size: clamp(40px, 4.7vw, 68px); }
.hero__h1--long { font-size: clamp(36px, 4.2vw, 60px); }
.hero { padding-top: clamp(28px, 3.4vw, 48px); }
.hero--home .hero__frame { aspect-ratio: 1.12 / 1; }
/* fidelity prep: the hub's drawing carries the "Which part" band, as in the mockup */
@media (min-width: 1100px) {
	.parts { grid-template-columns: minmax(0, 3.6fr) minmax(0, 5.8fr) minmax(0, 2.6fr); }
	.parts__fig { margin-left: -24px; margin-right: -12px; }
}

/* ------------------------------------------------------------------ Fidelity loop 1 (2026-11-25), judge notes per gate */
/* hero: the photo fills the right half (mockup), sized to the hero sources (home 1854px, hubs ~1300px: >= 2x) */
@media (min-width: 820px) {
	.hero--home .hero__in, .hero--svc .hero__in { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); gap: clamp(28px, 3vw, 48px); }
	.hero--home .hero__frame { aspect-ratio: 1.15 / 1; max-width: 640px; margin-left: auto; }
	.hero--svc .hero__frame { aspect-ratio: 4 / 3; max-width: 640px; margin-left: auto; }
}
.hero__h1 em { display: inline; }
/* trust: a tan line on top and under, short tan-hued dividers, larger lighter-feeling labels */
.trust { border-top: 1px solid var(--tan); border-bottom: 1px solid rgba(206, 175, 131, .35); }
.trust__list li + li { border-left: 0; position: relative; }
.trust__list li + li::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--hair-dark); }
.trust__t { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: .005em; }
@media (max-width: 819px) { .trust__list li + li::before { display: none; } }
/* parts: a larger drawing, plain Legend labels, a smaller heading step */
.parts__h { font-size: clamp(36px, 3.9vw, 58px); }
.lkey__list a .lkey__t { text-decoration: none; }
.lkey__list a:hover .lkey__t, .lkey__list a:focus-visible .lkey__t { text-decoration: underline; text-decoration-color: var(--accent); }
.lkey__list a, .lkey__s { font-size: 17px; }
.lkey__list .ring { width: 32px; height: 32px; font-size: 19px; }
/* links on charcoal that are tan by design outrank the generic on-dark link colour (specificity, §7c.3) */
.on-dark a.ulink:not(.btn), .on-dark .cmp__go a:not(.btn), .on-dark .areas__all a:not(.btn) { color: var(--tan); text-decoration-color: var(--tan); }
/* guides plate: the mockup's landscape crop */
.band--guides .split__b .plate__m { aspect-ratio: 4 / 3; }
/* services plate: the mockup's wide crop */
.services__media .plate__m { aspect-ratio: 16 / 10; }
/* myth / fact: bigger labels and claims */
.mf { font-size: clamp(21px, 1.85vw, 26px); }
.mf__k { font-size: 15.5px; }
/* footer: the base row sits on a tan rule (mockup) */
.ftr__base { border-top-color: rgba(206, 175, 131, .6); }
/* home intro dek (bare intro: between the teaser and the drawing) */
.lri__dek--bare { margin: 0 0 clamp(12px, 2vw, 24px); max-width: 60ch; }

/* ------------------------------------------------------------------ Fidelity loop 2 (2026-11-25) */
/* drawings: the tile and brick texture reads (judges: "sparse, near-empty crops") */
.dg .dg-p { opacity: .72; }
.dg .dg-3 { opacity: .7; }
/* town light long read: two chapter cards side by side (mockup/page-area) */
.lrt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--rule-light); padding-top: clamp(24px, 3vw, 36px); }
.lrt__ch, .lrt__ch--b { display: block; padding: 0; border-top: 0; }
.lrt__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: center; margin-bottom: var(--s5); }
.lrt__top .lrt__open { margin: 0; }
.lrt__hd .lrt__h { font-size: clamp(24px, 2.2vw, 32px); }
.lrt__ch > .lrm { margin-top: var(--s5); }
@media (max-width: 899px) { .lrt { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) { .lrt__top { grid-template-columns: minmax(0, 1fr); } }
/* footer: denser like the mockup, larger filled social marks */
.ftr { padding-top: clamp(32px, 3.6vw, 48px); font-size: 14.5px; }
.ftr__list li { margin-bottom: 4px; }
.ftr__grid { padding-bottom: clamp(22px, 3vw, 36px); }
.ftr__soc a { width: 40px; height: 40px; }
.ftr__soc .ico { width: 21px; height: 21px; }
/* home teaser: compact, the heading on two lines */
.tz__h { font-size: clamp(30px, 2.9vw, 42px); }
.tz__list a { padding: 6px 0; font-size: clamp(17px, 1.35vw, 19px); }
/* FAQ questions are h3 headings inside the summary (qa-serp --rendered counts them; one heading element per summary) */
.faq__s { list-style: none; cursor: pointer; display: block; }
.faq__s::-webkit-details-marker { display: none; }
.faq__s::marker { content: ""; }
h3.faq__q { margin: 0; }
/* spoke index: guides beside the answers, the answers in two balanced columns (qa-gaps HOLE: 12 guides beside 20 answers) */
@media (min-width: 900px) {
	.sidx--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
	.sidx--2 .sidx__col + .sidx__col .sidx__list { columns: 2; column-gap: clamp(24px, 3vw, 48px); }
	.sidx--2 .sidx__list li { break-inside: avoid; }
}
/* table captions run the full width at every size (they collapsed to a one-word column once the table stacked under 560px) */
.cmp__t caption, .prose table caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 8px; color: var(--fg); }
@media (max-width: 559px) {
	.cmp__t caption, .prose table caption { display: block; width: 100%; max-width: none; }
}
/* img-measure 2026-11-25 (hubs with real copy): pair box to 940px (~938px pair sources), guides plate to 350px (702px sources) */
.lrm--pair .pair { max-width: 940px; }
.band--guides .split__b .plate { max-width: 350px; }
.pair .plate { max-width: 465px; } /* each pair photo <= 465px: >= 2x from the ~938px library pair sources wherever the pair sits */
.qband__plate { max-width: 465px; } /* the quote plate takes pool frames down to ~938px: hold 2x */
