/* ==========================================================================
   Everlight Skylights: chalk-white daylight falling between honest timber trusses.
   Written for this theme. Tokens from STYLE-GUIDE.md / design-dna.json.
   ========================================================================== */

:root {
	--surface: #F7F7F4;
	--surface-alt: #EFEFEE;
	--white: #FFFFFF;
	--ink: #1F2328;
	--ink-soft: #5A6068;
	--rule: #D9DCDA;
	--accent: #2B55C9;
	--accent-deep: #20449F;
	--accent-on-dark: #9DB6F2;
	--dark: #1F2328;
	--timber: #EFE3C8;
	--wa: #1B7F4B;

	--font-display: "Crimson Pro", Georgia, "Times New Roman", serif;
	--font-body: "Mulish", "Segoe UI", Arial, sans-serif;
	--font-script: "Allison", "Segoe Script", cursive;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--band: clamp(48px, 7vw, 96px);
	--band-tight: clamp(32px, 4.5vw, 56px);

	--narrow: 68ch;
	--container: 1140px;
	--wide: 1320px;
	--gutter: clamp(16px, 4vw, 40px);

	--r-btn: 4px; --r-card: 6px; --r-panel: 12px;
	--header-h: 78px;
	--shadow: 0 1px 2px rgba(31, 35, 40, .06), 0 8px 24px rgba(31, 35, 40, .08);

	--h1: clamp(2.4rem, 1.6rem + 3.2vw, 3.9rem);
	--h2: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
	--h3: 1.45rem;
	--body: 1.0625rem;
	--small: .875rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; background: var(--surface); color: var(--ink);
	font-family: var(--font-body); font-size: var(--body); line-height: 1.65;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 var(--s4); color: var(--ink); }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.2; font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; color: var(--white); }
main { display: block; outline: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.band { padding-block: var(--band); }
.band--stone { background: var(--surface-alt); }
.band--chalk { background: var(--surface); }
.kicker { font-family: var(--font-body); font-size: var(--small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s3); }
.kicker--center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
	min-height: 48px; padding: 12px 26px; border-radius: var(--r-btn); border: 1.5px solid transparent;
	font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none;
	white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s5); }
.text-link { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { flex: none; }

/* One dark-ground mechanism (§7c.3). :not(.btn) is load-bearing. */
.on-dark { color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p, .on-dark li { color: var(--white); }
.on-dark a:not(.btn) { color: var(--accent-on-dark); }
.on-dark a:not(.btn):hover { color: var(--white); }
.on-dark .kicker { color: var(--accent-on-dark); }
.on-dark .btn--ghost { color: var(--white); border-color: var(--white); }
.on-dark .btn--ghost:hover { background: var(--white); color: var(--ink); }
.on-dark :focus-visible { outline-color: var(--white); }

/* ---------- Header (§4a) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rule); }
.site-header__bar { max-width: calc(var(--wide) + 2 * var(--gutter)); display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; flex: none; }
.brand .mark { width: 58px; height: 58px; }
.brand__name { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -.01em; white-space: nowrap; line-height: 1; }
.brand:hover { color: var(--ink); }
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 22px 4px; color: var(--ink); text-decoration: none; font-size: 1.1rem; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; margin-left: -4px; padding: 0; background: none; border: 0; color: var(--ink-soft); cursor: pointer; border-radius: 4px; }
.sub-toggle .icon { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
	position: absolute; top: calc(100% - 6px); left: -16px; z-index: 60; min-width: 280px; margin: 0; padding: var(--s3) 0;
	list-style: none; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow);
	visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.sub--areas { columns: 2; min-width: 360px; column-gap: 0; }
.sub--areas .sub__all { column-span: all; }
.sub a { display: block; padding: 8px 20px; color: var(--ink); text-decoration: none; white-space: nowrap; break-inside: avoid; }
.sub a:hover, .sub a:focus-visible { background: var(--surface); color: var(--accent); }
.sub__all { border-top: 1px solid var(--rule); margin-top: var(--s2); padding-top: var(--s2); }
.sub__all a { font-weight: 700; color: var(--accent); }
.has-sub.is-open > .sub { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
@media (hover: hover) and (min-width: 1080px) {
	.has-sub:hover > .sub { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
}
.header-actions { display: flex; align-items: center; gap: var(--s5); flex: none; }
.header-phone, .nav-phone { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font-size: 1.15rem; white-space: nowrap; }
.header-phone .icon { width: 22px; height: 22px; }
.header-actions .btn--sm { min-height: 48px; padding: 11px 20px; font-size: 1rem; }
.header-phone:hover { color: var(--accent); }
.nav-contact { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1240px) and (min-width: 1080px) { .brand__name { font-size: 1.6rem; } .brand .mark { width: 50px; height: 50px; } .nav-link { font-size: 1.02rem; } .header-actions { gap: var(--s4); } }
@media (max-width: 1079.98px) {
	:root { --header-h: 64px; }
	.brand .mark { width: 46px; height: 46px; }
	.brand__name { font-size: 1.55rem; }
	.site-header__bar { justify-content: space-between; }
	.header-actions { display: none; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; min-width: 44px; padding: 8px 12px;
		background: none; border: 1px solid var(--rule); border-radius: var(--r-btn); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer;
	}
	.nav-toggle__close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }
	.nav-toggle__open, .nav-toggle__text { display: inline-flex; }
	.site-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 55; display: block;
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
		background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow);
		padding: var(--s3) var(--gutter) var(--s6); visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
	}
	html.nav-open { overflow: hidden; }
	html.nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .2s; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.nav-link { flex: 1; padding: 14px 0; font-size: 1.1rem; }
	.sub-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid var(--rule); color: var(--ink); }
	/* Submenu restyled for the panel: no floating skin. */
	.sub, .sub--areas {
		position: static; min-width: 0; width: 100%; columns: auto; display: none; visibility: visible; opacity: 1; transform: none;
		border: 0; border-radius: 0; box-shadow: none; background: var(--surface); padding: var(--s2) 0; margin: 0 0 var(--s3);
	}
	.has-sub.is-open > .sub { display: block; }
	.sub a { padding: 11px 16px; white-space: normal; }
	.nav-contact { display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s5); }
	.nav-contact .btn { width: 100%; }
}
@media (max-width: 420px) { .brand__name { font-size: 1.3rem; } .brand .mark { width: 38px; height: 38px; } .nav-toggle__text { display: none !important; } }

/* ---------- Hero (02) ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(460px, 36vw, 620px); display: flex; align-items: center; background: var(--dark); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 23, 27, .86) 0%, rgba(20, 23, 27, .7) 34%, rgba(20, 23, 27, .12) 62%, rgba(20, 23, 27, 0) 80%); }
.hero__inner { max-width: calc(var(--wide) + 2 * var(--gutter)); padding-block: var(--s8); }
.hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.1rem); line-height: 1.08; margin-bottom: var(--s5); text-wrap: balance; }
.hero__lede { max-width: 44ch; font-size: 1.15rem; line-height: 1.55; }
@media (max-width: 760px) {
	.hero { display: block; min-height: 0; }
	.hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
	.hero__media::after { background: linear-gradient(180deg, rgba(20, 23, 27, 0) 70%, rgba(20, 23, 27, .9) 100%); }
	.hero__media img { object-position: 62% 30%; }
	.hero__inner { padding-block: var(--s6) var(--s7); }
	.hero h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 2.8rem); }
	.hero .cta-row .btn { width: 100%; }
}

/* ---------- Trust (03) ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--rule); }
.trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: clamp(40px, 5vw, 72px); max-width: calc(var(--wide) + 2 * var(--gutter)); }
.trust__list li { display: flex; align-items: center; gap: var(--s5); padding: var(--s4) var(--s6); border-left: 1px solid var(--rule); min-width: 0; font-size: 1.28rem; line-height: 1.4; color: var(--ink); }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list .icon { flex: none; color: var(--ink); }
@media (max-width: 900px) {
	.trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s3); }
	.trust__list li { border-left: 0; padding: var(--s3) var(--s2); font-size: 1.1rem; }
	.trust__list .icon { width: 56px; height: 56px; }
	.trust__list li:nth-child(even) { border-left: 1px solid var(--rule); padding-left: var(--s4); }
}
@media (max-width: 420px) {
	.trust__list li { flex-direction: column; align-items: flex-start; gap: var(--s2); font-size: .95rem; }
	.trust__list .icon { width: 44px; height: 44px; }
}

/* ---------- Problem (04) ---------- */
.problem { padding-block: var(--band); background: var(--surface); }
.problem__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; }
.problem__copy { grid-column: 1; }
.problem__figure { grid-column: 2; margin: 0; min-width: 0; }
.problem__copy p { color: var(--ink); font-size: 1.15rem; max-width: 42ch; }
.problem__copy p:last-child { margin-bottom: 0; }
.roof-diagram { width: 100%; height: auto; display: block; }
.rd-label { font-family: var(--font-body); font-size: 15px; fill: var(--ink); }
.rd-note { font-family: var(--font-body); font-size: 13px; fill: var(--ink-soft); }
.problem__figure figcaption { margin-top: var(--s3); font-size: var(--small); color: var(--ink-soft); }
@media (max-width: 900px) {
	.problem__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.problem__copy, .problem__figure { grid-column: 1; }
}

/* ---------- Services (05) ---------- */
.services { padding-block: var(--band-tight); background: var(--surface); border-top: 1px solid var(--rule); }
.services .container { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.services .section-title--center { margin-bottom: var(--s5); }
.section-title--center { text-align: center; margin-bottom: var(--s6); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--s3); }
.svc-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.svc-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--accent); }
.svc-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__label { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 60px; padding: var(--s3) var(--s2); text-align: center; font-size: 1.05rem; line-height: 1.3; text-wrap: balance; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); } .svc-card__label { font-size: .95rem; min-height: 56px; } }

/* ---------- Proof (06) ---------- */
.proof { padding-block: var(--band-tight); background: var(--white); }
.proof .container { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.proof__panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; background: var(--surface-alt); border-radius: var(--r-panel); padding: var(--s7) var(--s6); }
.proof__title { grid-column: 1; margin: 0; font-size: clamp(1.7rem, 1.2rem + 1vw, 2.1rem); padding-right: var(--s6); white-space: nowrap; }
.proof__list { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__list li { display: flex; flex-direction: column; align-items: center; gap: var(--s4); padding: var(--s3) var(--s3); text-align: center; border-left: 1px solid #C9CDCD; line-height: 1.4; font-size: 1.02rem; }
.proof__list .icon { width: 80px; height: 80px; }
.proof__list .icon { color: var(--ink); }
.proof__sign { grid-column: 3; margin: 0; padding-left: var(--s5); border-left: 1px solid #C9CDCD; align-self: stretch; display: flex; align-items: center; }
.proof__sign span { font-family: var(--font-script); font-size: 3.1rem; line-height: 1; color: var(--accent); white-space: nowrap; }
@media (max-width: 1080px) {
	.proof__panel { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.proof__title, .proof__list, .proof__sign { grid-column: 1; }
	.proof__title { text-align: center; padding: 0; white-space: normal; }
	.proof__sign { border-left: 0; justify-content: center; padding: 0; }
}
@media (max-width: 700px) {
	.proof__panel { padding: var(--s6) var(--s4); }
	.proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
	.proof__list li:nth-child(odd) { border-left: 0; }
}

/* ---------- Process (07) ---------- */
.process { padding-block: clamp(56px, 8vw, 112px); background: var(--white); border-top: 1px solid var(--rule); }
.process .container { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process__list li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: var(--s4); align-items: start; padding: var(--s4) var(--s6); border-left: 1px solid var(--rule); }
.process__list li:first-child { border-left: 0; padding-left: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--white); font-family: var(--font-display); font-size: 1.75rem; }
.process__icon { color: var(--ink); width: 100px; height: 100px; }
.process__list h3 { margin-bottom: var(--s2); font-size: 1.7rem; font-weight: 500; }
.process__list p { margin: 0; color: var(--ink); font-size: 1.12rem; }
@media (max-width: 1000px) {
	.process__list { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.process__list li { border-left: 0; padding: 0 0 var(--s5); border-bottom: 1px solid var(--rule); }
	.process__list li:last-child { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 1240px) and (min-width: 901px) { .process__icon { width: 72px; height: 72px; } .process__list li { padding-inline: var(--s4); } }
@media (max-width: 900px) { .process__icon { width: 72px; height: 72px; } }
@media (max-width: 420px) { .process__icon { width: 56px; height: 56px; } .step-num { width: 42px; height: 42px; font-size: 1.45rem; } }

/* ---------- Areas band (08) + radius map ---------- */
.areas-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: var(--surface-alt); border-top: 1px solid var(--rule); }
.areas-band__side { grid-column: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--s7) max(var(--gutter), calc((100vw - var(--wide)) / 2)) var(--s7) max(var(--gutter), calc((100vw - var(--wide)) / 2)); padding-right: var(--s6); }
.areas-band__side h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); }
.areas-band__side p { color: var(--ink); }
.areas-band__map { grid-column: 2; min-width: 0; border-left: 1px solid var(--rule); }
.radius-map { width: 100%; height: 440px; background: #E3E7E6; z-index: 1; }
.areas-band .radius-map { height: 100%; min-height: 520px; }
.contact-map .radius-map { border-radius: var(--r-panel); border: 1px solid var(--rule); }
.town-chips { display: none; list-style: none; margin: 0; padding: var(--s4) var(--gutter) var(--s5); flex-wrap: wrap; gap: var(--s2); }
.town-chips a, .chip-list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .95rem; }
.town-chips a:hover, .chip-list a:hover { border-color: var(--accent); color: var(--accent); }
.evl-pin { background: none; border: 0; }
.evl-pin svg { display: block; }
.leaflet-tooltip.evl-tip { background: transparent; border: 0; box-shadow: none; padding: 0 0 0 6px; font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.leaflet-tooltip.evl-tip::before { display: none; }
.leaflet-tooltip.evl-tip--base { font-weight: 700; font-size: 17px; line-height: 1.25; text-align: center; padding: 0; white-space: nowrap; }
.leaflet-container { font-family: var(--font-body); }
.radius-map .leaflet-tile-pane { filter: grayscale(1) contrast(.72) brightness(1.12); }
@media (max-width: 900px) {
	.areas-band { grid-template-columns: minmax(0, 1fr); }
	.areas-band__side, .areas-band__map { grid-column: 1; }
	.areas-band__side { padding: var(--s7) var(--gutter) var(--s5); }
	.areas-band__map { border-left: 0; }
	.areas-band .radius-map { min-height: 340px; height: 340px; }
}
@media (max-width: 599.98px) {
	.town-chips { display: flex; }
	.leaflet-tooltip.evl-tip:not(.evl-tip--base) { display: none; }
	.radius-map, .areas-band .radius-map { height: 300px; min-height: 300px; }
}

/* ---------- Intro bands (all inner templates) ---------- */
.intro { position: relative; overflow: hidden; background: var(--surface-alt); border-bottom: 1px solid var(--rule); padding-block: clamp(40px, 6vw, 80px); }
.intro .truss-device { position: absolute; right: -40px; bottom: -8px; width: min(560px, 60vw); height: auto; color: #C3C9CA; pointer-events: none; }
.intro__inner { position: relative; }
.intro h1 { max-width: 22ch; text-wrap: balance; }
.intro__lede { max-width: 60ch; font-size: 1.15rem; color: var(--ink-soft); }
.intro__meta { font-size: var(--small); color: var(--ink-soft); font-weight: 700; margin: 0; }
.intro--framed { padding-block: clamp(32px, 5vw, 64px); }
.intro__split { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: center; }
.intro__copy { grid-column: 1; min-width: 0; }
.intro__frame { grid-column: 2; margin: 0; background: var(--white); padding: var(--s3); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow); transform: rotate(.6deg); }
.intro__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
@media (max-width: 900px) {
	.intro__split { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.intro__copy, .intro__frame { grid-column: 1; }
	.intro__frame { max-width: 460px; transform: none; }
	.intro .truss-device { width: 90vw; opacity: .6; }
}
.fact-row { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); margin: var(--s4) 0 0; }
.fact-row div { min-width: 0; }
.fact-row dt { font-size: var(--small); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.fact-row dd { margin: 0; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 var(--s4); padding: 0; font-size: var(--small); color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #9AA0A6; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Prose (all long-reads) ---------- */
.prose { font-size: var(--body); }
.prose > * { max-width: 100%; }
.prose h2 { margin-top: var(--s7); }
.prose h3 { margin-top: var(--s6); margin-bottom: var(--s3); }
.prose a { text-decoration-color: rgba(43, 85, 201, .45); text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: var(--s2); }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose .standfirst { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--ink); }
.prose blockquote { margin: var(--s6) 0; padding: var(--s4) var(--s5); border-left: 3px solid var(--accent); background: var(--white); font-family: var(--font-display); font-size: 1.3rem; }
.prose .callout, .prose .fact { margin: var(--s6) 0; padding: var(--s5) var(--s5); background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: var(--r-card); }
.prose .fact { border-left-color: var(--ink); background: var(--surface-alt); }
.prose .callout > :last-child, .prose .fact > :last-child { margin-bottom: 0; }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; margin: var(--s6) 0; }
.prose ol.steps > li { counter-increment: step; position: relative; padding: 0 0 var(--s4) 56px; margin: 0 0 var(--s4); border-bottom: 1px solid var(--rule); }
.prose ol.steps > li:last-child { border-bottom: 0; }
.prose ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; }
.prose--center { text-align: center; }

/* Tables: styled features, scrolling in their own wrapper; stacked cards on phones. */
.tablewrap { margin: var(--s6) 0; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--white); max-width: 100%; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.45; }
.tablewrap caption { caption-side: top; text-align: left; padding: var(--s4) var(--s4) 0; font-weight: 700; }
.tablewrap th, .tablewrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tablewrap thead th { background: var(--ink); color: var(--white); font-weight: 700; font-size: .92rem; letter-spacing: .02em; }
.tablewrap tbody th { font-weight: 700; background: var(--surface); }
.tablewrap tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) {
	.tablewrap { border: 0; background: none; overflow: visible; }
	.tablewrap table, .tablewrap tbody, .tablewrap tr, .tablewrap th, .tablewrap td { display: block; width: 100%; }
	.tablewrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tablewrap tbody tr { margin-bottom: var(--s4); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; }
	.tablewrap tbody th { background: var(--ink); color: var(--white); }
	.tablewrap td { border-bottom: 1px solid var(--rule); }
	.tablewrap td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 2px; }
}

/* Content images: block-level, centred, cropped by ratio, never floated. */
.evl-figure { margin: var(--s6) auto; clear: both; float: none; }
.evl-figure img { width: 100%; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-card); background: var(--surface-alt); }
.evl-figure--banner img { aspect-ratio: 16 / 9; }
.evl-figure--plate { max-width: 86%; }
.evl-figure--plate img { aspect-ratio: 3 / 2; }
.evl-figure figcaption { margin-top: var(--s2); font-size: var(--small); color: var(--ink-soft); text-align: center; }
.prose img.aligncenter { margin-inline: auto; }

/* ---------- Index dossier (home + services) ---------- */
.dossier { background: var(--surface); padding-bottom: var(--band); }
.dossier__head { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: var(--band-tight); margin-bottom: var(--s7); }
.dossier__title { max-width: 24ch; }
.dossier__lead { max-width: 70ch; font-size: 1.15rem; }
.dossier__lead p:first-child { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; }
.dossier__lead--service { margin-block: var(--s7) 0; }
.dossier__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: var(--s7); align-items: start; margin-top: var(--s7); }
.toc { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); }
.toc__title { font-size: var(--small); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: var(--s3); }
.toc__list { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.toc__list a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px; padding: 7px 0; color: var(--ink-soft); text-decoration: none; font-size: .95rem; line-height: 1.35; border-left: 2px solid transparent; margin-left: -12px; padding-left: 10px; }
.toc__list a:hover { color: var(--accent); }
.toc__list a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); font-weight: 700; }
.toc__num { font-family: var(--font-display); color: var(--accent); }
.dossier__body { grid-column: 2; grid-row: 1; min-width: 0; max-width: 76ch; }
.chapter { padding-bottom: var(--s7); margin-bottom: var(--s7); border-bottom: 1px solid var(--rule); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; }
.chapter__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); margin: 0 0 var(--s2); letter-spacing: .04em; }
.chapter__num::after { content: ""; display: inline-block; width: 48px; height: 1px; background: var(--accent); vertical-align: middle; margin-left: 12px; }
.chapter h2 { margin-top: 0; }
@media (max-width: 1000px) {
	.dossier__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.toc { grid-column: 1; grid-row: 1; position: static; max-height: none; }
	.dossier__body { grid-column: 1; grid-row: 2; }
	.toc .btn { display: none; }
}

/* ---------- Editorial chapters (areas) ---------- */
.chapter-band { position: relative; overflow: hidden; }
.ghost-num { position: absolute; top: 12px; font-family: var(--font-display); font-size: clamp(7rem, 5rem + 9vw, 14rem); line-height: 1; color: rgba(31, 35, 40, .06); pointer-events: none; user-select: none; }
.chapters--left .ghost-num { left: 2vw; }
.chapters--right .ghost-num { right: 2vw; }
.chapter-band .prose { position: relative; }
.chapter-band h2 { margin-top: 0; }
.chapters__lead .prose > p:first-child { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; }
.nearby__title { font-size: 1.6rem; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }

/* ---------- Feature flow (guides) ---------- */
.feature { padding-block: var(--band); background: var(--surface); }
.feature__lead > p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 4.2rem; line-height: .85; padding: 6px 10px 0 0; color: var(--accent); }
.feature__lead > p:first-child { font-size: 1.15rem; }
.feature__chapter { margin-top: var(--s7); }
.feature__chapter h2 { margin-top: var(--s3); text-align: center; }
.rule-num { display: flex; align-items: center; gap: var(--s4); margin: 0; color: var(--accent); font-family: var(--font-display); font-size: 1.2rem; }
.rule-num::before, .rule-num::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.pull-panel { margin: var(--s8) 0 0; padding: var(--s6); background: var(--ink); color: var(--white); border-radius: var(--r-panel); text-align: center; }
.pull-panel p { color: var(--white); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; }
.pull-panel .pull-panel__kicker { font-family: var(--font-body); font-size: var(--small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: var(--s2); }

/* ---------- Direct answer ---------- */
.answer { padding-block: var(--band-tight) var(--band); background: var(--surface); }
.answer-box { margin: 0 0 var(--s7); padding: var(--s6); background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--accent); border-radius: var(--r-card); box-shadow: var(--shadow); }
.answer-box__kicker { font-size: var(--small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.answer-box__text { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); line-height: 1.4; margin: 0; font-weight: 500; }
.answer__section h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }

/* ---------- Designed article ---------- */
.article { padding-block: var(--band); background: var(--surface); }
.article .intro, .article__section h2 { text-align: center; }
.article__section { margin-top: var(--s7); }
.article__section h2 { margin-top: 0; }
.article__lead > p:first-child { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; text-align: center; }
.link-list { list-style: none; padding: 0; }
.link-list li { border-bottom: 1px solid var(--rule); padding: var(--s3) 0; }

/* ---------- Index pages ---------- */
.index-cards { padding-block: var(--band-tight) var(--s6); background: var(--surface); }
.index-subtitle { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: var(--s5); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--s5); }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card { min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card__link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.card__link:hover .card__title { color: var(--accent); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: var(--s4) var(--s5) var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.card__title { margin: 0; font-size: 1.35rem; }
.card__sum { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.card__meta { margin: auto 0 0; padding-top: var(--s2); font-size: var(--small); font-weight: 700; color: var(--accent); }
.index-groups { padding-block: var(--s6) var(--band); background: var(--surface); }
.jump-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.jump-row a { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .92rem; }
.jump-row a span { color: var(--ink-soft); }
.jump-row a:hover { border-color: var(--accent); color: var(--accent); }
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--s5); align-items: start; }
.group-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.group { min-width: 0; background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: var(--r-card); padding: var(--s5); }
.group__title { font-size: 1.3rem; margin-bottom: var(--s1); display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; }
.group__count { font-family: var(--font-body); font-size: .85rem; font-weight: 700; color: var(--ink-soft); background: var(--surface-alt); border-radius: 999px; padding: 2px 10px; flex: none; }
.group__county { font-size: var(--small); color: var(--ink-soft); margin-bottom: var(--s3); }
.entry-list { list-style: none; margin: 0; padding: 0; }
.entry-list li { border-top: 1px solid var(--rule); }
.entry-list a { display: flex; justify-content: space-between; gap: var(--s3); padding: 9px 0; color: var(--ink); text-decoration: none; line-height: 1.35; }
.entry-list a:hover .entry-list__title { color: var(--accent); text-decoration: underline; }
.entry-list__meta { flex: none; font-size: .82rem; color: var(--ink-soft); text-align: right; }
.index-copy .prose > :last-child { margin-bottom: 0; }

/* ---------- Related ---------- */
.related__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.related__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--s6); }
.related__col { min-width: 0; }
.related__col h3 { font-size: 1.2rem; }
.related__col ul { list-style: none; padding: 0; margin: 0; }
.related__col li { border-top: 1px solid #CFD4D4; padding: 9px 0; line-height: 1.4; }

/* ---------- Quote band (09) ---------- */
.quote-band { position: relative; isolation: isolate; background: var(--dark); padding-block: clamp(40px, 4.5vw, 64px); }
.quote-band__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 62%; }
.quote-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 27, .62) 0%, rgba(20, 23, 27, .3) 46%, rgba(20, 23, 27, .12) 70%, rgba(20, 23, 27, .5) 100%), linear-gradient(90deg, rgba(20, 23, 27, .5) 0%, rgba(20, 23, 27, .1) 55%, rgba(20, 23, 27, .25) 100%); }
.quote-band__inner { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: var(--s7); align-items: start; max-width: calc(var(--wide) + 2 * var(--gutter)); }
.quote-band__copy { grid-column: 1; min-width: 0; padding-top: var(--s4); }
.quote-band .form-panel { grid-column: 2; }
.quote-band h2 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 1.05; margin-bottom: var(--s5); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.quote-band__lede { max-width: 40ch; font-size: 1.05rem; margin: 0 0 var(--s2); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.reassure { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; grid-template-columns: repeat(3, max-content); gap: var(--s4) var(--s6); }
.reassure li { display: flex; align-items: center; gap: var(--s3); font-size: 1.15rem; line-height: 1.35; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.reassure li span { min-width: 0; max-width: 15ch; }
.reassure .icon { flex: none; }
.quote-band__alt { font-size: .98rem; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.quote-band__alt a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.form-panel { min-width: 0; background: var(--white); border-radius: var(--r-panel); padding: var(--s3) var(--s4) var(--s2); box-shadow: 0 12px 40px rgba(0, 0, 0, .28); color: var(--ink); }
.form-panel__head { margin: var(--s2) var(--s2) 0; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; color: var(--ink) !important; }
/* Designed pre-load state: sits BEHIND the iframe (transparent until the form paints). */
.crm-frame { position: relative; min-height: 620px; }
.crm-frame iframe { position: relative; z-index: 1; min-height: 620px; }
.crm-frame__wait { position: absolute; inset: var(--s4) var(--s2) var(--s4); z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); text-align: center; border: 1px dashed var(--rule); border-radius: var(--r-card); background: var(--surface); padding: var(--s5); }
.crm-frame__note { font-weight: 700; color: var(--ink); }
.crm-frame__sub { font-size: .95rem; color: var(--ink-soft); max-width: 30ch; }
.crm-frame__spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--rule); border-top-color: var(--accent); animation: crm-spin .9s linear infinite; }
@keyframes crm-spin { to { transform: rotate(360deg); } }
.crm-frame.is-loaded .crm-frame__spinner { animation: none; }
@media (max-width: 1100px) and (min-width: 901px) {
	.reassure { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
	.reassure li { flex-direction: column; align-items: flex-start; font-size: 1.02rem; }
}
@media (max-width: 900px) {
	.quote-band__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.quote-band__copy, .quote-band .form-panel { grid-column: 1; }
	.quote-band__copy { padding-top: 0; }
	.quote-band__media::after { background: rgba(20, 23, 27, .62); }
	.form-panel { padding: var(--s2); }
	.reassure { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
	.reassure li { flex-direction: column; align-items: flex-start; gap: var(--s2); font-size: 1rem; }
	.reassure li span { max-width: none; }
	.reassure .icon { width: 34px; height: 34px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s6); align-items: start; }
.form-panel--contact { grid-column: 1; box-shadow: var(--shadow); border: 1px solid var(--rule); padding: var(--s5); }
.form-panel__title { font-size: 1.6rem; margin: var(--s2) var(--s2) var(--s4); }
.contact-card { grid-column: 2; background: var(--ink); color: var(--white); border-radius: var(--r-panel); padding: var(--s6); }
.contact-card__title { color: var(--white); font-size: 1.6rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid rgba(255, 255, 255, .16); align-items: flex-start; }
.contact-list .icon { flex: none; color: var(--accent-on-dark); margin-top: 2px; }
.contact-list div { min-width: 0; overflow-wrap: anywhere; }
.contact-list__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #C5CAD0; font-weight: 700; }
.contact-list a { color: var(--accent-on-dark); font-weight: 700; }
.contact-list a:hover { color: var(--white); }
.contact-map__note { max-width: 60ch; color: var(--ink-soft); }
@media (max-width: 900px) {
	.contact-grid { grid-template-columns: minmax(0, 1fr); }
	.form-panel--contact, .contact-card { grid-column: 1; }
	.form-panel--contact { padding: var(--s2); }
}

/* ---------- Footer (10) ---------- */
.site-footer { background: #F0F1EF; border-top: 1px solid var(--rule); padding-top: var(--s8); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); max-width: calc(var(--wide) + 2 * var(--gutter)); }
.site-footer__brand { grid-column: 1; min-width: 0; }
.site-footer__cols { grid-column: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: var(--s6); min-width: 0; }
.lockup { display: inline-flex; align-items: center; gap: var(--s4); color: var(--ink); text-decoration: none; }
.lockup .mark { width: 84px; height: 84px; flex: none; }
.lockup__text { display: flex; flex-direction: column; }
.lockup__name { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.05; letter-spacing: -.01em; }
.lockup__place { color: var(--ink-soft); font-size: 1rem; margin-top: 4px; }
.lockup:hover { color: var(--ink); }
.site-footer__tag { margin-top: var(--s4); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.site-footer__contact { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.site-footer__contact li { margin-bottom: var(--s3); }
.site-footer__contact a { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__contact a:hover { color: var(--accent); }
.site-footer__contact .icon { flex: none; }
.fcol { min-width: 0; }
.fcol__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: var(--s3); }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin-bottom: 6px; line-height: 1.4; }
.fcol a { color: var(--ink); text-decoration: none; font-size: .98rem; }
.fcol a:hover { color: var(--accent); text-decoration: underline; }
.fcol__more a { color: var(--accent); font-weight: 700; }
.site-footer__bottom { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-top: var(--s7); padding-block: var(--s5); border-top: 1px solid #CDD1D0; font-size: .92rem; color: var(--ink-soft); }
.site-footer__copy { margin: 0 0 var(--s3); }
.site-footer__legal-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); margin: 0; }
.site-footer__legal-row a { color: var(--ink); }
@media (max-width: 1000px) {
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.site-footer__brand, .site-footer__cols { grid-column: 1; }
}
@media (max-width: 480px) {
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
	.lockup__name { font-size: 1.7rem; }
}

/* ---------- WhatsApp widget (§4g) ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s3); }
.wa__pill { display: inline-flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 10px 20px 10px 14px; border: 0; border-radius: 999px; background: var(--wa); color: var(--white); font: inherit; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); cursor: pointer; }
.wa__pill:hover { background: #156A3E; }
.wa__panel { width: min(360px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 120px)); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); box-shadow: var(--shadow); order: -1; }
.wa__panel[hidden] { display: none; }
.wa__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s3) var(--s4); background: var(--wa); color: var(--white); position: sticky; top: 0; }
.wa__title { margin: 0; font-weight: 700; color: var(--white); }
.wa__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--white); cursor: pointer; }
.wa__form { padding: var(--s4); display: flex; flex-direction: column; }
.wa__note { font-size: .92rem; color: var(--ink-soft); }
.wa__form label { font-size: .9rem; font-weight: 700; margin: var(--s2) 0 4px; }
.wa__form input, .wa__form select, .wa__form textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #B8BEC0; border-radius: var(--r-btn); background: var(--white); color: var(--ink); }
.wa__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: var(--s3); }
.wa__row > div { display: flex; flex-direction: column; min-width: 0; }
.btn--wa { margin-top: var(--s4); background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #156A3E; color: var(--white); }

/* ---------- Sticky mobile bar: from the first pixel ---------- */
.mobile-bar { display: none; }
@media (max-width: 899.98px) {
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 -4px 16px rgba(31, 35, 40, .08); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 700; }
	.mobile-bar a + a { border-left: 1px solid var(--rule); }
	.mobile-bar__quote { background: var(--accent); color: var(--white) !important; }
	.wa { right: 12px; bottom: 76px; }
	.wa__pill { padding: 10px 14px; min-height: 48px; }
	.wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	/* Fixed-bar clearance on the last band, never on body (§7c.4). */
	.site-footer__bottom { padding-bottom: calc(var(--s5) + 64px); }
}

/* ---------- Motion (CSS only; hidden states only under .js-motion) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-motion .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js-motion .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
	.site-header, .mobile-bar, .wa, .quote-band, .toc { display: none !important; }
}

/* ---------- Fidelity pass 1: large line icons keep a fine (~2px) stroke, as mocked ---------- */
.trust__list .icon, .proof__list .icon { stroke-width: 1.2; }
.process__icon { stroke-width: 1; }

/* WhatsApp pill tucks away over heroes and the quote form (site.js); an open panel always shows. */
.wa__pill { transition: opacity .2s, transform .2s, visibility 0s; }
.wa--tucked .wa__pill { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.wa--tucked .wa__pill[aria-expanded="true"] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* The reduced-motion rule above gives every element a .01ms transition, which leaves a
   freshly positioned Leaflet label mid-transition (at the pane origin) when map.js measures it
   for collisions, so every town label was dropped. The map never animates: no transitions. */
@media (prefers-reduced-motion: reduce) {
	.leaflet-container, .leaflet-container * { transition: none !important; }
}

/* ---------- Fidelity pass 1: proof labels on two lines, footer services column wide enough ---------- */
.proof__list li { padding: var(--s3) var(--s2); font-size: 1rem; }
.proof__title { padding-right: var(--s5); }
.proof__sign { padding-left: var(--s4); }
@media (min-width: 1001px) {
	.site-footer__cols { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

/* ---------- Fidelity pass 2 ---------- */
/* 01 header: slightly larger logo, visible hairline, bar stays <= 80px (§4a slim bar). */
:root { --header-h: 79px; } /* + 1px hairline = 80px total */
.site-header { border-bottom: 1px solid #CDD1CF; }
@media (min-width: 1241px) {
	.brand .mark { width: 64px; height: 64px; }
	.brand__name { font-size: 2.05rem; }
}
/* 02 hero: larger subline and buttons. */
@media (min-width: 761px) {
	.hero__lede { font-size: 1.32rem; max-width: 40ch; line-height: 1.5; }
	.hero .cta-row { gap: var(--s5); margin-top: var(--s6); }
	.hero .cta-row .btn { min-height: 58px; padding: 14px 36px; font-size: 1.15rem; }
}
/* 03 trust: wider text columns (two-line labels), more vertical padding. */
@media (min-width: 901px) {
	.trust__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); padding-block: clamp(56px, 6.5vw, 96px); }
	.trust__list li { gap: var(--s4); padding: var(--s4) var(--s5); font-size: 1.16rem; }
	.trust__list li:first-child { padding-left: 0; }
	.trust__list .icon { width: 60px; height: 60px; }
}
/* 04 problem: text on the wide grid line (mock gutter), larger heading. */
.problem .container { max-width: calc(var(--wide) + 2 * var(--gutter)); }
@media (min-width: 901px) {
	.problem h2 { font-size: clamp(2.3rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.1; }
	.problem__copy p { font-size: 1.2rem; }
}
/* 06 proof: content centred in a slightly taller card. */
@media (min-width: 1001px) {
	.proof__panel { padding-block: calc(var(--s7) + 8px); }
	.proof__list { align-self: center; }
	.proof__list li { justify-content: center; }
	.proof__title { align-self: center; }
}
/* 08 areas: soft pale green-grey map; OSM tiles recede so pin labels are the only prominent text. */
.areas-band__side h2 { font-size: clamp(2rem, 1.1rem + 1.8vw, 2.75rem); line-height: 1.12; }
@media (min-width: 901px) { .areas-band__side { padding-right: var(--s5); } }
.radius-map.leaflet-container, .radius-map { background: #E6EBE4; }
.radius-map .leaflet-tile-pane { filter: saturate(.35) contrast(.6) brightness(1.1) blur(1.6px); opacity: .38; }
.radius-map .leaflet-control-zoom { display: none; }
.radius-map .leaflet-control-attribution { font-size: 10px; line-height: 1.3; background: rgba(230, 235, 228, .8); color: #5A6068; padding: 0 5px; }
.radius-map .leaflet-control-attribution a { color: #3E4650; }

/* ==========================================================================
   Stage 4 templates: service hub (mockup/page-service) + area page (mockup/page-area)
   ========================================================================== */

/* Photo hero for inner pages: same scrim and type as the homepage hero, shorter. */
.hero--page { min-height: clamp(420px, 34vw, 560px); }
.hero--page .hero__media img { object-position: 62% 45%; }
.hero--page h1 { max-width: 20ch; font-size: clamp(2.3rem, 1.4rem + 2.8vw, 3.6rem); margin-bottom: var(--s4); }
.hero--page .hero__lede { max-width: 38ch; }
.on-dark .crumbs ol { color: rgba(255, 255, 255, .85); margin-bottom: var(--s5); }
.on-dark .crumbs a:not(.btn) { color: var(--white); text-decoration: none; }
.on-dark .crumbs a:not(.btn):hover { text-decoration: underline; }
.on-dark .crumbs li + li::before { color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) {
	.hero--page .hero__media { aspect-ratio: 16 / 10; }
	.hero--page h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 2.6rem); }
}

/* 03-fit: the published fit check. */
.fit { border-bottom: 1px solid var(--rule); background: var(--white); }
.fit__grid { max-width: calc(var(--wide) + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; }
.fit__copy { grid-column: 1; min-width: 0; }
.fit__copy h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.12; max-width: 16ch; }
.fit__copy p { font-size: 1.12rem; color: var(--ink-soft); max-width: 44ch; margin: 0; }
.fit__panel { grid-column: 2; min-width: 0; background: var(--surface-alt); border-radius: var(--r-card); padding: var(--s5); }
.fit-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); font-size: 1rem; line-height: 1.45; }
.fit-table caption { caption-side: top; text-align: left; font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); padding: 0 0 var(--s4); }
.fit-table th, .fit-table td { padding: var(--s4) var(--s5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.fit-table th { width: 40%; font-weight: 700; border-right: 1px solid var(--rule); }
.fit-table td { color: var(--ink-soft); }
.fit-table tr:last-child > * { border-bottom: 0; }
@media (max-width: 900px) {
	.fit__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.fit__copy, .fit__panel { grid-column: 1; }
	.fit__panel { padding: var(--s4); }
}
@media (max-width: 560px) {
	.fit-table, .fit-table tbody, .fit-table tr, .fit-table th, .fit-table td { display: block; width: 100%; }
	.fit-table th { border-right: 0; border-bottom: 0; padding-bottom: 4px; }
	.fit-table td { padding-top: 0; border-bottom: 0; }
	.fit-table tr { border-bottom: 1px solid var(--rule); }
	.fit-table tr:last-child { border-bottom: 0; }
}

/* 04-contents: the service dossier. The rail sits on a stone column, the chapters beside it. */
.dossier--service { padding-block: var(--band-tight) var(--band); background: var(--white); }
.dossier--service .dossier__grid { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-top: 0; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: var(--s8); }
.dossier--service .toc { background: var(--surface-alt); border: 0; padding: var(--s6) var(--s5); }
.dossier--service .toc__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; text-transform: none; letter-spacing: -.01em; color: var(--ink); }
.dossier--service .toc__list a { font-size: 1rem; padding-block: 9px; color: var(--ink); }
.dossier--service .dossier__body { max-width: 80ch; }
.dossier--service .dossier__lead--service { margin: 0 0 var(--s7); }
.dossier--service .chapter__num::after { display: none; }
.dossier--service .chapter h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); }
.dossier__stub { padding-block: var(--s6); }
@media (max-width: 1000px) { .dossier--service .dossier__grid { gap: var(--s5); } }

/* Pull line (guides, areas). */
.prose .pull { margin: var(--s7) 0; padding: var(--s5) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); line-height: 1.35; text-align: center; color: var(--ink); }

/* 05-process on inner pages: hairline top, compact. */
.process--page { padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }

/* 06-guides: the guides of this hub as compact photo cards, then its answers. */
.hub-guides { border-bottom: 1px solid var(--rule); }
.hub-guides .container { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.hub-guides__title { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: var(--s5); }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s4); }
.guide-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.guide-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--accent); }
.guide-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-alt); }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__title { display: block; padding: var(--s3) var(--s3) var(--s4); text-align: center; font-size: 1rem; line-height: 1.35; text-wrap: balance; }
.hub-answers { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--rule); }
.hub-answers__title { font-size: 1.5rem; margin-bottom: var(--s4); }
.hub-answers__list { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: var(--s6); }
.hub-answers__list li { break-inside: avoid; border-top: 1px solid var(--rule); }
.hub-answers__list a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; line-height: 1.4; }
.hub-answers__list a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 1100px) { .guide-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); } .guide-card__title { font-size: .95rem; } }

/* 07-faq: accordion on a stone panel. */
.faq { padding-block: var(--band-tight); }
.faq__wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.faq__panel { background: var(--surface-alt); border-radius: var(--r-card); padding: var(--s5); }
.faq__title { font-size: clamp(1.6rem, 1.3rem + .9vw, 2rem); margin-bottom: var(--s4); }
.faq__item { background: var(--white); border: 1px solid var(--rule); border-bottom-width: 0; }
.faq__item:first-of-type { border-radius: var(--r-card) var(--r-card) 0 0; }
.faq__item:last-of-type { border-bottom-width: 1px; border-radius: 0 0 var(--r-card) var(--r-card); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 12px var(--s4); min-height: 48px; cursor: pointer; list-style: none; font-size: 1.02rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--ink-soft); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 var(--s4) var(--s4); max-width: 80ch; }
.faq__answer p { margin: 0; color: var(--ink-soft); }

/* 03-profile (areas): housing / roof type / planning strip. */
.profile { background: var(--surface-alt); border-bottom: 1px solid var(--rule); }
.profile__list { margin: 0 auto; padding-block: clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: calc(var(--container) + 2 * var(--gutter)); }
.profile__item { display: flex; align-items: center; justify-content: center; gap: var(--s4); padding: var(--s2) var(--s5); border-left: 1px solid #C9CDCD; min-width: 0; }
.profile__item:first-child { border-left: 0; }
.profile__item .icon { flex: none; stroke-width: 1.2; color: var(--ink); }
.profile__item dt, .profile__item dd { margin: 0; font-size: 1.12rem; line-height: 1.4; color: var(--ink); }
@media (max-width: 760px) {
	.profile__list { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: var(--s4); }
	.profile__item { justify-content: flex-start; border-left: 0; border-top: 1px solid #C9CDCD; padding: var(--s3) 0; }
	.profile__item:first-child { border-top: 0; }
	.profile__item .icon { width: 44px; height: 44px; }
	.profile__item dt, .profile__item dd { font-size: 1rem; }
}

/* 04-chapter (areas): chapter one beside a framed photograph. */
.chapter-one { border-bottom: 1px solid var(--rule); }
.chapter-one__grid { position: relative; max-width: calc(var(--wide) + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.chapter-one__copy { grid-column: 1; grid-row: 1; min-width: 0; padding-left: clamp(0px, 6vw, 80px); }
.chapter-one__photo { grid-column: 2; grid-row: 1; margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.chapter-one__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow); }
.chapter-one--flip .chapter-one__copy { grid-column: 2; padding-left: 0; }
.chapter-one--flip .chapter-one__photo { grid-column: 1; }
.chapter-one__lead > p:first-child { font-size: 1.15rem; color: var(--ink); }
.chapter-one h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.7rem); }
@media (max-width: 900px) {
	.chapter-one__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.chapter-one__copy, .chapter-one--flip .chapter-one__copy { grid-column: 1; grid-row: 2; padding-left: 0; }
	.chapter-one__photo, .chapter-one--flip .chapter-one__photo { grid-column: 1; grid-row: 1; position: static; }
}

/* 05-chapter (areas): what usually fits here. */
.fits { border-bottom: 1px solid var(--rule); }
.fits__grid { position: relative; max-width: calc(var(--wide) + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; }
.fits__head { grid-column: 1; min-width: 0; padding-left: clamp(0px, 6vw, 80px); }
.fits__head h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.7rem); margin: 0 0 var(--s3); }
.fits__sub { color: var(--ink-soft); margin: 0; max-width: 36ch; }
.fits__list { grid-column: 2; min-width: 0; list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); }
.fits__list li + li { border-top: 1px solid var(--rule); }
.fits__list a { display: grid; grid-template-columns: minmax(0, 1.1fr) 72px minmax(0, 1.5fr); gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); color: var(--ink); text-decoration: none; }
.fits__list a:hover .fits__label { color: var(--accent); text-decoration: underline; }
.fits__label { font-size: 1rem; line-height: 1.35; }
.fits__glyph { display: flex; justify-content: center; align-items: center; align-self: stretch; padding-inline: var(--s3); border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); color: var(--ink); }
.fits__note { font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 900px) {
	.fits__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.fits__head, .fits__list { grid-column: 1; padding-left: 0; }
}
@media (max-width: 560px) {
	.fits__list a { grid-template-columns: 56px minmax(0, 1fr); gap: 4px var(--s3); }
	.fits__glyph { grid-row: 1 / span 2; grid-column: 1; border: 0; padding: 0; }
	.fits__label { grid-column: 2; font-weight: 700; }
	.fits__note { grid-column: 2; }
}

/* Later area chapters: the split standfirst variant (title left, text right). */
.chapter-split { position: relative; max-width: calc(var(--container) + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.chapter-split__title { grid-column: 1; position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.chapter-split__body { grid-column: 2; min-width: 0; }
@media (max-width: 900px) {
	.chapter-split { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
	.chapter-split__title { grid-column: 1; position: static; }
	.chapter-split__body { grid-column: 1; }
}
.chapters .ghost-num { top: 8px; font-size: clamp(6rem, 4rem + 8vw, 12rem); color: rgba(31, 35, 40, .055); }
@media (max-width: 760px) { .chapters .ghost-num { font-size: 6rem; } }

/* 06-nearby: chips + a small, muted map. */
.nearby { background: var(--white); border-top: 1px solid var(--rule); }
.nearby__head { padding-block: var(--s6) var(--s5); text-align: center; }
.nearby .nearby__title { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: var(--s4); }
.chip-list--center { justify-content: center; gap: var(--s3); }
.chip-list--center a { border-radius: var(--r-btn); padding: 10px 26px; font-size: 1rem; }
.area-map { height: 280px; background: #E6EBE4; border-top: 1px solid var(--rule); z-index: 1; }
.area-map .leaflet-tile-pane { filter: saturate(.3) contrast(.62) brightness(1.1); opacity: .5; }
.area-map .leaflet-control-attribution { font-size: 10px; background: rgba(230, 235, 228, .8); color: #5A6068; }
.area-map .leaflet-control-attribution a { color: #3E4650; }
.leaflet-tooltip.evl-tip--small { font-size: 14px; font-weight: 400; padding: 0; }
@media (max-width: 599.98px) {
	.area-map { height: 200px; }
	.area-map .leaflet-tooltip.evl-tip:not(.evl-tip--base) { display: none; }
}
@media (max-width: 560px) {
	.fit-table caption { display: block; width: 100%; font-size: 1.3rem; }
}
@media (max-width: 760px) {
	.chapters .ghost-num, .chapters--right .ghost-num { left: auto; right: var(--gutter); top: 4px; font-size: 4.5rem; color: rgba(31, 35, 40, .05); }
}

/* ==========================================================================
   Template Fidelity loop 1 (service + area)
   ========================================================================== */

/* Footer (every page): grey links with cobalt hover, tighter rows, larger darker contact icons,
   grey subline, one bottom row (Sitemap, copyright, credit). */
.lockup__place { color: var(--ink-soft); }
.fcol li { margin-bottom: 3px; line-height: 1.35; }
.fcol a { color: var(--ink-soft); }
.fcol a:hover { color: var(--accent); }
.site-footer__contact { margin-top: var(--s5); }
.site-footer__contact li { margin-bottom: var(--s2); }
.site-footer__contact .icon { width: 24px; height: 24px; color: var(--ink); stroke-width: 1.8; }
.site-footer__legal-row { align-items: center; gap: var(--s3) var(--s6); }
.site-footer__legal-row .site-footer__copy { margin: 0; flex: 1 1 320px; text-align: center; color: var(--ink-soft); }
.site-footer__legal-row a { color: var(--ink-soft); }
.site-footer__legal-row a:hover { color: var(--accent); }
@media (max-width: 700px) {
	.site-footer__legal-row .site-footer__copy { order: -1; flex-basis: 100%; text-align: left; }
}

/* Service 03-fit: warm ground, darker copy, roomier table. */
.fit { background: var(--surface); }
.fit__copy p { color: var(--ink); }
.fit-table { font-size: 1.0625rem; }
.fit-table th, .fit-table td { padding: 20px 28px; }
.fit-table th { font-weight: 600; font-size: 1.0625rem; }
.fit-table td { color: var(--ink); }
@media (max-width: 560px) { .fit-table th, .fit-table td { padding: 12px 16px; } .fit-table td { padding-top: 0; } }

/* Service 04-contents: the rail is a full-height stone column on the grid's left edge;
   the chapters open on 01; chapter 01's first photograph runs wide to the page edge. */
.dossier--service { padding-block: 0 var(--band); overflow-x: clip; }
.dossier--service .dossier__grid { align-items: stretch; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); column-gap: var(--s8); }
.dossier--service .toc-rail { grid-column: 1; grid-row: 1; background: var(--surface-alt); min-width: 0; }
.dossier--service .toc { position: sticky; top: var(--header-h); background: transparent; border: 0; border-radius: 0; padding: var(--s7) var(--s5) var(--s6); max-height: calc(100vh - var(--header-h)); }
.dossier--service .toc__title { font-size: 1.6rem; margin-bottom: var(--s4); }
.dossier--service .toc__list { margin: 0; }
.dossier--service .toc__list a { grid-template-columns: 44px minmax(0, 1fr); font-size: 1.02rem; padding-block: 10px; }
.dossier--service .toc__num { font-size: 1.3rem; line-height: 1.1; }
.dossier--service .dossier__body { grid-column: 2; grid-row: 1; padding-top: var(--s7); max-width: 86ch; }
.dossier--service .chapter--first > p:not(.chapter__num) { color: var(--ink); }
.dossier--service .chapter__num { font-size: 1.3rem; margin-bottom: var(--s3); }
.dossier--service .dossier__lead--after { margin: var(--s7) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--rule); }
.dossier--service .dossier__lead--after p:first-child { font-family: var(--font-body); font-size: 1.12rem; line-height: 1.65; }
@media (min-width: 1081px) {
	/* Body column starts at max(384px, 50vw - 316px): container, gutter, 280px rail, 64px gap. */
	.dossier--service .evl-figure--lead { width: calc(100vw - max(384px, 50vw - 316px)); max-width: none; margin: var(--s6) 0; }
	.dossier--service .evl-figure--lead img { border-radius: 0; aspect-ratio: 32 / 9; object-position: 50% 55%; }
}
@media (max-width: 1080px) {
	.dossier--service .dossier__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.dossier--service .toc-rail, .dossier--service .dossier__body { grid-column: 1; }
	.dossier--service .dossier__body { grid-row: 2; }
	.dossier--service .toc { position: static; max-height: none; padding: var(--s5); }
}

/* 05-process on service/area pages: warm ground, roomier. */
.process--page { background: var(--surface); padding-block: clamp(64px, 9vw, 132px); }

/* 06-guides: six cards, then the other guides and the answers as quiet titled lists. */
.guide-card__title { font-size: 1.05rem; }
.hub-more, .hub-answers { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--rule); }
.hub-more__title, .hub-answers__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-bottom: var(--s3); }
.hub-more__list, .hub-answers__list { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: var(--s6); }
.hub-more__list li, .hub-answers__list li { break-inside: avoid; border-top: 0; }
.hub-more__list a, .hub-answers__list a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.4; text-decoration: none; }
.hub-more__list a:hover, .hub-answers__list a:hover { color: var(--accent); text-decoration: underline; }

/* 07-faq: bold dark chevrons everywhere; service = full-width stone band; area = bare, large rows. */
.faq__item summary .icon { color: var(--ink); stroke-width: 3; width: 22px; height: 22px; }
.faq--band .faq__panel, .faq--bare .faq__panel { background: transparent; border-radius: 0; padding: 0; }
.faq--band { padding-block: clamp(40px, 5vw, 64px); }
.faq--band .faq__title { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.1rem); }
.faq--band .faq__item summary { font-size: 1.125rem; min-height: 56px; padding: 14px var(--s5); }
.faq--bare { background: var(--white); padding-block: clamp(40px, 5vw, 64px); }
.faq--bare .faq__panel { border: 1px solid #CDD1CF; border-radius: var(--r-card); overflow: hidden; }
.faq--bare .faq__item { border: 0; border-top: 1px solid #CDD1CF; border-radius: 0 !important; }
.faq--bare .faq__item:first-of-type { border-top: 0; }
.faq--bare .faq__item summary { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); min-height: 60px; padding: 18px 32px; }
.faq--bare .faq__item summary .icon { width: 26px; height: 26px; }
.faq--bare .faq__answer { padding: 0 32px 22px; }
@media (max-width: 560px) { .faq--bare .faq__item summary { padding: 14px 16px; } .faq--bare .faq__answer { padding: 0 16px 16px; } }

/* Area 03-profile: twice the height, 76px plain icons, label over value. */
.profile__list { padding-block: clamp(48px, 6.5vw, 92px); }
.profile__item { gap: var(--s5); }
.profile__item .icon { width: 76px; height: 76px; stroke-width: 1.1; }
.profile__item dt { font-size: 1.3rem; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.profile__item dd { display: block; font-size: 1.15rem; line-height: 1.45; color: var(--ink); max-width: 20ch; }
@media (max-width: 760px) {
	.profile__list { padding-block: var(--s5); }
	.profile__item .icon { width: 52px; height: 52px; }
	.profile__item dt { font-size: 1.12rem; }
	.profile__item dd { font-size: 1rem; max-width: none; }
}

/* Area 04-chapter: text left (ghost 01 behind the heading), photograph right and top-aligned,
   a one-sentence standfirst, and the rest of the chapter continuing full width below. */
.chapter-one__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; }
.chapter-one__copy { grid-column: 1; padding-left: clamp(0px, 5.5vw, 84px); }
.chapter-one__photo { grid-column: 2; position: static; }
.chapter-one__photo img { aspect-ratio: 3 / 2; }
.chapter-one__head { position: relative; margin-bottom: var(--s5); }
.chapters .chapter-one .ghost-num--inline { position: absolute; left: clamp(-100px, -6.5vw, 0px); top: -.3em; right: auto; font-size: clamp(9rem, 5rem + 9vw, 15rem); color: rgba(31, 35, 40, .06); z-index: 0; }
.chapter-one__head h2 { position: relative; z-index: 1; margin: 0; padding-top: clamp(8px, 1.2vw, 20px); font-size: clamp(2.3rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.08; text-wrap: balance; }
.prose .chapter-one__standfirst { font-size: 1.25rem; line-height: 1.5; color: var(--ink); margin-bottom: var(--s5); }
.chapter-one__copy > p:not(.chapter-one__standfirst) { color: var(--ink-soft); }
.chapter-one__more { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-top: var(--s7); padding-left: calc(var(--gutter) + clamp(0px, 5.5vw, 84px)); columns: 2 360px; column-gap: clamp(40px, 5vw, 80px); color: var(--ink-soft); }
.chapter-one__more > * { break-inside: avoid; }
.chapter-one__more > :first-child { margin-top: 0; }
@media (max-width: 900px) {
	.chapter-one__copy { grid-row: 2; padding-left: 0; }
	.chapter-one__photo { grid-row: 1; }
	.chapters .chapter-one .ghost-num--inline { left: auto; right: 0; top: -.1em; font-size: 5rem; }
	.chapter-one__more { padding-left: var(--gutter); columns: auto; margin-top: var(--s4); }
}

/* Area 05-chapter: larger heading, larger line icons. */
.fits__head h2 { font-size: clamp(2.3rem, 1.4rem + 2.2vw, 3.15rem); line-height: 1.08; }
.fits__list a { grid-template-columns: minmax(0, 1.1fr) 112px minmax(0, 1.5fr); padding-block: 22px; }
.fits__glyph .fit-glyph { width: 76px; height: 64px; stroke-width: 1.1; }
.fits__label { font-size: 1.05rem; }
@media (max-width: 560px) {
	.fits__list a { grid-template-columns: 64px minmax(0, 1fr); }
	.fits__glyph .fit-glyph { width: 56px; height: 47px; }
}

/* Area 06-nearby: cream heading band; a 300px map centred on the town, one cobalt pin, clean labels. */
.nearby { background: var(--surface); }
.area-map { height: 300px; background: #ECEEEA; }
.area-map .leaflet-tile-pane { filter: grayscale(.75) contrast(.8) brightness(1.1); opacity: .85; }
.evl-maplabel { background: none; border: 0; width: auto !important; height: auto !important; }
.evl-maplabel span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 2px #fff; cursor: pointer; }
.evl-maplabel--base span { font-size: 17px; font-weight: 700; cursor: default; }
.area-map .leaflet-tooltip.evl-tip--base { font-size: 17px; }
@media (max-width: 599.98px) { .area-map { height: 240px; } .evl-maplabel span { font-size: 13px; } }
/* Footer greys: neutral, not blue-grey (AA on the footer ground: #4D5054 ~7.4:1). */
.lockup__place, .fcol a, .site-footer__legal-row a, .site-footer__legal-row .site-footer__copy { color: #4D5054; }
.fcol a:hover, .site-footer__legal-row a:hover { color: var(--accent); }
.fit__copy p { font-size: 1.2rem; }
.faq--band .faq__item summary .icon { width: 26px; height: 26px; }
.site-footer__legal-row a { text-decoration: none; } .site-footer__legal-row a:hover { text-decoration: underline; }

/* ==========================================================================
   The roof guide (homepage long read). The index is a run of roof bays between
   trusses at even centres; each chapter is its own spread; photographs break the
   read; a slim bar tracks the chapter in view. Nothing is hidden or revealed.
   ========================================================================== */
.guide { --bar-h: 52px; background: var(--white); }
.guide__open { background: var(--ink); padding-block: clamp(64px, 9vw, 128px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.guide__open::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(157, 182, 242, .5), transparent); }
.guide__open-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.guide__title { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: var(--s6); max-width: 14ch; }
.guide__meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0; font-size: var(--small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.guide__meta span { color: var(--accent-on-dark); }
.guide__meta span + span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: rgba(255, 255, 255, .35); vertical-align: middle; margin-right: var(--s5); }
.guide__lead p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.guide__lead p:first-child { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.42; color: var(--white); }
.guide__lead > :last-child { margin-bottom: 0; }

/* Bays: the chapter index. */
.bays { background: var(--surface); padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.bays__roof { display: block; width: 100%; height: clamp(28px, 4vw, 52px); overflow: visible; }
.bays__roof path { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.bays__roof line { stroke: #C9B994; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.bays__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1.5px solid #C9B994; }
.bay { border-right: 1.5px solid #C9B994; border-bottom: 1px solid var(--rule); }
.bay a { display: flex; flex-direction: column; gap: var(--s2); height: 100%; min-height: 188px; padding: var(--s5); color: var(--ink); text-decoration: none; position: relative; transition: background-color .25s ease; }
.bay a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.bay a:hover, .bay a:focus-visible { background: var(--white); color: var(--ink); }
.bay a:hover::after, .bay a:focus-visible::after { transform: scaleX(1); }
.bay__num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.bay__title { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.22; flex: 1; }
.bay__time { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.bay--cta a { background: var(--accent); color: var(--white); }
.bay--cta a:hover, .bay--cta a:focus-visible { background: var(--accent-deep); color: var(--white); }
.bay--cta a::after { display: none; }
.bay--cta .bay__num { -webkit-text-stroke: 0; color: var(--white); }
.bay--cta .bay__time { color: rgba(255, 255, 255, .85); }

/* Reading bar. */
.guide__bar { position: sticky; top: var(--header-h); z-index: 40; height: var(--bar-h); margin-bottom: calc(-1 * var(--bar-h)); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.guide.is-reading .guide__bar { opacity: 1; visibility: visible; }
.guide__bar-inner { display: flex; align-items: center; gap: var(--s4); height: 100%; }
.guide__bar-num { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); }
.guide__bar-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; font-size: .95rem; }
.guide__bar-link { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.guide__bar-fill { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* Spreads. */
.spread { padding-block: clamp(72px, 9vw, 136px); background: var(--white); }
.spread--alt { background: var(--surface); }
.spread__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.spread__side { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 32px); }
.spread__num { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 7vw, 9.5rem); line-height: .8; margin: 0 0 var(--s5); color: transparent; -webkit-text-stroke: 1.5px var(--accent); letter-spacing: -.03em; }
.spread__side h2 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem); line-height: 1.08; letter-spacing: -.015em; margin-bottom: var(--s5); }
.spread__stand { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.45; color: var(--ink-soft); padding-left: var(--s5); border-left: 2px solid var(--accent); }
.spread__time { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: var(--s5) 0 0; }
.spread__body { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; }
.spread__body > p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 4.2em; line-height: .82; padding: .06em .1em 0 0; color: var(--accent); }
.spread__body h3 { font-size: 1.55rem; margin-top: var(--s7); }

/* Blocks inside a spread. */
.spread .tablewrap { border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: transparent; margin-block: var(--s7); }
.spread .tablewrap caption { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; padding: var(--s4) 0; }
.spread .tablewrap thead th { background: transparent; color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--ink); }
.spread .tablewrap tbody th { background: transparent; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
@media (max-width: 640px) { .spread .tablewrap tbody th { color: var(--ink); border-bottom: 1px solid var(--rule); } }
.spread .tablewrap tbody tr { transition: background-color .2s ease; }
.spread .tablewrap tbody tr:hover { background: rgba(43, 85, 201, .05); }
.spread .tablewrap th, .spread .tablewrap td { padding: 16px 18px 16px 0; }
.spread .prose ol.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-block: var(--s7); }
.spread .prose ol.steps > li { margin: 0; padding: 64px var(--s5) var(--s5); border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--white); font-size: 1rem; line-height: 1.6; }
.spread .prose ol.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.spread .prose ol.steps > li::before { left: var(--s5); top: var(--s5); width: auto; height: auto; border-radius: 0; background: none; color: var(--accent); font-size: 2rem; line-height: 1; content: counter(step, decimal-leading-zero); }
.spread .prose ol.steps > li strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin-bottom: var(--s2); color: var(--ink); }
.spread .prose .callout { margin-block: var(--s7); padding: clamp(28px, 4vw, 44px); background: var(--ink); border: 0; border-radius: var(--r-panel); color: rgba(255, 255, 255, .82); }
.spread .prose .callout p { color: rgba(255, 255, 255, .82); }
.spread .prose .callout p:first-child { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--white); }
.spread .prose .callout strong { color: var(--accent-on-dark); font-weight: 600; }
.spread .prose .callout a { color: var(--accent-on-dark); }
.spread .prose .fact { margin-block: var(--s7); padding: var(--s6); border: 1px solid #BFCBEA; border-radius: var(--r-card); background-color: #F3F6FD; background-image: linear-gradient(rgba(43, 85, 201, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 85, 201, .07) 1px, transparent 1px); background-size: 24px 24px; }
.spread .prose .fact::before { content: "On the ground"; display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }

/* The questions chapter: every answer visible, laid out as cards. */
.spread--qa .spread__body { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); align-content: start; }
.spread--qa .spread__body > :not(.qa-card) { grid-column: 1 / -1; }
.qa-card { padding: var(--s5); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); font-size: 1rem; line-height: 1.6; }
.qa-card h3 { margin: 0 0 var(--s3); font-size: 1.3rem; }
.qa-card > :last-child { margin-bottom: 0; }
.spread--qa .spread__body > p:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; font-family: inherit; }

/* Photographic breaks. */
.guide-break { position: relative; margin: 0; height: clamp(320px, 62vh, 640px); overflow: hidden; background: var(--ink); }
.guide-break img { width: 100%; height: 100%; object-fit: cover; }
.guide-break__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 48px) 0; background: linear-gradient(0deg, rgba(20, 23, 27, .78), rgba(20, 23, 27, 0)); }
.guide-break__cap a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
.guide-break__cap a span { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-dark); }
.guide-break__cap a:hover { color: var(--white); text-decoration: underline; text-decoration-thickness: 1px; }

@media (max-width: 1080px) {
	.bays__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.guide__open-grid, .spread__grid { grid-template-columns: minmax(0, 1fr); }
	.spread__side { position: static; }
	.spread__num { font-size: 5.2rem; margin-bottom: var(--s4); }
	.bays__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bay a { min-height: 150px; padding: var(--s4); }
	.bay__num { font-size: 2rem; }
	.bay__title { font-size: 1.12rem; }
	.spread .prose ol.steps, .spread--qa .spread__body { grid-template-columns: minmax(0, 1fr); }
	.guide { --bar-h: 44px; }
}
@media (max-width: 480px) {
	.bay--cta { grid-column: 1 / -1; }
	.bay--cta a { min-height: 0; }
	.spread__body { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
	.bay a, .bay a::after, .guide__bar { transition: none; }
}
@media print { .guide__bar, .guide-break { display: none !important; } .spread__side { position: static; } }

/* Decorative chapter numerals drawn by CSS, so no hidden text node is judged for contrast. */
.ghost-num::before { content: attr(data-n); }
.profile__item dl { margin: 0; }

/* Detail band, service-page wording: an "On this page" label over the roof line, arrows in the bays, a survey link under each heading. */
.bays__label { font-size: var(--small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--s3); }
.bay__go { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); transition: transform .25s ease; }
.bay a:hover .bay__go, .bay a:focus-visible .bay__go { transform: translateX(4px); }
.bay--cta .bay__go { color: rgba(255, 255, 255, .9); }
.spread__cta { margin: var(--s5) 0 0; font-size: .95rem; font-weight: 700; }
.spread__cta .text-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.spread--nostand .spread__side h2 { margin-bottom: var(--s3); }
.dossier__stub { padding-block: var(--band); }
@media (prefers-reduced-motion: reduce) { .bay__go { transition: none; } }
.guide__open-grid { align-items: center; }
.guide__meta { flex-direction: column; gap: var(--s2); }
.guide__meta span + span::before { content: none; }
.guide__meta span::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--accent-on-dark); vertical-align: middle; margin-right: var(--s3); }
.bay a { min-height: 156px; }
@media (max-width: 860px) { .bay a { min-height: 128px; } }

/* ---------- Diagrams (parts/diagrams/*.php): numbered markers in the drawing, the words in an HTML key ---------- */
.diagram { margin: var(--s7) 0; padding: clamp(16px, 3vw, 32px); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); }
.diagram__svg { display: block; width: 100%; height: auto; }
.diagram__cap { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.diagram__title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; margin: 0 0 var(--s3); color: var(--ink); }
.diagram__title::before { content: "Diagram"; display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.diagram__key { list-style: none; counter-reset: dk; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s5); font-size: .95rem; line-height: 1.45; }
.diagram__key li { counter-increment: dk; position: relative; padding-left: 34px; margin: 0; }
.diagram__key li::before { content: counter(dk); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.prose .diagram__key li::marker { content: none; }
@media (max-width: 640px) { .diagram__key { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Info pages (guides and answers): the editorial treatment.
   ========================================================================== */

/* Guide hero: full-bleed photograph with a graphite scrim. */
.ghero { position: relative; min-height: clamp(460px, 68vh, 680px); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.ghero__media { position: absolute; inset: 0; }
.ghero__media img { width: 100%; height: 100%; object-fit: cover; }
.ghero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 23, 27, .92) 0%, rgba(20, 23, 27, .62) 45%, rgba(20, 23, 27, .18) 100%); }
.ghero__inner { position: relative; z-index: 1; padding-block: clamp(96px, 12vw, 160px) clamp(40px, 5vw, 64px); }
.ghero h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; margin-bottom: var(--s5); }
.ghero__lede { max-width: 58ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .86); margin-bottom: var(--s6); }
.ghero__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.ghero__meta li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.ghero__meta .icon { width: 16px; height: 16px; color: var(--accent-on-dark); }
.ghero .crumbs ol, .ghero .crumbs a { color: rgba(255, 255, 255, .78); }
.ghero .crumbs li + li::before { color: rgba(255, 255, 255, .45); }

/* Guide lead: the opening paragraphs in display type on white. */
.glead { background: var(--white); padding-block: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.glead__inner { max-width: calc(64ch + 2 * var(--gutter)); }
.glead__inner > p:first-child { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.45; color: var(--ink); }
.glead__inner > p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 3.6em; line-height: .8; padding: .08em .1em 0 0; color: var(--accent); }
.guide--info .bays { background: var(--white); border-bottom: 0; padding-top: var(--s5); }
.guide--info .spread:first-of-type { border-top: 1px solid var(--rule); }
.spread__time { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: var(--s5) 0 0; }

/* Survey panel after the guide. */
.gcta { background: var(--white); }
.gcta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s7); padding: clamp(32px, 5vw, 56px); background: var(--ink); border-radius: var(--r-panel); background-image: linear-gradient(120deg, rgba(43, 85, 201, .28), rgba(43, 85, 201, 0) 60%); }
.gcta__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.2; max-width: 26ch; margin: 0; color: var(--white); }
.gcta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); }
.gcta__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }

/* Infographics (HTML, so they read on a phone). */
.infographic { margin: var(--s7) 0; padding: clamp(20px, 3.5vw, 36px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-panel); }
.spread--alt .infographic { background: var(--white); }
.infographic__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.infographic__title { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.25; margin: 0 0 var(--s5); color: var(--ink); }
.ig-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); counter-reset: none; position: relative; }
.ig-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 42px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); }
.prose .ig-steps > li { margin: 0; }
.ig-step { position: relative; padding: 0; }
.ig-step__num { position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: .95rem; color: var(--ink-soft); }
.ig-step__icon { position: relative; display: block; width: 64px; height: 64px; padding: 12px; margin: 18px 0 var(--s3); border-radius: 50%; background: var(--white); border: 2px solid var(--accent); color: var(--accent); }
.ig-step__title { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0 0 4px; color: var(--ink); }
.ig-step__text { font-size: .9rem; line-height: 1.5; margin: 0; color: var(--ink-soft); }
.ig-path { list-style: none; margin: 0; padding: 0; }
.prose .ig-path > li { margin: 0; }
.ig-q { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); position: relative; padding-bottom: var(--s5); }
.ig-q:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--rule); }
.ig-q__num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.3rem; }
.ig-q__ask { font-weight: 700; font-size: 1.05rem; margin: 8px 0 var(--s3); color: var(--ink); }
.ig-q__outs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.ig-q__yes, .ig-q__no { margin: 0; padding: 12px 14px; border-radius: var(--r-card); font-size: .92rem; line-height: 1.5; }
.ig-q__yes { background: #E8EEFB; border-left: 3px solid var(--accent); color: var(--ink); }
.ig-q__no { background: var(--white); border: 1px solid var(--rule); color: var(--ink-soft); }
.infographic__note { font-size: .85rem; color: var(--ink-soft); margin-top: var(--s2); }

/* Answer hero: the question, the short answer and a photograph. */
.ahero { position: relative; background: var(--surface-alt); overflow: hidden; padding-block: clamp(40px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.ahero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ahero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.015em; margin-bottom: var(--s5); }
.answer-card { position: relative; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); background: var(--white); border-radius: var(--r-panel); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.answer-card__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s3); }
.answer-card__text { font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.5; color: var(--ink); margin: 0; }
.ahero__photo { margin: 0; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.ahero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Answer body with its sticky side panel. */
.abody { background: var(--white); padding-block: clamp(48px, 6vw, 88px); }
.abody__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.abody__main { max-width: 72ch; font-size: 1.08rem; line-height: 1.75; }
.abody__lead > p:first-child { font-size: 1.2rem; color: var(--ink); }
.asec { padding-top: var(--s6); margin-top: var(--s6); border-top: 1px solid var(--rule); }
.asec:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.asec h2 { display: flex; align-items: baseline; gap: var(--s3); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 0; }
.asec__num { font-family: var(--font-display); font-size: .7em; color: transparent; -webkit-text-stroke: 1px var(--accent); flex: none; }
.abody__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s4); }
.aside-card { display: block; padding: var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-panel); color: var(--ink); text-decoration: none; }
.aside-card__kicker { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s3); }
.aside-card--toc ol { list-style: none; margin: 0; padding: 0; counter-reset: at; }
.aside-card--toc li { counter-increment: at; margin: 0; }
.aside-card--toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 7px 0; font-size: .93rem; line-height: 1.35; color: var(--ink-soft); text-decoration: none; border-top: 1px solid var(--rule); }
.aside-card--toc li:first-child a { border-top: 0; }
.aside-card--toc a::before { content: counter(at, decimal-leading-zero); font-family: var(--font-display); color: var(--accent); }
.aside-card--toc a:hover { color: var(--accent); }
.aside-card--guide { padding: 0; overflow: hidden; background: var(--white); transition: box-shadow .25s ease, transform .25s ease; }
.aside-card--guide:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.aside-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.aside-card__media img { width: 100%; height: 100%; object-fit: cover; }
.aside-card--guide .aside-card__kicker { padding: var(--s4) var(--s5) 0; margin-bottom: 6px; }
.aside-card__title { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; color: inherit; margin: 0; }
.aside-card--guide .aside-card__title { padding: 0 var(--s5) var(--s5); }
.aside-card--cta { background: var(--ink); border-color: var(--ink); }
.aside-card--cta p { font-size: .95rem; color: rgba(255, 255, 255, .8); }
.aside-card--cta .aside-card__title { color: var(--white); margin-bottom: var(--s2); }

/* Keep reading: guide cards with photographs, then question links. */
.keep__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: var(--s6); }
.keep__guides { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.keep-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.keep-card a:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.keep-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.keep-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.keep-card a:hover .keep-card__media img { transform: scale(1.04); }
.keep-card__kicker { display: block; padding: var(--s4) var(--s5) 4px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.keep-card__title { display: block; padding: 0 var(--s5) var(--s5); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; }
.keep__answers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); }
.keep__answers a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; align-items: center; gap: var(--s3); padding: var(--s4); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.keep__answers a:hover { border-color: var(--accent); color: var(--accent); }
.keep__q { width: 34px; height: 34px; border-radius: 50%; background: #E8EEFB; color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; }
.keep__answers .icon { color: var(--accent); }
.keep__hub { margin: var(--s6) 0 0; font-weight: 700; }

@media (max-width: 1000px) {
	.ig-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ig-steps::before { left: 31px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); }
	.ig-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--s4); padding-bottom: var(--s4); }
	.ig-step__num { display: none; }
	.ig-step__icon { grid-row: 1 / span 2; margin: 0; }
	.ig-step__title { margin-top: 10px; }
	.abody__grid { grid-template-columns: minmax(0, 1fr); }
	.abody__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aside-card--toc { display: none; }
}
@media (max-width: 860px) {
	.ahero__grid { grid-template-columns: minmax(0, 1fr); }
	.ahero__photo { aspect-ratio: 16 / 10; order: -1; }
	.keep__guides, .keep__answers { grid-template-columns: minmax(0, 1fr); }
	.ig-q__outs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.abody__side { grid-template-columns: minmax(0, 1fr); }
	.ghero { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
	.keep-card a, .keep-card__media img, .aside-card--guide { transition: none; }
}
.ig-steps::before { right: calc(20% - 10px); }
.ahero { background: linear-gradient(180deg, var(--surface-alt), var(--surface)); }

/* ==========================================================================
   Guide pages: "journal" treatment. Its own language: masthead + inset cover,
   a slim chapter rail with a reading line, one serif reading column, numbered figures.
   ========================================================================== */
.jr-mast { background: var(--white); padding-top: clamp(32px, 5vw, 64px); }
.jr-mast__inner { max-width: calc(860px + 2 * var(--gutter)); }
.jr-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s5); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.jr-tag span { padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--white); letter-spacing: .1em; }
.jr-title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 var(--s5); font-weight: 500; }
.jr-standfirst { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.45; color: var(--ink-soft); max-width: 44ch; margin: 0 0 var(--s6); }
.jr-byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: .92rem; }
.jr-byline__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.jr-byline__who { display: flex; flex-direction: column; line-height: 1.3; color: var(--ink-soft); }
.jr-byline__who strong { color: var(--ink); }
.jr-byline__meta { margin-left: auto; font-weight: 700; color: var(--ink-soft); }
.jr-cover { margin: clamp(28px, 4vw, 48px) auto 0; }
.jr-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-panel); }
.jr-cover figcaption { padding: var(--s3) 0 0; font-size: .85rem; color: var(--ink-soft); }

.jr { background: var(--white); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.jr__grid { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Chapter rail: numbers on a thin reading line. */
.jr-rail { position: sticky; top: calc(var(--header-h) + 32px); display: grid; grid-template-columns: 2px minmax(0, 1fr); gap: 0 var(--s4); }
.jr-rail__line { grid-column: 1; grid-row: 1; position: relative; background: var(--rule); border-radius: 2px; }
.jr-rail__fill { position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--jp, 0) * 100%); background: var(--accent); border-radius: 2px; }
.jr-rail__box { grid-column: 2; grid-row: 1; }
.jr-rail__label { list-style: none; cursor: default; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s3); }
.jr-rail__label::-webkit-details-marker { display: none; }
.jr-rail__list { list-style: none; margin: 0; padding: 0; }
.jr-rail__list li { margin: 0; }
.jr-rail__list a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px; padding: 6px 0; font-size: .88rem; line-height: 1.35; color: var(--ink-soft); text-decoration: none; }
.jr-rail__n { font-family: var(--font-display); font-size: 1rem; color: #9AA0A6; }
.jr-rail__list a:hover { color: var(--ink); }
.jr-rail__list a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.jr-rail__list a[aria-current="true"] .jr-rail__n { color: var(--accent); }

/* Reading column: serif body, editorial rhythm. */
.jr-read { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.68; color: #2A2F35; min-width: 0; }
.jr-read p, .jr-read li { font-family: var(--font-display); }
.jr-read a:not(.btn) { color: var(--accent); text-decoration-color: rgba(43, 85, 201, .4); text-decoration-thickness: 1.5px; text-underline-offset: .16em; }
.jr-lead > p:first-child { font-size: 1.55rem; line-height: 1.5; color: var(--ink); }
.jr-lead > p:first-child::first-line { font-variant: small-caps; letter-spacing: .02em; }
.jr-ch { margin-top: clamp(48px, 6vw, 80px); }
.jr-ch__label { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s2); display: flex; align-items: center; gap: var(--s3); }
.jr-ch__label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.jr-ch h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 var(--s5); font-weight: 500; }
.jr-ch h3 { font-size: 1.5rem; margin: var(--s6) 0 var(--s3); }
.jr-read ul, .jr-read ol { padding-left: 1.2em; }
.jr-read li { margin-bottom: var(--s2); }
.jr-read .standfirst { font-style: italic; color: var(--ink-soft); }

/* Blocks inside the reading column, all in the journal voice. */
.jr-read .tablewrap { font-family: var(--font-body); margin: var(--s6) 0; border: 0; background: transparent; border-radius: 0; }
.jr-read .tablewrap table { font-size: .98rem; }
.jr-read .tablewrap caption { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; padding: 0 0 var(--s3); }
.jr-read .tablewrap thead th { background: transparent; color: var(--ink); border-bottom: 2px solid var(--ink); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.jr-read .tablewrap tbody th { background: transparent; }
.jr-read .tablewrap tbody tr:nth-child(odd) { background: var(--surface); }
@media (max-width: 640px) { .jr-read .tablewrap tbody th { color: var(--ink); border-bottom: 1px solid var(--rule); } }
.jr-read ol.steps { list-style: none; padding: 0; margin: var(--s6) 0; counter-reset: js; border-left: 2px solid var(--rule); }
.jr-read ol.steps > li { counter-increment: js; position: relative; padding: 0 0 var(--s5) var(--s6); margin: 0; border: 0; font-size: 1.15rem; }
.jr-read ol.steps > li::before { content: counter(js); position: absolute; left: -15px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-body); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.jr-read .callout { position: relative; margin: var(--s6) 0; padding: var(--s5) var(--s5) var(--s5) 64px; background: #FBF6EA; border: 0; border-left: 0; border-radius: var(--r-card); font-size: 1.18rem; }
.jr-read .callout::before { content: "!"; position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: #C9A24A; color: var(--white); font-family: var(--font-body); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.jr-read .callout > :last-child, .jr-read .fact > :last-child { margin-bottom: 0; }
.jr-read .fact { margin: var(--s6) 0; padding: var(--s5); background: var(--white); border: 1px solid var(--rule); border-left: 0; border-top: 4px solid var(--accent); border-radius: var(--r-card); box-shadow: var(--shadow); font-size: 1.15rem; }
.jr-read .fact::before { content: "Local note"; display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.jr-read .pull { position: relative; margin: var(--s7) 0; padding: var(--s2) 0 0 var(--s7); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-style: italic; line-height: 1.35; color: var(--ink); border: 0; }
.jr-read .pull::before { content: "\201C"; position: absolute; left: 0; top: -18px; font-size: 5rem; line-height: 1; color: var(--accent); font-style: normal; }
.jr-read figure:not(.diagram):not(.infographic):not(.jr-photo) { margin: var(--s6) -40px; }
.jr-read figure:not(.diagram):not(.infographic):not(.jr-photo) img { border-radius: var(--r-card); }

/* Numbered figures, wider than the text. */
.jr-fig { position: relative; margin: clamp(40px, 5vw, 64px) -60px; font-family: var(--font-body); }
.jr-fig::before { content: attr(data-fig); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--s2) 4px; }
.jr-fig .diagram, .jr-fig .infographic { margin: 0; }
.jr-fig .diagram__title::before, .jr-fig .infographic__kicker { display: none; }
.jr-photo { margin: clamp(40px, 5vw, 64px) -60px; }
.jr-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-panel); }
.jr-photo figcaption { font-family: var(--font-body); font-size: .88rem; color: var(--ink-soft); padding-top: var(--s3); }
.jr-photo figcaption span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; color: var(--ink-soft); margin-right: 6px; }

/* End matter. */
.jr-about { margin-top: clamp(56px, 7vw, 88px); padding: var(--s6); background: var(--surface); border-radius: var(--r-panel); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
.jr-about p { font-family: var(--font-body); }
.jr-about__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s2); }
.jr-about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin: var(--s4) 0 0; }
.jr-about__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
	.jr-fig, .jr-photo, .jr-read figure:not(.diagram):not(.infographic):not(.jr-photo) { margin-left: 0; margin-right: 0; }
}
@media (max-width: 960px) {
	.jr__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
	.jr-rail { position: static; display: block; }
	.jr-rail__line { display: none; }
	.jr-rail__box { border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s4); background: var(--surface); }
	.jr-rail__label { cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
	.jr-rail__label::after { content: "+"; font-size: 1.1rem; }
	.jr-rail__box[open] .jr-rail__label::after { content: "\2212"; }
	.jr-rail__box[open] .jr-rail__label { margin-bottom: var(--s3); }
	.jr-read { font-size: 1.2rem; }
	.jr-byline__meta { margin-left: 0; width: 100%; }
}
.jr-rail__n { color: #6B7178; }
/* Journal rail fits any screen height and scrolls itself to keep the current chapter in view. */
.jr-rail { max-height: calc(100vh - var(--header-h) - 64px); }
.jr-rail__box { max-height: calc(100vh - var(--header-h) - 64px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 6px; }
.jr-rail__list a { padding: 5px 0; }
/* Buttons inside the reading column keep their own colours (the column's link colour must not reach them). */
.jr-read a.btn { text-decoration: none; }
.jr-read a.btn--primary, .jr-read a.btn--primary:hover, .jr-read a.btn--primary:focus-visible { color: var(--white); }
@media (max-width: 960px) { .jr-rail, .jr-rail__box { max-height: none; overflow: visible; } }
