/*
 * Affinity Roofing Andover: mockup B "Deep navy, gable-line device, bold geometric sans".
 * Tokens from .factory/config/design-dna.json (palette measured from mockup/master-b.png). Square corners everywhere,
 * no gradients, one gold line device. Gold never carries text on white (1.94:1). Motion: CSS only, and every hidden
 * starting state lives under html.js-motion (§7c.6); reduced motion = final state.
 */

/* ------------------------------------------------------------------ tokens */
:root {
	--navy-deep: #01386A;
	--navy: #10457A;
	--heading: #021E49;
	--ink: #0E1B2E;
	--muted: #4A5870;
	--gold: #E2B35A;
	--on-navy-muted: #C7D3E3;
	--ground: #FFFFFF;
	--panel: #F4F6F9;
	--navy-tint: #E7EEF6;
	--rule: #DCE1E8;
	--rule-on-navy: #1B497B;
	--field: #7A8699;
	--f-display: 'Montserrat', 'Arial', sans-serif;
	--f-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
	--container: 1320px;
	--gutter: 32px;
	--pad: clamp(48px, 6vw, 80px);
	--pad-s: clamp(28px, 3.4vw, 40px);
	--head-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 759px) { :root { --gutter: 16px; --head-h: 62px; } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 var(--f-body); overflow-x: clip; }
@media (max-width: 759px) { body { font-size: 16px; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.on-dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--heading); line-height: 1.1; margin: 0 0 .6em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-weight: 700; font-size: clamp(19px, 1.6vw, 21px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-deep); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--read { max-width: calc(720px + 2 * var(--gutter)); }
.wrap--mid { max-width: calc(900px + 2 * var(--gutter)); }
.wrap--faq { max-width: calc(980px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--container) - 2 * var(--gutter)) / 2)); }
.on-dark { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.label { font: 600 13px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3); }
.label--gold { color: var(--gold); }
.src { font-size: 13px; color: var(--muted); margin-top: var(--s3); }
.ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------------ gable device */
.gable { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; overflow: visible; }
.gable--cap { width: 40px; height: 24px; display: block; margin: 0 0 -4px -14px; }
.gable--item { width: 58px; height: 34px; display: block; margin: 0 auto var(--s2); stroke-width: 1.6; }
.gable--bullet { width: 30px; height: 18px; flex: none; margin-top: .3em; stroke-width: 2.4; }
.gable--mast { width: 74px; height: 44px; display: block; margin: 0 auto -6px; stroke-width: 1.8; }
.gable--pull { width: 38px; height: 22px; display: inline-block; vertical-align: top; margin-right: 6px; }
.gable--no { width: 30px; height: 18px; display: block; margin: 0 auto 2px; }
.sec-h { display: block; margin-bottom: var(--s5); font-size: clamp(26px, 2.85vw, 42px); }
.sec-h > span { display: block; }
.sec-h--c { text-align: center; }
.sec-h--c > span { display: inline-block; position: relative; }
.sec-h--c .gable--cap { position: absolute; left: -16px; top: -22px; margin: 0; }
.sec-intro { max-width: 68ch; color: var(--muted); margin: calc(-1 * var(--s3)) 0 var(--s5); }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; font: 500 16px/1.2 var(--f-body); text-decoration: none; border: 1px solid transparent; border-radius: 0; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--gold { background: var(--gold); color: var(--navy-deep) !important; }
.btn--gold:hover { border-color: #fff; background: var(--gold); }
.btn--navy { background: var(--navy); color: #fff !important; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--outline { border-color: #fff; color: #fff !important; background: transparent; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--navy); color: var(--navy) !important; background: #fff; }
.btn--line:hover { background: var(--navy-tint); }

/* ------------------------------------------------------------------ bands */
.band { position: relative; padding: var(--pad) 0; margin: 0; }
.band--white { background: var(--ground); }
.band--navy { background: var(--navy-deep); }
.band--white + .band--white::before, .lr + .band--white::before, .band--ruled::before {
	content: ""; position: absolute; top: 0; height: 1px; background: var(--rule);
	left: max(var(--gutter), calc((100% - var(--container)) / 2)); right: max(var(--gutter), calc((100% - var(--container)) / 2));
}

/* ------------------------------------------------------------------ header (§4a) */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); }
.admin-bar .site-head { top: 32px; }
.site-head__in { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.brand { display: inline-flex; background: #fff; padding: 7px 12px; flex: none; }
.brand img { width: 210px; height: auto; }
.nav { flex: 1; display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__a { color: #fff !important; text-decoration: none; font: 500 15px/1 var(--f-body); padding: 10px 10px; white-space: nowrap; }
.nav__a:hover, .nav__a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__caret { background: none; border: 0; color: #fff; padding: 8px 4px; margin-left: -6px; cursor: pointer; display: inline-flex; }
.nav__caret .ico { width: 16px; height: 16px; transition: transform .15s; }
.nav__caret[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: calc(100% + 14px); left: -12px; min-width: 280px; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 10px 28px rgba(1, 56, 106, .18); display: none; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub, .nav__sub.is-open { display: block; }
.nav__sub a { display: block; padding: 8px 18px; color: var(--heading) !important; text-decoration: none; font-size: 15px; }
.nav__sub a:hover { background: var(--navy-tint); }
.nav__sub-all a { font-weight: 600; color: var(--navy) !important; border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 12px; }
.nav__m { display: none; }
.site-head__phone { color: #fff !important; text-decoration: none; font: 600 17px/1 var(--f-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.site-head__cta { min-height: 42px; }
.burger { display: none; background: none; border: 1px solid rgba(255, 255, 255, .5); color: #fff; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.burger .ico { width: 24px; height: 24px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline-flex; }
@media (max-width: 1240px) { .site-head__in { gap: 18px; } .nav__a { padding: 10px 7px; } .brand img { width: 180px; } }
@media (max-width: 1079px) {
	.burger { display: inline-flex; }
	.site-head__phone { margin-left: auto; font-size: 16px; }
	.nav { display: none; position: fixed; left: 0; right: 0; top: var(--head-h); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--navy-deep); border-top: 1px solid var(--rule-on-navy); padding: 8px var(--gutter) 28px; flex-direction: column; align-items: stretch; }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule-on-navy); }
	.nav__a { flex: 1; padding: 16px 0; font-size: 18px; }
	.nav__caret { width: 48px; height: 48px; justify-content: center; margin: 0; border-left: 1px solid var(--rule-on-navy); }
	.nav__sub { position: static; display: none; width: 100%; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 12px 14px; border-left: 2px solid var(--gold); }
	.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { display: none; }
	.nav__sub.is-open, .nav__item--sub:hover .nav__sub.is-open { display: block; }
	.nav__sub a { color: #fff !important; padding: 10px 0; font-size: 16px; }
	.nav__sub a:hover { background: transparent; text-decoration: underline; }
	.nav__sub-all a { color: var(--gold) !important; border-top: 0; margin: 0; }
	.nav__m { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 22px 0 0; }
	.nav__phone { display: inline-flex; gap: 8px; align-items: center; color: #fff !important; font-weight: 600; font-size: 18px; text-decoration: none; }
	html.nav-open { overflow: hidden; }
}
@media (max-width: 759px) {
	.site-head__cta, .site-head__phone { display: none; }
	.brand { padding: 5px 9px; }
	.brand img { width: 168px; }
}

/* ------------------------------------------------------------------ hero (gable frame) */
.hero { position: relative; background: var(--navy-deep); overflow: hidden; min-height: clamp(430px, 34vw, 520px); }
.hero__art { position: absolute; top: 0; right: 0; bottom: 0; left: 40%; pointer-events: none; }
.hero__clip { position: absolute; inset: 0; clip-path: polygon(1.6% 100%, 54.4% 0, 63.3% 16.9%, 63.3% 8.6%, 72.8% 8.6%, 72.8% 35%, 100% 86.6%, 100% 100%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__line polyline { fill: none; stroke: var(--gold); stroke-width: 3px; stroke-linejoin: miter; }
.hero__line--m { display: none; }
.hero__wrap { position: relative; z-index: 1; display: flex; align-items: center; min-height: inherit; }
.hero__text { max-width: 50%; padding: 40px 0 52px; }
.hero__h1 { font-size: clamp(36px, 4.1vw, 60px); line-height: 1.06; letter-spacing: -.015em; margin: 0 0 18px; color: #fff; }
.hero__line2 { font: 500 clamp(19px, 1.75vw, 25px)/1.35 var(--f-body); margin: 0 0 12px; color: #fff; max-width: 34ch; }
.hero__lede { font-size: clamp(16px, 1.25vw, 18px); color: #fff; max-width: 40ch; margin-bottom: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.hero__ctas .btn { min-height: 54px; font-size: 18.5px; padding: 0 26px; }
.hero .crumbs { margin-bottom: 14px; }
.hero--compact { min-height: clamp(300px, 24vw, 360px); }
.hero--compact .hero__text { padding: 36px 0 40px; max-width: 46%; }
.hero--compact .hero__h1 { font-size: clamp(32px, 3.6vw, 50px); }
.hero--line .hero__art { left: 58%; }
.hero--line .hero__lede { color: var(--on-navy-muted); }
.hero--compact.hero--line .hero__text { max-width: 54%; }
@media (max-width: 759px) {
	.hero { min-height: 0; }
	.hero__art { position: relative; left: auto; height: 210px; margin: 0 var(--gutter); }
	.hero--line .hero__art { left: auto; height: 120px; margin: 0 22%; }
	.hero__clip { clip-path: polygon(0 100%, 50% 4%, 58% 19.4%, 58% 9%, 66% 9%, 66% 34.7%, 100% 100%); }
	.hero__line--d { display: none; }
	.hero__line--m { display: block; }
	.hero__text, .hero--compact .hero__text, .hero--compact.hero--line .hero__text { max-width: none; padding: 22px 0 40px; }
	.hero__ctas .btn { flex: 1 1 auto; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14.5px; }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--on-navy-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ------------------------------------------------------------------ trust */
.trust { padding: var(--pad-s) 0 calc(var(--pad-s) - 4px); }
.trust__list { list-style: none; margin: 0; padding: 0 0 var(--pad-s); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; border-bottom: 1px solid var(--rule); }
.trust__i { text-align: center; padding: 4px 20px; font: 500 clamp(15px, 1.25vw, 18px)/1.35 var(--f-body); color: var(--heading); }
.trust__i + .trust__i { border-left: 1px solid var(--rule); }
.trust__i span { display: block; max-width: 18ch; margin: 0 auto; }
.trust__g { padding-left: 24px; }
.trust__g a { font-weight: 500; }
@media (max-width: 899px) {
	.trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
	.trust__i + .trust__i { border-left: 0; }
	.trust__i:nth-child(even) { border-left: 1px solid var(--rule); }
	.trust__g { grid-column: 1 / -1; text-align: center; padding: 6px 0 0; }
}
.band.trust + .band--white::before { display: none; }

/* ------------------------------------------------------------------ problem */
.problem { padding-top: var(--pad-s); }
.problem__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.problem__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.problem__i { padding: 0 26px; }
.problem__i:first-child { padding-left: 0; }
.problem__i + .problem__i { border-left: 1px solid var(--rule); }
.problem__i .gable--item { margin: 0 0 6px -6px; width: 50px; height: 30px; }
.problem__t { font-size: clamp(17px, 1.45vw, 21px); margin: 0 0 6px; }
.problem__i p { font-size: clamp(14.5px, 1.15vw, 16.5px); color: var(--muted); margin: 0; line-height: 1.55; }
.problem__link { margin: 0 0 6px; font-weight: 500; }
@media (max-width: 899px) {
	.problem__row { grid-template-columns: 1fr; }
	.problem__list { grid-template-columns: 1fr; gap: 18px; }
	.problem__i, .problem__i:first-child { padding: 0 0 18px; }
	.problem__i + .problem__i { border-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
}

/* ------------------------------------------------------------------ service tiles (navy band) */
.tiles-band { padding: clamp(28px, 3vw, 40px) 0 clamp(32px, 3.4vw, 44px); }
.tiles-band .sec-h { color: #fff; margin-bottom: var(--s4); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #fff !important; border: 1px solid var(--rule-on-navy); background: var(--navy-deep); }
.tile__ph { display: block; overflow: hidden; aspect-ratio: 16 / 6.2; }
.tile__img, .tile .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .2s var(--ease); }
.tile__l { display: block; padding: 8px 12px 9px; text-align: center; font: 500 17px/1.25 var(--f-body); border-top: 1px solid var(--rule-on-navy); transition: background-color .2s; }
.tile a:hover .tile__img, .tile a:focus-visible .tile__img { transform: scale(1.03); }
.tile a:hover .tile__l, .tile a:focus-visible .tile__l { background: var(--navy); }
@media (min-width: 1000px) { .tiles--n14 .tile:nth-last-child(-n+2) { grid-column: span 2; } .tiles--n14 .tile:nth-last-child(-n+2) .tile__ph { aspect-ratio: 16 / 3.03; } }
.tiles--n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tiles--n6 .tile__ph { aspect-ratio: 4 / 3; }
.tiles--n6 .tile__l { font-size: 15px; padding: 7px 8px 8px; }
.tiles--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles__all { text-align: right; margin: 14px 0 0; }
.tiles__all a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.tiles__all .ico { width: 16px; height: 16px; }
@media (max-width: 999px) { .tiles, .tiles--n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tiles--n6, .tiles--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile__l { font-size: 14.5px; } }

/* ------------------------------------------------------------------ proof */
.proof { overflow: hidden; padding: var(--pad-s) 0 calc(var(--pad-s) + 6px); }
.proof__list { list-style: none; margin: 0 auto var(--s5); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; }
.proof__i { text-align: center; padding: 0 20px; font: 500 clamp(16px, 1.4vw, 20px)/1.35 var(--f-body); color: var(--heading); }
.proof__i span { display: block; margin: 0 auto; text-wrap: balance; }
.proof__i + .proof__i { border-left: 1px solid var(--rule); }
.proof__cta { text-align: center; margin: 0; position: relative; z-index: 1; }
.corners { position: absolute; bottom: 0; width: 140px; height: 70px; fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .35; pointer-events: none; }
.corners--l { left: 0; }
.corners--r { right: 0; }
@media (max-width: 899px) {
	.proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
	.proof__i + .proof__i { border-left: 0; }
	.proof__i:nth-child(even) { border-left: 1px solid var(--rule); }
	.proof__i:last-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ process */
.process { padding: var(--pad-s) 0; }
.process .sec-h { margin-bottom: var(--s4); }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; padding-bottom: 0; }
.process__i { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 4px 16px; align-items: start; padding: 6px 22px; }
.process__i .process__no { grid-row: 1 / span 2; }
.process__t { padding-top: 5px; }
.process__i:first-child { padding-left: 0; }
.process__i + .process__i { border-left: 1px solid var(--rule); }
.process__no { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font: 600 19px/1 var(--f-body); font-variant-numeric: tabular-nums lining-nums; }
.process__t { font: 500 clamp(15px, 1.2vw, 17px)/1.35 var(--f-body); color: var(--heading); }
.process__d { grid-column: 2; font-size: 14px; color: var(--muted); }
.process--c .sec-h { text-align: center; }
.process--c .process__list { padding: 6px 0 4px; }
.process--c::after { content: ""; position: absolute; bottom: 0; height: 1px; background: var(--rule); left: max(var(--gutter), calc((100% - var(--container)) / 2)); right: max(var(--gutter), calc((100% - var(--container)) / 2)); }
@media (max-width: 899px) {
	.process__list, .process__list--3 { grid-template-columns: 1fr; row-gap: 12px; }
	.process__i, .process__i:first-child { padding: 0; }
	.process__i + .process__i { border-left: 0; }
}

/* ------------------------------------------------------------------ areas + maps */
.areas { padding-top: var(--pad-s); }
.areas .sec-h { margin-bottom: var(--s4); }
.areas__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.areas__text { font-size: 15px; color: var(--muted); }
.areas__all { margin: 14px 0 0; font-weight: 500; }
.chevs { list-style: none; margin: 0; padding: 0; max-width: 360px; }
.chevs li { border-bottom: 1px solid var(--rule); }
.chevs a { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 16px; font-weight: 500; text-decoration: underline; }
.chevs .ico { width: 14px; height: 14px; color: var(--navy); }
.chevs--cols { max-width: none; columns: 4 200px; column-gap: 32px; }
.chevs--cols li { break-inside: avoid; }
.map { position: relative; margin: 0; }
.map__canvas { height: clamp(260px, 26vw, 360px); background: var(--panel); border: 1px solid var(--rule); }
.map__note { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.map-lbl { font: 600 14px/1 var(--f-body); color: var(--heading); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; transform: translate(-50%, -50%); display: inline-block; }
.map-lbl--home { font-size: 15px; font-weight: 700; }
.leaflet-container { font-family: var(--f-body); }
.leaflet-tile-pane { filter: saturate(.35) brightness(1.05) contrast(.92); }
@media (max-width: 899px) { .areas__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ quote band (#quote) */
.quote { padding: var(--pad-s) 0 var(--pad); }
.quote__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.quote__text { padding-top: 6px; }
.quote__text .sec-h { margin-bottom: 12px; }
.quote__p { max-width: 30ch; font-size: clamp(17px, 1.35vw, 19px); }
.quote__direct { list-style: none; margin: 0 0 12px; padding: 0; display: grid; max-width: 320px; }
.quote__direct li { border-bottom: 1px solid var(--rule); padding: 10px 0; }
.quote__direct .wa-pill { font-size: 19px; }
.quote__direct .wa-pill .ico { width: 30px; height: 30px; }
.quote__phone { display: inline-flex; align-items: center; gap: 12px; font: 600 21px/1 var(--f-body); color: var(--heading) !important; text-decoration: none; font-variant-numeric: tabular-nums; }
.quote__phone .ico { width: 28px; height: 28px; color: var(--heading); }
.arf-guarantee { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.quote__card { background: #fff; border: 1px solid var(--rule); box-shadow: 0 2px 14px rgba(1, 56, 106, .12); padding: 14px 16px 6px; }
.crm iframe { display: block; width: 100%; border: 0; min-height: 510px; }
@media (max-width: 899px) { .quote__grid { grid-template-columns: 1fr; gap: 24px; } }

/* WhatsApp pill + panel */
.wa-pill { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 16px/1 var(--f-body); color: var(--heading) !important; }
.wa-pill .ico { width: 24px; height: 24px; color: var(--heading); }
.wa-pill--onnavy, .wa-pill--onnavy .ico { color: #fff !important; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; background: var(--navy); color: #fff !important; padding: 12px 16px; border: 1px solid var(--rule-on-navy); box-shadow: 0 6px 18px rgba(1, 56, 106, .25); }
.wa-float .ico { color: #fff; }
.wa-panel { position: fixed; right: 20px; bottom: 80px; z-index: 60; width: min(380px, calc(100vw - 24px)); max-height: calc(100dvh - 120px); overflow-y: auto; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--navy); box-shadow: 0 14px 40px rgba(1, 56, 106, .25); }
.wa-panel[hidden] { display: none; }
.wa-form { padding: 16px 18px 6px; }
.wa-form__head { display: flex; justify-content: space-between; align-items: center; }
.wa-form__h { font: 700 18px/1.2 var(--f-display); color: var(--heading); margin: 0; }
.wa-form__x { background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--heading); display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; }
.wa-form__p { font-size: 14px; color: var(--muted); }
.wa-form label { display: block; font-size: 14px; font-weight: 500; color: var(--heading); margin-bottom: 4px; }
.wa-form input, .wa-form textarea, .wa-form select { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); border: 1px solid var(--field); border-radius: 0; padding: 9px 10px; background: #fff; }
.wa-form p { margin: 0 0 12px; }
.wa-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mbar { display: none; }
@media (max-width: 759px) {
	.wa-float { display: none; }
	.wa-panel { right: 12px; bottom: 72px; }
	.mbar { display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--navy-deep); border-top: 1px solid var(--rule-on-navy); }
	.mbar__a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: #fff !important; text-decoration: none; font: 600 15px/1 var(--f-body); }
	.mbar__a + .mbar__a { border-left: 1px solid var(--rule-on-navy); }
	.mbar__a--q { background: var(--gold); color: var(--navy-deep) !important; }
	.mbar .ico { width: 20px; height: 20px; }
	.site-foot { padding-bottom: 76px !important; }
}

/* ------------------------------------------------------------------ FAQ */
.faq { padding: var(--pad-s) 0; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__i { border-bottom: 1px solid var(--rule); }
.faq__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 12px 0; font: 500 clamp(16px, 1.3vw, 18.5px)/1.4 var(--f-body); color: var(--heading); }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__ico { width: 20px; height: 20px; color: var(--navy); transition: transform .15s; }
.faq__i[open] .faq__ico { transform: rotate(45deg); }
.faq__a { padding: 0 0 14px; max-width: 72ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ service bands */
.signs { padding: var(--pad-s) 0; }
.signs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.framed { position: relative; margin: 0; padding-top: 84px; }
.framed__line { position: absolute; top: 0; left: 0; width: 100%; height: 86px; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 2.4px; }
.framed__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; position: relative; }
.framed--big { padding-top: 13%; }
.framed--big .framed__line--big { height: auto; aspect-ratio: 100 / 50; z-index: 2; }
.framed--big .framed__img { aspect-ratio: 16 / 10; z-index: 1; }
.signs__list { list-style: none; margin: 0; padding: 0; }
.signs__list li { display: flex; align-items: center; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: clamp(16px, 1.4vw, 19px); color: var(--heading); }
.signs__ico { width: 44px; height: 44px; color: var(--navy); stroke-width: 1.2; }
.materials { padding: clamp(36px, 4vw, 52px) 0; }
.materials .sec-h { margin-bottom: var(--s4); }
.mats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mat { border: 1px solid var(--rule-on-navy); }
.mat__img, .mat .ph { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.mat__b { padding: 12px 18px 14px; }
.mat__t { font-size: clamp(19px, 1.6vw, 23px); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--on-navy-muted); }
.mat__b p { margin: 0; color: #fff; font-size: clamp(15px, 1.2vw, 17px); }
.scope { padding: var(--pad-s) 0; }
.scope .sec-h { margin-bottom: var(--s4); }
.scope__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.scope__img, .scope__i .ph { width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover; }
.scope__t { display: block; text-align: center; font: 500 clamp(14.5px, 1.15vw, 16.5px)/1.3 var(--f-body); color: var(--heading); margin-top: 8px; }
.decide { padding: clamp(44px, 5vw, 68px) 0; }
.decide .sec-h { margin-bottom: var(--s6); }
.decide__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.decide__i { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; padding: 4px 30px; }
.decide__i:first-child { padding-left: 0; }
.decide__i + .decide__i { border-left: 1px solid var(--rule-on-navy); }
.decide__i .gable--item { grid-row: span 2; width: 52px; height: 31px; margin: 2px 0 0; }
.decide__t { font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 8px; }
.decide__i p { grid-column: 2; margin: 0; font-size: clamp(16px, 1.3vw, 18px); color: #fff; }
@media (max-width: 899px) {
	.signs__grid { grid-template-columns: 1fr; gap: 24px; }
	.mats, .decide__list { grid-template-columns: 1fr; }
	.scope__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.decide__i, .decide__i:first-child { padding: 12px 0; }
	.decide__i + .decide__i { border-left: 0; border-top: 1px solid var(--rule-on-navy); }
}
@media (max-width: 599px) { .scope__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* prices */
.ptable { margin: 0 0 var(--s3); font-size: 16px; }
.ptable th { text-align: left; font: 600 13px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 10px 14px; }
.ptable td { padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ptable__r { white-space: nowrap; font-weight: 600; color: var(--heading); font-variant-numeric: tabular-nums; }
.ptable__note { font-size: 15px; color: var(--muted); }
@media (max-width: 599px) { .ptable__r { white-space: normal; } .ptable td, .ptable th { padding: 9px 8px; } }

/* cards, compact lists, indexes */
.cards { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink) !important; border: 1px solid var(--rule); background: #fff; transition: border-color .15s; }
.card a:hover { border-color: var(--navy); }
.card__ph { display: block; overflow: hidden; aspect-ratio: 16 / 9; }
.card__img, .card .ph { width: 100%; height: 100%; object-fit: cover; }
.card__b { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.card__k { font: 600 12px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__t { font: 700 18px/1.25 var(--f-display); color: var(--heading); }
.card__s { font-size: 15px; color: var(--muted); }
.compact { list-style: none; margin: 0 0 var(--s5); padding: 0; columns: 2 380px; column-gap: 40px; }
.compact li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.compact a { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; text-decoration: none; color: var(--heading) !important; }
.compact a:hover .compact__t { text-decoration: underline; }
.compact__k { font: 600 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compact .ico { width: 14px; height: 14px; color: var(--navy); align-self: center; }
.idx__grp { margin-top: var(--s5); }
.idx__gh { font-size: 19px; border-bottom: 2px solid var(--navy); padding-bottom: 6px; display: flex; justify-content: space-between; }
.idx__gh span { font: 600 14px/1.6 var(--f-body); color: var(--muted); }
.jump ul { list-style: none; margin: 0 0 var(--s6); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; gap: 8px; border: 1px solid var(--rule); padding: 8px 12px; text-decoration: none; font-weight: 500; }
.jump a span { color: var(--muted); }
.agroup { margin-bottom: var(--s6); }
.links { list-style: none; padding: 0; margin: 0; }
.links--row { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 var(--pad); justify-content: center; }
.pager a, .pager span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--rule); text-decoration: none; padding: 0 12px; }
.pager .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 899px) { .cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ area (town) bands */
.roofs { padding: var(--pad-s) 0; }
.roofs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.framed--card { padding-top: 38px; }
.framed__mark { position: absolute; top: 0; left: 0; width: 82px; height: 48px; stroke-width: 1.4; }
.framed--card .framed__img { aspect-ratio: 4 / 2.9; }
.roofs__t { font-size: clamp(18px, 1.6vw, 22px); margin: 14px 0 4px; }
.roofs__i p { margin: 0; color: var(--ink); font-size: clamp(15px, 1.25vw, 17.5px); }
.tmap { padding: var(--pad-s) 0; }
.tmap__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tmap__facts { margin: 0 0 18px; display: grid; gap: 6px; font-size: 15px; }
.tmap__facts div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.tmap__facts dt { font-weight: 600; color: var(--heading); }
.tmap__facts dd { margin: 0; color: var(--muted); }
.fnear { padding: var(--pad-s) 0; }
.fnear__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
.fnear .faq { padding: 0; }
.nearby { border-left: 1px solid var(--rule); padding-left: 48px; }
@media (max-width: 899px) {
	.roofs__list, .tmap__grid, .fnear__grid { grid-template-columns: 1fr; }
	.nearby { border-left: 0; padding-left: 0; }
}

/* ------------------------------------------------------------------ long read A7: "The Andover roof report" */
.lr { background: #fff; }
.lr-mast { background: var(--navy-deep); text-align: center; padding: clamp(40px, 5vw, 76px) 0 clamp(36px, 4.4vw, 64px); }
.lr-mast .gable--mast { width: clamp(78px, 7.6vw, 112px); height: auto; aspect-ratio: 44 / 26; margin-bottom: -2px; }
.lr-nameplate { font: 800 clamp(40px, 6.9vw, 100px)/1 var(--f-display); letter-spacing: -.015em; color: #fff; margin: 0 0 clamp(20px, 2.6vw, 38px); }
.lr-issue { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0; padding: clamp(12px, 1.4vw, 20px) 0; font: 600 clamp(13px, 1.15vw, 17px)/1.3 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.lr-issue::before, .lr-issue::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--gold); transform-origin: center; transition: transform .5s var(--ease); }
.lr-issue::before { top: 0; }
.lr-issue::after { bottom: 0; }
.lr-dot { color: var(--gold); }
.lr-front { padding: clamp(28px, 3.4vw, 40px) 0 0; }
.lr-front__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lr-head { font: 800 clamp(30px, 3.9vw, 56px)/1.08 var(--f-display); letter-spacing: -.01em; color: var(--heading); margin: 0 0 16px; }
.lr-head span { display: block; }
.lr-deck { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); max-width: 62ch; margin: 0; }
.lr-ear { border: 1.5px solid var(--navy); padding: 0 20px 14px; }
.lr-tab, .lr-side .lr-tab, .lr-cols .lr-tab { display: table; margin: -1px auto 12px; background: var(--navy); color: #fff; font: 600 14px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 8px 18px; text-align: center; }
.lr-ear ol { list-style: none; margin: 0; padding: 0; }
.lr-ear a { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 7px 0; text-decoration: none; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.35; color: var(--heading); }
.lr-ear a:hover span + span { text-decoration: underline; }
.lr-ear__n { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--navy); color: #fff; font: 700 15px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.lr-rule { border: 0; border-top: 5px solid var(--navy-deep); height: 10px; border-bottom: 2px solid var(--navy-deep); margin: clamp(22px, 2.6vw, 30px) 0; }
.lr-body { padding: 0 0 8px; }
.lr-cols { column-count: 3; column-gap: 40px; column-rule: 1px solid var(--rule); font-size: 17px; line-height: 1.62; text-align: left; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 6 3 2; text-wrap: pretty; }
.lr-cols--2 { column-count: 2; }
.lr-cols p { margin: 0 0 .9em; }
.lr-side p { margin: 0; }
.lr-side .lr-tab { margin: -1px auto 12px; }
.lr-cols h3 { font-size: 18px; margin: 1.1em 0 .4em; text-align: left; break-after: avoid; }
.lr-cols ul, .lr-cols ol { text-align: left; }
.lr-story { display: block; }
.lr-xh { font: 700 clamp(23px, 2.2vw, 31px)/1.12 var(--f-display); color: var(--heading); text-align: left; margin: 0 0 12px; break-after: avoid; break-inside: avoid; padding-top: 4px; }
.lr-ch + .lr-ch { border-top: 1px solid var(--rule); margin-top: 30px; padding-top: 30px; }
.lr-xh .gable--cap { width: 42px; height: 25px; margin: 0 0 2px -6px; }
.lr-xh > span { display: block; }
.lr-drop::first-letter { float: left; font: 800 4.1em/.8 var(--f-display); color: var(--navy); margin: .06em .1em 0 0; }
.lr-side { break-inside: avoid; border: 1.5px solid var(--navy); padding: 0 16px 12px; margin: 18px 0 20px; text-align: left; background: #fff; }
.lr-finds, .lr-steps { list-style: none; margin: 0; padding: 0; font-size: 16.5px; line-height: 1.35; }
.lr-finds li { display: flex; gap: 12px; padding: 10px 0; color: var(--navy); border-bottom: 1px solid var(--rule); }
.lr-finds li:last-child { border-bottom: 0; }
.lr-steps { counter-reset: st; }
.lr-steps li { counter-increment: st; padding: 6px 0; border-bottom: 1px solid var(--rule); color: var(--navy); display: grid; grid-template-columns: 22px 1fr; }
.lr-steps li::before { content: counter(st); font: 700 13px/1.6 var(--f-body); color: var(--muted); }
.lr-steps li:last-child { border-bottom: 0; }
.lr-side--cost { background: var(--panel); border-top: 4px solid var(--navy); }
.lr-cost { margin: 0; font-size: 16px; line-height: 1.35; }
.lr-cost div { display: grid; grid-template-columns: 40% 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.lr-cost dt { font-weight: 600; color: var(--navy); }
.lr-cost dd { margin: 0; }
.lr-side .lr-cost__foot { margin: 10px 0 0; text-align: center; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.lr-side .lr-qa__q { font: 700 16px/1.3 var(--f-display); color: var(--heading); margin: 0 0 6px; }
.lr-side .lr-qa__a { font-size: 15px; margin: 0; }
.lr-side .lr-fig__n { font: 800 clamp(30px, 2.6vw, 38px)/1 var(--f-display); color: var(--navy); margin: 4px 0 6px; font-variant-numeric: tabular-nums lining-nums; }
.lr-side .lr-fig__l { font-size: 15px; margin: 0; line-height: 1.4; }
.lr-src, .lr-cols .lr-src { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; font-style: italic; }
.lr-plate { margin: 26px 0 18px; }
.lr-plate__img, .lr-plate .ph { width: 100%; aspect-ratio: 7 / 2; object-fit: cover; }
.lr-plate figcaption { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 8px; text-align: center; font: italic 400 14px/1.4 var(--f-body); color: var(--muted); }
.lr-pull { margin: 6px 0 26px; padding: 14px 0 12px; border-top: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); }
.lr-pull p { font: 800 clamp(21px, 2.3vw, 30px)/1.25 var(--f-display); color: var(--heading); margin: 0; text-align: center; text-wrap: pretty; }
.lr-pull--fig { align-items: center; }
.lr-pull .lr-pull__n { font: 800 clamp(44px, 4.8vw, 66px)/1 var(--f-display); color: var(--navy); margin: 0 24px 0 0; padding-right: 24px; border-right: 1.5px solid var(--gold); font-variant-numeric: lining-nums; }
.lr-pull--fig .lr-pull__t { text-align: left; }
.lr-pull .gable--pull { margin-right: 8px; }
/* The quote pull (not the stat pull): its own voice and air (r3 judge: 66px band, heading voice). */
.lr-pull:not(.lr-pull--stat):not(.lr-pull--fig) { padding: 28px 0 26px; margin: 10px 0 32px; align-items: center; }
.lr-pull:not(.lr-pull--stat):not(.lr-pull--fig) .lr-pull__t { font: italic 400 clamp(22px, 2.2vw, 31px)/1.34 var(--f-body); color: var(--heading); letter-spacing: -.005em; max-width: 62ch; text-wrap: balance; }
.lr-pull:not(.lr-pull--stat):not(.lr-pull--fig) .gable--pull { width: 46px; height: 27px; margin-right: 14px; align-self: center; }
/* The figure pull (round 3): a sourced chapter figure set large between chapters 2 and 3. */
.lr-pull.lr-pull--stat { display: grid; grid-template-columns: max-content minmax(0, 54ch); justify-content: center; align-items: center; padding: 18px 0 14px; }
.lr-pull--stat .lr-src { grid-column: 1 / -1; }
.lr-pull--stat .lr-pull__n { white-space: nowrap; }
.lr-pull--stat .lr-pull__t { font-size: clamp(19px, 1.75vw, 25px); line-height: 1.3; max-width: 54ch; flex: 0 1 auto; }
.lr-pull--stat .lr-src { margin-top: 12px; font-size: 13px; }
/* The source under any pull is a caption, never the pull's own display type (2026-11-03: `.lr-pull p` caught it). */
.lr-pull p.lr-src { font: italic 400 13px/1.45 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 10px; }
.lr-src a, .lr-xref a { color: var(--navy); font-style: normal; font-weight: 600; }
.lr-xref { margin: 8px 0 0; font-size: 14px; line-height: 1.35; }
/* In figures (chapter 1) and the restaged figure box in chapter 4's tail. */
.lr-figs, .lr-side--x { border-top-width: 6px; }
.lr-figs .lr-src, .lr-side--x .lr-src { text-align: left; }
.lr-figs ul { list-style: none; margin: 0; padding: 0; }
.lr-figs li { padding: 4px 0 12px; }
.lr-figs li + li { border-top: 1px solid var(--rule); padding-top: 12px; }
.lr-pull { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.lr-pull .lr-src, .lr-cols .lr-src { flex-basis: 100%; text-align: center; }
.lr-close { padding: 0 0 var(--pad-s); }
.lr-close .lr-rule { margin-top: 18px; }
.lr-close { padding-bottom: clamp(48px, 6vw, 88px); }
.lr-close .sec-h { font-size: clamp(32px, 4.6vw, 66px); line-height: 1.06; margin: clamp(12px, 2vw, 30px) 0 clamp(12px, 1.4vw, 20px); }
.lr-close .sec-h .gable--cap { width: clamp(48px, 5.4vw, 78px); height: auto; aspect-ratio: 44 / 26; }
.lr-close__t { margin: 0 0 clamp(20px, 2.2vw, 32px); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; max-width: 62ch; }
.lr-close__ctas { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; margin: 0; }
.lr-close .btn { min-height: clamp(52px, 4.6vw, 66px); padding: 0 clamp(24px, 2.4vw, 36px); font-size: clamp(18px, 1.6vw, 23px); font-weight: 600; }
.lr-close__ph { display: inline-flex; align-items: center; gap: 16px; font: 700 clamp(21px, 1.95vw, 28px)/1 var(--f-body); color: var(--navy) !important; text-decoration: none; font-variant-numeric: tabular-nums; }
.lr-close__ico { width: clamp(46px, 4.4vw, 62px); height: clamp(46px, 4.4vw, 62px); display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; }
.lr-close__ico svg { width: 46%; height: 46%; }

/* chapter layouts by index (inc/longread.php arf_lr_layout, §2c.4: no two adjacent chapters share one) */
/* Defect fix 2026-11-03 (r3 ch2/ch5 holes): offset and rail are one column flow, never a grid cell beside a run. */
.lr-ch--offset .lr-ch__side { break-inside: avoid; }
.lr-ch--offset .lr-ch__side .lr-side { margin: 0 0 22px; border-bottom-width: 6px; }
.lr-ch--rail .lr-xh { font-size: clamp(26px, 2.6vw, 36px); padding-bottom: 16px; border-bottom: 5px solid var(--navy-deep); margin-bottom: 22px; }
.lr-ch--rail .lr-side { margin: 20px 0 22px; border-top-width: 6px; }
.lr-band { position: relative; margin: 8px 0 30px; background: var(--panel); border-top: 5px solid var(--navy-deep); padding: 0 28px 22px; }
.lr-band::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid var(--navy-deep); }
.lr-band .lr-side, .lr-wide .lr-side { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 36px; align-items: start; border: 0; background: transparent; padding: 0; margin: 0; }
.lr-band .lr-side > *, .lr-wide .lr-side > * { grid-column: 2; }
.lr-band .lr-side > .lr-tab { grid-column: 1; grid-row: 1 / span 4; display: block; max-width: 300px; margin: 12px 0 0; text-align: left; }
.lr-wide .lr-side > .lr-tab { grid-column: 1 / -1; justify-self: start; margin: -1px 0 0; }
.lr-band .lr-side > :nth-child(2) { margin-top: 18px; }
.lr-band .lr-finds, .lr-band .lr-steps, .lr-band .lr-cost, .lr-wide .lr-finds, .lr-wide .lr-steps, .lr-wide .lr-cost { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 26px; }
.lr-band .lr-finds li, .lr-band .lr-steps li, .lr-wide .lr-finds li, .lr-wide .lr-steps li { border: 0; border-top: 2px solid var(--navy); padding: 10px 0 0; }
.lr-band .lr-steps li, .lr-wide .lr-steps li { grid-template-columns: 1fr; }
.lr-band .lr-steps li::before, .lr-wide .lr-steps li::before { font: 800 26px/1 var(--f-display); color: var(--navy); margin-bottom: 6px; }
.lr-band .lr-cost div, .lr-wide .lr-cost div { grid-template-columns: 1fr; align-content: start; gap: 4px; border: 0; border-top: 2px solid var(--navy); padding: 10px 0 0; }
.lr-band .lr-side .lr-cost__foot, .lr-wide .lr-side .lr-cost__foot { text-align: left; }
.lr-band .lr-side .lr-qa__q { font-size: clamp(20px, 1.9vw, 25px); margin-bottom: 8px; }
.lr-band .lr-side .lr-qa__a { font-size: 17px; max-width: 70ch; }
.lr-band .lr-side .lr-fig__l, .lr-wide .lr-side .lr-fig__l { font-size: 17px; }
.lr-xh--feature { font-size: clamp(30px, 3.3vw, 46px); max-width: 26ch; margin-bottom: 18px; }
.lr-wide { margin: 0 0 30px; border: 1.5px solid var(--navy); border-left-width: 12px; padding: 0 26px 22px; }
.lr-wide .lr-side > * { grid-column: 1 / -1; }
.lr-wide .lr-side > :nth-child(2) { margin-top: 20px; }
.lr-wide .lr-side--figure > .lr-fig__n { grid-column: 1; grid-row: 2 / span 2; font-size: clamp(54px, 6vw, 92px); margin: 18px 0 0; white-space: nowrap; }
.lr-wide .lr-side--figure > .lr-fig__l, .lr-wide .lr-side--figure > .lr-src { grid-column: 2; }
.lr-wide .lr-side--figure > .lr-fig__l { margin-top: 26px; font-size: 19px; max-width: 60ch; }
.lr-wide .lr-side--qa .lr-qa__q { font-size: clamp(20px, 1.9vw, 25px); }
.lr-ch--wide .lr-cols { font-size: 18px; }

/* the signature moment: the report on one roof (arf_lr_diagram) */
.lr-gab { margin: 6px 0 34px; padding: 0; }
.lr-gab > .lr-tab { margin: 0 auto 10px; }
.lr-gab__stage { position: relative; }
.lr-gab__svg { display: block; width: 100%; height: auto; overflow: visible; }
.lr-gab__draw { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.lr-gab__thin { stroke: var(--field); stroke-width: 1.3; }
.lr-gab__gold { stroke: var(--gold); stroke-width: 4.5; }
.lr-gab__tiles path { fill: #fff; stroke: var(--navy); stroke-width: 1.3; stroke-linejoin: miter; }
.lr-gab__under { fill: none; stroke: var(--navy); stroke-width: 1.8; }
.lr-gab__ghost { fill: none; stroke: var(--field); stroke-width: 1.2; stroke-dasharray: 4 4; }
.lr-gab__brk { fill: none; stroke: var(--navy); stroke-width: 1.3; }
.lr-gab__batten, .lr-gab__cap { fill: var(--navy); }
.lr-gab__bed { fill: var(--field); }
.lr-gab__bricks { fill: none; stroke: var(--field); stroke-width: .9; }
.lr-gab__lead { fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linejoin: miter; }
.lr-gab__scaf { fill: none; stroke: var(--navy); stroke-width: 1.8; }
.lr-gab__datum { fill: none; stroke: var(--navy); stroke-width: 1.2; stroke-dasharray: 6 4; }
.lr-gab__arc { fill: none; stroke: var(--navy); stroke-width: 2.6; }
.lr-gab__air path { fill: none; stroke: var(--gold); stroke-width: 3.5; }
.lr-gab__air .lr-gab__head { fill: var(--gold); stroke: none; }
.lr-gab__lbl { fill: var(--field); font: 600 13px var(--f-body); letter-spacing: .24em; }
.lr-gab__ld { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 2 4; }
.lr-gab__mk circle { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.lr-gab__mk text { fill: #fff; font: 700 17px var(--f-body); }
.lr-gab__list { list-style: none; margin: 0; padding: 0; }
.lr-gab__a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: var(--heading); font: 700 clamp(16px, 1.35vw, 19px)/1.25 var(--f-display); }
.lr-gab__a:hover .lr-gab__t { text-decoration: underline; }
.lr-gab__no { flex: none; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: var(--navy); color: #fff; font: 700 16px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.lr-gab__t { padding-top: 4px; }
.lr-gab__d { display: block; margin: 8px 0 0; font-size: 15px; line-height: 1.42; color: var(--ink); }
.lr-gab__l { display: block; }
.lr-gab__n { display: block; font: 800 clamp(24px, 2.1vw, 31px)/1 var(--f-display); color: var(--navy); margin-bottom: 4px; font-variant-numeric: lining-nums; }
.lr-gab__s { display: block; margin-top: 5px; font-size: 12.5px; font-style: italic; color: var(--muted); }
.lr-gab figcaption { border-top: 1px solid var(--rule); margin-top: 18px; position: relative; padding-top: 8px; text-align: center; font: italic 400 14px/1.4 var(--f-body); color: var(--muted); }
@media (min-width: 900px) {
	.lr-gab__c { position: absolute; top: var(--y); width: 29.6%; margin-top: -15px; }
	.lr-gab__stage { padding-bottom: 96px; }
	.lr-gab__c--l { left: 0; text-align: right; }
	.lr-gab__c--l .lr-gab__a { flex-direction: row-reverse; }
	.lr-gab__c--l .lr-gab__d { padding-right: 42px; }
	.lr-gab__c--r { right: 0; }
	.lr-gab__c--r .lr-gab__d { padding-left: 42px; }
	.lr-gab figcaption { margin-top: 18px; }
}
@media (max-width: 899px) {
	.lr-gab__stage { overflow: hidden; }
	.lr-gab__svg { width: 240%; max-width: none; margin-left: -70%; }
	.lr-gab__ld, .lr-gab__lbl { display: none; }
	.lr-gab__mk circle { r: 21px; }
	.lr-gab__mk text { font-size: 23px; }
	.lr-gab__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 28px; margin-top: 18px; }
	.lr-gab__d { padding-left: 42px; }
}
.js-motion .lr-gab .lr-gab__draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
.js-motion .lr-gab .lr-gab__gold { transition-duration: 1.2s; transition-delay: .7s; }
.js-motion .lr-gab:not(.is-in) .lr-gab__draw { stroke-dashoffset: 1; }
.js-motion .lr-gab .lr-gab__fx, .js-motion .lr-gab .lr-gab__ld, .js-motion .lr-gab .lr-gab__mk, .js-motion .lr-gab .lr-gab__c { transition: opacity .35s var(--ease) calc(1.1s + var(--i, 0) * 110ms); }
.js-motion .lr-gab .lr-gab__fx, .js-motion .lr-gab .lr-gab__ld { transition-delay: 1s; }
.js-motion .lr-gab:not(.is-in) .lr-gab__fx, .js-motion .lr-gab:not(.is-in) .lr-gab__ld, .js-motion .lr-gab:not(.is-in) .lr-gab__mk, .js-motion .lr-gab:not(.is-in) .lr-gab__c { opacity: 0; }
@media (max-width: 999px) {
	.lr-ch--offset .lr-ch__side { max-width: 520px; }
}
@media (max-width: 1099px) { .lr-cols { column-count: 2; } }
@media (max-width: 759px) {
	.lr-cols, .lr-cols--2 { column-count: 1; text-align: left; hyphens: manual; font-size: 16px; }
	.lr-ch--wide .lr-cols { font-size: 16px; }
	.lr-band { padding: 0 16px 18px; }
	.lr-wide { padding: 0 16px 18px; border-left-width: 6px; }
	.lr-band .lr-side, .lr-wide .lr-side, .lr-wide .lr-side--figure { grid-template-columns: 1fr; }
	.lr-band .lr-side > *, .lr-wide .lr-side > *, .lr-wide .lr-side--figure > * { grid-column: 1 !important; grid-row: auto !important; }
	.lr-band .lr-side > :nth-child(2), .lr-wide .lr-side > :nth-child(2) { margin-top: 12px; }
	.lr-wide .lr-side--figure > .lr-fig__l { margin-top: 6px; }
	.lr-pull--fig { flex-direction: column; }
	.lr-pull.lr-pull--stat { grid-template-columns: minmax(0, 1fr); }
	.lr-pull .lr-pull__n { border-right: 0; padding: 0; margin: 0 0 8px; align-self: center; text-align: center; }
	.lr-pull--fig .lr-pull__t { text-align: center; }
	.lr-front__grid { grid-template-columns: 1fr; gap: 24px; }
	.lr-issue { letter-spacing: .1em; font-size: 12px; }
	.lr-issue .lr-dot { display: none; }
	.lr-plate__img { aspect-ratio: 16 / 9; }
}

/* ------------------------------------------------------------------ reading treatments */
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 24px; }
.flow__intro { font-size: 18px; }
.dropcap > p:first-child::first-letter { float: left; font: 800 3.9em/.8 var(--f-display); color: var(--navy); margin: .08em .1em 0 0; }
.toc { border: 1.5px solid var(--navy); padding: 0 22px 14px; margin: 28px 0 8px; }
.toc .label { display: table; margin: -1px 0 10px; background: var(--navy); color: #fff; padding: 7px 12px; font-size: 12.5px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { padding: 3px 0; }
.toc li::marker { color: var(--navy); font-weight: 700; }
.flow__sec { margin-top: 44px; }
.flow__no { text-align: center; margin: 0 0 6px; position: relative; }
.flow__no::before { content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 1px; background: var(--rule); }
.flow__no span { position: relative; display: inline-block; background: #fff; padding: 0 14px; font: 700 15px/1.6 var(--f-body); color: var(--navy); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.flow__h { text-align: center; font-size: clamp(24px, 2.4vw, 31px); margin-bottom: 18px; }
.flow h3, .art h3, .answer h3 { margin-top: 1.4em; }
aside.pull { margin: 26px 0; padding: 14px 0; border-top: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); font: 700 clamp(19px, 1.8vw, 23px)/1.35 var(--f-display); color: var(--heading); }
aside.pull p { margin: 0; }
.callout { background: var(--panel); border-left: 4px solid var(--navy); padding: 16px 20px; margin: 22px 0; }
.callout p:last-child { margin: 0; }
.flow table, .art table, .answer table { font-size: 15.5px; margin: 18px 0; display: block; overflow-x: auto; }
.flow th, .art th, .answer th { background: var(--navy); color: #fff; text-align: left; padding: 9px 12px; font-weight: 600; }
.flow td, .art td, .answer td { border-bottom: 1px solid var(--rule); padding: 9px 12px; vertical-align: top; }
.answer__short { border-top: 4px solid var(--navy); background: var(--panel); padding: 18px 22px 20px; margin-bottom: 32px; }
.answer__t { font-size: 19px; line-height: 1.5; color: var(--heading); margin: 0; }
.answer__sec { margin-top: 30px; }
.answer__h, .art__h { font-size: clamp(22px, 2.1vw, 28px); }
.answer__h > span, .art__h > span { display: block; }
.art__sec { margin-top: 36px; }
.nextbox { border: 1.5px solid var(--navy); padding: 0 24px 20px; }
.nextbox .label { display: table; margin: -1px 0 12px; background: var(--navy); color: #fff; padding: 7px 12px; font-size: 12.5px; }
.nextbox__t { font-size: 18px; color: var(--heading); }
.nextbox__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.nextbox__hub { margin: 0; font-size: 15px; }
.siblings .cards { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.steps__i { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.steps__t { font-size: 19px; margin: 4px 0 4px; }
.legal-contact { margin-top: 36px; border-top: 4px solid var(--navy); background: var(--panel); padding: 16px 20px; }
.gbp { border: 1px solid var(--rule); padding: 18px 20px; }
.gbp iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ------------------------------------------------------------------ contact */
.contact { padding: var(--pad-s) 0 var(--pad); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact__card { background: var(--navy-deep); padding: 28px 28px 24px; }
.contact__h { font-size: 24px; color: #fff; }
.contact__list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact__list li { border-bottom: 1px solid var(--rule-on-navy); }
.contact__list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 500; word-break: break-word; }
.contact__list .ico { color: var(--gold); }
.contact__area { color: var(--on-navy-muted); font-size: 15px; }
.contact__card .arf-guarantee { color: #fff; }
@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer (§4b) */
.site-foot { position: relative; overflow: hidden; background: var(--navy-deep); padding: 40px 0 26px; font-size: 14.5px; }
.site-foot__grid { display: grid; grid-template-columns: minmax(230px, 1.15fr) minmax(0, 1.75fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.6fr); gap: 28px; }
.brand--foot { padding: 10px 16px; }
.brand--foot img { width: 220px; }
.socials { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.socials .ico { width: 24px; height: 24px; }
.site-foot__h { font: 700 19px/1.2 var(--f-display); color: #fff; margin: 0 0 12px; padding-top: 18px; position: relative; }
.site-foot__h::before { content: ""; position: absolute; left: 3px; top: 2px; width: 11px; height: 11px; border-top: 2.5px solid var(--gold); border-left: 2.5px solid var(--gold); transform: rotate(45deg); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot__col li { padding: 4px 0; border-bottom: 1px solid var(--rule-on-navy); }
.site-foot__col li:last-child, .site-foot__contact li { border-bottom: 0; }
.site-foot__col { font-size: 16px; }
.site-foot__col a { text-decoration: none; color: #fff; }
.site-foot__col a:hover { text-decoration: underline; }
.site-foot__col--svc ul { columns: 2; column-gap: 20px; }
.site-foot__col--svc li { break-inside: avoid; }
.site-foot__contact a { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 16px; overflow-wrap: anywhere; }
.site-foot__contact .ico { width: 20px; height: 20px; }
.site-foot__note { color: var(--on-navy-muted); font-size: 13.5px; margin: 12px 0 0; }
.site-foot__base { margin-top: 30px; text-align: center; }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-bottom: 8px; }
.site-foot .legal li + li::before { content: "·"; margin: 0 12px; color: var(--on-navy-muted); }
.site-foot .legal a { text-decoration: none; }
.site-foot__map, .footer-builtby { margin: 4px 0 0; color: var(--on-navy-muted); font-size: 13.5px; }
.site-foot .corners { width: 180px; height: 90px; }
.site-foot .corners--l { display: none; }
@media (max-width: 1099px) { .site-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 759px) {
	.site-foot__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
	.site-foot__col--svc, .site-foot__col--contact { grid-column: 1 / -1; }
	.site-foot__col--svc ul { columns: 2; }
}

/* ------------------------------------------------------------------ placeholders */
.ph { display: flex; align-items: center; justify-content: center; background: var(--navy-tint); color: var(--navy); width: 100%; aspect-ratio: 16 / 9; }
.ph svg { width: 40%; height: 60%; }
.photo { background: var(--panel); }

/* ------------------------------------------------------------------ motion (CSS only, MOTION-PROFILE) */
.reveal { transition: opacity .42s var(--ease) calc(min(var(--i, 0), 6) * 50ms), transform .42s var(--ease) calc(min(var(--i, 0), 6) * 50ms); }
.js-motion .reveal:not(.is-in) { opacity: 0; transform: translateY(10px); }
.js-motion .lr-mast:not(.is-in) .lr-issue::before, .js-motion .lr-mast:not(.is-in) .lr-issue::after { transform: scaleX(0); }
@keyframes arf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes arf-settle { from { transform: scale(1.03); } to { transform: scale(1); } }
.js-motion .hero__line polyline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: arf-draw 1.1s ease-out .1s forwards; }
.js-motion .hero__img { animation: arf-settle 1.2s ease-out both; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ QA views */
.arf-fid [data-fid-hide], .arf-fid .mbar, .arf-fid .wa-float, .arf-shot .wa-float, .arf-shot .mbar { display: none !important; }
.arf-shot .site-head { position: relative; }

/* ------------------------------------------------------------------ phone gutter: gable caps stay inside the 16px gutter */
@media (max-width: 759px) {
	.gable--cap, .lr-xh .gable--cap, .problem__i .gable--item { margin-left: 0; }
	.sec-h--c .gable--cap { left: 0; }
}
