/* Reach Roofing Chingford: direction B (mockup/master-b.png, STYLE-GUIDE.md). Dark navy, photo-led, bold and direct.
   Tokens once (§3.1); one container system (§3.2); one .on-dark mechanism (§7c.3); padding never margin on full-bleed
   bands (§7c.4); hidden states only under html.js-motion (§7c.6); no sticky rail anywhere (§2). */

/* ------------------------------------------------------------------ tokens */
:root {
	--navy: #00243D;
	--navy-deep: #001A2D;
	--navy-card: #0B2E4A;
	--gold: #DCAC3D;
	--white: #FFFFFF;
	--mist: #F3F5F7;
	--muted-d: #C5D0DA;
	--muted-l: #4A5B6A;
	--rule-l: #D4DAE2;
	--rule-d: rgba(255, 255, 255, .18);
	--ink: var(--navy);
	--muted: var(--muted-l);
	--rule: var(--rule-l);
	--link: var(--navy);
	--focus: var(--navy);
	--ground: var(--white);
	--f-head: 'Archivo', 'Archivo Fallback', Arial, sans-serif;
	--f-body: 'Instrument Sans', 'Instrument Fallback', Arial, sans-serif;
	--wd: 118%;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--band: clamp(48px, 6vw, 88px);
	--w: 1140px; --w-wide: 1320px; --w-read: 68ch;
	--gut: clamp(16px, 4vw, 40px);
	--hdr: 84px;
	--fs-display: clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
	--fs-h2: clamp(1.625rem, 1.1rem + 2vw, 2.5rem);
	--fs-h2l: clamp(1.375rem, 1rem + 1.4vw, 2rem);
	--fs-h3: clamp(1.25rem, 1rem + .8vw, 1.625rem);
	--fs-body: 1.125rem;
	--fs-sm: .875rem;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.nav-open, html.wa-open { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--fs-body)/1.65 var(--f-body); overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-head); font-stretch: var(--wd); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--gold); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ONE dark-ground mechanism (§7c.3): every dark band adds .on-dark. Gold text is allowed only here. */
.on-dark { --ink: var(--white); --muted: var(--muted-d); --rule: var(--rule-d); --link: var(--gold); --focus: var(--gold); --ground: var(--navy); color: var(--white); }
.on-dark a:not(.btn) { color: var(--link); }
/* white links the mockup draws white on navy (nav, phone, the hero contact line, town names, footer lists): named, so they outrank the rule above */
.on-dark a.nav__a, .on-dark a.hdr__tel, .on-dark a.cline__a, .on-dark .tband__row a, .on-dark .ftr__list a, .on-dark .ftr__legal a, .on-dark .footer-builtby a, .on-dark .lr-toc a { color: var(--white); }

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: calc(var(--w-wide) + 2 * var(--gut)); }
.wrap--read { max-width: calc(var(--w-read) + 2 * var(--gut)); }
.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * .6); }
.band--navy { background: var(--navy); }
.band--deep { background: var(--navy-deep); }
.band--white { background: var(--white); }
.band--mist { background: var(--mist); }
.band--navy + .band--navy, .band--deep + .band--deep, .band--white + .band--white { padding-top: 0; }

/* section heads */
.shead { margin-bottom: clamp(24px, 3vw, 40px); }
.shead--c { text-align: center; }
.shead__h { font-size: var(--fs-h2); font-weight: 800; margin: 0; }
.shead__h.h2--long { font-size: var(--fs-h2l); }
.shead__dek { margin: .6em auto 0; max-width: 60ch; color: var(--muted); }
.shead--c .shead__dek { margin-inline: auto; }
.kicker { font: 700 .8125rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .7em; color: var(--muted); }
.on-dark .kicker { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 24px; border-radius: 4px; border: 2px solid transparent; font: 700 1rem/1.2 var(--f-body); text-decoration: none; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: #E6BC57; border-color: #E6BC57; }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.on-dark .btn--line { color: var(--gold); border-color: var(--gold); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.on-dark .btn--line:hover { background: var(--gold); color: var(--navy); }
.btn--pill { border-radius: 4px; border: 1.5px solid var(--white); color: var(--white); background: transparent; }
.btn--pill:hover { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 14px 36px; font-size: 1.0625rem; }
.ulink { font-weight: 600; text-decoration: underline; text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ header */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hdr__bar { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 28px); min-height: var(--hdr); }
.hdr__logo { flex: none; display: block; background: var(--white); border-radius: 10px; padding: 6px 10px; line-height: 0; }
.hdr__logo img { width: clamp(118px, 11vw, 150px); height: auto; }
.nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.on-dark .nav__a, .nav__a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 8px 0; white-space: nowrap; }
.nav__a:hover, .nav__a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__caret { display: inline-grid; place-items: center; width: 28px; height: 32px; margin-left: 2px; background: none; border: 0; color: var(--white); padding: 0; }
.nav__caret[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__dd { position: absolute; top: calc(100% + 18px); left: -18px; min-width: 280px; margin: 0; padding: 10px 0; list-style: none; background: var(--white); border-top: 3px solid var(--gold); box-shadow: 0 18px 40px rgba(0, 26, 45, .28); display: none; }
.nav__dd.is-open { display: block; }
.nav__item--dd:focus-within .nav__dd:not(.is-closed) {}
.nav__dd a { display: block; padding: 9px 20px; color: var(--navy) !important; text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav__dd a:hover, .nav__dd a[aria-current="page"] { background: var(--mist); text-decoration: underline; text-decoration-color: var(--gold); }
.nav__dd a:focus-visible { outline-color: var(--navy); outline-offset: -3px; }
.nav__dd-all { border-top: 1px solid var(--rule-l); margin-top: 6px; padding-top: 6px; }
.nav__dd-all a { font-weight: 700; }
.nav__mob { display: none; }
.hdr__act { flex: none; display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); }
.on-dark .hdr__tel, .hdr__tel { color: var(--white); text-decoration: none; font: 600 1.0625rem/1 var(--f-head); font-stretch: 108%; white-space: nowrap; }
.hdr__tel:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.hdr__call, .hdr__burger { display: none; }
@media (max-width: 1239px) {
	.hdr__tel { display: none; }
}
@media (max-width: 1023px) {
	:root { --hdr: 68px; }
	.hdr__bar { gap: 10px; }
	.hdr__logo { padding: 4px 8px; border-radius: 8px; }
	.hdr__logo img { width: 112px; }
	.hdr__act { display: none; }
	.hdr__call { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; color: var(--gold) !important; border: 1.5px solid var(--gold); border-radius: 4px; }
	.hdr__call .ico { width: 22px; height: 22px; }
	.hdr__burger { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1.5px solid var(--white); border-radius: 4px; color: var(--white); order: 3; }
	.burger { position: relative; width: 20px; height: 14px; display: block; }
	.burger::before, .burger::after, .burger > span { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
	.burger::before { top: 0; } .burger > span { top: 6px; } .burger::after { top: 12px; }
	.hdr__burger[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
	.hdr__burger[aria-expanded="true"] .burger > span { opacity: 0; }
	.hdr__burger[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
	.nav { position: fixed; left: 0; right: 0; top: var(--hdr); display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; background: var(--navy); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gut) 24px; border-top: 1px solid var(--rule-d); }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule-d); }
	.nav__a { flex: 1; padding: 14px 0; font-size: 1.0625rem; }
	.nav__caret { width: 44px; height: 44px; }
	.nav__dd { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 10px 12px; background: transparent; border: 0; box-shadow: none; }
	.nav__dd a { color: var(--white) !important; padding: 10px 0; }
	.nav__dd a:hover, .nav__dd a[aria-current="page"] { background: transparent; }
	.nav__dd a:focus-visible { outline-color: var(--gold); outline-offset: 2px; }
	.nav__dd-all { border-top-color: var(--rule-d); }
	.nav__mob { display: grid; gap: 10px; margin-top: 20px; }
}

/* ------------------------------------------------------------------ hero: centred navy panel over the photo's bottom edge */
.hero { position: relative; background: var(--navy); padding-bottom: clamp(24px, 3vw, 40px); }
.hero__media { position: relative; height: clamp(420px, 40vw, 600px); overflow: hidden; background: var(--navy-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__crumbs { position: absolute; top: 18px; left: 0; right: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.crumbs li + li::before { content: '/'; margin: 0 .6em; opacity: .8; }
.hero__crumbs .crumbs { display: inline-block; background: rgba(0, 26, 45, .82); padding: 6px 12px; color: var(--white); }
.hero__crumbs .crumbs a { color: var(--white); text-decoration-color: var(--gold); }
.hero__wrap { position: relative; margin-top: clamp(-300px, -18vw, -220px); }
.hero__panel { width: min(100%, 820px); margin-inline: auto; background: var(--navy); padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 56px) clamp(18px, 2vw, 24px); text-align: center; box-shadow: 0 -1px 0 rgba(255, 255, 255, .04); }
.hero__k { margin-bottom: .5em; }
.hero__h1 { font-size: var(--fs-display); font-weight: 800; line-height: 1.06; margin: 0 0 .35em; }
.hero__h1--long { font-size: clamp(1.875rem, 1.15rem + 2.6vw, 2.875rem); }
.hero__h1--xl { font-size: clamp(1.625rem, 1.05rem + 2vw, 2.375rem); }
.hero__lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); margin: 0 auto .35em; max-width: 52ch; }
.hero__g { margin: 0 0 1.1em; font-size: var(--fs-sm); font-weight: 600; color: var(--gold); letter-spacing: .01em; }
.hero__lede + .hero__cta { margin-top: 1.1em; }
.hero__cta { margin: 0 0 .8em; }
.cline { margin: 0; font-weight: 500; }
.on-dark .cline__a, .cline__a { color: var(--white); text-decoration: none; }
.cline__a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.cline__dot { margin: 0 .6em; color: var(--white); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(20px, 5vw, 64px); list-style: none; margin: clamp(16px, 2vw, 22px) 0 0; padding: clamp(14px, 1.6vw, 18px) 0 0; border-top: 1px solid var(--gold); font-size: var(--fs-sm); }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.pane { width: 16px; height: 16px; flex: none; fill: var(--gold); }
.hero--drawn .hero__media { display: grid; place-items: center; }
@media (max-width: 759px) {
	.hero { padding-bottom: 0; }
	.hero__media { height: clamp(230px, 62vw, 320px); }
	.hero__crumbs { top: 10px; }
	.hero__wrap { margin-top: 0; padding-inline: 0; }
	.hero__panel { width: 100%; padding: 26px var(--gut) 20px; }
	.trust { flex-direction: column; align-items: center; }
}

/* ------------------------------------------------------------------ spotted: icon-only cards */
.spotted { padding-top: clamp(32px, 4vw, 56px); }
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.scard { background: var(--navy-card); border: 1px solid var(--rule-d); border-radius: 3px; padding: clamp(18px, 2vw, 26px) 18px; text-align: center; }
.scard__g { width: 92px; height: auto; color: var(--gold); margin: 0 auto 12px; }
.scard__t { font-size: 1.1875rem; font-weight: 700; margin: 0 0 .3em; }
.scard__l { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.spotted__link { text-align: center; margin: clamp(18px, 2vw, 26px) 0 0; font-size: 1.0625rem; }
@media (max-width: 759px) { .scards { grid-template-columns: 1fr; max-width: 420px; } .scard { display: grid; grid-template-columns: 72px 1fr; text-align: left; gap: 0 14px; align-items: center; } .scard__g { grid-row: span 2; width: 72px; margin: 0; } }

/* ------------------------------------------------------------------ services bento */
.bento { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); grid-auto-rows: clamp(170px, 16vw, 230px); gap: clamp(10px, 1.2vw, 16px); list-style: none; margin: 0; padding: 0; }
.bt { position: relative; min-width: 0; }
.bt--big { grid-row: span 2; }
.bt__a { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 3px; text-decoration: none; background: var(--navy-deep); }
.bt__m, .bt__m img, .bt__m .drawn { position: absolute; inset: 0; width: 100%; height: 100%; }
.bt__m img { object-fit: cover; transition: transform .5s ease; }
.bt__a:hover .bt__m img { transform: scale(1.03); }
.bt__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--navy); color: var(--white); }
.bt--big .bt__bar { padding: 16px 22px; }
.bt__n { font: 700 1.0625rem/1.2 var(--f-head); font-stretch: 108%; }
.bt--big .bt__n { font-size: 1.375rem; }
.bt__ar { width: 26px; height: 26px; color: var(--gold); flex: none; transition: transform .2s; }
.bt__a:hover .bt__ar { transform: translateX(4px); }
.bt__a:focus-visible { outline-offset: 3px; }
.lrow { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.lrow--c { justify-content: center; }
.lrow li { padding: 0 clamp(10px, 1.4vw, 20px); border-left: 1px solid var(--rule); line-height: 1.3; }
.lrow li:first-child { border-left: 0; }
.lrow a { font-size: .9375rem; font-weight: 500; text-decoration: none; }
.lrow a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.lrow__all a { font-weight: 700; }
.svcs__more { margin-top: clamp(16px, 2vw, 24px); }
@media (max-width: 759px) {
	.bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.bt--big { grid-column: span 2; grid-row: span 1; height: auto; }
	.bt__n { font-size: .9375rem; } .bt--big .bt__n { font-size: 1.125rem; }
	.bt__bar { padding: 9px 10px; } .bt__ar { width: 20px; height: 20px; }
	.lrow li { padding: 4px 12px; }
}

/* ------------------------------------------------------------------ process: centre gold timeline */
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); row-gap: clamp(14px, 2vw, 22px); list-style: none; margin: 0 auto; padding: 8px 0; max-width: 980px; }
.tl::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--gold); }
.tl__step { position: relative; grid-row: var(--row); display: flex; align-items: center; gap: 16px; min-height: 92px; }
.tl__step--l { grid-column: 1; justify-content: flex-end; }
.tl__step--r { grid-column: 3; }
.tl__step::after { content: ''; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--navy); }
.tl__step--l::after { right: -48px; }
.tl__step--r::after { left: -48px; }
.tl__n { font: 800 clamp(2.5rem, 2rem + 1.6vw, 3.25rem)/1 var(--f-head); font-stretch: var(--wd); color: var(--gold); flex: none; }
.tl__txt { max-width: 26ch; }
.tl__t { font-size: 1.1875rem; margin: 0; }
.tl__l { margin: .25em 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.tl__ph { grid-row: var(--row); align-self: center; width: min(100%, 340px); }
.tl__ph--l { grid-column: 1; justify-self: end; }
.tl__ph--r { grid-column: 3; justify-self: start; }
.tl__ph .frame__m { border: 1px solid var(--gold); }
@media (max-width: 759px) {
	.tl { grid-template-columns: 28px minmax(0, 1fr); row-gap: 14px; }
	.tl::before { left: 13px; }
	.tl__step, .tl__ph { grid-row: auto; grid-column: 2 !important; justify-content: flex-start !important; justify-self: stretch !important; min-height: 0; }
	.tl__step::after { left: -23px !important; right: auto !important; }
	.tl__ph { width: 100%; max-width: 360px; }
	.tl__n { font-size: 2.25rem; }
}

/* ------------------------------------------------------------------ areas: the type band (signature) */
.tband__rows { display: grid; gap: clamp(6px, 1vw, 12px); }
.tband__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.tband__row li { display: inline-flex; align-items: center; }
.tband__row a { color: var(--white) !important; text-decoration: none; font: 700 clamp(1.375rem, .85rem + 1.9vw, 2.125rem)/1.25 var(--f-head); font-stretch: var(--wd); letter-spacing: -.01em; white-space: nowrap; }
.tband__row a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.tband__pane { width: clamp(13px, 1.2vw, 18px); height: auto; margin: 0 clamp(12px, 1.6vw, 26px); }
.tband__all { text-align: center; margin: clamp(22px, 2.6vw, 34px) 0 0; }
.tband__all .btn { min-width: 200px; }
@media (max-width: 759px) { .tband__row a { font-size: 1.25rem; } .tband__pane { margin: 0 10px; } }

/* ------------------------------------------------------------------ quote band (white, centred) */
.qband { background: var(--white); padding-block: var(--band); scroll-margin-top: var(--hdr); }
.qband__in { text-align: center; }
.qband__h { font-size: var(--fs-h2); font-weight: 800; margin: 0 0 .15em; }
.qband__line { margin: 0 0 clamp(18px, 2vw, 26px); color: var(--muted); font-size: 1.125rem; }
.qband__panel { width: min(100%, 640px); margin: 0 auto; border: 1px solid var(--rule-l); background: var(--white); padding: 8px; text-align: left; }
.crm iframe { display: block; width: 100%; min-height: 620px; }
.qband__g { margin: 18px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.reach { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(28px, 6vw, 80px); list-style: none; margin: clamp(20px, 2.4vw, 30px) 0 0; padding: 0; }
.reach a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; text-decoration: none; }
.reach a:hover span { text-decoration: underline; text-decoration-color: var(--gold); }
.reach__i { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* ------------------------------------------------------------------ footer */
.ftr { background: var(--navy-deep); padding-top: clamp(40px, 5vw, 64px); }
.ftr__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.15fr; gap: 32px clamp(20px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 44px); }
.ftr__logo { display: inline-block; background: var(--white); border-radius: 10px; padding: 8px 12px; line-height: 0; }
.ftr__logo img { width: 168px; }
.ftr__soc { display: flex; gap: 10px; list-style: none; margin: 18px 0 14px; padding: 0; }
.ftr__soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--navy) !important; }
.ftr__soc .ico { width: 20px; height: 20px; }
.ftr__soc a:hover { background: var(--gold); }
.ftr__line { margin: 0; color: var(--white); font-size: .9375rem; max-width: 22ch; }
.ftr__h { font: 700 1.125rem/1.2 var(--f-head); font-stretch: 108%; color: var(--gold); margin: 0 0 14px; }
.ftr__list { list-style: none; margin: 0; padding: 0; }
.ftr__list li { margin: 0 0 7px; }
.on-dark .ftr__list a { color: var(--white); text-decoration: none; font-size: .9375rem; }
.on-dark .ftr__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.ftr__all a { font-weight: 700; }
.ftr__contact .ftr__list a { overflow-wrap: anywhere; }
.ftr__q { margin-top: 12px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 32px; padding-block: 18px 22px; border-top: 1px solid var(--rule-d); font-size: .875rem; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.on-dark .ftr__legal a { color: var(--white); text-decoration: none; }
.on-dark .ftr__legal a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.ftr__copy { display: flex; flex-wrap: wrap; gap: 6px 32px; margin: 0; color: var(--white); }
.footer-builtby { white-space: nowrap; }
.on-dark .footer-builtby a { color: var(--white); }
@media (max-width: 899px) {
	.ftr__grid { grid-template-columns: 1fr 1fr; }
	.ftr__brand, .ftr__contact { grid-column: span 2; }
}
@media (max-width: 759px) {
	.ftr { padding-bottom: 64px; } /* clearance for the fixed mobile bar sits on the last band, never on body (§7c.4) */
	.ftr__base { flex-direction: column; align-items: flex-start; }
}

/* mobile conversion bar: from the first pixel (§7d.4) */
.mbar { display: none; }
@media (max-width: 759px) {
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--navy); border-top: 1px solid var(--rule-d); --focus: var(--gold); }
	.mbar__a { display: grid; place-items: center; min-height: 56px; color: var(--white); font-weight: 700; text-decoration: none; border-right: 1px solid var(--rule-d); }
	.mbar__q { background: var(--gold); color: var(--navy); border-right: 0; }
	.mbar__a:focus-visible { outline-offset: -4px; }
	.mbar__q:focus-visible { outline-color: var(--navy); }
}

/* ------------------------------------------------------------------ frames, drawings */
.frame { margin: 0; }
.frame__m { position: relative; display: block; overflow: hidden; background: var(--navy-deep); }
.frame__m img { width: 100%; height: 100%; object-fit: cover; }
.frame__cap { margin: 8px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.drawn { display: grid; place-items: center; width: 100%; height: 100%; background: var(--navy-deep); color: var(--gold); }
.drawn__g { width: min(42%, 220px); height: auto; }
.drawn--hero .drawn__g { width: min(22%, 260px); opacity: .9; }
.ph { display: grid; place-items: center; background: var(--navy-deep); color: var(--gold); }

/* ------------------------------------------------------------------ FAQ */
.faq { max-width: 1000px; margin: 0 auto; }
.faq--cols { columns: 2 420px; column-gap: clamp(20px, 3vw, 40px); }
.faq__i { break-inside: avoid; border: 1px solid var(--rule); margin: 0 0 10px; background: transparent; }
.faq__s { list-style: none; cursor: pointer; padding: 14px 18px; }
.faq__s::-webkit-details-marker { display: none; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0; font: 600 1.0625rem/1.35 var(--f-body); letter-spacing: 0; }
.faq__x { position: relative; flex: none; width: 18px; height: 18px; }
.faq__x::before, .faq__x::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2.5px; background: var(--gold); transition: transform .2s; }
.faq__x::after { transform: rotate(90deg); }
.faq__i[open] .faq__x::after { transform: rotate(0deg); }
.faq__a { padding: 0 18px 16px; }
.band--white .faq__x::before, .band--white .faq__x::after { background: var(--navy); }

/* ------------------------------------------------------------------ prose */
.prose { max-width: var(--w-read); }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { font-size: var(--fs-h3); margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin: 0 0 .35em; }
.prose li::marker { color: var(--gold); }
.prose p + ul, .prose p + ol { margin-top: -.2em; }
.prose ul + p, .prose ol + p { margin-top: .9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .9375rem; table-layout: fixed; }
.prose th { background: var(--navy); color: var(--white); text-align: left; padding: 10px 12px; font-weight: 700; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule-l); vertical-align: top; overflow-wrap: anywhere; }
.prose tr:nth-child(even) td { background: var(--mist); }
.on-dark .prose td { border-bottom-color: var(--rule-d); }
.on-dark .prose tr:nth-child(even) td { background: rgba(255, 255, 255, .05); }
@media (max-width: 479px) {
	.prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
	.prose thead { display: none; }
	.prose td { border: 0; padding: 4px 0; }
	.prose td[data-label]::before { content: attr(data-label); display: block; font-weight: 700; font-size: .8125rem; }
	.prose tr { border-bottom: 1px solid var(--rule-l); padding: 10px 0; }
}
.holding__p { font-size: 1.1875rem; text-align: center; }

/* ------------------------------------------------------------------ map */
.map { margin: 0; }
.map__canvas { position: relative; aspect-ratio: 16 / 10; background: #E9ECEF; overflow: hidden; }
.map__canvas--tall { aspect-ratio: 4 / 3; }
.map__poster { position: absolute; inset: 0; }
.map__canvas.is-live .map__poster { display: none; }
.mpos { position: absolute; display: inline-flex; align-items: center; gap: 6px; transform: translate(0, -50%); font: 600 .8125rem/1 var(--f-body); color: var(--navy); white-space: nowrap; }
.mpos i { width: 8px; height: 8px; background: var(--navy); flex: none; }
.mpos--l { transform: translate(-100%, -50%); flex-direction: row-reverse; }
.mpos--base { font-size: .9375rem; font-weight: 700; }
.mpos--base i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--navy); }
.mpos__river { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #6FA3D0; stroke-width: 3; }
.mpos__ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 2px dashed var(--navy); border-radius: 50%; }
.map__cap { margin: 8px 0 0; font-size: .8125rem; color: var(--muted); }
.mlab { font: 600 .8125rem/16px var(--f-body); color: var(--navy); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.mlab a { color: var(--navy) !important; text-decoration: none; }
.mlab--base { font-size: .9375rem; font-weight: 700; }
.mlab--l { text-align: right; }
.mdot { background: var(--navy); }
.mdot--base { background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 2px var(--navy); }

/* ------------------------------------------------------------------ Google map facade */
.gbp { display: grid; place-items: center; gap: 10px; aspect-ratio: 16 / 10; padding: 24px; background: var(--mist); text-align: center; }
.gbp iframe { width: 100%; height: 100%; border: 0; }
.gbp__t { font-weight: 700; margin: 0; }
.gbp__n { font-size: var(--fs-sm); margin: 0; color: var(--muted-l); }

/* ------------------------------------------------------------------ WhatsApp short form */
.wa { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0, 26, 45, .72); }
.wa[hidden] { display: none; }
.wa__panel { position: relative; width: min(100%, 520px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--white); color: var(--navy); padding: 28px clamp(18px, 4vw, 32px); border-top: 4px solid var(--gold); }
.wa__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--navy); }
.wa__x .ico { width: 22px; height: 22px; }
.wa__h { font-size: 1.5rem; margin: 0 0 .3em; }
.wa__dek { font-size: .9375rem; color: var(--muted-l); }
.fld { margin: 0 0 12px; }
.fld label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 4px; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1.5px solid #7D8A96; border-radius: 3px; background: var(--white); color: var(--navy); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 479px) { .fld-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ reveal once (only under html.js-motion, §7c.6) */
@media (prefers-reduced-motion: no-preference) {
	.js-motion .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
	.js-motion .rv.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.rrc-shot .rv, .rrc-fid .rv { opacity: 1 !important; transform: none !important; }

/* desktop: the Services dropdown also opens on hover (the caret button stays the keyboard and touch control) */
@media (min-width: 1024px) and (hover: hover) {
	.nav__item--dd::after { content: ''; position: absolute; left: -18px; right: -18px; top: 100%; height: 20px; }
	.nav__item--dd:hover .nav__dd { display: block; }
}

/* phones: the type band and the link rows become even two-column lists (no divider starting a wrapped line) */
@media (max-width: 759px) {
	.tband__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
	.tband__row { display: contents; }
	.tband__row li { justify-content: flex-start; }
	.tband__pane { display: none; }
	.tband__row li::before { content: ''; width: 10px; height: 10px; margin-right: 10px; flex: none; background: linear-gradient(var(--gold), var(--gold)) 0 0 / 4px 4px no-repeat, linear-gradient(var(--gold), var(--gold)) 6px 0 / 4px 4px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 6px / 4px 4px no-repeat, linear-gradient(var(--gold), var(--gold)) 6px 6px / 4px 4px no-repeat; }
	.tband__row a { font-size: 1.125rem; white-space: normal; }
	.lrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
	.lrow li { border-left: 0; padding: 7px 0; border-bottom: 1px solid var(--rule); text-align: left; }
}

/* ================================================================== LONG READ: A1 magazine spreads, "The Chingford roof book" */
.lr-intro { padding-bottom: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule-l); }
.lr-intro__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.lr-name { font: 700 .875rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 0 0 18px; }
.lr-name::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 12px; background: var(--gold); }
.lr-intro__h { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.08; margin: 0 0 .45em; }
.lr-intro__dek { margin: 0; max-width: 46ch; color: var(--muted-l); }
.lr-toc__l { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 3), auto); column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.lr-toc__l li { border-bottom: 1px solid var(--rule-l); }
.lr-toc__l a { display: flex; align-items: center; gap: 14px; padding: 14px 0; color: var(--navy); text-decoration: none; font-weight: 600; line-height: 1.3; }
.lr-toc__l a:hover .lr-toc__t { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.lr-toc__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: var(--navy); color: var(--gold); font: 700 1.125rem/1 var(--f-head); font-stretch: var(--wd); }
@media (max-width: 1023px) { .lr-intro__in { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .lr-toc__l { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } }

.lr-spread { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); }
.lr-spread--dark { background: var(--navy); }
.lr-spread__media { position: relative; grid-column: 1; grid-row: 1; min-height: 420px; overflow: hidden; background: var(--navy-deep); }
.lr-spread__page { grid-column: 2; grid-row: 1; display: flex; align-items: center; padding: clamp(44px, 5vw, 84px) clamp(24px, 5vw, 80px) clamp(44px, 5vw, 84px) clamp(56px, 6vw, 96px); }
.lr-spread--flip .lr-spread__media { grid-column: 2; }
.lr-spread--flip .lr-spread__page { grid-column: 1; padding: clamp(44px, 5vw, 84px) clamp(56px, 6vw, 96px) clamp(44px, 5vw, 84px) clamp(24px, 5vw, 80px); justify-content: flex-end; }
.lr-page { width: 100%; max-width: 62ch; }
.lr-spread__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr-spread__cap { position: absolute; left: 0; bottom: 0; margin: 0; max-width: 70%; padding: 8px 14px; background: rgba(0, 26, 45, .86); color: var(--white); font-size: .8125rem; }
.lr-spread--flip .lr-spread__cap { left: auto; right: 0; }
.lr-chip { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; margin: 0 0 18px; background: var(--navy); color: var(--gold); font: 700 1.375rem/1 var(--f-head); font-stretch: var(--wd); }
/* the chapter chip shows on field spreads too (long-read judge, loop 1) */
.on-dark .lr-chip { background: transparent; border: 2px solid var(--gold); }
.lr-h { font-size: clamp(1.75rem, 1.15rem + 1.8vw, 2.5rem); font-weight: 800; line-height: 1.08; margin: 0 0 .55em; scroll-margin-top: calc(var(--hdr) + 16px); }
.lr-h--long { font-size: clamp(1.5rem, 1.05rem + 1.3vw, 2rem); }
.lr-page__k { margin-bottom: .4em; }
.lr-body { max-width: 62ch; }
.lr-body p { margin-bottom: .9em; }

/* the gutter pull line: a navy card with a gold top rule, overlapping the photo's inner edge */
.lr-pull { position: absolute; z-index: 2; top: 54%; left: calc(50% - 248px); width: 260px; margin: 0; padding: 22px 24px 24px; background: var(--navy); color: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 14px 32px rgba(0, 26, 45, .32); }
.lr-spread--flip .lr-pull { left: calc(50% - 12px); }
.lr-pull p { margin: 0; font: italic 400 1.375rem/1.35 var(--f-body); }
.lr-pull--inline { position: static; width: auto; margin: 24px 0 0; box-shadow: none; }

/* the colour field: a very large gold numeral with the chapter's own pull line or annotated crop */
.lr-spread__media--field { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 28px); padding: clamp(32px, 4vw, 64px); text-align: center; }
.lr-field__num { font: 800 clamp(5.5rem, 3rem + 8vw, 10rem)/.85 var(--f-head); font-stretch: var(--wd); color: var(--gold); letter-spacing: -.03em; }
.lr-field__pull { margin: 0; max-width: 24ch; }
.lr-field__pull p { margin: 0; font: italic 400 clamp(1.375rem, 1.1rem + .9vw, 1.875rem)/1.3 var(--f-body); color: var(--white); }

/* modules */
.lr-mod { margin-top: clamp(22px, 2.4vw, 32px); }
.lr-mod__k { font: 700 .8125rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lr-check__l { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--navy); border-radius: 4px; }
.on-dark .lr-check__l { border-color: var(--rule-d); }
.lr-check__l li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; text-align: center; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.lr-check__l li + li { border-left: 1px solid var(--rule); }
.lr-check__t { width: 26px; height: 26px; color: var(--gold); stroke-width: 2.4; }
.lr-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lr-cmp .frame__m { border: 1px solid var(--gold); }
.lr-cmp .frame__cap { color: var(--ink); font-weight: 500; }
.lr-note { display: flex; gap: 14px; padding: 18px 20px; background: var(--mist); border-left: 4px solid var(--gold); }
.on-dark .lr-note { background: var(--navy-card); }
.lr-note__p { margin-top: 4px; }
.lr-note__t { font-weight: 700; margin: 0 0 .2em; }
.lr-note__x { margin: 0; font-size: 1rem; }
.lr-crop { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; max-width: 620px; margin: 0; text-align: left; }
.lr-crop__m { position: relative; display: block; aspect-ratio: 4 / 3; border: 1px solid var(--gold); overflow: hidden; }
.lr-crop__m img { width: 100%; height: 100%; object-fit: cover; }
.lr-crop__pin { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 700 .9375rem/1 var(--f-body); box-shadow: 0 0 0 3px rgba(0, 26, 45, .55); }
.lr-crop__key { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lr-crop__key li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.35; color: var(--white); }
.lr-crop__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .8125rem; }
.lr-crop__cap { margin: 12px 0 0; font-size: .8125rem; color: var(--muted-d); }

/* the cost band: the long read's signature, a full-width white band built from the chapter's own figures */
.lr-cost { background: var(--white); padding-block: clamp(44px, 5vw, 72px); border-top: 1px solid var(--rule-l); }
.lr-cost__h { text-align: center; font-size: var(--fs-h2l); font-weight: 800; margin: 0 0 clamp(22px, 2.6vw, 34px); }
.lr-cost__g { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.lr-cost__i { border-top: 3px solid var(--gold); padding-top: 16px; text-align: center; }
.lr-cost__l { font: 700 1.125rem/1.25 var(--f-head); font-stretch: 108%; margin: 0 0 .4em; color: var(--navy); }
.lr-cost__i p { margin: 0; font-size: .9375rem; color: var(--muted-l); line-height: 1.5; }
.lr-cost__c { text-align: center; font-weight: 700; margin: clamp(22px, 2.6vw, 32px) 0 0; font-size: 1.125rem; }

@media (max-width: 899px) {
	.lr-spread { grid-template-columns: 1fr; }
	.lr-spread__media, .lr-spread--flip .lr-spread__media { grid-column: 1; grid-row: 1; min-height: 0; }
	.lr-spread__media--photo { aspect-ratio: 4 / 3; }
	.lr-spread__page, .lr-spread--flip .lr-spread__page { grid-column: 1; grid-row: 3; padding: 32px var(--gut) 40px; justify-content: flex-start; }
	.lr-pull, .lr-spread--flip .lr-pull { position: relative; grid-row: 2; left: auto; top: auto; width: auto; margin: -36px var(--gut) 0; }
	.lr-cost__g { grid-template-columns: 1fr 1fr; }
	.lr-crop { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
	.lr-check__l { grid-template-columns: 1fr 1fr; }
	.lr-check__l li:nth-child(3) { border-left: 0; }
	.lr-check__l li:nth-child(n+3) { border-top: 1px solid var(--rule); }
	.lr-cost__g { grid-template-columns: 1fr; }
}

/* footer: the brand column runs the full row height (the coverage line sits on the lists' last line, no short column) */
.ftr__brand { display: flex; flex-direction: column; align-items: flex-start; }
.ftr__brand .ftr__line { margin-top: auto; }
.ftr__logo img { width: 190px; }
@media (max-width: 899px) { .ftr__brand .ftr__line { margin-top: 0; } }
.ftr__contact { display: flex; flex-direction: column; align-items: flex-start; }
.ftr__contact .ftr__q { margin-top: auto; }
@media (max-width: 899px) { .ftr__contact .ftr__q { margin-top: 12px; } }
/* a hero with no library photo yet: a short drawn field, so the panel never sits under an empty band */
.hero--drawn .hero__media { height: clamp(260px, 22vw, 320px); }
.hero--drawn .drawn__g { width: min(16%, 180px); opacity: .55; }
/* the pull line on a crop chapter sits in the text page: never pulled up over the body (phones), card ground on navy */
.lr-spread .lr-pull.lr-pull--inline { position: static; width: auto; margin: 24px 0 0; box-shadow: none; }
.lr-spread--dark .lr-pull--inline { background: var(--navy-card); }

/* ================================================================== Milestone 3 templates */
.wrap--mid { max-width: calc(980px + 2 * var(--gut)); }
.hero--short .hero__media { height: clamp(300px, 28vw, 420px); }
.hero--short .hero__wrap { margin-top: clamp(-200px, -12vw, -150px); }
.hero--spoke .hero__h1 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }
@media (max-width: 759px) { .hero--short .hero__media { height: clamp(200px, 52vw, 260px); } .hero--short .hero__wrap { margin-top: 0; } }

/* ruled link lists */
.links { list-style: none; margin: 0; padding: 0; }
.links--rule li { border-bottom: 1px solid var(--rule); }
.links--rule a { display: block; padding: 11px 0; text-decoration: none; font-weight: 500; line-height: 1.35; }
.links--rule a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.on-dark .links--rule li { border-bottom-color: rgba(220, 172, 61, .45); }
.on-dark .links--rule a { color: var(--white); }

/* service: guides and answers */
.spk__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 64px); max-width: 980px; margin: 0 auto; position: relative; }
.spk__cols::before { content: ''; position: absolute; top: 4px; bottom: 0; left: 50%; width: 1px; background: rgba(220, 172, 61, .55); }
.spk__h { font: 700 1.125rem/1.2 var(--f-head); font-stretch: 108%; color: var(--gold); margin: 0 0 6px; }
.spk__more summary { cursor: pointer; padding: 12px 0 4px; font-weight: 700; color: var(--gold); list-style: none; }
.spk__more summary::-webkit-details-marker { display: none; }
.spk__more summary::after { content: ' +'; }
.spk__more[open] summary::after { content: ' -'; }
@media (max-width: 759px) { .spk__cols { grid-template-columns: 1fr; gap: 28px; } .spk__cols::before { display: none; } }

/* service: what we repair */
.flt__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; margin: 0; padding: 0; }
.flt { position: relative; overflow: hidden; border-radius: 3px; background: var(--navy-deep); }
.flt__m { position: relative; display: block; aspect-ratio: 16 / 10; }
.flt__m img, .flt__m .drawn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flt__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--navy); color: var(--white); font: 700 1rem/1.25 var(--f-head); font-stretch: 108%; }
.flt__ar { width: 24px; height: 24px; color: var(--gold); flex: none; }
.signs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(24px, 6vw, 72px); list-style: none; margin: clamp(22px, 2.6vw, 32px) 0 0; padding: 0; }
.signs li { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.sign__g { width: 54px; height: auto; color: var(--gold); }
@media (max-width: 759px) { .flt__row { grid-template-columns: 1fr; } .signs { flex-direction: column; align-items: flex-start; } }

/* tables (compare, costs): navy header row, fit and never scroll */
.tbl { margin: 0; }
.tbl table { width: 100%; border-collapse: collapse; table-layout: fixed; border: 1.5px solid var(--navy); font-size: .9375rem; }
.tbl caption { caption-side: bottom; text-align: left; padding-top: 8px; font-size: .8125rem; color: var(--muted-l); }
.tbl thead th { background: var(--navy); color: var(--white); padding: 11px 14px; text-align: center; font: 700 1rem/1.2 var(--f-head); font-stretch: 108%; }
.tbl thead th:first-child { text-align: left; }
.tbl tbody th { text-align: left; padding: 11px 14px; font-weight: 700; border-top: 1px solid var(--rule-l); background: var(--mist); width: 26%; }
.tbl td { padding: 11px 14px; border-top: 1px solid var(--rule-l); border-left: 1px solid var(--rule-l); text-align: center; overflow-wrap: anywhere; }
.tbl__src { margin: 8px 0 0; font-size: .8125rem; color: var(--muted-l); }
@media (max-width: 559px) {
	.tbl table, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100% !important; }
	.tbl thead { display: none; }
	.tbl tr { border-top: 1.5px solid var(--navy); }
	.tbl tbody th { border: 0; }
	.tbl td { border: 0; text-align: left; padding: 6px 14px; }
	.tbl td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-l); }
}

/* town: local facts, photo, text */
.loc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.loc__facts, .doc__facts { margin: 0; border: 1.5px solid var(--navy); border-radius: 3px; }
.fact { padding: 16px 20px; }
.fact + .fact { border-top: 1px solid var(--rule-l); }
.fact dt { font: 700 .75rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 600; line-height: 1.4; }
.loc__ph .frame__m { height: 100%; border: 1px solid var(--gold); }
.loc__txt { border: 1.5px solid var(--navy); border-radius: 3px; padding: 18px 22px; font-size: 1rem; }
@media (max-width: 999px) { .loc__grid { grid-template-columns: 1fr 1fr; } .loc__txt { grid-column: span 2; } }
@media (max-width: 599px) { .loc__grid { grid-template-columns: 1fr; } .loc__txt { grid-column: auto; } .loc__ph .frame__m { height: auto; } }

/* town: nearby */
.near__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.near .map__canvas { border: 1px solid var(--gold); }
.near .map__cap { color: var(--muted-d); }
.near__l { list-style: none; margin: 0; padding: 0; }
.near__l li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-d); }
.near__l a { color: var(--white) !important; text-decoration: none; font: 700 1.125rem/1.2 var(--f-head); font-stretch: 108%; }
.near__l a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.near__all a { color: var(--gold) !important; }
@media (max-width: 899px) { .near__grid { grid-template-columns: 1fr; } }

/* spokes: standfirst, numbered sections, direct answer, read next */
.art__lead { padding-bottom: 0; }
.art__meta { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--muted-l); margin: 0 0 14px; }
.art__sf { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); line-height: 1.5; font-weight: 500; padding-left: 20px; border-left: 4px solid var(--gold); margin: 0; }
.art { padding-top: clamp(32px, 4vw, 48px); }
.sec { padding: clamp(26px, 3vw, 40px) 0 0; }
.sec + .sec { margin-top: clamp(22px, 2.6vw, 32px); border-top: 1px solid var(--rule-l); }
.sec__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.sec__n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--navy); color: var(--gold); font: 700 1.125rem/1 var(--f-head); font-stretch: var(--wd); margin-top: 2px; }
.sec__h { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; margin: 0; }
.sec__h--long { font-size: clamp(1.3rem, 1rem + .9vw, 1.625rem); }
.sec__ph { margin: 24px 0 0; }
.sec__ph--lead { margin: 0 0 8px; }
.sec__ph .frame__m { border: 1px solid var(--gold); }
.sec .lr-mod { max-width: var(--w-read); }
.sec-cost .lr-cost { padding-block: 28px 8px; border-top: 0; }
.sec-cost .lr-cost__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ans { padding-bottom: 0; }
.ans__box { background: var(--navy); padding: clamp(22px, 3vw, 32px); border-top: 4px solid var(--gold); }
.ans__k { font: 700 .8125rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ans__t { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); line-height: 1.5; margin: 0; }
.ans__cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; margin: 20px 0 0; }
.ans__cell { border-top: 1px solid var(--gold); padding-top: 10px; }
.ans__cell dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.ans__cell dd { margin: 2px 0 0; font-weight: 600; }
.more__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.more__hub { display: grid; gap: 6px; padding: 24px 26px; background: var(--navy); color: var(--white) !important; text-decoration: none; border-top: 4px solid var(--gold); position: relative; }
.more__hub .kicker { color: var(--gold); margin: 0; }
.more__t { font: 800 1.5rem/1.15 var(--f-head); font-stretch: var(--wd); padding-right: 40px; }
.more__ar { position: absolute; right: 22px; bottom: 26px; width: 26px; height: 26px; color: var(--gold); }
.more__h { font-size: 1.25rem; margin: 0 0 6px; }
@media (max-width: 759px) { .more__grid { grid-template-columns: 1fr; } }

/* services index cards */
.scvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.scv__a { display: grid; height: 100%; text-decoration: none; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 3px; overflow: hidden; background: var(--white); }
.scv__m { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--navy-deep); }
.scv__m img, .scv__m .drawn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scv__b { display: grid; gap: 6px; padding: 16px 18px 20px; }
.scv__t { display: flex; justify-content: space-between; gap: 10px; font: 700 1.25rem/1.2 var(--f-head); font-stretch: 108%; }
.scv__ar { width: 24px; height: 24px; color: var(--gold); flex: none; }
.scv__l { font-size: .9375rem; color: var(--muted-l); line-height: 1.5; }
.scv__a:hover .scv__t { text-decoration: underline; text-decoration-color: var(--gold); }
.idx__intro { margin: clamp(28px, 3vw, 44px) auto 0; max-width: var(--w-read); }

/* guide cards + grouped compact entries (areas and guides indexes) */
.gcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.gc__a { display: grid; height: 100%; text-decoration: none; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 3px; overflow: hidden; }
.gc__m { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--navy-deep); }
.gc__m img, .gc__m .drawn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc__b { display: grid; gap: 6px; padding: 14px 16px 18px; }
.gc__k { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-l); }
.gc__t { font: 700 1.125rem/1.25 var(--f-head); font-stretch: 105%; }
@media (max-width: 899px) { .gcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .gcs { grid-template-columns: 1fr; } }
.ags { columns: 3 280px; column-gap: clamp(20px, 3vw, 40px); }
.ag { break-inside: avoid; margin: 0 0 26px; }
.ag__h { font: 700 1.0625rem/1.25 var(--f-head); font-stretch: 108%; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 3px solid var(--gold); display: flex; justify-content: space-between; gap: 8px; }
.ag__n { font: 600 .875rem/1.4 var(--f-body); color: var(--muted-l); }
.ag__l { list-style: none; margin: 0; padding: 0; }
.ag__l li { border-bottom: 1px solid var(--rule-l); break-inside: avoid; }
.ag__l a { display: block; padding: 7px 0; text-decoration: none; font-size: .9375rem; }
.ag__l a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

/* contact */
.ct__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.ct__h { font-size: var(--fs-h2); font-weight: 800; margin: 0 0 .2em; }
.ct__line { color: var(--muted-l); margin: 0 0 18px; }
.ct .qband__panel { width: 100%; }
.cc { background: var(--navy); padding: 28px 28px 24px; border-top: 4px solid var(--gold); }
.cc__h { font-size: 1.5rem; margin: 0 0 14px; }
.cc__l { list-style: none; margin: 0; padding: 0; }
.cc__l li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule-d); }
.cc__l a { color: var(--white) !important; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.cc__l a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.cc__i { width: 22px; height: 22px; color: var(--gold); flex: none; }
.cc__n { margin: 14px 0 0; color: var(--muted-d); font-size: .9375rem; }
.cc__g { margin: 14px 0 0; font-weight: 600; color: var(--gold); font-size: .9375rem; }
.cmap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
@media (max-width: 899px) { .ct__grid, .cmap { grid-template-columns: 1fr; } }

/* designed article (core and legal) */
.art--doc .doc__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); margin: 0 0 28px; }
.art--doc .doc__facts .fact + .fact { border-top: 0; border-left: 1px solid var(--rule-l); }
@media (max-width: 559px) { .art--doc .doc__facts .fact + .fact { border-left: 0; border-top: 1px solid var(--rule-l); } }
.art__intro { font-size: 1.1875rem; margin-bottom: 8px; }
.asec { padding-top: 28px; }
.asec__h { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); font-weight: 800; margin: 0 0 .5em; padding-top: 14px; border-top: 1px solid var(--rule-l); }
.asec__n { flex: none; font: 800 1rem/1 var(--f-head); font-stretch: var(--wd); color: var(--navy); background: var(--gold); padding: 6px 9px; }
.scards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1140px; }
@media (max-width: 999px) { .scards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .scards--4 { grid-template-columns: 1fr; } }

/* archives and the pager */
.arc li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.arc__d { font-size: .875rem; color: var(--muted-l); white-space: nowrap; }
.pager ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--navy); text-decoration: none; font-weight: 600; }
.pager .is-current { background: var(--navy); color: var(--gold); }
/* two white bands in a row never double their padding (town FAQ -> quote) */
.band--white + .qband, .band--white + .band--white { padding-top: 0; }
.ct__side { display: grid; gap: 20px; }
.ct__side .gbp { aspect-ratio: auto; min-height: 220px; }
.cmap { grid-template-columns: 1fr; max-width: 1000px; margin: 0 auto; }
@media (min-width: 1100px) { .scvs { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.lr-spread__media--field .lr-spread__cap { left: 0; right: auto; }
.sec__ph.frame--drawn .frame__m { border-color: var(--gold); }

/* ================================================================== Milestone 4: Fidelity fixes (scoped to desktop where the mockup differs) */
/* hero: the photo runs down to the panel's bottom edge (mockup master-b), the panel sits on its lower half */
@media (min-width: 760px) {
	.hero { display: grid; padding-bottom: 0; }
	.hero__media, .hero__wrap { grid-area: 1 / 1; }
	.hero__media { height: auto; min-height: clamp(440px, 40vw, 600px); }
	.hero__wrap { align-self: end; margin-top: 0; padding-top: clamp(150px, 15vw, 230px); position: relative; z-index: 1; }
	.hero__panel { padding-bottom: clamp(16px, 1.6vw, 20px); }
	.hero--short .hero__media { min-height: clamp(340px, 30vw, 440px); }
	.hero--short .hero__wrap { margin-top: 0; padding-top: clamp(96px, 9vw, 140px); }
	.hero--drawn .hero__media { min-height: clamp(300px, 26vw, 380px); }
	.hero--drawn .hero__wrap { padding-top: 80px; }
	.hero + .band--navy { padding-top: clamp(40px, 4vw, 56px); }
}

/* process: heading + photo | steps 1 and 3 | gold line | steps 2 and 4 | photo (mockup master-b "process") */
.proc__h .shead__h { margin: 0; }
.proc__grid { display: grid; gap: 22px; }
.proc .tl__ph { width: 100%; max-width: 360px; justify-self: start; }
@media (min-width: 1000px) {
	.proc { padding-block: clamp(36px, 3.6vw, 52px); }
	.proc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); align-items: center; column-gap: clamp(20px, 2.4vw, 36px); }
	.proc__a { display: grid; gap: 18px; align-self: start; }
	.proc__h .shead__h { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.375rem); }
	.proc .tl { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); row-gap: 10px; padding: 0; max-width: none; margin: 0; }
	.proc .tl__step { min-height: 0; padding: 14px 0; }
	.proc .tl__step--l { justify-content: flex-start; }
	.proc .tl__step--r { padding-top: 46px; }
	.proc .tl__step--l::after { right: -36px; }
	.proc .tl__step--r::after { left: -36px; top: calc(50% + 16px); }
	.proc .tl__n { font-size: clamp(2.25rem, 1.8rem + 1.2vw, 2.875rem); }
	.proc .tl__t { font-size: 1.0625rem; }
	.proc .tl__l { font-size: .875rem; }
	.proc__b { align-self: center; }
	.proc .tl__ph .frame__m { border: 1px solid var(--gold); }
}
@media (max-width: 999px) {
	.proc__a .tl__ph { display: none; }
	.proc__grid { justify-items: stretch; }
	.proc .shead__h { text-align: center; }
	.proc__b { justify-self: center; }
}
.tl__step, .tl__txt, .proc__grid > * { min-width: 0; }
.proc .tl { width: 100%; }
@media (min-width: 1000px) { .proc .tl__step--r::after { display: none; } }

/* ================================================================== Fidelity loop 1 (agreed + probed flaws only; build/THEME-PROGRESS.md) */
/* footer (all four judges): top-aligned columns, the tagline straight under the socials, the quote button under the contact
   list, mockup link density; larger social discs */
.ftr__brand .ftr__line { margin-top: 0; }
.ftr__contact .ftr__q { margin-top: 12px; }
.ftr__list li { margin: 0 0 3px; }
.on-dark .ftr__list a { font-size: .9375rem; line-height: 1.45; }
.ftr__h { margin-bottom: 10px; }
.ftr__soc a { width: 42px; height: 42px; }
.ftr__soc .ico { width: 22px; height: 22px; }
.ftr__logo img { width: 200px; }
.ftr { padding-top: clamp(36px, 4vw, 52px); }
.ftr__grid { padding-bottom: clamp(24px, 2.6vw, 36px); }
/* the icon cards (home + town judges): large gold drawings filling the card top, wider row */
.scards { max-width: 1060px; }
.scard { padding: 26px 20px 24px; }
.scard__g { width: 132px; margin-bottom: 14px; }
@media (max-width: 759px) { .scard__g { width: 76px; } }
/* hero (home + town judges, probed: 720px of photo at 1440 with the panel in its lower half): a shorter photo, panel higher */
@media (min-width: 760px) {
	.hero__media { min-height: clamp(400px, 34vw, 520px); }
	.hero__wrap { padding-top: clamp(110px, 10vw, 160px); }
}
/* process (home judge): heading on one line, the photo directly under it */
@media (min-width: 1000px) {
	.proc__a { align-content: start; }
	.proc__h .shead__h { font-size: clamp(1.625rem, 1.1rem + 1vw, 2.125rem); white-space: nowrap; }
	.proc .tl__step--l::after { width: 18px; height: 18px; margin-top: -9px; }
}
/* the long read's colour field (long-read judge): the numeral pinned to the top, the annotated crop filling the page width */
.lr-spread__media--field { justify-content: center; } /* centred: the field keeps no hole whatever the text page length (qa-gaps) */
.lr-crop { max-width: 100%; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lr-spread + .lr-spread { border-top: 1px solid rgba(220, 172, 61, .35); }
/* contents list numerals (long-read judge): large bold gold numerals in navy boxes, a divider between the columns */
.lr-toc__n { width: 44px; height: 44px; font-size: 1.5rem; font-weight: 800; }
.lr-toc__l { position: relative; column-gap: 40px; }
@media (min-width: 600px) { .lr-toc__l::before { content: ''; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 1px; background: var(--rule-l); } }
/* hub long read (service judge, mockup page-service): the chapter numeral is a large gold figure beside the heading */
.lr--hub .lr-page { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
.lr--hub .lr-page > * { grid-column: 1 / -1; }
.lr--hub .lr-chip { grid-column: 1; grid-row: 1; align-self: start; background: none; border: 0; min-width: 0; height: auto; padding: 0; margin: 0; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); line-height: .95; }
.lr--hub .lr-h { grid-column: 2; grid-row: 1; align-self: center; }
.lr--hub .lr-page__k { grid-column: 2; }
.lr--hub .lr-spread--field .lr-chip { display: block; }
/* faults (service judge): the row as wide as the mockup's, gold-framed cards, one sign under each card */
.flts .wrap { max-width: calc(var(--w-wide) + 2 * var(--gut)); }
.flt { border: 1px solid var(--gold); }
@media (min-width: 760px) { .signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; } .sign__g { width: 64px; } }
/* areas band (home judge): the four-pane separators read as window marks */
.tband__pane { width: clamp(16px, 1.5vw, 22px); }
/* services link row (home judge): visible separators */
.band--white .lrow li { border-left-color: rgba(0, 36, 61, .45); }

/* ================================================================== Fidelity loop 2 (final; agreed + probed flaws only) */
/* hero panel (home L0 + L1, town L0, service L1; probed 370-457px tall at 1440, covering the photo's lower half): a wider,
   shorter panel, so it sits over the roofline like the mockup's instead of filling the bottom of the photo */
@media (min-width: 760px) {
	.hero__panel { width: min(100%, 900px); padding: clamp(20px, 2.2vw, 30px) clamp(24px, 4vw, 56px) clamp(12px, 1.2vw, 16px); }
	.hero__h1 { margin-bottom: .2em; }
	.hero__lede { margin-bottom: .2em; max-width: 60ch; }
	.hero__g { margin-bottom: .7em; }
	.hero__cta { margin-bottom: .55em; }
	.trust { margin-top: 12px; padding-top: 12px; }
	.hero__wrap { padding-top: clamp(150px, 15vw, 230px); }
}
/* the colour field (both long-read judges, L0 + L1): a larger numeral and a crop filling ~60% of the page width */
.lr-field__num { font-size: clamp(6.5rem, 3.5rem + 9vw, 12rem); }
.lr-spread__media--field { padding: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 44px); gap: clamp(14px, 1.6vw, 22px); }
.lr-crop { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); width: 100%; }
.lr-crop__key li { font-size: 1rem; }
/* compare thumbnails keep their thin gold frame on either page ground (long-read judge L1) */
.lr-cmp .frame--photo .frame__m, .lr-cmp .frame--drawn .frame__m { border: 1px solid var(--gold); }
/* probed: the photo's own aspect (1858x929) set the hero to 720px at 1440; the photo fills the box instead of sizing it */
@media (min-width: 760px) { .hero__media > img, .hero__media > .drawn { position: absolute; inset: 0; width: 100%; height: 100%; } }
/* gold is never text on white (2.10:1, STYLE-GUIDE §3): the hub numeral on a white page is navy over a short gold bar */
.lr--hub .lr-spread--light .lr-chip { color: var(--navy); padding-bottom: 6px; border-bottom: 4px solid var(--gold); }
/* a lone last services card (13 hubs at 4 columns): a wide horizontal card, photo at one card's width, text beside it */
@media (min-width: 1100px) {
	.scv--wide { grid-column: 1 / -1; }
	.scv--wide .scv__a { grid-template-columns: calc((100% - 3 * clamp(14px, 2vw, 24px)) / 4) minmax(0, 1fr); align-items: center; }
	.scv--wide .scv__b { padding: 22px clamp(20px, 3vw, 40px); max-width: 70ch; }
	.scv--wide .scv__t { font-size: 1.5rem; justify-content: flex-start; gap: 16px; }
}
.scv:not(.scv--wide) .scv__a { grid-template-columns: minmax(0, 1fr); align-content: start; }
.scv__b, .scv__l, .scv__t { min-width: 0; overflow-wrap: break-word; }

/* ================================================================== Stage 6 (2026-11-29, qa-gaps) */
/* colour fields: the text page runs 1,550-1,950px at 1366 while numeral + crop/pull used ~470px, centred, leaving 520-760px
   HOLEs above and below. Desktop only (the two-page spread starts at 900px): numeral, a large gold line plate of the chapter's
   subject (pull-only fields), the crop and the pull spread evenly down the field. Below 900 the plate is hidden. */
.lr-field__plate { display: none; }
@media (min-width: 900px) {
	.lr-spread__media--field { justify-content: space-evenly; }
	.lr-field__plate { display: flex; flex: 1 1 0; min-height: 0; max-height: 420px; width: 100%; max-width: 460px; align-items: center; justify-content: center; color: var(--gold); }
	.lr-field__g { width: 100%; height: 100%; max-height: 420px; }
	.lr-field__g * { vector-effect: non-scaling-stroke; stroke-width: 3px; }
	.lr-spread__media--field .lr-crop + .lr-field__pull { margin-top: 0; }
	/* the cost band (white) runs straight into the white compare band: 68 + 87px of padding made a 155px seam */
	.lr:has(> .lr-cost:last-child) + .cmp { padding-top: clamp(16px, 2vw, 28px); }
}
/* 390: a prose table's row header and caption stayed table cells beside the stacked cards (240 x 416px hole, lead roofing) */
@media (max-width: 479px) {
	.prose th, .prose caption { display: block; width: 100%; }
	.prose caption { text-align: left; padding: 0 0 8px; }
}
/* town local facts (Stage 6 shoot, 2026-11-29): the frame's inline aspect-ratio 4/3 plus height:100% of a row stretched to
   ~965px by the text column made the photo 1,288px wide at 1366, pushing the town text column off the page (clipped, unseen)
   on every town. From 600px the frame's width is its column's; from 1000px the grid keeps the 600-999 layout (facts | photo,
   the town text spanning below in two columns) so the photo stays landscape. 390 keeps its own rule (max-width 599). */
@media (min-width: 600px) { .loc__ph .frame__m { width: 100%; aspect-ratio: auto !important; min-height: 300px; } }
@media (min-width: 1000px) {
	.loc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.loc__txt { grid-column: span 2; max-width: none; columns: 2; column-gap: clamp(28px, 3vw, 48px); }
	.loc__txt > * { break-inside: avoid; }
}
/* the Fidelity loop-2 crop columns (2.6fr | 1fr, unscoped, later in the file) beat the 899px single-column rule: at 390 the key
   ran one word per line in a ~70px column (Stage 6 shoot). Below 900 the key goes under the drawing again. */
@media (max-width: 899px) {
	.lr-crop { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.lr-crop__m { max-width: 420px; width: 100%; justify-self: center; }
}
/* the process band's own photo (.proc__b) also carries .tl__ph, so the 759px timeline rule (.tl__ph { grid-column: 2 !important })
   gave .proc__grid an implicit second column: at 390 the heading took the left half and the four steps ran in a ~110px column
   (Stage 6 shoot, home + every page with the band). Below 760 the photo stays in the single column. */
@media (max-width: 759px) {
	.proc__grid > .proc__b.tl__ph { grid-column: auto !important; justify-self: center !important; }
}
/* photo spreads (Stage 6 img-measure, 2026-11-29): from 900px the photo keeps a 4:3 box at the top of the media half (it was
   cover-stretched over 1,400-1,950px of text page: 0.38-0.56x, mostly sky) and the field below carries the chapter numeral and a
   gold line plate, spread evenly like the colour fields. The gutter pull card overlaps the photo's lower edge. Below 900 the
   rest is hidden and the photo keeps its 4:3 box exactly as before. */
.lr-spread__rest { display: none; }
@media (min-width: 900px) {
	.lr-spread__media--photo { display: flex; flex-direction: column; }
	.lr-spread__ph { position: relative; flex: none; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
	.lr-spread__rest { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: space-evenly; align-items: center; gap: clamp(14px, 1.6vw, 22px); min-height: 0; padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 44px); text-align: center; }
	.lr-spread:has(.lr-spread__rest) .lr-pull { top: calc(37.5vw - 72px); }
}
/* the photo-spread caption prints under the 4:3 photo from 900px (as an overlay it covered the bottom-corner watermark) */
@media (min-width: 900px) {
	.lr-spread__media--photo .lr-spread__cap, .lr-spread--flip .lr-spread__media--photo .lr-spread__cap { position: static; max-width: none; padding: 12px clamp(20px, 3vw, 44px) 0; background: none; color: var(--muted-d); }
}
@media (min-width: 900px) {
	/* the pull card overlaps the media half's inner edge: the caption sits on the outer edge, clear of it */
	.lr-spread--flip .lr-spread__media--photo .lr-spread__cap { text-align: right; padding-left: 300px; }
	.lr-spread:not(.lr-spread--flip) .lr-spread__media--photo .lr-spread__cap { text-align: left; padding-right: 300px; }
}
/* below 900 the gutter pull card overlaps the photo's bottom 36px, where the caption overlay sat: the caption goes to the top edge */
@media (max-width: 899px) { .lr-spread__media--photo .lr-spread__cap { bottom: auto; top: 0; } }

/* ================================================================== Design loop r1 (2026-11-29, independent judge 7.6) */
/* 1. a content caption that does not describe its photo is the chapter's own line on the text page, never the photo's caption */
.lr-look { margin: 22px 0 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--gold); font: italic 400 1.125rem/1.45 var(--f-body); max-width: 46ch; }
/* 2. the spread keeps the opening of the chapter beside the media; the rest runs on below across the spread (lr-spread__more),
   so the media half is about the photo's height instead of a 900-1,400px navy field under it. Phones: the rest simply follows. */
.lr-spread__more { grid-column: 1 / -1; }
.lr-more > .lr-mod:first-child { margin-top: 0; }
@media (max-width: 899px) {
	.lr-spread--more .lr-spread__page { padding-bottom: 0; }
	.lr-spread__more { grid-row: 4; padding: 0 var(--gut) 40px; }
	.lr-more .lr-body > :first-child { margin-top: 0; }
}
@media (min-width: 900px) {
	.lr-spread__more { grid-row: 2; padding: 0 clamp(24px, 5vw, 80px) clamp(44px, 5vw, 84px); }
	.lr-more { max-width: 1120px; margin: 0 auto; padding-top: clamp(32px, 3.6vw, 52px); border-top: 1px solid var(--rule-l); }
	.on-dark .lr-more { border-top-color: var(--rule-d); }
	.lr-more .lr-body { max-width: 70ch; margin-inline: auto; }
	.lr-more > .lr-mod { max-width: 880px; margin-inline: auto; }
	/* the photo's field below the 4:3 frame is now short: numeral and plate drop out when there is no room for them */
	.lr-spread__rest { container-type: size; container-name: lrrest; }
	.lr-spread__media--field { min-height: 0; }
}
@media (min-width: 900px) { .lr-spread__rest .lr-field__num { font-size: min(clamp(6.5rem, 3.5rem + 9vw, 12rem), 88cqh); } }
@container lrrest (max-height: 380px) { .lr-spread__rest .lr-field__plate { display: none; } }
@container lrrest (max-height: 56px) { .lr-spread__rest .lr-field__num { display: none; } }
@media (min-width: 1100px) {
	/* magazine continuation: two columns of text, tables and lists kept whole */
	.lr-more .lr-body { max-width: none; columns: 2; column-gap: clamp(36px, 4vw, 64px); }
	.lr-more .lr-body > * { break-inside: avoid-column; }
	.lr-more .lr-body > p { break-inside: auto; orphans: 3; widows: 3; }
	.lr-more .lr-body > table, .lr-more .lr-body > .tbl { column-span: all; }
}
/* 4. home areas band: every row on one line at any desktop width (the longest row sets one size for all), names never wrap
   alone after a separator. --em = the longest row's width in ems (inc/templates.php). */
@media (min-width: 760px) {
	.tband .wrap { container-type: inline-size; }
	.tband__row li { font-size: min(2.125rem, calc(100cqi / var(--em, 44))); }
	.tband__row a { font-size: 1em; }
	.tband__pane { width: .5em; margin: 0 .55em; }
}
/* 5. a spoke with no service hub: the read-next list takes the row alone */
.more__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
/* 390: the email address breaks at the @, never mid-domain; a fitted table's caption is a full-width line above the cards */
.cc__l a[href^="mailto:"] { overflow-wrap: normal; word-break: normal; }
@media (max-width: 479px) { .cc__l a[href^="mailto:"] { font-size: 1rem; } }
@media (max-width: 559px) { .tbl caption { display: block; width: 100%; padding: 10px 14px; text-align: left; } }
/* 3. the home crop's drawn scene fills its 4:3 frame, so the markers sit on the drawn chimney, flashing and valley */
.drawn--scene { display: block; padding: 0; }
.drawn--scene .crop-scene { display: block; width: 100%; height: 100%; }
.drawn--scene .crop-scene * { vector-effect: non-scaling-stroke; }
/* the strip under a spread photo holds the gutter pull card's lower half and the numeral, on the side away from the card */
@media (min-width: 900px) {
	.lr-spread__rest { min-height: 220px; align-items: flex-start; }
	.lr-spread--flip .lr-spread__rest { align-items: flex-end; }
}
@media (min-width: 900px) { .lr-more > .lr-cmp { max-width: 600px; } .lr-more > .lr-note { max-width: 760px; } }
@media (max-width: 899px) { .lr-spread--more .lr-look { margin-bottom: 24px; } }
