/* Avon Skylights Bristol. Bath stone and an open sash: daylight and moving air, photographed calmly. */

/* ---------- Fonts (self-hosted woff2, Fontshare) ---------- */
@font-face { font-family: "Sentient"; src: url("../fonts/sentient-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("../fonts/sentient-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("../fonts/sentient-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("../fonts/sentient-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--ground: #F6F3EC;
	--panel: #FFFFFF;
	--stone: #ECE5D8;
	--pine: #15372D;
	--pine-deep: #1A3B31;
	--ink: #1F2A26;
	--ink-soft: #4E5A55;
	--air: #A9CCDD;
	--air-soft: #DEEAEE;
	--line: #D9D3C7;
	--cream: #F3EEE4;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
	--sec: clamp(64px, 8vw, 112px);
	--sec-tight: clamp(40px, 5vw, 64px);
	--prose: 37em;
	--std: 1160px;
	--wide: 1320px;
	--gut: clamp(16px, 4vw, 40px);
	--r: 4px;
	--head-h: 64px;

	--f-display: "Sentient", Georgia, "Times New Roman", serif;
	--f-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
	--t-h1: clamp(40px, 5vw, 64px);
	--t-h2: clamp(30px, 3.4vw, 42px);
	--t-h3: clamp(20px, 1.9vw, 25px);
	--t-body: 17px;
	--t-small: 15px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f-body); font-size: var(--t-body); line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--pine); text-decoration-color: var(--air); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--pine); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--cream); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; color: var(--pine); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 var(--s4); }
h3 { font-size: var(--t-h3); line-height: 1.25; }
p { margin: 0 0 var(--s4); }
ul, ol { padding: 0; margin: 0; }
main { display: block; }
main:focus { outline: none; }
.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: 16px; top: -60px; z-index: 200; background: var(--pine); color: var(--cream); padding: 10px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--std) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: calc(var(--prose) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

.kicker { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s3); }
.sh { font-size: var(--t-h2); }
.sh::after { content: ""; display: block; width: 40px; height: 3px; background: var(--air); margin-top: var(--s4); }
.sec-lede { color: var(--ink-soft); max-width: 60ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.link-arrow .ico { width: 20px; height: 20px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.ico { width: 40px; height: 40px; flex: none; color: var(--pine); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); font-family: var(--f-body); font-size: 16px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn .ico { width: 20px; height: 20px; color: currentColor; }
.btn-pine { background: var(--pine); color: var(--cream); }
.btn-pine:hover { background: #0E2A21; }
.btn-line { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-line:hover { background: var(--panel); }
.btn-air { background: var(--air); color: var(--pine); min-height: 44px; padding: 10px 18px; }
.btn-air:hover { background: #95BED2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* ---------- Header: a flat bar, never a floating card ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ground); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: var(--s5); min-height: var(--head-h); max-width: calc(var(--wide) + 2 * var(--gut)); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--pine); flex: none; }
.logo-mark { width: 50px; height: 34px; color: var(--pine); }
.brand-word { font-family: var(--f-display); font-size: 27px; line-height: 1; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 12px; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; border-radius: var(--r); }
.nav-list > li > a:hover, .nav-list > li.is-current > a { color: var(--pine); text-decoration: underline; text-decoration-color: var(--air); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--r); }
.sub-toggle .chev { width: 16px; height: 16px; transition: transform .2s; color: currentColor; }
.has-sub.is-open .sub-toggle .chev { transform: rotate(180deg); }
.sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 280px; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -20px rgba(21, 55, 45, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 110; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: 15px; border-radius: var(--r); }
.sub a:hover { background: var(--air-soft); color: var(--pine); }
.sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sub-all a { font-weight: 500; color: var(--pine); }
.nav-actions { display: flex; align-items: center; gap: var(--s4); }
.nav-phone, .nav-wa { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav-phone .ico, .nav-wa .ico { width: 22px; height: 22px; }
.nav-wa span { text-decoration: underline; text-decoration-color: var(--air); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.header-in { gap: var(--s3); }
	.nav-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--pine); background: transparent; color: var(--pine); border-radius: var(--r); font: 500 15px var(--f-body); cursor: pointer; }
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
	.site-nav { position: fixed; left: 0; right: 0; top: var(--head-h); display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gut) 24px; background: var(--pine); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
	html.nav-open { overflow: hidden; }
	html.nav-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(243, 238, 228, .14); }
	.nav-list > li > a { flex: 1; padding: 14px 4px; font-size: 18px; color: var(--cream); }
	.nav-list > li > a:hover, .nav-list > li.is-current > a { color: var(--cream); text-decoration-color: var(--air); }
	.sub-toggle { width: 44px; height: 44px; margin: 0; color: var(--cream); }
	.sub { position: static; display: none; min-width: 0; width: 100%; padding: 0 0 12px 12px; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
	.has-sub.is-open .sub { display: block; }
	.sub a { color: var(--cream); padding: 10px 8px; font-size: 16px; }
	.sub a:hover { background: rgba(243, 238, 228, .08); color: var(--cream); }
	.sub-all { border-top-color: rgba(243, 238, 228, .14); }
	.sub-all a { color: var(--air); }
	.nav-actions { flex-direction: column; align-items: stretch; gap: var(--s3); margin-top: var(--s5); }
	.nav-phone, .nav-wa { color: var(--cream); font-size: 17px; min-height: 44px; }
	.nav-phone .ico, .nav-wa .ico { color: var(--cream); }
	.nav-actions .btn-air { min-height: 48px; }
}
@media (max-width: 480px) {
	.brand-word { font-size: 22px; }
	.logo-mark { width: 40px; height: 28px; }
	.nav-toggle-label { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; color: var(--ink-soft); margin-bottom: var(--s4); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--pine); text-decoration: underline; }

/* ---------- Hero (split) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ground); }
.hero-copy { padding: var(--s7) var(--gut) var(--s7); align-self: center; min-width: 0; }
.hero-h1 { font-size: var(--t-h1); line-height: 1.06; margin-bottom: var(--s5); }
.hero-h1 em { display: block; font-style: italic; margin-top: 6px; }
.hero-h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--air); margin-top: var(--s5); }
.hero-lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink); max-width: 44ch; }
.hero-photo { position: relative; min-height: 300px; overflow: hidden; background: var(--stone); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
@media (min-width: 901px) {
	.hero { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); min-height: min(640px, calc(100vh - var(--head-h))); }
	.hero-copy { padding: var(--s8) var(--s7) var(--s8) max(var(--gut), calc((100vw - var(--wide)) / 2 + var(--gut))); }
	/* Homepage hero follows the mockup: copy ~45% from near the gutter, photo bleeding under it. */
	.hero-home { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: min(600px, calc(100vh - var(--head-h))); }
	.hero-home .hero-copy { padding: var(--s8) 0 var(--s8) max(var(--gut), calc((100vw - var(--wide)) / 2)); position: relative; z-index: 1; margin-right: -6%; }
	.hero-home .hero-h1 { font-size: clamp(40px, 4.15vw, 68px); }
	.hero-home .hl2 { display: block; }
	.hero-home .hero-lede { max-width: 38ch; }
	.hero-home .hero-photo, .hero-town .hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
	.hero-service { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); }
	.hero-service .hero-copy { padding: var(--s8) max(var(--gut), calc((100vw - var(--wide)) / 2 + var(--gut))) var(--s8) var(--s7); }
	.hero-service .hero-photo { -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 14%); mask-image: linear-gradient(270deg, transparent 0, #000 14%); }
}
@media (max-width: 900px) {
	.hero-photo { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
	.hero-copy { padding-top: var(--s6); }
}

/* ---------- Trust row and facts ---------- */
.wrap-wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.trust { padding: var(--s8) 0; }
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); list-style: none; }
.trust .wrap-wide { max-width: calc(1400px + 2 * var(--gut)); }
.trust-row li { display: flex; align-items: center; gap: 18px; padding: var(--s3) 14px; border-left: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--ink); min-width: 0; }
.trust-row li:first-child { border-left: 0; padding-left: 0; }
.trust-row .ti { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trust-row .ti::after { content: ""; width: 44px; height: 2px; background: var(--air); }
.trust-row .ico { width: clamp(52px, 6.3vw, 92px); height: clamp(52px, 6.3vw, 92px); stroke-width: 1.3; }
@media (max-width: 900px) { .trust-row li { border-left: 0; border-top: 1px solid var(--line); padding: var(--s4) 0; } .trust-row li:first-child { border-top: 0; } }

.facts { background: var(--panel); border-block: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin: 0; padding-block: var(--s6); }
.facts-row > div { padding: var(--s3) var(--s5); text-align: center; border-left: 1px solid var(--line); min-width: 0; }
.facts-row > div:first-child { border-left: 0; }
.facts-row dt { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.facts-row dd { margin: 0; font-family: var(--f-display); font-size: 22px; line-height: 1.3; color: var(--pine); }
@media (max-width: 900px) { .facts-row > div { border-left: 0; border-top: 1px solid var(--line); padding: var(--s4) 0; } .facts-row > div:first-child { border-top: 0; } }

/* ---------- Problem (photo left, rooms right) ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ground); }
.problem-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.problem-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.problem-copy { padding: var(--s7) var(--gut); min-width: 0; }
.rooms { list-style: none; display: grid; gap: var(--s5); margin-top: var(--s5); }
.rooms li { display: flex; gap: var(--s5); align-items: flex-start; }
.rooms .ico { width: clamp(48px, 5.6vw, 84px); height: clamp(48px, 5.6vw, 84px); flex: none; stroke-width: 1.6; }
.rooms p { font-size: clamp(16px, 1.25vw, 19px); }
.rooms h3 { margin-bottom: 4px; }
.rooms p { color: var(--ink); margin: 0; }
@media (min-width: 901px) {
	.problem { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: center; }
	.problem-photo { aspect-ratio: auto; height: 100%; min-height: 480px; }
	.problem-copy { padding: var(--s8) max(var(--gut), calc((100vw - var(--wide)) / 2)) var(--s8) var(--s7); }
	.problem-copy .sh { font-size: clamp(30px, 2.95vw, 46px); }
	.rooms h3 { font-size: clamp(21px, 1.8vw, 27px); }
}

/* ---------- Service tiles ---------- */
.services { padding-block: var(--sec-tight) var(--s7); }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: var(--s4); margin-top: var(--s5); }
.tile a { display: flex; flex-direction: column; height: 100%; background: var(--panel); text-decoration: none; color: var(--pine); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tile a:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(21, 55, 45, .4); }
.tile-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-t { display: block; padding: 12px 12px 14px; text-align: center; font-family: var(--f-display); font-size: 17px; line-height: 1.25; }
.tile-s { display: block; padding: 0 14px 16px; font-size: 14px; color: var(--ink-soft); text-align: center; }
@media (min-width: 1100px) { .tiles:not(.tiles-index) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Promise panel ---------- */
.promise { padding-block: var(--s6) var(--s8); }
.promise-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); background: var(--air-soft); border-radius: 10px; padding: clamp(32px, 5vw, 72px) clamp(24px, 3vw, 44px); }
.promise-panel .sh { margin: 0; font-size: clamp(30px, 3.1vw, 48px); line-height: 1.12; }
.promise-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.promise-row li { display: flex; flex-direction: column; align-items: center; gap: var(--s5); text-align: center; padding: var(--s3) var(--s5); border-left: 1px solid rgba(21, 55, 45, .2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--ink); min-width: 0; }
.promise-row li:first-child { border-left: 0; }
@media (max-width: 999px) { .promise-row li { border-left: 0; border-top: 1px solid rgba(21, 55, 45, .2); padding-block: var(--s5); } .promise-row li:first-child { border-top: 0; } }
.promise-row .ico { width: clamp(56px, 7.2vw, 108px); height: clamp(56px, 7.2vw, 108px); stroke-width: 1.2; }
@media (min-width: 1000px) { .promise-panel { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); align-items: center; } .promise-row li:first-child { border-left: 1px solid rgba(21, 55, 45, .2); } }

/* ---------- Steps ---------- */
.process, .job-steps { padding-block: var(--s6) var(--sec-tight); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0; }
.steps > li { display: flex; gap: var(--s5); padding: var(--s4) var(--s5); border-left: 1px solid var(--line); min-width: 0; }
.steps > li:first-child { border-left: 0; padding-left: 0; }
.step-n { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 1.5px solid var(--pine); border-radius: 50%; font-family: var(--f-display); font-size: 26px; color: var(--pine); }
.steps h3 { margin-bottom: 6px; }
.steps h3::after { content: ""; display: block; width: 32px; height: 2px; background: var(--air); margin-top: 10px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin-top: var(--s6); position: relative; }
.steps-4 > li { flex-direction: column; align-items: center; text-align: center; border-left: 0; padding: 0 var(--s4); }
.steps-4 > li:first-child { padding-left: var(--s4); }
.steps-4 h3::after { margin-inline: auto; }
@media (min-width: 900px) { .steps-4::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 1px; background: var(--line); } .steps-4 .step-n { position: relative; background: var(--ground); } }
@media (max-width: 900px) { .steps > li { border-left: 0; padding-left: 0; } }
/* Homepage process band (mockup 07): larger numerals, dark copy, generous band. */
.process { padding-block: clamp(48px, 7vw, 112px); }
.process .steps > li { gap: var(--s5); padding: var(--s5); align-items: flex-start; }
@media (min-width: 1000px) { .process .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); } }
.process .steps > li:first-child { padding-left: 0; }
.process .step-n { width: clamp(56px, 5.8vw, 84px); height: clamp(56px, 5.8vw, 84px); font-size: clamp(28px, 3.1vw, 46px); }
.process .steps h3 { font-size: clamp(22px, 1.95vw, 29px); margin-top: 8px; }
.process .steps p { color: var(--ink); font-size: clamp(16px, 1.3vw, 19px); }

/* ---------- Areas map band ---------- */
.areas-band { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ground); border-top: 1px solid var(--line); }
.areas-copy { padding: var(--s7) var(--gut) var(--s4); min-width: 0; }
.areas-copy p { color: var(--ink-soft); max-width: 40ch; }
.map { position: relative; aspect-ratio: var(--map-ratio, 1000 / 640); overflow: hidden; background: #EFEADF; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-water-halo { fill: none; stroke: #D7E6EC; stroke-width: 26; stroke-linejoin: round; opacity: .7; }
.m-water { fill: #C9DEE7; stroke: #A9CADA; stroke-width: 2; stroke-linejoin: round; }
.m-river { fill: none; stroke: #93BBCD; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.m-radius { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 5 6; opacity: .7; }
.m-dot { fill: var(--pine); opacity: .2; }
.m-river-minor { stroke-width: 2.2; opacity: 1; }
.m-dot.is-hi { opacity: 1; fill: var(--pine); stroke: var(--panel); stroke-width: 3; }
.m-home { position: absolute; transform: translate(-50%, -78%); display: flex; flex-direction: column; align-items: center; font-family: var(--f-display); font-size: clamp(16px, 2vw, 24px); color: var(--pine); pointer-events: none; }
.m-home-ico { width: clamp(26px, 3vw, 38px); height: clamp(26px, 3vw, 38px); background: var(--ground); border-radius: 50%; }
.m-label { position: absolute; transform: translate(-50%, -150%); font-family: var(--f-display); font-size: clamp(11px, 1.25vw, 16px); color: var(--ink); white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #EFEADF, 0 0 6px #EFEADF; }
.m-label.is-hi { font-size: clamp(14px, 1.6vw, 20px); color: var(--pine); font-weight: 500; }
.m-label.m-above { transform: translate(-50%, calc(-100% - 6px)); }
.m-label.m-below { transform: translate(-50%, 6px); }
.m-label.m-right { transform: translate(8px, -50%); }
.m-label.m-left { transform: translate(calc(-100% - 8px), -50%); }
.m-label.m-drop { transform: translate(-50%, 0); }
/* Paper ground: a tiny fractal-noise tile, rasterised once by the browser. */
.map-full { background-color: #F0EADB; background-size: 240px, 900px;
	--terrain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0065' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .64 0 0 0 0 .5 0 0 0 1.1 -.42'/%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23t)'/%3E%3C/svg%3E"); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035' numOctaves='4' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .38 0 0 0 .3 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23p)'/%3E%3C/svg%3E"), var(--terrain); }
.map-full .m-label { font-size: 1.19vw; /* = fs 19 map units at full width, so placement geometry holds */ text-shadow: 0 0 3px #F2ECDF, 0 0 7px #F2ECDF; }
.map-full .m-home { font-size: 1.6vw; }
.map-full .m-home-ico { background: transparent; width: 2.6vw; height: 2.6vw; color: var(--pine); border-radius: 0; }
.m-home svg.m-home-ico { display: block; }
.areas-band .areas-map { min-width: 0; }
@media (min-width: 1200px) {
	/* Mockup 08: one full-width parchment map, the heading laid over its left side on a paper fade. */
	.areas-band { position: relative; display: block; border-top: 0; }
	.areas-band .areas-map::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 46%; background: linear-gradient(90deg, #F4EFE4 0, #F4EFE4 42%, rgba(244, 239, 228, 0) 100%); pointer-events: none; }
	.areas-copy { position: absolute; z-index: 1; left: 0; top: 50%; transform: translateY(-50%); width: min(47%, 720px); padding: 0 var(--s6) 0 max(var(--gut), calc((100vw - var(--wide)) / 2)); }
	.areas-copy .sh { font-size: clamp(30px, 3vw, 48px); white-space: nowrap; }
	.areas-copy p { color: var(--ink); font-size: clamp(16px, 1.3vw, 20px); max-width: 34ch; }
}
/* Phones: show the map 2.2x wide, centred on Bristol, so the radius reads; the ratio is kept, so labels stay on their dots. */
@media (max-width: 899px) {
	.areas-band .areas-map { overflow: hidden; }
	.areas-band .areas-map .map-full { width: 220%; margin-left: -98.5%; }
	.map-full .m-label { font-size: 2.62vw; }
	.map-full .m-home { font-size: 15px; }
	.map-full .m-home-ico { width: 24px; height: 24px; }
}
@media (max-width: 1199px) { .areas-band .areas-copy { padding: var(--s7) var(--gut) var(--s5); } }

/* ---------- Quote band (#quote) ---------- */
.quote-band { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--air-soft); }
.quote-photo { position: relative; min-height: 240px; overflow: hidden; }
.quote-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-copy { padding: var(--s7) var(--gut) var(--s4); min-width: 0; }
.quote-copy p { max-width: 34ch; font-size: clamp(16px, 1.3vw, 20px); color: var(--ink); }
.quote-panel { margin: var(--s4) var(--gut) var(--s7); background: var(--panel); border-radius: 8px; padding: var(--s3); box-shadow: 0 20px 40px -26px rgba(21, 55, 45, .45); min-width: 0; }
@media (min-width: 1000px) {
	.quote-band { grid-template-columns: minmax(0, 0.66fr) minmax(0, 0.84fr) minmax(0, 1fr); align-items: center; }
	.quote-photo { height: 100%; min-height: 520px; -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%); mask-image: linear-gradient(270deg, transparent 0, #000 22%); }
	.quote-copy { padding: var(--s7) var(--s5) var(--s7) var(--s6); }
	.quote-copy .sh { font-size: clamp(28px, 2.65vw, 42px); }
	.quote-panel { margin: var(--s6) max(var(--gut), calc((100vw - var(--wide)) / 2)) var(--s6) 0; padding: var(--s4); border-radius: 12px; }
}
@media (min-width: 1200px) { .quote-copy .sh { white-space: nowrap; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: var(--cream); padding-top: var(--s8); }
.on-dark, .on-dark p, .on-dark li, .on-dark span { color: var(--cream); }
.on-dark a:not(.btn) { color: var(--cream); text-decoration-color: rgba(169, 204, 221, .7); }
.on-dark a:not(.btn):hover { text-decoration-color: var(--cream); }
.on-dark h2, .on-dark h3, .on-dark .fh { color: var(--cream); }
.on-dark .ico { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: var(--s6) var(--s5); max-width: calc(var(--wide) + 2 * var(--gut)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } .footer-col { border-left: 1px solid rgba(243, 238, 228, .22); padding-left: var(--s5); } }
.footer-lockup { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark-lg { width: 78px; height: 54px; color: var(--cream); }
.footer-lockup .fl-1, .footer-lockup .fl-2 { display: block; font-family: var(--f-display); font-size: 30px; line-height: 1.05; }
.footer-contact { list-style: none; margin-top: var(--s5); display: grid; gap: var(--s3); }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-contact .ico { width: 24px; height: 24px; }
.footer-note { font-size: 14px; opacity: .9; margin-top: var(--s5); max-width: 36ch; }
.fh { font-size: 22px; margin-bottom: var(--s4); }
.fh::after { content: ""; display: block; width: 32px; height: 2px; background: var(--air); margin-top: 10px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s7); padding-block: var(--s5); border-top: 1px solid rgba(243, 238, 228, .22); font-size: 14px; max-width: calc(var(--wide) + 2 * var(--gut)); }
.footer-base p { margin: 0; }
.footer-sitemap span { margin-left: var(--s4); opacity: .85; }

/* ---------- Mobile bar + WhatsApp ---------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); background: var(--pine); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; color: var(--cream); text-decoration: none; font-weight: 500; }
	.mobile-bar .ico { width: 22px; height: 22px; color: var(--cream); }
	.mobile-bar .mb-quote { background: var(--air); color: var(--pine); }
	.site-footer { padding-bottom: 56px; }
}
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 95; }
@media (max-width: 900px) { .wa { bottom: 72px; right: 14px; } }
.wa-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px 10px 14px; border: 0; border-radius: 999px; background: #1F7A4D; color: #fff; font: 500 16px var(--f-body); cursor: pointer; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); }
.wa-pill .ico { width: 26px; height: 26px; color: #fff; }
@media (max-width: 600px) { .wa-pill { padding: 12px; } .wa-pill-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.wa-panel { position: absolute; right: 0; bottom: 64px; width: min(360px, calc(100vw - 28px)); max-height: min(560px, calc(100dvh - 160px)); overflow-y: auto; overscroll-behavior: contain; background: var(--panel); border-radius: 10px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); padding: var(--s5); }
.wa-panel[hidden] { display: none; }
.wa-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.wa-title { font-family: var(--f-display); font-size: 21px; color: var(--pine); margin: 0; }
.wa-close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.wa-form { display: grid; gap: 6px; }
.wa-form label { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 6px; }
.wa-form input, .wa-form textarea, .wa-form select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #B9B2A4; border-radius: var(--r); font: 16px var(--f-body); color: var(--ink); background: #fff; }
.wa-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: var(--s3); }
.btn-wa { margin-top: var(--s4); background: #1F7A4D; color: #fff; width: 100%; }
.btn-wa:hover { background: #17633E; }
.wa-small { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }

/* ---------- Long read: A1 magazine spreads ---------- */
.lr { padding-top: var(--sec); border-top: 1px solid var(--line); }
.lr-intro { padding-bottom: var(--s7); }
.lr-title { font-size: clamp(34px, 4.2vw, 52px); max-width: 22ch; }
.lr-stand { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.lr-contents { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 4px var(--s7); margin-top: var(--s6); }
.lr-contents a { display: flex; gap: var(--s4); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--f-display); font-size: 19px; }
.lr-contents a:hover { color: var(--pine); border-bottom-color: var(--air); }
.lr-contents .n { font-family: var(--f-display); color: var(--pine); font-size: 20px; min-width: 2ch; }
.spread { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.spread-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.spread-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.giant { position: absolute; left: 6%; right: 4%; bottom: 3%; font-family: var(--f-display); font-style: italic; font-size: clamp(56px, 7.2vw, 108px); overflow-wrap: anywhere; line-height: .9; color: var(--cream); text-shadow: 0 2px 30px rgba(0, 0, 0, .28); pointer-events: none; }
.spread-text { padding: var(--s7) var(--gut) var(--s5); min-width: 0; }
.ch-num { font-family: var(--f-body); font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: var(--s3); }
.ch-num::after { content: ""; display: block; width: 28px; height: 2px; background: var(--air); margin-top: 8px; }
.ch-title { font-size: clamp(28px, 3vw, 37px); max-width: 18ch; }
.spread-gutter { padding: 0 var(--gut) var(--s7); min-width: 0; }
.spread-gutter .m-pull, .spread-gutter .m-qa { margin: 0; }
/* Desktop (A1 spreads, as mocked): the spread holds the chapter opening and its pull card beside a
   photo that fills the spread height; the chapter then continues below in magazine columns with its
   modules spanning them. The spread stays short, so the photo renders near native size. Nothing is sticky. */
.spread-lede > .prose { max-width: 34em; }
.spread-gutter { padding: var(--s5) 0 0; }
@media (min-width: 1000px) {
	.spread { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); min-height: clamp(560px, 46vw, 700px); background: var(--ground); }
	.spread.photo-right { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
	.spread-photo { grid-column: 1; grid-row: 1; aspect-ratio: auto; min-height: 100%; }
	.spread-text { grid-column: 2; grid-row: 1; align-self: center; padding: var(--s8) var(--s7); }
	.spread.photo-right .spread-photo { grid-column: 2; }
	.spread.photo-right .spread-text { grid-column: 1; }
	.spread.photo-left .spread-text { padding-right: max(var(--s7), calc((100vw - var(--wide)) / 2 + var(--gut))); }
	.spread.photo-right .spread-text { padding-left: max(var(--s7), calc((100vw - var(--wide)) / 2 + var(--gut))); }
	.spread-lede.has-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15em); gap: var(--s6); align-items: start; }
	.spread-gutter { padding: 0; }
	.spread-gutter .m-pull, .spread-gutter .m-qa { padding: var(--s5); }
}
/* The chapter continued: two magazine columns on wide screens; modules, tables and headings span. */
.spread-cont { padding: var(--s7) var(--gut) var(--s8); border-bottom: 1px solid var(--line); overflow-x: clip; }
.cont-cols { max-width: var(--wide); margin-inline: auto; }
@media (min-width: 1000px) {
	.cont-cols { columns: 2; column-gap: var(--s8); column-rule: 1px solid var(--line); }
	.cont-cols > * { break-inside: avoid; }
	.cont-cols > h3, .cont-cols > h4 { break-after: avoid; }
	.cont-cols > table, .cont-cols > figure, .cont-cols > .m-myth, .cont-cols > .m-glossary, .cont-cols > aside, .cont-cols > div { column-span: all; margin-block: var(--s6); }
	.cont-cols > table { max-width: 52em; margin-inline: auto; }
	.cont-cols > aside { max-width: 44em; margin-inline: auto; }
}
/* Myth/fact: a full-width air-blue band breaking out of the text, two balanced cards, light sans body. */
.cont-cols .m-myth { width: 100vw; max-width: none; position: relative; left: 50%; margin-left: -50vw; border-radius: 0; padding: var(--s7) max(var(--gut), calc((100vw - 1000px) / 2)); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--s6); align-items: start; background: var(--air-soft); }
.lr-light .spread { min-height: 0; }

/* ---------- Prose + modules ---------- */
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: var(--s4); }
.prose p { margin-bottom: 0; }
.prose h3 { font-size: 24px; margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul > li { position: relative; padding-left: 24px; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--pine); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--pine); border-radius: 50%; font-family: var(--f-display); font-size: 15px; color: var(--pine); }
.prose a { font-weight: 500; }
.m-pull { margin: var(--s6) 0; padding: var(--s5); background: var(--panel); border-radius: 6px; box-shadow: 0 16px 36px -24px rgba(21, 55, 45, .45); }
.m-pull p:first-child, .m-qa .q { font-family: var(--f-display); font-size: 22px; line-height: 1.3; color: var(--pine); }
.m-pull p:first-child::after, .m-qa .q::after { content: ""; display: block; width: 32px; height: 2px; background: var(--air); margin-top: 12px; }
.m-pull p + p, .m-qa p + p { font-size: 15px; color: var(--ink-soft); margin-top: var(--s3); }
.m-qa { margin: var(--s6) 0; padding: var(--s5); border: 1px solid var(--line); border-radius: 6px; background: var(--ground); }
.m-qa .q::before { content: "Q"; display: inline-block; margin-right: 10px; font-style: italic; color: var(--ink-soft); }
.m-myth { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--s4); margin: var(--s6) 0; padding: var(--s5); background: var(--air-soft); border-radius: 6px; }
.m-myth p { margin: 0; padding: var(--s5); background: var(--panel); border-radius: 6px; font-family: var(--f-display); font-size: 19px; line-height: 1.35; color: var(--ink); }
.m-myth p::before { display: block; font-size: 26px; color: var(--pine); margin-bottom: 8px; }
.m-myth p.myth::before { content: "Myth"; }
.m-myth p.fact::before { content: "Fact"; }
.m-glossary { display: flex !important; flex-wrap: wrap; gap: 10px !important; margin: var(--s5) 0; }
.m-glossary li { padding: 10px 14px !important; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; line-height: 1.4; }
.m-glossary li::before { display: none; }
.m-glossary b, .m-glossary strong { color: var(--pine); margin-right: 6px; }
figure { margin: 0; }
.m-photo, .m-crop { margin: var(--s6) auto; max-width: 100%; }
.m-photo .fig-img, .m-crop .fig-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.m-photo figcaption, .m-crop figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.m-crop { position: relative; }
.m-crop .fig-img { aspect-ratio: 3 / 2; }
.m-crop ol { margin-top: var(--s4); }
.table-fit { width: 100%; margin: var(--s6) 0; }
.tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; background: var(--panel); border-radius: 6px; overflow: hidden; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; hyphens: auto; }
.tbl thead th { font-family: var(--f-display); font-weight: 400; font-size: 17px; color: var(--pine); background: var(--stone); }
.tbl tbody th { font-weight: 500; color: var(--pine); }
.tbl tbody tr:nth-child(even) td, .tbl tbody tr:nth-child(even) th { background: #FBF9F4; }
@media (max-width: 640px) {
	.tbl, .tbl tbody, .tbl tr, .tbl td, .tbl th { display: block; width: 100%; }
	.tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tbl tbody tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.tbl td, .tbl tbody th { border: 0; padding: 6px 14px; }
	.tbl td[data-label]::before, .tbl tbody th[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
}

/* ---------- Diagram (signature) ---------- */
.diagram { background: var(--panel); border-block: 1px solid var(--line); padding: var(--s8) var(--gut) var(--s7); }
.diagram-art { position: relative; max-width: 1080px; margin-inline: auto; aspect-ratio: 800 / 420; }
.diagram-svg { width: 100%; height: 100%; color: var(--pine); }
.d-air { stroke: #6FA5BF; }
.d-label { position: absolute; font-size: clamp(11px, 1.5vw, 16px); color: var(--ink); background: rgba(255, 255, 255, .85); padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.dl-1 { left: 6%; top: 3%; } .dl-2 { left: 47%; top: 0; } .dl-3 { left: 76%; top: 44%; } .dl-4 { left: 77%; top: 80%; }
.diagram figcaption { max-width: 62ch; margin: var(--s5) auto 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--ink-soft); }
.js-motion .air { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js-motion .diagram.is-in .air { animation: draw 1.4s ease-out forwards; }
.js-motion .diagram.is-in .air-2 { animation-delay: .3s; } .js-motion .diagram.is-in .air-3, .js-motion .diagram.is-in .air-4 { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 600px) { .d-label { font-size: 10px; padding: 1px 4px; white-space: normal; max-width: 42%; } .dl-3, .dl-4 { left: auto; right: 2%; text-align: right; } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--sec-tight); }
.faq-list { margin-top: var(--s5); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 18px 48px 18px 0; font-family: var(--f-display); font-size: 21px; line-height: 1.3; color: var(--pine); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-family: var(--f-body); font-size: 26px; color: var(--pine); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 var(--s5); color: var(--ink); }
.faq-a p { margin-bottom: var(--s3); }

/* ---------- Page heroes (spokes, core, legal, indexes) ---------- */
.page-hero { padding-block: var(--s8) var(--s7); border-bottom: 1px solid var(--line); }
.page-hero-stone { background: var(--stone); }
.page-hero-air { background: var(--air-soft); }
.page-hero-short { padding-block: var(--s6) var(--s5); }
.ph-h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; }
.ph-h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--air); margin-top: var(--s5); }
.page-hero-air .ph-h1::after { background: var(--pine); }
.ph-lede { font-size: 19px; color: var(--ink); max-width: 60ch; }
.ph-meta { font-size: 14px; color: var(--ink-soft); }

/* ---------- Feature flow (guides) ---------- */
.feature { padding-block: var(--s7); }
.ff-sec + .ff-sec { margin-top: var(--s8); }
.ff-num { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.ff-num::before, .ff-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ff-num span { font-family: var(--f-display); font-style: italic; font-size: 26px; color: var(--pine); }
.ff-title { text-align: center; font-size: clamp(26px, 2.8vw, 34px); max-width: 24ch; margin-inline: auto; margin-bottom: var(--s5); }
.dropcap > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .85; margin: 6px 12px 0 0; color: var(--pine); }

/* ---------- Direct answer ---------- */
.direct { padding-block: var(--s7); }
.answer-box { padding: var(--s6); background: var(--pine); color: var(--cream); border-radius: 8px; margin-bottom: var(--s7); }
.answer-k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--air); margin-bottom: var(--s3); }
.answer-t { font-family: var(--f-display); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; margin: 0; color: var(--cream); }
.da-sec + .da-sec { margin-top: var(--s7); }
.da-title { font-size: clamp(24px, 2.4vw, 30px); padding-left: var(--s4); border-left: 3px solid var(--air); }

/* ---------- Designed article ---------- */
.article { padding-block: var(--s7); }
.ar-sec + .ar-sec { margin-top: var(--s8); }
.ar-sec .kicker { text-align: center; }
.ar-title { text-align: center; font-size: clamp(26px, 2.8vw, 34px); }
.ar-title.sh::after { margin-inline: auto; }

/* ---------- Service-page bands ---------- */
.rooms-band { padding-block: var(--sec-tight); }
.room-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--s5); margin-top: var(--s5); }
.room-card { background: var(--panel); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.rc-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-body { display: block; padding: var(--s5); text-align: center; }
.rc-body h3 { margin-bottom: 6px; }
.rc-body p { color: var(--ink-soft); margin: 0; }
.choices { background: var(--air-soft); padding-block: var(--sec-tight); }
.choice-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--s5); margin-top: var(--s5); }
.choice { display: flex; gap: var(--s5); padding: var(--s6) var(--s5); background: var(--ground); border-radius: 6px; min-width: 0; }
.choice .ico { width: 64px; height: 64px; }
.choice ul { list-style: none; display: grid; gap: 6px; color: var(--ink-soft); font-size: 15px; }
.hub-spokes { padding-block: var(--sec-tight); border-top: 1px solid var(--line); }
.spoke-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: var(--s7); margin-top: var(--s5); }
.spoke-k { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s4); }

/* ---------- Cards + lists ---------- */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--s5); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--panel); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.card a:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px rgba(21, 55, 45, .45); }
.card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: block; padding: var(--s5); }
.card-t { display: block; font-family: var(--f-display); font-size: 20px; line-height: 1.25; color: var(--pine); margin-bottom: 6px; }
.card-s { display: block; font-size: 15px; color: var(--ink-soft); }
.answer-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.answer-list a { display: block; padding: 14px 28px 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--f-display); font-size: 18px; line-height: 1.35; position: relative; }
.answer-list a::after { content: "→"; position: absolute; right: 4px; top: 14px; color: var(--pine); font-family: var(--f-body); }
.answer-list a:hover { color: var(--pine); background: rgba(169, 204, 221, .14); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: var(--s7); padding-block: var(--sec-tight); border-top: 1px solid var(--line); }
.related-hub { padding: var(--s6); background: var(--air-soft); border-radius: 8px; }
.rel-hub-t { font-size: clamp(24px, 2.4vw, 30px); }
.rel-hub-t a { text-decoration: none; }

/* ---------- Indexes ---------- */
.index-body { padding-block: var(--s7) var(--sec-tight); }
.tiles-index { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s7) 0 var(--s5); }
.jump a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); text-decoration: none; font-size: 15px; color: var(--pine); }
.jump a:hover { border-color: var(--pine); }
.topic-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: var(--s7) var(--s6); }
.tg-h { font-size: 24px; }
.tg-h a { text-decoration: none; }
.area-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--s6); margin-top: var(--s7); }
.ag-h { font-size: 24px; display: flex; align-items: baseline; gap: 10px; }
.ag-n { font-family: var(--f-body); font-size: 14px; color: var(--ink-soft); }
.ag-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ag-list a { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ag-list a:hover { color: var(--pine); }
.ag-mi { color: var(--ink-soft); font-size: 14px; }
.index-after { padding-bottom: var(--sec-tight); }

/* ---------- Contact ---------- */
.contact-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: var(--s6); padding-block: var(--s6) var(--sec-tight); align-items: start; }
@media (min-width: 1000px) { .contact-main { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact-form { background: var(--panel); border-radius: 8px; padding: var(--s3); box-shadow: 0 20px 40px -26px rgba(21, 55, 45, .45); min-width: 0; }
.contact-card { background: var(--air-soft); border-radius: 8px; padding: var(--s6); }
.cc-list { list-style: none; display: grid; gap: var(--s4); margin-top: var(--s5); }
.cc-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.cc-list .ico { width: 26px; height: 26px; }
.cc-note { font-size: 15px; color: var(--ink-soft); margin-top: var(--s5); }
.contact-map { padding-bottom: var(--sec-tight); }
.leaflet-map { height: 420px; border-radius: 8px; overflow: hidden; margin-top: var(--s5); background: var(--stone); }
.map-note { font-size: 14px; color: var(--ink-soft); margin-top: var(--s3); }

/* ---------- Motion (CSS only; hidden states only under .js-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js-motion .rv { opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
	.js-motion .rv.is-in { opacity: 1; transform: none; }
}

/* ---------- Service template fidelity (Stage 4 gate, 2026-10-07) ---------- */
.hero-service .hero-h1 { font-size: clamp(34px, 3.7vw, 54px); }
.hero-service .hero-h1 em { font-size: .74em; line-height: 1.12; }
.facts { background: var(--ground); border-block: 0; padding-block: var(--s7); }
.facts-row { margin-inline: auto; background: var(--panel); border-radius: 6px; padding: var(--s6) var(--s5); box-shadow: 0 18px 40px -32px rgba(21, 55, 45, .35); }
.facts-row dt { font-size: 15px; color: var(--ink); }
.facts-row dd { font-size: clamp(22px, 2vw, 30px); line-height: 1.22; }
.choice { background: var(--panel); padding: var(--s6); }
.choice .ico { width: clamp(64px, 6vw, 88px); height: clamp(64px, 6vw, 88px); stroke-width: 1.5; }
.choice h3 { font-size: clamp(22px, 2vw, 28px); }
.choice ul { color: var(--ink); font-size: 16px; gap: 10px; }
.job-steps .step-n { width: clamp(56px, 4.6vw, 68px); height: clamp(56px, 4.6vw, 68px); font-size: clamp(26px, 2.4vw, 36px); }
.job-steps .steps p { color: var(--ink); font-size: 17px; }
@media (min-width: 900px) {
	.job-steps .steps-4::before { top: calc(clamp(56px, 4.6vw, 68px) / 2); background: var(--pine); opacity: .7; }
}
.job-steps .sh { font-size: clamp(32px, 3.6vw, 52px); }
.job-steps .steps h3 { font-size: clamp(20px, 1.8vw, 26px); }
@media (min-width: 1100px) { .job-steps.wrap { max-width: calc(var(--wide) + 2 * var(--gut)); } }
.facts-town .facts-row dd { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.35; }
@media (max-width: 600px) { .tiles, .tiles-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); } .tile-t { font-size: 15px; padding: 10px 8px 12px; } }

/* ---------- Service template fidelity, loop 2 (fresh judge 2026-10-07) ---------- */
.avs-fid .wa { display: none; }
.btn { min-height: 52px; padding: 13px 26px; font-size: 17px; }
.facts-row > div { display: flex; flex-direction: column; justify-content: center; }
.facts-row dd { font-size: clamp(19px, 1.65vw, 25px); line-height: 1.25; text-wrap: balance; }
.facts-row dt { font-size: 15px; margin-bottom: 10px; }
.room-card { background: #FBF9F4; box-shadow: 0 14px 30px -26px rgba(21, 55, 45, .35); }
.rc-body p { color: var(--ink); font-size: 16px; line-height: 1.55; }
.rc-body h3 { font-size: clamp(21px, 1.8vw, 26px); }
.choice { align-items: center; gap: var(--s5); }
.choice .ico { width: clamp(76px, 7.4vw, 108px); height: clamp(76px, 7.4vw, 108px); flex: none; stroke-width: 1.4; }
.choice ul { gap: 6px; }
.choice ul li { line-height: 1.4; }
.job-steps .steps h3::after { display: none; }
@media (min-width: 1000px) {
	.quote-panel { padding: var(--s3); }
	.quote-copy .sh { font-size: clamp(28px, 2.5vw, 40px); }
	.quote-copy p { font-size: clamp(18px, 1.45vw, 22px); }
}
.prose.cont-cols { max-width: min(var(--wide), 72em); }
@media (min-width: 1000px) { .cont-cols > figure { max-width: 52em; margin-inline: auto; } }

.m-myth p { font-family: var(--f-body); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--ink); padding: var(--s6); box-shadow: 0 16px 34px -28px rgba(21, 55, 45, .4); }
.m-myth p::before { font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 34px); margin-bottom: var(--s3); }
.m-myth p::before { padding-bottom: 12px; background: linear-gradient(var(--air), var(--air)) left bottom / 32px 2px no-repeat; }
.m-myth { align-items: start; }

/* ---------- Service Fidelity judge 2 (top alignment, flat facts band) ---------- */
.facts:not(.facts-town) { background: var(--panel); border-block: 1px solid var(--line); padding-block: var(--s6); }
.facts:not(.facts-town) .facts-row { background: transparent; box-shadow: none; border-radius: 0; max-width: calc(var(--wide) + 2 * var(--gut)); padding-block: 0; }
.facts-row > div { justify-content: flex-start; }
.choice { align-items: flex-start; }
.choice > div { flex: 1; min-width: 0; }

/* ---------- Long-read craft (fresh judge 2026-10-07, 7.7) ---------- */
/* Type: the long-read title holds one line for a ~40 character title at 1366/1440; body and standfirst darker and larger. */
.lr-title { font-size: clamp(34px, 3.9vw, 56px); max-width: none; text-wrap: balance; }
.lr-stand { font-size: clamp(19px, 1.45vw, 21px); color: var(--ink); max-width: 60ch; }
.lr .prose { font-size: 18px; line-height: 1.7; color: var(--ink); }
.lr-contents a { font-size: 20px; }
/* A short continuation runs as one centred column, never a half-empty pair. */
@media (min-width: 1000px) { .cont-cols.cont-single { columns: auto; column-rule: none; max-width: 38em; } }

/* Annotated crop: the numbered notes sit in a panel beside the photo. Plain numerals, no pins: nothing on the image implies a marker. */
.m-crop.has-notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
.m-crop.has-notes figcaption { text-align: left; }
.crop-side { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: var(--s5); min-width: 0; }
.prose .crop-notes { gap: 12px; }
.prose .crop-notes > li { padding-left: 30px; font-size: 16px; line-height: 1.5; }
.prose .crop-notes > li::before { content: counter(n) "."; border: 0; border-radius: 0; width: auto; height: auto; display: block; font-family: var(--f-display); font-size: 18px; line-height: 1.35; color: var(--pine); background: none; }
@media (min-width: 760px) { .m-crop.has-notes { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* Diagram variants: label positions match each drawing (left/right both set so the phone rule cannot misplace them). */
[class*="diagram--ext"] .dl-1 { left: 40%; right: auto; top: 31%; }
[class*="diagram--ext"] .dl-2 { left: auto; right: 3%; top: 28%; text-align: right; }
[class*="diagram--ext"] .dl-3 { left: 49%; right: auto; top: 70%; text-align: left; }
[class*="diagram--ext"] .dl-4 { left: auto; right: 1%; top: 74%; text-align: right; }
.diagram--ext-walkon .dl-1 { left: 52%; right: auto; top: 44%; }
.diagram--ext-walkon .dl-2 { left: 73%; right: auto; top: 56%; text-align: left; }
.diagram--ext-walkon .dl-3 { left: 41%; right: auto; top: 76%; }
.diagram--ext-walkon .dl-4 { left: auto; right: 1%; top: 82%; text-align: right; }
.diagram--tunnel .dl-1 { left: 67%; right: auto; top: 25%; text-align: left; }
.diagram--tunnel .dl-2 { left: auto; right: 39%; top: 41%; text-align: right; }
.diagram--tunnel .dl-3 { left: 67%; right: auto; top: 53%; text-align: left; }
.diagram--tunnel .dl-4 { left: 72%; right: auto; top: 43%; text-align: left; } /* on the extract duct and fan box */
@media (max-width: 600px) {
	.diagram--tunnel .d-label, [class*="diagram--ext"] .d-label { max-width: 34%; }
}
/* No photo genuinely shows the chapter: a designed colour field carries the chapter word instead of a mismatched picture. */
.spread-photo.is-field { background: var(--pine); background-image: linear-gradient(160deg, rgba(169, 204, 221, .22), rgba(169, 204, 221, 0) 55%); min-height: clamp(220px, 30vw, 360px); }
.spread-photo.is-field .giant { color: var(--cream); text-shadow: none; opacity: .92; }
.spread.photo-right .spread-photo.is-field { background-image: linear-gradient(200deg, rgba(169, 204, 221, .22), rgba(169, 204, 221, 0) 55%); }
/* Notes with no matching photo stand alone as a titled panel. */
.m-crop.no-img { display: block; max-width: 40em; }
.crop-t { font-family: var(--f-display); font-size: 20px; line-height: 1.3; color: var(--pine); margin-bottom: var(--s4); }
/* Continuation runs (avs_cont_runs): prose runs in two balanced columns or one centred column; modules centred between them. */
.spread-cont > * + * { margin-top: var(--s6); }
.cont-span { max-width: 52em; margin-inline: auto; }
.cont-span > aside { max-width: 44em; margin-inline: auto; }
.cont-span > .m-glossary { justify-content: center; }
.cont-span .m-myth { width: 100vw; max-width: none; position: relative; left: 50%; margin-left: -50vw; border-radius: 0; padding: var(--s7) max(var(--gut), calc((100vw - 1000px) / 2)); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--s6); align-items: start; background: var(--air-soft); }
@media (min-width: 1000px) {
	.cont-cols > p, .cont-cols > ul, .cont-cols > ol { break-inside: auto; orphans: 3; widows: 3; }
	.cont-cols.cont-single { max-width: 38em; }
}

/* a11y: Leaflet attribution link meets 4.5:1 on its translucent ground */
.leaflet-control-attribution { background: rgba(255, 255, 255, .92) !important; color: #2b2b2b; }
.leaflet-control-attribution a { color: #15372D !important; text-decoration: underline; }


/* Visual QA: a list, table or figure never splits across the two continuation columns */
.cont-cols ol, .cont-cols ul, .cont-cols table, .cont-cols figure, .cont-cols aside { break-inside: avoid; }

/* Visual QA: Bristol label beside its icon when a highlighted nearby town would sit on it (map.php sets the side). */
.m-home { --ico: clamp(26px, 3vw, 38px); }
.map-full .m-home { --ico: 2.6vw; }
.m-home.m-home-left, .m-home.m-home-right { flex-direction: row; align-items: center; gap: 4px; }
.m-home.m-home-left { flex-direction: row-reverse; transform: translate(calc(-100% + var(--ico) / 2), -50%); }
.m-home.m-home-right { transform: translate(calc(var(--ico) / -2), -50%); }
@media (max-width: 899px) { .map-full .m-home { --ico: 24px; } }

/* Visual QA: on the stairwell drawing the first label ends just left of the open roof window it names */
.diagram--stair .dl-1 { left: auto; right: 63%; top: 12%; text-align: right; }

/* ---------- Header with a phone number, 1081-1365px (late phone, Exeter lesson) ----------
   The phone stays visible; the WhatsApp header link goes icon-only (label kept for screen readers,
   the floating WhatsApp pill is on every page), the quote button never wraps, and gaps tighten. */
.site-header .btn { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1365px) {
	.header-in, .site-nav { gap: var(--s4); }
	.nav-actions { gap: var(--s3); }
	.nav-wa { padding: 6px; }
	.nav-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.site-header .btn { padding-inline: 16px; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
	.brand-word { font-size: 24px; }
	.site-nav .nav-links { gap: 18px; }
}
@media (min-width: 1081px) and (max-width: 1140px) {
	.brand-word { font-size: 22px; }
	.site-nav .nav-links { gap: 14px; }
	.site-nav .nav-links a, .nav-phone { font-size: 14px; }
	.header-in, .site-nav { gap: var(--s3); }
}
@media (min-width: 1081px) and (max-width: 1140px) { .site-header .btn { padding-inline: 12px; font-size: 15px; } .site-nav .nav-links { gap: 12px; } }
