/* Total Roofing Great Yarmouth, direction C: "A little roofline of east-coast roofs: every photo stands in its own
   gable, on a calm sage ground, told in plain friendly type." (STYLE-GUIDE.md). One stylesheet, tokens first.
   Rules kept from the blueprint: no vertical margin on a full-bleed band (§7c.4), every grid track names its minimum
   (§7c.1), children placed explicitly where order matters (§7c.2), one .on-dark class (§7c.3), hidden states only
   under html.js-motion (§7c.6), orange is a DEVICE colour: text uses --orange-text (§7d.3). */

:root {
	--green: #315947; --green-deep: #24443A; --orange: #F77035; --orange-text: #B4461A;
	--sage: #E9EFEA; --sage-2: #F4F7F4; --panel: #FFFFFF; --ink: #1E2B26; --muted: #5A6862; --rule: #D3DDD6;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--pad: clamp(30px, 3.2vw, 44px); --gut: clamp(16px, 4vw, 40px);
	--w-read: 68ch; --w-std: 1140px; --w-mid: 960px; --w-wide: 1320px;
	--r-panel: 14px; --r-btn: 8px; --r-in: 6px;
	--f-head: 'Rubik', 'Rubik Fallback', Arial, sans-serif; --f-body: 'Nunito Sans', 'Nunito Sans Fallback', Arial, sans-serif;
	--hdr-h: 84px;
	--dg-line: var(--green);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); overflow-x: clip; }
body { margin: 0; background: var(--sage); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-body); overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange-text); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; color: var(--green); letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
.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: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); }
.skip:focus { top: 10px; color: #fff; }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--w-std) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.wrap--wide { max-width: calc(var(--w-wide) + 2 * var(--gut)); }
.wrap--mid { max-width: calc(var(--w-mid) + 2 * var(--gut)); }
.wrap--read { max-width: calc(760px + 2 * var(--gut)); }
.band { padding: var(--pad) 0; }
.band--sage { background: var(--sage); }
.band--white { background: var(--panel); }
.band--sage2 { background: var(--sage-2); }
.band--tight { padding: clamp(32px, 4vw, 48px) 0; }
.band + .band--sage, .band--sage + .band--white, .band--white + .band--sage { border-top: 1px solid var(--rule); }
.band__more { text-align: center; margin: var(--s6) 0 0; font-size: 1.1rem; }
.ulink { font-family: var(--f-head); font-weight: 500; text-decoration: underline; }
.prose { max-width: var(--w-read); }
.prose--center { margin-left: auto; margin-right: auto; }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 13px; height: 7px; border-top: 2.2px solid var(--orange); border-left: 2.2px solid var(--orange); transform: rotate(45deg) skew(8deg, 8deg); transform-origin: 30% 60%; border-radius: 1px; }
.prose ol { margin: 0 0 1em 1.4em; }
.prose ol li { margin-bottom: 6px; padding-left: 4px; }
.prose ol li::marker { color: var(--orange-text); font-family: var(--f-head); font-weight: 700; }
.prose h3 { margin-top: 1.4em; }
.prose table { margin: 0 0 1.2em; font-size: .97rem; background: #fff; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { font-family: var(--f-head); font-weight: 600; color: var(--green); border-bottom: 2px solid var(--green); }
.prose blockquote { margin: 0 0 1em; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); font-style: italic; }
.prose > :last-child { margin-bottom: 0; }
.prose ul + p, .prose ol + p, .prose table + p { margin-top: 1em; }
.meta { color: var(--muted); font-size: .95rem; margin: 0 0 var(--s5); }

/* ------------------------------------------------------------------ atoms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: var(--r-btn); background: var(--green); color: #fff; font: 500 1.05rem/1.2 var(--f-head); text-decoration: none; border: 2px solid var(--green); cursor: pointer; text-align: center; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; text-decoration: none; }
.btn--lg { min-height: 56px; padding: 12px 30px; font-size: 1.2rem; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn--line { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.btn--line:hover { background: var(--sage-2); color: var(--green-deep); border-color: var(--green-deep); }
.btn--wide { min-width: min(260px, 100%); }
.btn--wa { width: 100%; }
.pill { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 18px; border: 1.5px solid var(--green); border-radius: 999px; color: var(--green); font: 500 .95rem/1 var(--f-head); text-decoration: none; background: #fff; white-space: nowrap; }
.pill:hover { background: var(--sage-2); text-decoration: none; }
.kicker { font: 600 .9rem/1.3 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 var(--s3); }
.mark { display: inline-block; width: 44px; height: 16px; color: var(--orange); flex: none; }
.tick { width: 20px; height: 20px; color: var(--orange); flex: none; }
.cline { margin: var(--s5) 0 0; font: 500 1.15rem/1.4 var(--f-head); color: var(--green); }
.cline a { color: var(--green); text-decoration: none; font-weight: 600; }
.cline a:hover { text-decoration: underline; }
.cline__dot { color: var(--orange-text); margin: 0 10px; font-weight: 700; }
.shead { text-align: center; margin: 0 auto var(--s6); max-width: 820px; }
.shead__h { margin: 0; }
.shead__dek { margin: var(--s3) auto 0; color: var(--muted); max-width: 62ch; }
.shead--left { text-align: left; margin-left: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s5) 0 0; }
.chips--center { justify-content: center; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 22px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-btn); color: var(--green); font: 500 .98rem/1.2 var(--f-head); text-decoration: none; box-shadow: 0 1px 0 rgba(30, 43, 38, .04); }
.chip:hover { border-color: var(--green); text-decoration: none; }
.ticks { list-style: none; display: grid; gap: 14px; margin: 0; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.1rem; }
.ticks .tick { margin-top: 4px; }

/* ------------------------------------------------------------------ the gable frame (clip-path + container units) */
.gab { --gc: var(--green); --gw: 3px; --pr: .22; --pitch: calc(var(--pr) * 100cqw); position: relative; display: block; margin: 0; width: 100%; aspect-ratio: var(--ar, 4 / 5); container-type: inline-size; }
.gab--orange { --gc: var(--orange); --gw: 2.5px; }
.gab::before { content: ""; position: absolute; inset: 0; background: var(--gc); clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%); }
.gab__in { position: absolute; inset: var(--gw); display: flex; flex-direction: column; background: #fff; overflow: hidden; clip-path: polygon(0 calc(var(--pitch) - var(--gw) * var(--pr) * 2), 50% 0, 100% calc(var(--pitch) - var(--gw) * var(--pr) * 2), 100% 100%, 0 100%); }
.gab__media { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--sage-2); }
.gab__media > img, .gab__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gab__draw { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: calc(var(--pr) * 60%) 7% 5%; background: var(--sage-2); }
.gab__draw .dg { width: 100%; height: 100%; }
.gab__cap { flex: none; display: block; padding: 12px 10px 14px; text-align: center; font: 500 1.08rem/1.25 var(--f-head); color: var(--green); background: #fff; border-top: 1px solid var(--rule); }
.gab__link { color: var(--green); text-decoration: none; }
.gab__link::after { content: ""; position: absolute; inset: 0; }
.gab__link:hover { text-decoration: underline; }
.gab--cap .gab__in { position: absolute; }
li:has(> .gab .gab__link) { position: relative; }
.gab:has(.gab__link:focus-visible) { outline: 3px solid var(--orange-text); outline-offset: 4px; }

/* the street: gables standing on one green baseline */
.street { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.2vw, 16px); padding: 0 clamp(8px, 2vw, 24px) 0; }
.street__base { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); border-radius: 2px; }
.street__g { flex: none; }
.street--home .street__g--mid { width: clamp(150px, 20vw, 280px); }
.street--home .street__g--side { width: clamp(118px, 16vw, 225px); }
.street--svc .street__g--mid { width: clamp(170px, 21vw, 300px); }
.street--svc .street__g--side { width: clamp(130px, 16vw, 232px); }
.street--one .street__g--mid { width: clamp(200px, 24vw, 320px); }
.street .gab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--green); }

/* ------------------------------------------------------------------ header */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.hdr__bar { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 176px; height: auto; }
.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__a { color: var(--ink); text-decoration: none; font: 500 1rem/1 var(--f-head); padding: 10px 0; white-space: nowrap; }
.nav__a:hover, .nav__a[aria-current] { color: var(--green); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 36px; margin-left: 2px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 4px; }
.nav__caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__dd { list-style: none; position: absolute; top: calc(100% + 12px); left: -18px; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); box-shadow: 0 14px 34px rgba(30, 43, 38, .12); display: none; z-index: 60; }
.nav__dd.is-open { display: block; }
@media (hover: hover) and (min-width: 1181px) { .nav__item--dd:hover .nav__dd, .nav__item--dd:focus-within .nav__dd { display: block; } .nav__item--dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } }
.nav__dd a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .98rem; }
.nav__dd a:hover, .nav__dd a[aria-current] { background: var(--sage); color: var(--green); }
.nav__dd-all a { font-weight: 700; color: var(--green); border-top: 1px solid var(--rule); border-radius: 0 0 6px 6px; margin-top: 4px; padding-top: 12px; }
.nav__mob { display: none; }
.hdr__act { flex: none; display: flex; align-items: center; gap: 14px; }
.hdr__tel { font: 600 1.18rem/1 var(--f-head); color: var(--green); text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.hdr__tel:hover { text-decoration: underline; }
.hdr__call, .hdr__burger { display: none; }
@media (max-width: 1320px) { .hdr__tel { display: none; } }
@media (max-width: 1180px) {
	:root { --hdr-h: 70px; }
	.hdr__logo img { width: 150px; }
	.hdr__act { display: none; }
	.hdr__call, .hdr__burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--green); border-radius: var(--r-btn); background: #fff; color: var(--green); cursor: pointer; padding: 0; }
	.hdr__call { margin-left: auto; }
	.hdr__call svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
	.burger, .burger span, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
	.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
	.burger::before { top: -6px; } .burger::after { top: 6px; }
	.burger span { display: none; }
	.hdr__burger[aria-expanded="true"] .burger { background: transparent; }
	.hdr__burger[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
	.hdr__burger[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
	.nav { display: none; position: fixed; left: 0; right: 0; top: var(--hdr-h); max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(30, 43, 38, .14); padding: 8px var(--gut) 24px; flex-direction: column; justify-content: flex-start; }
	.nav.is-open { display: flex; }
	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(--rule); }
	.nav__a { flex: 1; padding: 15px 0; font-size: 1.1rem; }
	.nav__caret { width: 48px; height: 48px; border: 1px solid var(--rule); border-radius: var(--r-btn); }
	.nav__dd { position: static; display: none; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 12px 8px; background: transparent; border-radius: 0; }
	.nav__dd.is-open { display: block; }
	.nav__dd a { padding: 11px 10px; border-left: 2px solid var(--rule); border-radius: 0; }
	.nav__dd-all a { border-top: 0; margin: 0; padding-top: 11px; }
	.nav__mob { display: grid; gap: 10px; margin-top: 18px; }
}

/* ------------------------------------------------------------------ hero */
.hero { background: var(--sage); }
.hero__wrap { max-width: calc(var(--w-wide) + 2 * var(--gut)); display: grid; gap: var(--s6); align-items: end; }
.hero__txt { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 60px); align-self: center; min-width: 0; }
.hero__h1 { margin: 0 0 var(--s5); max-width: 15ch; }
.hero--home .hero__h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); font-weight: 700; }
.hero__lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 46ch; margin: 0 0 var(--s6); color: var(--ink); }
.hero__cta { margin: 0; }
.hero__media { min-width: 0; padding-top: clamp(20px, 3vw, 36px); }
.hero--text .hero__wrap { max-width: calc(var(--w-std) + 2 * var(--gut)); }
.hero--text .hero__txt { padding-bottom: clamp(28px, 3vw, 40px); }
.hero--text .hero__h1 { max-width: 22ch; }
@media (min-width: 1000px) {
	.hero--media .hero__wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
	.hero--home .hero__wrap { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
	.hero__txt { grid-column: 1; grid-row: 1; }
	.hero__media { grid-column: 2; grid-row: 1; }
}
@media (max-width: 999px) { .hero__media { padding-top: 0; } .hero__txt { padding-bottom: 8px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s5); font-size: .93rem; color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ------------------------------------------------------------------ trust strip */
.band--trust { background: #fff; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 16px 16px 0 0; position: relative; }
.trust { list-style: none; display: flex; align-items: center; justify-content: space-around; gap: 16px; text-align: center; }
.trust li { min-width: 0; }
.trust__t { display: block; font-size: 1.08rem; line-height: 1.35; color: var(--ink); max-width: 22ch; margin: 0 auto; }
.trust__g { color: var(--green); font-family: var(--f-head); font-weight: 500; text-decoration: underline; font-size: 1.12rem; }
.trust__sep .mark { width: 46px; height: 18px; }
@media (max-width: 760px) { .trust { flex-direction: column; gap: 10px; } }

/* ------------------------------------------------------------------ cards */
.cards { list-style: none; display: grid; gap: clamp(16px, 2.2vw, 28px); margin: 0 auto; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); max-width: 1080px; }
.cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cards li { min-width: 0; position: relative; }
@media (max-width: 1000px) { .cards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--3 { max-width: 420px; } }
.tcards { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: clamp(16px, 2vw, 24px) 0 0; }
.tcard { display: flex; align-items: center; justify-content: center; min-height: 66px; height: 100%; padding: 10px 14px; text-align: center; background: #fff; border: 1.5px solid var(--rule); border-radius: var(--r-btn); color: var(--green); font: 500 1.05rem/1.25 var(--f-head); text-decoration: none; }
.tcard:hover { border-color: var(--green); text-decoration: none; }
@media (max-width: 1000px) { .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ proof */
.proof { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.proof__gab { --pr: .14; }
.proof__media { width: 100%; max-width: 460px; margin: 0 auto; }
.proof__panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 40px); text-align: center; }
.proof__h { margin-bottom: var(--s5); }
.proof__panel .ticks { text-align: left; max-width: 440px; margin: 0 auto; }
.proof__btn { margin: var(--s6) 0 0; }
@media (min-width: 900px) { .proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .proof__media { grid-column: 1; grid-row: 1; } .proof__panel { grid-column: 2; grid-row: 1; } }

/* ------------------------------------------------------------------ process: one wide shallow gable line */
.band--process { padding: clamp(26px, 2.8vw, 38px) 0 clamp(36px, 4vw, 52px); }
.band--process .shead { margin-bottom: var(--s5); }
.proc { position: relative; max-width: 1240px; margin: 0 auto; }
.proc__line { position: absolute; left: 0; top: 0; width: 100%; height: 60px; overflow: visible; }
.proc__line path { stroke: var(--green); stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; }
.proc__list { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; }
.proc__s { position: relative; padding-top: 78px; text-align: center; }
.proc__s::before { content: ""; position: absolute; left: 50%; top: var(--py); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #fff; }
.proc__n { display: none; }
.proc__t { display: block; max-width: 17ch; margin: 0 auto; font: 500 1.22rem/1.3 var(--f-head); color: var(--ink); }
@media (max-width: 760px) {
	.proc__line { display: none; }
	.proc__list { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
	.proc__list::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 3px; background: var(--green); border-radius: 2px; transform: skewY(-8deg); }
	.proc__s { padding: 10px 0 18px 44px; text-align: left; }
	.proc__s::before { left: 16px; top: 22px; }
	.proc__t { margin: 0; max-width: none; }
}

/* ------------------------------------------------------------------ map */
.mapcard { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 10px; max-width: 1100px; margin: 0 auto; }
.map { margin: 0; }
.map__canvas { height: clamp(300px, 34vw, 380px); border-radius: 10px; background: #E6EAE7; overflow: hidden; z-index: 1; }
.map__canvas--tall { height: clamp(360px, 44vw, 520px); }
.map__cap { font-size: .82rem; color: var(--muted); padding: 8px 6px 2px; }
.map__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.map .leaflet-tile-pane { filter: url(#trgy-sea); }
.mlab { background: none; border: 0; font: 600 14px/16px var(--f-body); color: var(--ink); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.mlab a { color: var(--ink); text-decoration: none; pointer-events: none; }
.mlab--base { font: 600 16px/16px var(--f-head); color: var(--green); }
.mlab--l { text-align: right; }
.leaflet-container { font-family: var(--f-body); }
.leaflet-control-attribution { font-size: 11px !important; }
.areas__body { margin-top: var(--s6); }

/* ------------------------------------------------------------------ quote band (#quote) */
.band--quote { background: #fff; padding: clamp(30px, 3.2vw, 44px) 0 clamp(56px, 6vw, 80px); }
.qband { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
.qband__h { text-align: center; margin: 0 0 var(--s4); }
.qband__panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 16px 16px 8px; box-shadow: 0 2px 0 rgba(30, 43, 38, .03); }
.qband__ph { font: 600 1.2rem/1.3 var(--f-head); color: var(--green); margin: 4px 4px 10px; }
.crm iframe { display: block; width: 100%; min-height: 620px; border: 0; }
.qband__note { font-size: .95rem; color: var(--muted); margin: var(--s3) 0 0; }
.qband__side { display: grid; gap: 18px; justify-items: center; align-self: center; }
.qband__gab { --pr: .16; width: min(100%, 460px); }
.qband__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.qband__btns .btn { min-width: 200px; }
.qband__g { margin: 0; font: 500 1.05rem/1.4 var(--f-head); color: var(--green); text-align: center; }
.qband__g::before { content: ""; display: inline-block; width: 28px; height: 11px; margin-right: 10px; vertical-align: 2px; background: var(--orange); clip-path: polygon(0 100%, 50% 0, 100% 100%, 88% 100%, 50% 26%, 12% 100%); }
@media (min-width: 960px) { .qband { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); } .qband__form { grid-column: 1; grid-row: 1; } .qband__side { grid-column: 2; grid-row: 1; } }

/* ------------------------------------------------------------------ footer */
.ftr { position: relative; background: #fff; padding: clamp(40px, 5vw, 56px) 0 0; }
.ftr__edge { position: absolute; left: 0; top: -27px; width: 100%; height: 28px; display: block; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr); gap: 0; padding-bottom: clamp(28px, 4vw, 40px); }
.ftr__col { padding: 0 clamp(16px, 2.4vw, 36px); min-width: 0; }
.ftr__col + .ftr__col { border-left: 1px solid var(--rule); }
.ftr__brand { text-align: center; }
.ftr__logo img { width: 190px; margin: 0 auto; }
.ftr__soc { list-style: none; display: flex; justify-content: center; gap: 12px; margin: 18px 0 14px; }
.ftr__soc a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; }
.ftr__soc a:hover { background: var(--green-deep); }
.ftr__soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ftr__line { margin: 0; font-size: .95rem; color: var(--ink); }
.ftr__h { font: 600 1.15rem/1.2 var(--f-head); color: var(--green); margin: 0 0 12px; }
.ftr__list { list-style: none; display: grid; gap: 5px; font-size: .95rem; }
.ftr__list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.ftr__list a:hover { color: var(--green); text-decoration: underline; }
.ftr__q { margin-top: 18px; }
.ftr__base { border-top: 1px solid var(--rule); padding: 14px 0 18px; font-size: .86rem; }
.ftr__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.ftr__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__legal a, .ftr__copy a { color: var(--ink); 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(--ink); }
.footer-builtby { white-space: nowrap; }
@media (max-width: 900px) {
	.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.ftr__brand, .ftr__contact { grid-column: 1 / -1; }
	.ftr__col + .ftr__col { border-left: 0; }
	.ftr__col:nth-child(3) { border-left: 1px solid var(--rule); }
	.ftr__contact { text-align: center; border-top: 1px solid var(--rule); padding-top: 24px; }
	.ftr__contact .ftr__list { justify-items: center; }
	.ftr__base-in { flex-direction: column; align-items: flex-start; }
}

/* mobile call / WhatsApp / quote bar: visible from the first pixel (§7d.4); clearance lives on the footer base */
.mbar { display: none; }
@media (max-width: 760px) {
	.mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(30, 43, 38, .08); }
	.mbar__a { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--green); border-radius: var(--r-btn); color: var(--green); font: 500 1rem/1 var(--f-head); text-decoration: none; background: #fff; }
	.mbar__q { background: var(--green); color: #fff; }
	.ftr__base { padding-bottom: calc(18px + 68px + env(safe-area-inset-bottom)); }
	html.nav-open .mbar { display: none; }
}

/* ------------------------------------------------------------------ WhatsApp short form */
.wa { position: fixed; inset: 0; z-index: 90; background: rgba(30, 43, 38, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.wa[hidden] { display: none; }
html.wa-open { overflow: hidden; }
.wa__panel { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-panel); padding: 28px 24px 24px; }
.wa__x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink); cursor: pointer; border-radius: 8px; }
.wa__h { margin: 0 0 6px; font-size: 1.6rem; }
.wa__dek { color: var(--muted); font-size: .95rem; }
.fld { margin: 0 0 12px; }
.fld label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 4px; }
.fld input, .fld textarea, .fld select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #93A69C; border-radius: var(--r-in); font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.fld-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 0 12px; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq__i { background: #fff; border: 1px solid var(--rule); border-radius: 12px; }
.band--white .faq__i { background: var(--sage-2); }
.faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font: 500 1.15rem/1.35 var(--f-head); color: var(--green); }
.faq__q::-webkit-details-marker { display: none; }
.faq__m { transition: transform .2s; transform: rotate(180deg); }
.faq__i[open] .faq__m { transform: none; }
.faq__a { padding: 0 22px 18px; max-width: none; }

/* ------------------------------------------------------------------ A2 long read: intro, question list, cut-away */
.lr-intro { padding-bottom: clamp(16px, 2vw, 24px); }
.lr__h { margin: 0 0 var(--s4); }
.lr__h--xl { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 700; }
.lr__intro { max-width: 62ch; font-size: 1.2rem; line-height: 1.55; }
.lr__intro p:last-child { margin-bottom: 0; }
.qlist { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 6px 48px; margin: var(--s6) 0 0; counter-reset: q; }
.qlist a { display: flex; align-items: center; gap: 18px; padding: 8px 0; color: var(--green); text-decoration: none; font: 500 1.24rem/1.3 var(--f-head); }
.qlist a:hover .qn__q { text-decoration: underline; }
.qn { position: relative; flex: none; width: 50px; height: 42px; display: block; }
.qn__m { position: absolute; left: 0; top: 0; width: 50px; height: 20px; }
.qn__n { position: absolute; left: 0; right: 0; top: 16px; text-align: center; font: 600 1.35rem/1 var(--f-head); color: var(--orange-text); }
.cut { margin: var(--s7) 0 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: clamp(10px, 2vw, 24px); }
.cut__svg { display: block; width: 100%; height: auto; }
.cut__tag { cursor: pointer; }
.cut__lead { stroke: var(--orange); stroke-width: 1.6; fill: none; }
.cut__dot { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.cut__mark { fill: none; stroke: var(--orange); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.cut__n { font: 700 26px/1 var(--f-head); fill: var(--orange-text); }
.cut__hit { fill: transparent; }
.cut__tag:hover .cut__n { fill: var(--green); }
.cut__tag:focus { outline: none; }
.cut__tag:focus-visible .cut__hit { stroke: var(--orange-text); stroke-width: 3; }
.lr-intro--hub { padding: clamp(32px, 4vw, 52px) 0 clamp(24px, 2.6vw, 32px); }
.lr-intro__split { display: grid; gap: var(--s6) clamp(32px, 5vw, 72px); align-items: center; }
.lr-intro--hub .qlist { margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.lr-intro--hub .lr__intro { font-size: 1.02rem; color: var(--ink); }
@media (min-width: 1000px) { .lr-intro__split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .lr-intro__txt { grid-column: 1; } .lr-intro--hub .qlist { grid-column: 2; grid-row: 1; } }
.qlist--hub .qn { width: 34px; }

/* ------------------------------------------------------------------ A2 long read: chapters */
.lr-chs { padding-top: clamp(8px, 1vw, 16px); padding-bottom: clamp(28px, 3vw, 40px); }
.lrc { --apex: 44%; }
.lrc + .lrc { margin-top: clamp(16px, 2vw, 24px); }
.lrc--l { --apex: 58%; }
.lrc__panel { position: relative; background: #fff; border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r-panel) var(--r-panel); padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3.6vw, 52px) clamp(24px, 3vw, 40px); margin-top: 34px; }
.lrc__panel::before, .lrc__panel::after { content: ""; position: absolute; left: -1px; right: -1px; top: -34px; height: 35px; background: var(--rule); clip-path: polygon(0 100%, var(--apex) 0, 100% 100%); }
.lrc__panel::after { left: 0; right: 0; top: -33px; height: 34px; background: #fff; clip-path: polygon(0 100%, var(--apex) 1.4px, 100% 100%); }
.lrc__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) {
	.lrc__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.lrc--r .lrc__txt { grid-column: 1; grid-row: 1; } .lrc--r .lrc__mod { grid-column: 2; grid-row: 1; }
	.lrc--l .lrc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
	.lrc--l .lrc__txt { grid-column: 2; grid-row: 1; } .lrc--l .lrc__mod { grid-column: 1; grid-row: 1; }
}
.lrc__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: var(--s5); }
.lrc__q { position: relative; flex: none; width: 70px; height: 58px; display: block; }
.lrc__m { position: absolute; left: 0; top: 0; width: 70px; height: 26px; }
.lrc__q span { position: absolute; left: 0; right: 0; top: 22px; text-align: center; font: 700 1.7rem/1 var(--f-head); color: var(--orange-text); }
.lrc__h { margin: 4px 0 0; font-size: clamp(1.65rem, 2.8vw, 2.35rem); font-weight: 600; line-height: 1.12; }
.lrc__body { margin-top: var(--s5); }
.lrc--solo .lrc__body, .lrc--solo .short { max-width: var(--w-read); }
.lrc__rest { margin-top: var(--s5); max-width: none; }
@media (min-width: 1000px) { .lrc__rest--cols { columns: 2; column-gap: 56px; } .lrc__rest--cols p { break-inside: avoid-column; } }
.short { display: flex; gap: 14px; align-items: flex-start; background: var(--sage); border-radius: 10px; padding: 16px 20px; }
.short__m { margin-top: 4px; width: 38px; height: 15px; }
.short__k { font: 600 1.08rem/1.3 var(--f-head); color: var(--green); margin: 0 0 4px; }
.short__in p { margin: 0; }
.short__in p + p { margin-top: 6px; }
.art .short { margin-bottom: var(--s6); }
.lr-close { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 760px; text-align: center; }
.lr-close .prose { margin: 0 auto var(--s5); }

/* modules */
.lrm { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(18px, 2.4vw, 28px); }
.lrm__h { font-size: 1.25rem; margin: 0 0 var(--s4); }
.lrm__list { list-style: none; display: grid; gap: 12px; }
.lrm__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.lrm__list .tick { margin-top: 2px; }
.lrm--steps .lrm__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange-text); font: 600 .98rem/1 var(--f-head); }
.lrm--compare { border: 0; padding: 0; background: none; }
.lrm__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.lrm__side .gab { --pr: .2; }
.lrm__sh { text-align: center; margin: 14px 0 6px; font-size: 1.2rem; }
.lrm__pts { list-style: none; text-align: center; font-size: .98rem; line-height: 1.45; }
.lrm__pts li + li { margin-top: 3px; }
.lrm--mf { border: 0; padding: 0; background: none; }
.lrm__mf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.mf { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; }
.mf__k { display: flex; gap: 10px; align-items: center; font: 600 1.25rem/1 var(--f-head); margin: 0 0 10px; }
.mf--myth .mf__k { color: var(--orange-text); }
.mf--myth .mf__k svg { color: var(--orange); }
.mf--fact .mf__k { color: var(--green); }
.mf__t { margin: 0; font-size: .98rem; line-height: 1.5; }
.lrm__tbl th, .lrm__tbl td { text-align: left; padding: 11px 4px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.lrm__tbl th { font-weight: 600; color: var(--ink); width: 55%; }
.lrm__tbl td { font: 600 1.05rem/1.4 var(--f-head); color: var(--green); }
.lrm__note { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.gls { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.gl { background: var(--sage-2); border: 1px solid var(--rule); border-radius: var(--r-btn); padding: 8px 14px; font-size: .95rem; line-height: 1.4; max-width: 100%; }
.gl__t { font: 600 1rem/1.3 var(--f-head); color: var(--green); margin-right: 6px; }
.gl__d { color: var(--ink); }
.lrm--photo { border: 0; padding: 0; background: none; }
.lrm--photo .gab { --pr: .16; }
.sec .lrm { margin: var(--s5) 0 var(--s4); }

/* light variant (towns): paired gable panels */
.lrl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(24px, 3vw, 36px); margin-top: var(--s6); align-items: start; }
.lrl-grid--odd > .lrl:last-child { grid-column: 1 / -1; }
.lrl { --apex: 50%; position: relative; padding-top: 30px; }
.lrl__in { position: relative; background: #fff; border: 1.5px solid var(--green); border-top: 0; border-radius: 0 0 var(--r-panel) var(--r-panel); padding: 18px clamp(18px, 2.6vw, 30px) clamp(20px, 2.6vw, 28px); }
.lrl__in::before, .lrl__in::after { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: -30px; height: 31px; background: var(--green); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.lrl__in::after { left: 0; right: 0; top: -28.5px; height: 29.5px; background: #fff; clip-path: polygon(0 100%, 50% 2px, 100% 100%); }
.lrl__h { text-align: center; font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 0 auto var(--s4); max-width: 26ch; position: relative; z-index: 1; }
.lrl__b { margin-top: var(--s4); max-width: none; font-size: 1rem; }
.lrl .lrm { margin-top: var(--s4); }
.lr__intro + .lrl-grid { margin-top: var(--s5); }

/* ------------------------------------------------------------------ service hub: checks, question cards, spoke index */
.checks { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.checks__dg .dg { width: 100%; height: auto; }
.checks__panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 8px clamp(16px, 2.4vw, 28px); }
.ptable th, .ptable td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable th { font: 500 1.18rem/1.25 var(--f-head); color: var(--green); width: 34%; }
.ptable td { font-size: .98rem; color: var(--ink); }
@media (min-width: 1000px) { .checks { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .checks__dg { grid-column: 1; grid-row: 1; } .checks__panel { grid-column: 2; grid-row: 1; } }
.qcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(14px, 2vw, 22px); }
.qcards--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.qcard { display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; padding: 24px 22px 22px; text-align: center; background: #fff; border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: var(--ink); }
.qcard:hover { border-color: var(--green); text-decoration: none; }
.qcard__t { font: 500 1.24rem/1.35 var(--f-head); color: var(--ink); flex: 1; }
.qn--house { width: 34px; height: 38px; color: var(--orange); }
.qn__house { position: absolute; inset: 0; }
.qn--house .qn__n { top: 13px; font-size: 1.05rem; }
.lr-intro--hub .qlist a { font-weight: 400; font-family: var(--f-body); font-size: 1.1rem; color: var(--ink); }
.qcard__d { font-size: .88rem; color: var(--muted); }
.qcard__go { color: var(--green); text-decoration: underline; font-weight: 600; }
.sidx { display: grid; grid-template-columns: 1fr; gap: var(--s6) clamp(32px, 5vw, 64px); }
.sidx__h { font-size: 1.2rem; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.sidx__list { list-style: none; display: grid; gap: 0; }
.sidx__list a { display: block; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.sidx__list a:hover { color: var(--green); text-decoration: underline; }
/* Stage 6 (qa-gaps HOLE 712x424 on home + every hub @1366): 12 guides beside 20 answers left a bare column. Lists now flow in
   balanced columns: 2 per list from 760px; from 1100px guides take one track and the answers two (12 rows vs 10). */
.sidx__list li { break-inside: avoid; }
@media (min-width: 760px) { .sidx__list { display: block; columns: 2; column-gap: clamp(32px, 5vw, 64px); } }
@media (min-width: 1100px) {
  .sidx { grid-template-columns: 1fr 2fr; }
  .sidx__col:first-child .sidx__list { columns: 1; }
  .sidx__col:only-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ town */
.scards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.scard { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px) 22px; }
.scard__g { width: 82%; margin: 0 auto var(--s5); }
.scard__h { font-size: 1.32rem; margin: 0 0 10px; }
.scard__b p { margin: 0 0 .7em; font-size: 1rem; line-height: 1.55; }
.scard__b p:last-child { margin: 0; }
.plan { display: grid; gap: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: clamp(20px, 2.6vw, 30px); align-items: center; }
.plan__h { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: var(--s5); }
.plist { list-style: none; display: grid; gap: 14px; }
.plist li { display: flex; gap: 16px; align-items: flex-start; font-size: 1.05rem; line-height: 1.45; }
.plist__m { margin-top: 3px; }
.plan__note { margin: var(--s5) 0 0; color: var(--muted); font-size: .95rem; }
.plan__map .map__canvas { height: clamp(260px, 26vw, 320px); }
@media (min-width: 1000px) { .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .plan__txt { grid-column: 1; grid-row: 1; } .plan__map { grid-column: 2; grid-row: 1; } }

/* ------------------------------------------------------------------ spoke article */
.art { padding-top: clamp(32px, 3.6vw, 48px); }
.art__intro { font-size: 1.12rem; margin-bottom: var(--s6); }
.sec + .sec { margin-top: var(--s7); }
.sec__h { display: flex; align-items: flex-start; gap: 14px; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.sec__m { margin-top: .32em; width: 40px; height: 15px; }
.partof { margin-top: var(--s8); background: var(--sage); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 32px); }
.partof__k { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 600 .88rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.partof__m { width: 34px; height: 13px; }
.partof__h { font-size: 1.5rem; margin: 0 0 var(--s4); }
.partof__h a { text-decoration: none; }
.partof__h a:hover { text-decoration: underline; }
.partof__list { list-style: none; display: grid; gap: 0; }
.partof__list a { display: block; padding: 8px 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.partof__list a:hover { color: var(--green); text-decoration: underline; }

/* ------------------------------------------------------------------ indexes */
.idx__intro { margin-bottom: var(--s7); }
.icards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 32px); }
.icard__g { width: 88%; margin: 0 auto var(--s4); }
.icard__h { font-size: 1.35rem; text-align: center; margin: 0 0 8px; }
.icard__h a { text-decoration: none; }
.icard__h a:hover { text-decoration: underline; }
.icard__p { text-align: center; color: var(--ink); font-size: .98rem; margin: 0; }
.agrps { columns: 3 300px; column-gap: clamp(28px, 4vw, 56px); }
.agrp { break-inside: avoid; margin: 0 0 var(--s6); }
.agrp__h { font-size: 1.15rem; padding-bottom: 8px; border-bottom: 2px solid var(--green); display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.agrp__n { font: 600 .85rem/1.6 var(--f-body); color: var(--muted); }
.agrp__list { list-style: none; }
.agrp__list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.agrp__list a { color: var(--ink); text-decoration: none; }
.agrp__list a:hover { color: var(--green); text-decoration: underline; }
.amiles { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.bgrps { columns: 2 440px; column-gap: clamp(32px, 5vw, 72px); }
.bgrp { break-inside: avoid; margin: 0 0 var(--s7); }
.bgrp__h { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; padding-bottom: 10px; border-bottom: 2px solid var(--green); margin-bottom: 4px; }
.bgrp__h a { text-decoration: none; }
.bgrp__m { width: 34px; height: 13px; }
.bgrp__list { list-style: none; }
.bgrp__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.bgrp__list a { color: var(--ink); text-decoration: none; }
.bgrp__list a:hover { color: var(--green); text-decoration: underline; }
.btype { flex: none; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ------------------------------------------------------------------ contact */
.band--contact { padding-top: clamp(16px, 2vw, 24px); }
.contact { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .contact__form { grid-column: 1; grid-row: 1; } .contact__card { grid-column: 2; grid-row: 1; } }
.contact__form .qband__h { text-align: left; }
.ccard { background: var(--sage-2); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 32px); }
.ccard__h { font-size: 1.6rem; }
.ccard__dl { margin: 0 0 var(--s5); }
.ccard__dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ccard__dl dt { font-weight: 700; color: var(--muted); font-size: .92rem; }
.ccard__dl dd { margin: 0; overflow-wrap: break-word; font-weight: 600; font-size: .95rem; min-width: 0; }
.ccard__g { font: 500 1.05rem/1.4 var(--f-head); color: var(--green); }
.ccard__note { font-size: .95rem; }
.gbp { margin-top: var(--s4); border: 1px dashed var(--rule); border-radius: 10px; background: #fff; padding: 18px; text-align: center; min-height: 120px; display: grid; place-content: center; gap: 10px; }
.gbp__t { margin: 0; font-size: .92rem; color: var(--muted); }
.gbp iframe { width: 100%; height: 320px; border: 0; border-radius: 8px; display: block; }
.gbp:has(iframe) { padding: 0; display: block; }

/* ------------------------------------------------------------------ about, costs */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: none; }
.pillar { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 28px 24px 24px; }
.pillar__m { width: 52px; height: 20px; }
.pillar__n { position: absolute; right: 22px; top: 20px; font: 700 1.6rem/1 var(--f-head); color: var(--orange-text); }
.pillar__h { margin: 14px 0 8px; font-size: 1.3rem; }
.pillar p { margin: 0; }
.ctable-wrap { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 6px clamp(12px, 2vw, 24px); }
.ctable th, .ctable td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ctable thead th { font: 600 .95rem/1.2 var(--f-head); color: var(--green); border-bottom: 2px solid var(--green); }
.ctable tbody th { font: 500 1.08rem/1.3 var(--f-head); color: var(--green); }
.ctable tbody td:nth-child(2) { font-weight: 700; }
/* Stage 6 (qa-gaps HOLE 528x448 in [cost-table] @1366; the nowrap range column pushed the source column out past the panel
   edge and wrapped it to five lines): fixed column shares, every column wraps. */
@media (min-width: 641px) { .ctable { table-layout: fixed; width: 100%; } .ctable th:nth-child(1) { width: 24%; } .ctable th:nth-child(2) { width: 44%; } .ctable th:nth-child(3) { width: 32%; } }
.ctable tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) { .ctable thead { display: none; } .ctable tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); } .ctable th, .ctable td { display: block; border: 0; padding: 3px 4px; } .ctable tbody td:nth-child(2) { white-space: normal; } }
.onep { display: flex; gap: 12px; align-items: center; justify-content: center; margin: var(--s5) 0 0; font: 500 1.1rem/1.4 var(--f-head); color: var(--green); text-align: center; }
.holding__p { font-size: 1.15rem; }

/* ------------------------------------------------------------------ drawings */
.dg { display: block; width: 100%; height: auto; overflow: hidden; }
.dg path, .dg line, .dg polygon, .dg rect, .dg ellipse, .dg circle, .cut__house * { fill: none; stroke: none; }
.dg .dg-l, .cut .dg-l { stroke: var(--dg-line); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.dg .dg-l2, .cut .dg-l2 { stroke: var(--dg-line); stroke-width: 1; opacity: .5; }
.dg .dg-l3, .cut .dg-l3 { stroke: var(--dg-line); stroke-width: .8; opacity: .3; }
.dg .dg-f, .cut .dg-f { fill: #fff; }
.dg .dg-roof, .cut .dg-roof { fill: #DCE5DF; }
.dg .dg-lead, .cut .dg-lead { fill: #BFC9C4; }
.dg .dg-mortar { fill: #E8E2D7; }
.dg .dg-ins, .cut .dg-ins { fill: #F3EBDF; }
.dg .dg-glass, .cut .dg-glass { fill: #D6E4EA; }
.dg .dg-gut, .cut .dg-gut { fill: var(--green-deep); }
.dg .dg-a, .cut .dg-a { fill: var(--orange); }
.dg .dg-mem { stroke: var(--green-deep); stroke-width: 4; stroke-linejoin: round; }
.dg .dg-bat, .cut .dg-bat { stroke: var(--orange-text); stroke-width: 3; stroke-linecap: round; }
.cut .dg-raf { stroke: var(--green); stroke-width: 2.4; opacity: .7; }
.dg .dg-ridge { stroke-width: 3; }
.cut .dg-ridge2 { stroke: var(--green-deep); stroke-width: 6; stroke-linecap: round; }
.cut .dg-verge { stroke: var(--green); stroke-width: 3; stroke-linejoin: round; }
.cut .dg-flat { fill: var(--green-deep); }
.cut .dg-ground { stroke: var(--green); stroke-width: 3; }
.dg .dg-t { font: 500 17px/1 var(--f-head); fill: var(--green); stroke: none; }
.dg .dg-lead-l { stroke: var(--muted); stroke-width: 1.2; fill: none; }
.dg .dg-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.5; }

/* ------------------------------------------------------------------ the image placeholder (never shipped: drawings fill gaps) */
.ph { display: grid; place-items: center; background: var(--sage-2); color: var(--muted); width: 100%; height: 100%; }
.ph__t { font-size: .8rem; }

/* ------------------------------------------------------------------ dark band utility (§7c.3): one class carries every correction */
.on-dark { background: var(--green-deep); color: #fff; }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.on-dark .kicker { color: #FFC6A8; }
.on-dark :focus-visible, .on-dark .gab:has(.gab__link:focus-visible) { outline-color: #FFC6A8; } /* 7.1:1 on --green-deep; orange-text is 1.45:1 there (WCAG 1.4.11) */

/* ------------------------------------------------------------------ motion (§8): only under html.js-motion */
@media (prefers-reduced-motion: no-preference) {
	.js-motion .rv { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .5s ease; }
	.js-motion .rv.is-in { opacity: 1; translate: 0 0; }
	.js-motion .hero .street__g { animation: trgy-rise .6s ease both; }
	.js-motion .hero .street__g:nth-child(2) { animation-delay: .12s; }
	.js-motion .hero .street__g:nth-child(3) { animation-delay: .24s; }
	@keyframes trgy-rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
}

/* ------------------------------------------------------------------ QA views */
.trgy-shot .rv { opacity: 1 !important; translate: none !important; }

/* ------------------------------------------------------------------ fixes after the first screenshots (2026-11-12) */
.trgy-shot .hdr { position: relative; }
.street .gab__draw { padding: 0; }
.street .gab__draw .dg { height: 100%; }
@media (max-width: 999px) {
	.street--home .street__g--mid, .street--svc .street__g--mid { width: 33vw; }
	.street--home .street__g--side, .street--svc .street__g--side { width: 26vw; }
	.street--one .street__g--mid { width: min(58vw, 300px); }
	.street { gap: 2.5vw; padding: 0; }
}
@media (max-width: 640px) {
	.cards--3 { max-width: 300px; }
	.cards--5 > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
}
.ftr__contact .ftr__list { font-size: .92rem; }
.ftr__contact .ftr__list a { overflow-wrap: normal; word-break: normal; }
.qn__m, .lrc__m, .sec__m, .short__m { color: var(--orange); }
.hero--text + .band { padding-top: clamp(20px, 2.2vw, 30px); }

.street--town .street__g--mid { width: clamp(160px, 18vw, 250px); }
.street--town .street__g--side { width: clamp(130px, 14.5vw, 200px); }
.street--one .street__g--mid { max-width: 280px; }
@media (max-width: 999px) { .street--town .street__g--mid { width: 40vw; } .street--town .street__g--side { width: 32vw; } }

/* ------------------------------------------------------------------ Fidelity loop 1 (2026-11-12): judge fixes */
/* trust: an inset white card on the sage band */
body.home .band--trust { background: var(--sage); padding: clamp(18px, 2.4vw, 30px) 0; border: 0; border-radius: 0; }
body.home .band--trust .trust { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 22px clamp(16px, 3vw, 40px); box-shadow: 0 1px 0 rgba(30, 43, 38, .04); }
body.home .trust__t { font-size: 1.22rem; line-height: 1.35; }
body.home .trust__g { font-size: 1.24rem; }
/* hero: the street sits next to the text, top-aligned with the H1, with its baseline visible */
.hero--home .hero__media { align-self: end; padding-bottom: 10px; } /* §19.16: svc + town reverted (loop 1 dropped them) */
.hero--home .street { justify-content: flex-start; }
.street__base { height: 5px; }
/* proof: the photo as tall as the card, flush to the band's left edge */
@media (min-width: 900px) { .proof { grid-template-columns: 460px minmax(0, 1fr); align-items: stretch; } .proof__media { max-width: none; margin: 0; align-self: center; } }
.proof__gab { --pr: .2; }
.proof__panel .ticks li { font-size: 1.18rem; }
/* §19.16 loop 1: quote reverted to round 0 */
.gab--double { --gw: 7px; }
.gab--double::after { content: ""; position: absolute; inset: 3px; z-index: 0; background: #fff; clip-path: polygon(0 calc(var(--pitch) - 3px * var(--pr) * 2), 50% 0, 100% calc(var(--pitch) - 3px * var(--pr) * 2), 100% 100%, 0 100%); }
.gab--double .gab__in { z-index: 1; background: var(--orange); padding: 2.5px; }
.gab--double .gab__media { clip-path: polygon(0 calc(var(--pitch) - 9.5px * var(--pr) * 2), 50% 0, 100% calc(var(--pitch) - 9.5px * var(--pr) * 2), 100% 100%, 0 100%); }
/* map labels: dark ink (Leaflet's link colour was winning) */
.leaflet-container .mlab a, .leaflet-container .mlab { color: var(--ink); }
.leaflet-container .mlab--base, .leaflet-container .mlab--base a { color: var(--green); }
/* checks: the drawing as tall as the parts table */
/* hub intro: the question list aligned to the top */
.lr-intro__split { align-items: start; }
/* A2 long read: type sizes and the question list filling down two columns */
.lr__h--xl { font-weight: 600; }
.lr-intro .qlist { grid-auto-flow: column; grid-template-rows: repeat(var(--qrows, 4), auto); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .lr-intro .qlist { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; } }
.qn { width: 58px; height: 48px; }
.qn__m { width: 58px; height: 24px; }
.qn__n { top: 20px; font-size: 1.5rem; color: var(--orange-text); }
.lrc__h { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lrc__body, .lrc__rest { font-size: 1.125rem; line-height: 1.65; }
.short__in p { font-size: 1.08rem; }
.short__k { font-size: 1.18rem; }
.mf__t { font-size: 1.1rem; }
.mf__k { font-size: 1.45rem; }
.lrm__sh { font-size: 1.35rem; }
.lrm__pts { font-size: 1.05rem; }
.dg-under, .cut .dg-under { fill: #CDD5D1; }
/* town (loop 1): a bigger hero pair, a firmer kicker, drawings filling their street frames, level Q&A panels */
/* §19.16: town hero reverted to round 0 (7.58 -> 7.42 -> 7.17 with the loop-1 sizes) */
.kicker { font-size: .95rem; letter-spacing: .1em; }
.scard .gab__draw { padding: calc(var(--pr) * 40%) 3% 3%; background: #EEF3EF; }
.scard__b p { font-size: 1.04rem; }
.lrl__b { font-size: 1.04rem; }
/* Fidelity loop 1b: the hub house badge keeps its own box (the loop-1 .qn size must not widen it) */
.qn.qn--house { width: 34px; height: 38px; }
.qn--house .qn__n { top: 13px; font-size: 1.05rem; }
.lr-intro--hub .qlist a { font-family: var(--f-head); font-size: 1.12rem; }
/* ------------------------------------------------------------------ Fidelity loop 2 (2026-11-12): judge fixes */
/* §19.16 loop 2: trust reverted to loop 1 (8.00 -> 7.83) */
/* hero: loop-2 widening reverted (§19.16: H1 wrapped to 3 lines, street overflowed); loop-1 hero kept at 8.42 */
/* §19.16 loop 2: proof reverted to loop 1 (8.00 -> 7.67); quote reverted to round 0 (best 7.67 home, 8.08 town) */
/* areas: the heading on one line, a wider, shorter map so the ring fills it */
[data-sonic-section="areas"] h2, [data-sonic-section="areas"] .head__h { max-width: none; }
.band--sage .mapcard { max-width: 1240px; }
.band--sage .mapcard .map__canvas:not(.map__canvas--tall) { height: clamp(300px, 27vw, 360px); }
/* §19.16 loop 2: long-read intro reverted to loop 1 (8.00 -> 7.75) */
/* long read chapters: badge, heading, short answer and modules at the mockup's scale */
.lrc__q { width: 104px; height: 84px; }
.lrc__m { width: 104px; height: 38px; }
.lrc__q span { top: 32px; font-size: 2.5rem; }
.lrc__head { gap: 22px; }
.lrc__h { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.lrc__panel { padding: clamp(22px, 3vw, 44px) clamp(22px, 4vw, 56px) clamp(28px, 3.4vw, 48px); }
.lrc + .lrc { margin-top: clamp(28px, 3.4vw, 48px); }
.short { padding: 22px 26px; gap: 18px; }
.short__m { width: 46px; height: 18px; }
.short__k { font-size: 1.42rem; margin-bottom: 6px; }
.short__in p { font-size: 1.22rem; line-height: 1.5; }
.lrc__body, .lrc__rest { font-size: 1.18rem; }
.lrc__rest { column-gap: 48px; }
.lrc__rest p + p, .lrc__body p + p { margin-top: 1em; }
.lrm { border: 1.5px solid var(--green); padding: clamp(20px, 2.6vw, 30px); }
.lrm--compare, .lrm--mf, .lrm--photo { border: 0; }
.lrm__h { font-size: 1.5rem; }
.lrm__list { gap: 16px; }
.lrm__list li { font-size: 1.2rem; }
.lrm__list .tick { width: 22px; height: 22px; }
.lrm__sh { font-size: 1.5rem; }
.lrm__pts { font-size: 1.12rem; }
.mf { padding: 22px 24px; }
.mf__k { font-size: 1.6rem; }
.mf__t { font-size: 1.18rem; }
/* the cut-away: warm linework, timber battens and rafters, a membrane band */
.cut { padding: clamp(6px, 1.2vw, 14px); }
.cut .dg-roof { fill: #ECE7DE; }
.cut .dg-under { fill: #B7C2C6; }
.cut .dg-lap { stroke: #8E9BA0; stroke-width: 1.4; }
.cut .dg-ins { fill: #F6EFE3; }
.cut .dg-bat { stroke: #B88A52; stroke-width: 4; }
.cut .dg-raf { stroke: #8C6A43; stroke-width: 3; opacity: 1; }
.cut .dg-tim { stroke: #8C6A43; stroke-width: 4.5; stroke-linecap: round; fill: none; }
.cut .dg-tim2 { stroke: #B88A52; stroke-width: 2.5; fill: none; }
/* town lr-light: tighter row seam (gap gate) */
.lrl-grid { row-gap: 22px; }
.lrl__in { padding-bottom: clamp(16px, 2vw, 22px); }
/* town lr-light -> faq seam (gap gate 141px > 140): a shorter tail under the last Q&A panel */
.lr--light { padding-bottom: clamp(24px, 2.6vw, 36px); }

/* Stage 6: a single full-width paragraph under a chapter keeps the reading measure (2+ paragraphs run in two columns). */
.lrc__rest--one { max-width: var(--w-read); }
/* Stage 6: a table inside a two-column chapter tail never splits across the columns (its head row was left at the foot of
   column 1, the rows at the top of column 2). */
.lrc__rest--cols table, .lrc__rest--cols figure { break-inside: avoid; }
/* Stage 6 (qa-gaps HOLE ~536x420 beside the town long-read intro on 8 of 27 towns @1366): the kicker + h2 and the intro sat
   stacked on the left 62ch of a 1286px band. From 1100px the heading takes the left track and the intro the right. */
@media (min-width: 1100px) {
  .lr--light > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 4vw, 64px); align-items: start; }
  .lr--light > .wrap > * { grid-column: 1 / -1; }
  .lr--light > .wrap > .shead { grid-column: 1; margin-bottom: 0; }
  .lr--light > .wrap > .lr__intro { grid-column: 2; max-width: none; padding-top: 1.9em; }
  .lr--light > .wrap > .lrl-grid { margin-top: var(--s6); }
}
/* Stage 6 (qa-gaps HOLE 1016x488 in [services-index] @1366): 13 service cards in four columns left the last one alone beside
   three empty tracks. From 1100px the grid is four even columns and a lone last card runs the full row, photo left. */
@media (min-width: 1100px) {
  .icards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .icard:last-child:nth-child(4n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: clamp(18px, 2.4vw, 32px); align-items: center; }
  .icard:last-child:nth-child(4n + 1) .icard__g { grid-row: 1 / span 2; margin-bottom: 0; }
  .icard:last-child:nth-child(4n + 1) .icard__h, .icard:last-child:nth-child(4n + 1) .icard__p { text-align: left; max-width: 62ch; }
  .icard:last-child:nth-child(4n + 1) .icard__h { align-self: end; }
  .icard:last-child:nth-child(4n + 1) .icard__p { align-self: start; }
}
/* Stage 6 (qa-gaps HOLE 584x400 in a two-paragraph chapter tail: avoid-column kept a long first paragraph whole, so the
   second column ended 400px short). Paragraphs may now break between the two columns; tables and figures still never do. */
@media (min-width: 1000px) { .lrc__rest--cols p { break-inside: auto; } }
