/* Clear Skylights Crawley: daylight with the sound turned down.
   Tokens once (§3.1); containers once (§3.2); grids name their minimum (§7c.1);
   one .on-dark class (§7c.3); no margin on full-bleed bands (§7c.4);
   hidden states only under .js-motion and never under reduced motion (§7c.6). */

@font-face { font-family: "Gambetta"; src: url("../fonts/gambetta-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("../fonts/gambetta-var-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--paper: #F2F4EE; --paper-2: #EBEEE4; --sage: #E4E9DD; --hero: #F0F1E9; --card: #FFFFFF;
	--ink: #14281C; --ink-soft: #46544A; --rule: #D3D9CC; --forest: #123022; --on-forest: #EEF2EA;
	--violet: #5B3C98; --violet-deep: #4A2F82; --violet-on-dark: #CDBEF2; --wave: #9A8DCB; --sky: #CFE0EA;
	--wa: #1F7A45;
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
	--pad: clamp(48px, 5.5vw, 84px);
	--narrow: 68ch; --std: 1140px; --wide: 1320px; --gutter: clamp(16px, 4vw, 40px);
	--r-card: 14px; --r-panel: 16px; --r-img: 12px;
	--f-display: "Gambetta", Georgia, "Times New Roman", serif;
	--f-body: "Switzer", "Segoe UI", system-ui, -apple-system, sans-serif;
	--h1: clamp(2.3rem, 1.4rem + 3.3vw, 3.6rem); --h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); --h3: 1.3rem;
	--header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: clamp(1.03rem, 0.98rem + 0.2vw, 1.12rem); line-height: 1.68; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 450; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--s4); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--violet); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0 0 var(--s4); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: var(--s2) var(--s4); border-radius: 999px; }
.skip:focus { top: var(--s2); color: #fff; }
main:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--header) + 16px); }

/* ---------- containers + bands ---------- */
.wrap { width: 100%; max-width: calc(var(--std) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.wrap--wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.band { padding-block: var(--pad); }
.band--paper { background: var(--paper); }
.band--paper2 { background: var(--paper-2); }
.band--sage { background: var(--sage); }
.band + .band { border-top: 1px solid var(--rule); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 12px 26px; border-radius: 999px; font: 500 1rem/1.2 var(--f-body); text-decoration: none; border: 1.5px solid var(--violet); transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--violet); color: #fff; }
.btn--primary:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--violet); }
.btn--ghost:hover { background: var(--violet); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: .95rem; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; width: 100%; }
.btn--wa:hover { background: #17613a; color: #fff; }
.eyebrow { font: 500 .82rem/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin: 0 0 var(--s3); }

/* ---------- the wave device ---------- */
.wave { display: block; width: 100%; height: 44px; color: var(--wave); overflow: visible; }
.wave__still { stroke: var(--violet); }
.shead { min-width: 0; position: relative; }
.shead__title { font-size: var(--h2); margin-bottom: var(--s3); }
.shead__wave { width: calc(100% + var(--gutter) + max(0px, (100vw - var(--wide) - 2 * var(--gutter)) / 2)); margin-left: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wide) - 2 * var(--gutter)) / 2))); max-width: none; height: 40px; margin-bottom: var(--s4); }
.shead__sub { color: var(--ink-soft); max-width: 42ch; }

/* ---------- split section pattern: heading left, content right ---------- */
.split__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
@media (min-width: 1000px) {
	.split__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: var(--s8); }
	.split__grid > .shead, .split__grid > .quote__intro { grid-column: 1; grid-row: 1 / span 2; }
	.split__grid > :not(.shead):not(.quote__intro) { grid-column: 2; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 244, 238, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--rule); transition: box-shadow .15s; }
.site-header.is-scrolled { box-shadow: 0 1px 12px rgba(20, 40, 28, .06); }
.site-header__bar { display: flex; align-items: center; gap: var(--s5); min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 500 1.35rem/1 var(--f-display); letter-spacing: -0.01em; }
.brand__town { font: 500 .8rem/1.2 var(--f-body); color: var(--ink-soft); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; border-radius: 999px; }
.site-nav__link:hover, .site-nav__item.is-open > .site-nav__link { color: var(--violet); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: -12px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 8px; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: var(--s3); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: 0 12px 32px rgba(20, 40, 28, .10); display: none; }
.has-sub.is-open > .sub { display: block; }
@media (hover: hover) and (min-width: 1081px) { .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; } }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.sub a:hover { background: var(--paper); color: var(--violet); }
.sub__all { border-top: 1px solid var(--rule); margin-top: var(--s2); padding-top: var(--s2); }
.sub__all a { color: var(--violet); font-weight: 500; }
.site-nav__cta { display: flex; align-items: center; gap: var(--s4); }
.site-header__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: var(--s2); min-height: 44px; padding: 8px 14px; background: none; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); font: 500 .95rem var(--f-body); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 1.5px; 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); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--s4); padding: var(--s4) var(--gutter) var(--s6); background: var(--paper); border-bottom: 1px solid var(--rule); max-height: calc(100dvh - var(--header)); overflow-y: auto; overscroll-behavior: contain; }
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.site-nav__link { flex: 1; padding: 14px 4px; font-size: 1.08rem; border-radius: 0; }
	.sub-toggle { width: 48px; height: 48px; margin: 0; }
	.sub { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 var(--s3) var(--s3); }
	.sub a { padding: 10px 8px; }
	.site-nav__cta { flex-direction: column; align-items: stretch; }
	.site-nav__cta .btn { width: 100%; }
}

/* ---------- homepage hero ---------- */
.hero { background: var(--hero); position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero__edge { position: absolute; left: 0; top: 34%; width: 16%; height: 70px; opacity: .8; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; padding-block: var(--s7) 0; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-block: 0; min-height: 520px; } }
.hero__text { position: relative; z-index: 1; padding-block: var(--s6); min-width: 0; }
.hero__h1 { font-size: var(--h1); margin-bottom: var(--s3); max-width: 15ch; }
.hero__wave { height: 34px; margin-bottom: var(--s4); max-width: 560px; }
.hero__lede { max-width: 50ch; color: var(--ink-soft); font-size: 1.02rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero__media { align-self: stretch; margin-right: calc(-1 * var(--gutter)); min-width: 0; }
.hero__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 60% 40%; }
@media (min-width: 900px) { .hero__media { margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wide) - 2 * var(--gutter)) / 2))); } }
@media (max-width: 899px) { .hero__media { margin-left: calc(-1 * var(--gutter)); } .hero__img { aspect-ratio: 4 / 3; min-height: 0; } .hero__edge { display: none; } }

/* ---------- trust row ---------- */
.trust { padding-block: var(--s6); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: var(--s4) 0; }
.trust__item { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s5); font-size: .98rem; line-height: 1.35; border-left: 1px solid var(--rule); min-width: 0; }
.trust__item:first-child { border-left: 0; }
.trust__item .icon { flex: 0 0 auto; color: var(--ink); }
.trust__item .icon--wave { color: var(--violet); }
@media (max-width: 700px) { .trust__item { border-left: 0; padding: var(--s2) 0; } }

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; min-width: 0; transition: transform .18s, border-color .18s; }
.card:hover { transform: translateY(-2px); border-color: var(--violet); }
.card__art { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--rule); }
.card__art .illus { width: 100%; height: 100%; display: block; }
.card__title { font-size: 1.18rem; text-align: center; margin: var(--s4) var(--s4) var(--s2); }
.card__text { font-size: .93rem; color: var(--ink-soft); text-align: center; margin: 0 var(--s4) var(--s4); line-height: 1.5; }

@media (min-width: 360px) and (max-width: 699px) { .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); } .card__title, .step__title { font-size: 1rem; } .card__text, .step__text { font-size: .85rem; } }

/* ---------- quiet spec card ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); overflow: hidden; }
@media (min-width: 760px) { .spec { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.spec__rows { margin: 0; padding: var(--s5) var(--s6); }
.spec__row { display: grid; grid-template-columns: minmax(0, 11ch) minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font-family: var(--f-display); font-size: 1.05rem; line-height: 1.35; }
.spec__row:last-child { border-bottom: 0; }
.spec__row dt { font-weight: 600; }
.spec__row dd { margin: 0; }
.spec__art { border-left: 1px solid var(--rule); padding: var(--s5); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
@media (max-width: 759px) { .spec__art { border-left: 0; border-top: 1px solid var(--rule); } }
.spec-graphic { width: 100%; height: auto; }
.spec__cap { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); margin: var(--s2) 0 0; }
.spec__note { margin-top: var(--s4); color: var(--ink-soft); }

/* ---------- service tiles ---------- */
.services__title { font-size: var(--h2); margin-bottom: var(--s6); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); } }
.tile { min-width: 0; }
.tile__link { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s, border-color .18s; }
.tile__link:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--ink); }
.tile__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sage); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__label { display: flex; align-items: center; justify-content: center; text-align: center; flex: 1; padding: var(--s3) var(--s3); font: 450 1.08rem/1.2 var(--f-display); min-height: 3.6em; }

/* ---------- proof ---------- */
.proof__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.proof__item { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-left: 1px solid var(--rule); font-size: 1rem; line-height: 1.4; min-width: 0; }
.proof__item:first-child { border-left: 0; }
.proof__item .icon { flex: 0 0 auto; }
@media (max-width: 700px) { .proof__item { border-left: 0; padding: var(--s3) 0; } }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s4); text-align: center; min-width: 0; }
.step__num { position: absolute; top: -14px; left: -10px; width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font: 600 1rem var(--f-body); }
.step__art { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-bottom: var(--s3); }
.step__art .illus { width: 100%; height: 100%; display: block; }
.step__title { font-size: 1.12rem; margin-bottom: var(--s2); }
.step__text { font-size: .92rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
@media (min-width: 1000px) { .step + .step::before { content: ""; position: absolute; left: calc(-1 * var(--s5)); top: 50%; width: var(--s5); border-top: 2px dotted var(--wave); } }

/* ---------- areas map ---------- */
.areas__map { min-width: 0; }
.map { width: 100%; aspect-ratio: 2 / 1; min-height: 300px; border-radius: var(--r-panel); border: 1px solid var(--rule); background: #DDE6D8; overflow: hidden; z-index: 0; }
.map--small { aspect-ratio: 4 / 3; min-height: 260px; }
.map .leaflet-tile-pane { filter: grayscale(.55) sepia(.3) hue-rotate(45deg) saturate(.8) brightness(1.07) contrast(.88); }
.map__note { font-size: .88rem; color: var(--ink-soft); margin: var(--s3) 0 0; }
.csc-pin { width: 14px; height: 14px; border-radius: 50%; background: var(--violet); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.csc-home { width: 30px; height: 30px; border-radius: 50%; background: var(--violet); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); display: grid; place-items: center; }
.csc-home::after { content: ""; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 100% 45%, 85% 45%, 85% 100%, 15% 100%, 15% 45%, 0 45%); }
.leaflet-tooltip.csc-label { background: rgba(255,255,255,.92); border: 0; box-shadow: none; color: var(--ink); font: 500 12px/1.2 var(--f-body); padding: 2px 6px; border-radius: 6px; }
.leaflet-tooltip.csc-label::before { display: none; }
.leaflet-tooltip.csc-label--home { font: 600 15px/1.2 var(--f-display); }
.areas__all { margin: var(--s5) 0 0; }
@media (min-width: 1000px) { .split__grid > .areas__all { grid-column: 2; } }
.chips { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: .93rem; }
.chips a:hover { border-color: var(--violet); color: var(--violet); }
@media (min-width: 1000px) { .split__grid > .chips { grid-column: 2; } }

/* ---------- quote band ---------- */
.quote__intro { min-width: 0; }
.quote__points { list-style: none; margin: var(--s5) 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); }
.quote__points li { display: flex; align-items: center; gap: var(--s2); font-size: .98rem; }
.quote__points .icon--wave { color: var(--violet); }
.quote__alt { font-size: .95rem; color: var(--ink-soft); }
.form-panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: var(--s4); min-width: 0; box-shadow: 0 10px 30px rgba(20, 40, 28, .06); }
.crm iframe { min-height: 620px; }

/* ---------- page heroes ---------- */
.phero { background: var(--hero); border-bottom: 1px solid var(--rule); padding-block: var(--s7) var(--s8); overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
.phero--split .phero__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .phero--split .phero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.phero__text { min-width: 0; }
.phero__h1 { font-size: var(--h1); max-width: 20ch; margin-bottom: var(--s3); }
.phero--guide .phero__h1, .phero--answer .phero__h1, .phero--article .phero__h1 { max-width: 24ch; }
.phero__wave { height: 34px; max-width: 560px; margin-bottom: var(--s4); }
.phero__lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 58ch; }
.phero__meta { font-size: .9rem; color: var(--ink-soft); }
.phero__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.phero__media { min-width: 0; }
.phero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); }
.phero--town { background: var(--sage); }
.phero--article, .phero--guide, .phero--answer { text-align: left; }
.crumbs ol { list-style: none; margin: 0 0 var(--s5); padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .86rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--violet); }

/* ---------- prose ---------- */
.prose { min-width: 0; overflow-wrap: break-word; }
.prose > * { max-width: var(--narrow); }
.prose h3 { font-size: var(--h3); margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--violet); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: var(--s5) 0; padding: var(--s4) var(--s5); border-left: 3px solid var(--violet); background: var(--card); border-radius: 0 var(--r-card) var(--r-card) 0; font-family: var(--f-display); font-size: 1.15rem; }
.prose .note, aside.note { display: block; margin: var(--s5) 0; padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--violet); border-radius: var(--r-card); }
.standfirst { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.prose--intro { font-size: 1.08rem; }
.prose--center { text-align: center; }
.prose--center > * { margin-inline: auto; }
.prose--drop > p:first-child::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--violet); }
.table { width: 100%; max-width: var(--narrow); margin: var(--s5) 0; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .95rem; line-height: 1.45; }
.table th, .table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; hyphens: auto; }
.table th { background: var(--paper-2); font-weight: 600; font-family: var(--f-body); }
.table tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) { .table table { font-size: .86rem; } .table th, .table td { padding: 8px 8px; } }

/* ---------- chapters ---------- */
.chapter { padding-block: var(--s6); border-top: 1px solid var(--rule); min-width: 0; }
.chapter:first-of-type { border-top: 0; }
.chapter__head { display: flex; align-items: baseline; gap: var(--s4); margin-bottom: var(--s3); }
.chapter__num { font: 400 1rem/1 var(--f-body); color: var(--violet); letter-spacing: .05em; flex: 0 0 auto; }
.chapter h2 { font-size: var(--h2); margin: 0; }
.plate { margin: var(--s6) auto 0; max-width: 760px; }
.plate--inset { max-width: 620px; }
.plate__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-img); }
.plate--inset .plate__img { aspect-ratio: 3 / 2; }
.plate figcaption { font-size: .86rem; color: var(--ink-soft); text-align: center; margin-top: var(--s2); }


.tfacts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--s4); margin: 0; }
.tfacts__item { border-left: 2px solid var(--violet); padding: var(--s1) var(--s4); min-width: 0; }
.tfacts__item dt { font: 500 .8rem var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.tfacts__item dd { margin: var(--s1) 0 0; font: 450 1.12rem/1.35 var(--f-display); }

/* guide feature flow: centred chapter numerals on the wave rule */
.flow .chapter { border-top: 0; padding-block: var(--s6) var(--s4); }
.flow .chapter__head { flex-direction: column; align-items: center; text-align: center; gap: var(--s2); }
.flow .chapter__num { font: 400 1.6rem/1 var(--f-display); font-style: italic; }
.flow .chapter__head::after { content: ""; width: 120px; height: 2px; background: var(--violet); margin-top: var(--s3); }
.flow .prose > * { margin-inline: auto; }

/* answer: the short answer foregrounded */
.short { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--violet); border-radius: var(--r-card); padding: var(--s5) var(--s6); margin-bottom: var(--s6); }
.short__label { font: 500 .8rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin-bottom: var(--s2); }
.short__text { font: 450 1.28rem/1.5 var(--f-display); margin: 0; }
.answer .chapter { padding-block: var(--s5); }
.answer .chapter h2 { font-size: 1.6rem; }

/* designed article (core + legal) */
.article .chapter { border-top: 0; padding-block: var(--s5); }
.article .chapter h2 { font-size: 1.7rem; }
.article .chapter__head::before { content: ""; width: 28px; height: 2px; background: var(--violet); align-self: center; }

/* ---------- spokes + related ---------- */
.gcards { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.gcard a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s, border-color .18s; }
.gcard a:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--ink); }
.gcard__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sage); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; }
.gcard__kicker { font: 500 .75rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); padding: var(--s4) var(--s5) 0; }
.gcard__t { font: 450 1.2rem/1.25 var(--f-display); padding: var(--s2) var(--s5) var(--s2); }
.gcard__x { font-size: .92rem; color: var(--ink-soft); padding: 0 var(--s5) var(--s5); line-height: 1.5; }
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px solid var(--rule); }
.linklist a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); line-height: 1.4; }
.linklist a:hover { color: var(--violet); }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.pills a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.pills a:hover { border-color: var(--violet); color: var(--violet); }
.related { padding-block: var(--s8); }
.more__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .more__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.hubcard { display: grid; gap: var(--s2); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s6); text-decoration: none; color: var(--ink); }
.hubcard:hover { border-color: var(--violet); color: var(--ink); }
.hubcard__k { font: 500 .78rem var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.hubcard__t { font: 450 1.4rem/1.25 var(--f-display); }
.hubcard__go { color: var(--violet); }

/* ---------- indexes ---------- */
.scards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.scard a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); }
.scard a:hover { border-color: var(--violet); color: var(--ink); }
.scard__img { aspect-ratio: 3 / 2; overflow: hidden; } .scard__img img { width: 100%; height: 100%; object-fit: cover; }
.scard__t { font: 450 1.35rem/1.2 var(--f-display); padding: var(--s4) var(--s5) var(--s2); }
.scard__x { font-size: .95rem; color: var(--ink-soft); padding: 0 var(--s5) var(--s5); }
.agroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--s7); }
.agroup__h, .tgroup__h { font-size: 1.45rem; display: flex; align-items: baseline; gap: var(--s2); }
.agroup__h span, .tgroup__h span { font: 500 .85rem var(--f-body); color: var(--violet); }
.agroup__mi { color: var(--ink-soft); font-size: .85rem; }
.agroup .linklist li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.jump ul { list-style: none; margin: var(--s7) 0 var(--s6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.jump a { display: inline-block; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); text-decoration: none; color: var(--ink); font-size: .92rem; }
.jump a:hover { border-color: var(--violet); color: var(--violet); }
.tgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: var(--s7); }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.contact__h { font-size: 1.5rem; margin-bottom: var(--s4); }
.contact__card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: var(--s6); min-width: 0; }
.dcard { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.dcard li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.dcard .icon { flex: 0 0 auto; color: var(--violet); }
.contact__more { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.phero--contact { padding-block: var(--s6) var(--s6); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--s6); padding-block: var(--s8); }
.site-footer__brand { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); } .site-footer__brand { grid-column: auto; } }
.brand--footer .brand__name { font-size: 1.8rem; }
.brand--footer .brand__town { font-size: .95rem; }
.site-footer__tag { margin-top: var(--s4); color: var(--ink-soft); max-width: 36ch; font-size: .95rem; }
.site-footer__contact { font-size: .95rem; line-height: 1.9; }
.site-footer__small { font-size: .82rem; color: var(--ink-soft); }
.site-footer__h { font-size: 1.12rem; margin-bottom: var(--s3); }
.site-footer__col { min-width: 0; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col a { display: inline-block; padding: 4px 0; color: var(--ink); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.site-footer__col a:hover { color: var(--violet); text-decoration: underline; }
.site-footer__bottom { background: var(--forest); color: var(--on-forest); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); padding-block: var(--s5); position: relative; }
.site-footer__wave { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 120px; height: 30px; color: rgba(205, 190, 242, .45); }
.site-footer__wave .wave__still { stroke: var(--violet-on-dark); }
.site-footer__legal, .footer-builtby { margin: 0; font-size: .88rem; }
.site-footer__legal { padding-left: 140px; }
@media (max-width: 700px) { .site-footer__wave { display: none; } .site-footer__legal { padding-left: 0; } .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; padding-bottom: calc(var(--s5) + 72px); } }
/* One dark-ground mechanism. :not(.btn) is load-bearing: a button brings its own ground. */
.on-dark { color: var(--on-forest); }
.on-dark a:not(.btn) { color: var(--violet-on-dark); }
.on-dark a:not(.btn):hover { color: #fff; }

/* ---------- WhatsApp widget + mobile bar ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.wa__fab { display: inline-flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--wa); color: #fff; font: 600 1rem var(--f-body); cursor: pointer; box-shadow: 0 6px 20px rgba(20, 40, 28, .25); }
.wa__fab:hover { background: #17613a; }
.wa__panel { position: absolute; right: 0; bottom: 64px; width: min(360px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 120px)); overflow-y: auto; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); box-shadow: 0 16px 40px rgba(20, 40, 28, .2); padding: var(--s5); }
.wa__panel[hidden] { display: none; }
.wa__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.wa__title { font: 450 1.2rem var(--f-display); margin: 0; }
.wa__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); border-radius: 8px; }
.wa__form label { display: block; font-size: .88rem; font-weight: 500; margin: var(--s3) 0 4px; }
.wa__form input, .wa__form textarea, .wa__form select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.wa__form textarea { min-height: 80px; resize: vertical; }
.wa__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); }
.wa__form .btn { margin-top: var(--s4); }
.mbar { display: none; }
@media (max-width: 760px) {
	.mbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(242, 244, 238, .97); border-top: 1px solid var(--rule); }
	.mbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--violet); color: var(--violet); background: #fff; text-decoration: none; font-weight: 600; }
	.mbar__btn--primary { background: var(--violet); color: #fff; }
	.wa { bottom: 84px; right: 12px; }
	.wa__fab { min-height: 48px; padding: 12px; }
	.wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.site-footer__bottom-inner { padding-bottom: calc(var(--s5) + 72px); }
}

/* ---------- motion: CSS only, JS-gated, reduced-motion safe ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js-motion .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
	.js-motion .reveal.is-in { opacity: 1; transform: none; }
	.js-motion .wave path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease-out; }
	.js-motion .is-in .wave path, .js-motion .wave.is-in path { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* service template (mockup/page-service) */
.phero--service { background: var(--sage); }
.related__grid { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); }
.related__grid .related__h { margin: 0; }

/* fidelity loop 0 */
.trust__item { font-size: 1.02rem; }
.trust__item .icon { width: 44px; height: 44px; }
.proof__item .icon { width: 50px; height: 50px; }
.site-header .logo-mark { width: 46px; height: 46px; }
.site-header .brand__name { font-size: 1.5rem; }

/* fidelity loop 1: density, full-bleed hero, display scale (judges 2026-09-30) */
:root { --pad: clamp(40px, 4.6vw, 68px); }
.card__art .illus--painted, .step__art .illus--painted { width: 100%; height: 100%; object-fit: cover; }
.card__art, .step__art { background: #fff; }
@media (min-width: 900px) {
	.hero__grid { position: relative; grid-template-columns: minmax(0, 1fr); min-height: 520px; }
	.hero__text { max-width: 470px; padding-block: var(--s8); }
	.hero__media { position: absolute; top: 0; bottom: 0; right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wide) - 2 * var(--gutter)) / 2))); width: 64%; margin: 0; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
	.hero__img { height: 100%; min-height: 0; }
	.hero__h1 { font-size: clamp(2.3rem, 1.2rem + 2.6vw, 3.3rem); max-width: 16ch; }
}
.trust__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 999px) { .trust__list { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); } }
.trust__item { justify-content: center; }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.services__title { margin-bottom: var(--s5); }
.proof__item { padding-block: var(--s2); }
.areas__all { margin: var(--s4) 0 0; }
@media (min-width: 1000px) { .map { aspect-ratio: 12 / 5; } }
.related__grid .related__h { font-size: var(--h2); }
.quote .shead__title { font-size: clamp(2.3rem, 1.4rem + 2.2vw, 3.2rem); max-width: 9ch; }
.asks .shead__title { font-size: clamp(2.1rem, 1.4rem + 1.8vw, 2.8rem); }
.site-footer__grid { padding-block: var(--s7); }

/* fidelity loop 3 + browser gate */
.card__art .illus--painted, .step__art .illus--painted { filter: saturate(1.45) contrast(1.14); }
@media (min-width: 1000px) {
	.split__grid { grid-template-columns: minmax(0, 3.5fr) minmax(0, 6.5fr); gap: var(--s7); }
	.split .shead__title { font-size: clamp(1.75rem, 1.2rem + 1.25vw, 2.3rem); }
	.problem.band, .proof.band, .qspec.band { padding-block: clamp(36px, 3.8vw, 56px); }
	.quote__intro .shead__title { max-width: 12ch; }
	.quote__points { flex-wrap: nowrap; }
}
.quote .eyebrow { text-transform: none; letter-spacing: .01em; font-size: .95rem; }
.spec { background: #FBFCF9; }

.hero__assure { display: flex; align-items: center; gap: 6px; margin: var(--s4) 0 0; font-size: .9rem; color: var(--ink-soft); }
.hero__assure .icon { color: var(--violet); flex: 0 0 auto; }

/* loop-3 regression fix: the wider heading column wrapped 4-up rows to 3 + 1 */
@media (min-width: 1000px) {
	.cards--4, .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hero__text { max-width: 560px; }
	.hero__h1 { font-size: clamp(2.2rem, 1.1rem + 2.3vw, 3.05rem); max-width: 17ch; }
}
.trust__item .icon, .proof__item .icon { stroke-width: 1.8; }
@media (min-width: 1000px) {
	.split__grid { grid-template-columns: minmax(0, 2.8fr) minmax(0, 7.2fr); gap: var(--s7); }
	.split .shead__title { font-size: clamp(1.7rem, 1.15rem + 1.1vw, 2.15rem); }
}
.trust__item { justify-content: flex-start; }
.trust__item .icon { width: 52px; height: 52px; }
.card__art .illus--painted, .step__art .illus--painted { filter: saturate(1.35) contrast(1.1); }

.quote__points .icon { flex: 0 0 auto; width: 26px; height: 26px; }
.quote__points li { white-space: nowrap; }

/* verification-pass defect: quote points ran under the form column */
@media (min-width: 1000px) {
	.quote .split__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s7); }
	.quote__points { flex-wrap: wrap; }
	.quote__intro .shead__title { font-size: clamp(2.3rem, 1.3rem + 2vw, 3.1rem); max-width: 10ch; }
}
.quote__points li { white-space: normal; }

/* Keyboard users need to see focus enter the CRM form: the iframe itself carries the ring (Stage 6b). */
.crm.is-focus > iframe, iframe:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.panes__label { display: flex; align-items: baseline; gap: var(--s3); font: 500 .8rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 var(--s4); }
.panes__label span { font: italic 400 1rem var(--f-display); letter-spacing: 0; text-transform: none; color: var(--violet); }
.panes__row { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(176px, 100%), 1fr)); }
/* each pane is drawn as a glazing unit: dark frame, sky in the glass, a glint across it */
.pane { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); min-height: 150px; height: 100%; padding: var(--s4) var(--s4) var(--s4); border: 3px solid var(--forest); border-radius: 6px; background: linear-gradient(172deg, #D7E6EE 0%, #E9F0EF 42%, var(--card) 100%); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .18s, border-color .18s; }
.pane::before { content: ""; position: absolute; top: -40%; left: -30%; width: 38%; height: 180%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); transform: rotate(24deg); pointer-events: none; transition: left .5s ease; }
.pane::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.pane:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--ink); }
.pane:hover::before { left: 85%; }
.pane:hover::after, .pane:focus-visible::after { transform: scaleX(1); }
.pane__n { position: relative; font: italic 400 1.7rem/1 var(--f-display); color: var(--violet); }
.pane__t { position: relative; font: 450 1rem/1.3 var(--f-display); }
@media (max-width: 640px) { .panes__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pane { min-height: 118px; padding: var(--s3); } .pane__t { font-size: .92rem; } }


/* ---------- guides and answers band (homepage + service hubs) ---------- */
.asks__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); }
.asks__head .shead { max-width: 640px; }
.asks__all { display: flex; flex-wrap: wrap; gap: var(--s3); margin: 0; }
.gcards--lead { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.gcards--lead .gcard__img { aspect-ratio: 3 / 2; }
.asks__block { margin-top: var(--s8); }
.asks__h { font-size: 1.6rem; margin: 0 0 var(--s5); }
.qclusters { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); align-items: start; }
.qcl { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: var(--s5); min-width: 0; }
.qcl__k { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); font: 500 .8rem var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--violet); }
.qcl__k .icon { flex: 0 0 auto; }
.qcl__c { margin-left: auto; font: italic 400 1.05rem var(--f-display); letter-spacing: 0; color: var(--ink-soft); }
.qcl ul { list-style: none; margin: 0; padding: 0; }
.qcl li { border-top: 1px solid var(--rule); }
.qcl a { display: grid; grid-template-columns: 1.2em minmax(0, 1fr); gap: var(--s2); padding: 10px 0; color: var(--ink); text-decoration: none; line-height: 1.4; font-size: .97rem; }
.qcl a:hover { color: var(--violet); }
.qcl__q { font: italic 400 1.05rem/1.3 var(--f-display); color: var(--violet); }
.reads { list-style: none; margin: 0; padding: 0; display: grid; column-gap: var(--s6); grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.reads li { border-top: 1px solid var(--rule); }
.reads a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: var(--s3); align-items: baseline; padding: 13px 0; color: var(--ink); text-decoration: none; font: 450 1.06rem/1.35 var(--f-display); }
.reads a:hover { color: var(--violet); }
.reads__n { font: italic 400 1.15rem var(--f-display); color: var(--violet); }
@media (min-width: 900px) { .gcards--lead { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qclusters { align-items: stretch; }
/* balanced question board (hubs whose answers do not split into even themes) */
.qboard { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: var(--s5) var(--s6); }
.qboard ul { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: var(--s6); }
.qboard li { border-top: 1px solid var(--rule); break-inside: avoid; }
.qboard a { display: grid; grid-template-columns: 1.2em minmax(0, 1fr); gap: var(--s2); padding: 10px 0; color: var(--ink); text-decoration: none; line-height: 1.4; font-size: .97rem; }
.qboard a:hover { color: var(--violet); }
/* phones: the pane index becomes slim one-line glazing strips */
@media (max-width: 640px) {
	.panes__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.pane { min-height: 0; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: var(--s3); padding: 10px 14px; border-width: 2px; }
	.pane__n { font-size: 1.2rem; flex: 0 0 auto; }
	.pane__t { font-size: .95rem; }
}

/* ======================= the survey file: long-read as editorial spreads ======================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.file { border-top: 1px solid var(--rule); }
.file__cover { background: var(--hero); padding-block: 112px var(--s8); border-bottom: 1px solid var(--rule); }
.file__cgrid { display: grid; gap: var(--s7); align-items: end; }
@media (min-width: 1080px) { .file__cgrid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); } }
.file__title { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); line-height: 1.04; margin: var(--s2) 0 0; letter-spacing: -.01em; }
.file__title em { color: var(--violet); }
.file__wave { display: block; width: 100%; max-width: 460px; height: 42px; margin: var(--s4) 0 var(--s5); color: var(--wave); }
.prose--lead p { font: 400 1.2rem/1.6 var(--f-display); color: var(--ink); }
.file__cover .panes__row { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); }
.file__cover .pane { min-height: 126px; }

.spread { position: relative; padding-block: var(--s8) var(--s7); }
.spread--paper { background: var(--paper); }
.spread--sage { background: var(--sage); }
.spread--photo { background: var(--paper-2); padding-top: 0; }
.spread--dark { background: var(--forest); color: var(--on-forest); }
.spread + .spread, .file__nudge + .spread { border-top: 1px solid var(--rule); }
.spread--dark + .spread, .spread + .spread--dark { border-top: 0; }

/* opener */
.spread__open { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3) var(--s6); margin-bottom: var(--s7); }
@media (min-width: 900px) { .spread__open { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } .spread__wave { grid-column: 2; } }
.spread__n { margin: 0; font: italic 400 clamp(4.2rem, 3rem + 4vw, 7.5rem)/.82 var(--f-display); color: var(--violet); letter-spacing: -.03em; }
.spread__n span { font-size: .22em; letter-spacing: 0; color: var(--ink-soft); margin-left: .2em; font-style: normal; vertical-align: top; }
.spread__k { margin: 0 0 var(--s2); font: 500 .8rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.spread__titles h2 { margin: 0; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.08; max-width: 18ch; }
.spread__dek { margin: var(--s4) 0 0; font: italic 400 clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.45 var(--f-display); color: var(--ink-soft); max-width: 46ch; }
.spread__wave { display: block; width: 100%; max-width: 560px; height: 34px; color: var(--wave); }

/* reading column + margin */
.spread__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
@media (min-width: 900px) {
	.spread__grid { grid-template-columns: 220px minmax(0, 700px); column-gap: var(--s6); }
	.spread__col { grid-column: 2; }
	.spread__grid--margin { grid-template-columns: 220px minmax(0, 640px) minmax(0, 300px); }
	.spread__margin { grid-column: 3; }
}
.spread__col > :first-child { margin-top: 0; }
.spread .standfirst { font: 400 clamp(1.3rem, 1.15rem + .5vw, 1.55rem)/1.5 var(--f-display); color: var(--ink); margin-bottom: var(--s5); }
.spread .standfirst::first-letter { float: left; font: italic 400 4.4em/.78 var(--f-display); color: var(--violet); margin: .06em .1em 0 0; }
.spread__quote { margin: 0; padding: var(--s5) 0 var(--s5) var(--s5); border-left: 3px solid var(--violet); }
.spread__quote p { margin: 0; font: italic 400 1.4rem/1.38 var(--f-display); color: var(--ink); }
.spread__margin .spread__quote { position: relative; top: var(--s2); }
.spread > .wrap > .spread__quote { margin: var(--s7) auto; max-width: 980px; padding: var(--s6) 0 0; border-left: 0; border-top: 2px solid var(--violet); text-align: center; }
.spread > .wrap > .spread__quote p { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.25; }
.spread__next { margin: var(--s7) 0 0; }
@media (min-width: 900px) { .spread__next { padding-left: calc(220px + var(--s6)); } }
.spread__next a { display: inline-flex; align-items: baseline; gap: var(--s3); color: inherit; text-decoration: none; font: 450 1.1rem/1.35 var(--f-display); }
.spread__next a span { font: 500 .78rem var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.spread__next a::before { content: ""; width: 44px; height: 2px; background: var(--violet); align-self: center; flex: 0 0 auto; }
.spread__next a:hover { color: var(--violet); }

/* photo opener: full-bleed image, opener sits on a frosted glass card */
.spread__photo { position: relative; min-height: clamp(420px, 52vw, 640px); display: flex; align-items: flex-end; margin-bottom: var(--s8); overflow: hidden; }
.spread__photo .spread__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spread__photo .wrap { position: relative; width: 100%; padding-bottom: var(--s7); }
.spread__glass { max-width: 820px; padding: var(--s6) var(--s6) var(--s5); background: rgba(242, 244, 238, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(18, 48, 34, .18); }
.spread__glass .spread__open { margin-bottom: 0; grid-template-columns: minmax(0, 1fr); }
.spread__glass .spread__wave { grid-column: 1; }
.spread__glass .spread__n { font-size: clamp(3rem, 2.4rem + 2vw, 4.6rem); }

/* dark chapter */

/* modules */
.mod { margin: var(--s7) 0; padding: var(--s6); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-panel); box-shadow: 0 18px 50px rgba(20, 40, 28, .07); }
@media (min-width: 900px) { .mod { margin-left: calc(220px + var(--s6)); } }
.mod__k { margin: 0 0 var(--s5); font: 450 1.45rem/1.2 var(--f-display); color: var(--ink); }

.layers { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .layers { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.layers__art { width: 100%; height: auto; background: #F4F7F2; border-radius: var(--r-card); padding: var(--s3); }
.layers__key ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.layers__key li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: var(--s3); align-items: start; line-height: 1.45; font-size: .98rem; }
.layers__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; font: 600 .82rem var(--f-body); margin-top: 1px; }

.sources { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .sources { grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); } }
.sources__art { width: 100%; max-width: 240px; height: auto; margin-inline: auto; }
.sources__col { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.src { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.src__i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: var(--violet); }
.src strong { display: block; font: 450 1.12rem/1.25 var(--f-display); }
.src strong + span { display: block; font-size: .94rem; line-height: 1.45; color: var(--ink-soft); margin-top: 3px; }

.tline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5) var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.tline li { position: relative; padding-top: var(--s5); display: flex; flex-direction: column; gap: 4px; }
.tline li::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(-1 * var(--s4)); height: 2px; background: var(--rule); }
.tline li:last-child::before { right: 0; }
.tline__dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--card); }
.tline__k { order: -1; font: italic 400 2rem/1 var(--f-display); color: var(--violet); margin-top: var(--s3); }
.tline strong { font: 450 1.06rem/1.3 var(--f-display); }
.tline strong + span { font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }

.steps2 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.steps2 li { display: flex; flex-direction: column; gap: 6px; padding: var(--s4); border-radius: var(--r-card); background: var(--sage); }
.steps2__n { font: italic 400 1.9rem/1 var(--f-display); color: var(--violet); }
.steps2 strong { font: 450 1.08rem/1.3 var(--f-display); }
.steps2 strong + span { font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }

.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.factors li { display: flex; flex-direction: column; gap: 6px; padding: var(--s5) var(--s4) var(--s4); border-top: 3px solid var(--violet); background: linear-gradient(180deg, #F4F7F2, var(--card)); border-radius: 0 0 var(--r-card) var(--r-card); }
.factors__i { color: var(--violet); }
.factors strong { font: 450 1.1rem/1.3 var(--f-display); }
.factors strong + span { font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }

.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3) var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.signs li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: var(--s3); align-items: start; padding: var(--s3) 0; border-top: 1px solid var(--rule); line-height: 1.45; }
.signs__i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet); color: #fff; }
.signs__i .icon { width: 15px; height: 15px; }

.figs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.figs li { display: flex; flex-direction: column; gap: 6px; padding-top: var(--s4); border-top: 2px solid var(--violet); }
.figs__v { font: italic 400 clamp(2.2rem, 1.8rem + 1.5vw, 3.2rem)/1 var(--f-display); color: var(--violet); }
.figs strong { font: 450 1.06rem/1.3 var(--f-display); }
.figs strong + span { font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }

/* tables as comparison cards */
.compare { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin: var(--s6) 0; }
.compare__card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s5); border-top: 4px solid var(--violet); }
.compare__t { margin: 0 0 var(--s3); font: 450 1.2rem/1.25 var(--f-display); }
.compare dl { margin: 0; display: grid; gap: var(--s2); }
.compare dl div { display: grid; gap: 2px; }
.compare dt { font: 500 .74rem var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.compare dd { margin: 0; font-size: .96rem; line-height: 1.4; }

/* question accordion */
.qas { display: grid; gap: var(--s3); margin: var(--s5) 0; }
.qa { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); }
.qa summary { list-style: none; display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; flex: 1; font: 450 1.15rem/1.3 var(--f-display); display: flex; gap: var(--s3); }
.qa__q { font: italic 400 1.15rem/1.3 var(--f-display); color: var(--violet); }
.qa summary .icon { flex: 0 0 auto; color: var(--violet); transition: transform .2s; }
.qa[open] summary .icon { transform: rotate(180deg); }
.qa__a { padding: 0 var(--s5) var(--s4) calc(var(--s5) + 1.6em); }

/* in-flow quote prompt between spreads */
.file__nudge { background: var(--violet); color: #fff; padding-block: var(--s6); }
.file__ngrid { display: grid; gap: var(--s2) var(--s6); align-items: center; }
@media (min-width: 900px) { .file__ngrid { grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; } }
.file__nt { margin: 0; font: 450 1.5rem/1.2 var(--f-display); }
.file__ngrid p { margin: 0; color: #F1EEFA; }
.file__nudge .btn { background: #fff; color: var(--violet); border-color: #fff; }

/* survey file, pass 2: reading size, definition grid, margin reading card, lists, even module rows */
.spread__col.prose p, .spread__col.prose li { font-size: 1.08rem; line-height: 1.72; }
.spread__col.prose > p + p { margin-top: var(--s4); }
.terms { margin: var(--s6) 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.terms > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .terms > div { grid-template-columns: 9.5rem minmax(0, 1fr); } }
.terms dt { font: italic 400 1.35rem/1.25 var(--f-display); color: var(--violet); }
.terms dd { margin: 0; font-size: 1.04rem; line-height: 1.65; }

.readmore { position: relative; top: var(--s2); padding: var(--s5); background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); }
.spread--sage .readmore { background: var(--paper); }
.readmore__k { margin: 0 0 var(--s3); font: 500 .76rem var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--violet); }
.readmore ul { list-style: none; margin: 0; padding: 0; }
.readmore li { border-top: 1px solid var(--rule); }
.readmore a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); padding: 9px 0; color: var(--ink); text-decoration: none; font: 450 1rem/1.35 var(--f-display); }
.readmore a::after { content: "\2192"; color: var(--violet); font-family: var(--f-body); }
.readmore a:hover { color: var(--violet); }

/* prose lists inside a spread */
.spread__col.prose ul { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; gap: var(--s2); }
.spread__col.prose ul li { position: relative; padding-left: 1.9em; margin: 0; }
.spread__col.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 1.05em; height: 2px; background: var(--violet); }
.spread__col.prose ol { list-style: none; padding: 0; margin: var(--s5) 0; counter-reset: li; display: grid; gap: var(--s3); }
.spread__col.prose ol li { counter-increment: li; position: relative; padding: var(--s4) var(--s4) var(--s4) 3.6em; margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-card); }
.spread__col.prose ol li::before { content: counter(li, decimal-leading-zero); position: absolute; left: var(--s4); top: var(--s4); font: italic 400 1.35rem/1.2 var(--f-display); color: var(--violet); }
.spread--sage .spread__col.prose ol li { background: var(--paper); }

/* module rows: fit every item on one row at full width, never strand one */
.factors { grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); }
.tline { grid-template-columns: repeat(auto-fit, minmax(min(124px, 100%), 1fr)); }
.figs { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.steps2 { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
@media (max-width: 640px) {
	.tline { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 2px solid var(--rule); margin-left: 6px; }
	.tline li { padding: 0 0 var(--s5) var(--s5); }
	.tline li::before { display: none; }
	.tline__dot { left: -8px; top: 4px; }
	.tline__k { margin-top: 0; }
}
.spread__col.prose p.standfirst { font: 400 clamp(1.3rem, 1.15rem + .5vw, 1.55rem)/1.5 var(--f-display); }

/* survey file, pass 3: one grid, two edges, a calmer type scale (James review 2026-10-01).
   Rail (chapter number) | content edge. Everything readable starts on the content edge; everything
   that runs wide ends on the wrap's right edge. Measured by build/qa-align.mjs. */
.file { --rail: 150px; --rgap: var(--s6); --edge: calc(var(--rail) + var(--rgap)); }
@media (max-width: 899px) { .file { --rail: 0px; --rgap: 0px; } }

/* type scale */
.file__title { font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.9rem); }
.spread__n { font-size: clamp(2.8rem, 2.3rem + 1.6vw, 4.2rem); line-height: .9; }
.spread__titles h2 { font-size: clamp(1.75rem, 1.35rem + 1vw, 2.3rem); max-width: 22ch; }
.spread__dek { font-size: clamp(1.1rem, 1rem + .3vw, 1.28rem); }
.spread__col.prose p.standfirst { font-size: clamp(1.2rem, 1.1rem + .3vw, 1.36rem); }
.spread .standfirst::first-letter { font-size: 3.5em; }
.spread__quote p { font-size: 1.24rem; }
.figs__v { font-size: clamp(1.7rem, 1.45rem + .7vw, 2.2rem); }
.tline__k { font-size: 1.5rem; }
.steps2__n { font-size: 1.45rem; }
.mod__k { font-size: 1.3rem; }
.pane__n { font-size: 1.45rem; }
.file__nt { font-size: 1.32rem; }
.spread__glass .spread__n { font-size: clamp(2.4rem, 2rem + 1.2vw, 3.4rem); }

/* the grid */
@media (min-width: 900px) {
	.spread__open { grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--rgap); }
	.spread__grid { grid-template-columns: var(--rail) minmax(0, 680px); column-gap: var(--rgap); }
	.spread__grid--margin { grid-template-columns: var(--rail) minmax(0, 680px) minmax(0, 1fr); }
	.spread__margin { justify-self: stretch; }
	.mod { margin-left: var(--edge); }
	.spread__next { padding-left: var(--edge); }
	.spread > .wrap > .spread__quote { margin: var(--s7) 0 var(--s7) var(--edge); max-width: none; }
	.spread__glass { margin-left: var(--edge); }
}
.spread__margin .spread__quote, .spread__margin .readmore { max-width: 320px; margin-left: auto; }
/* wide pull quote: left aligned on the content edge, sensible size */
.spread > .wrap > .spread__quote { text-align: left; padding: var(--s5) 0 0; }
.spread > .wrap > .spread__quote p { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.32; max-width: 34ch; }
/* glass card: content edge to wrap edge on photo chapters */
.spread__glass { max-width: 760px; }
@media (min-width: 900px) { .spread__glass { margin-left: calc(var(--edge) - var(--s6)); } }

/* pass 4: diagrams are centrepieces, symmetric on the page; pull quotes stay inside the text measure */
@media (min-width: 900px) {
	.mod { margin-left: 0; margin-right: 0; }
	.spread > .wrap > .spread__quote { max-width: 680px; }
}

/* pass 5: a symmetric spread. The reading column is centred on the page; the chapter number sits
   in the left gutter and the margin card in the right gutter; diagrams span both gutters. Below
   1200px everything stacks in one centred column. Measured by build/qa-align.mjs. */
.file { --measure: 680px; }
@media (min-width: 900px) {
	.spread__open, .spread__grid, .spread__grid--margin { grid-template-columns: minmax(0, var(--measure)); justify-content: center; column-gap: 0; }
	.spread__open > *, .spread__grid > * { grid-column: 1; }
	.spread__wave { grid-column: 1; }
	.spread__margin { justify-self: stretch; }
	.spread__margin .spread__quote, .spread__margin .readmore { max-width: none; margin: 0; }
	.spread__next { padding-left: 0; max-width: var(--measure); margin-left: auto; margin-right: auto; }
	.spread > .wrap > .spread__quote { max-width: var(--measure); margin-left: auto; margin-right: auto; }
	.spread__glass { margin-left: calc((100% - var(--measure)) / 2 - var(--s6)); }
	.spread__n { margin-bottom: var(--s2); }
}
@media (min-width: 1200px) {
	.spread__open, .spread__grid, .spread__grid--margin { grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure)) minmax(0, 1fr); column-gap: var(--s6); justify-content: stretch; }
	.spread__open > *, .spread__grid > * { grid-column: 2; }
	.spread__open .spread__n { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; margin-bottom: 0; }
	.spread__open .spread__titles { grid-row: 1; }
	.spread__grid .spread__margin { grid-column: 3; justify-self: start; max-width: 300px; width: 100%; }
	.spread__glass .spread__open { grid-template-columns: minmax(0, 1fr); }
	.spread__glass .spread__open > * { grid-column: 1; }
	.spread__glass .spread__n { justify-self: start; text-align: left; }
}
@media (min-width: 1200px) { .spread__glass .spread__open > * { grid-row: auto; } }
.file__cgrid { align-items: start; }
@media (min-width: 1080px) { .file__lead { position: relative; padding-top: var(--s5); } }


/* ---------- long-read colour tokens (§7c.3: ONE dark mechanism) ----------
   Every survey-file component reads these tokens; light values are the fallbacks. A dark band
   adds .on-dark, which switches the tokens below. No component lists its own dark override. */
.on-dark {
	--lr-text: #FFFFFF; --lr-body: var(--on-forest); --lr-soft: #C9D3C6;
	--lr-accent: #C9BEF0; --lr-accent-ink: #10241A; --lr-link: #DCD3FA;
	--lr-surface: #183B2B; --lr-line: #2C5240; --lr-tile: #22493A; --lr-tile-2: #22493A; --lr-wave: #8C82BE;
}
.spread__titles h2, .spread .standfirst, .spread__quote p, .spread__next a, .mod__k, .mod strong, .compare__t, .qa summary h3, .readmore a { color: var(--lr-text, var(--ink)); }
.spread__col.prose p, .spread__col.prose li, .terms dd, .mod li, .compare dd, .qa__a p, .spread .prose .note, .spread aside.note, .spread .prose blockquote { color: var(--lr-body, var(--ink)); }
.spread__dek, .spread__n span, .compare dt, .src strong + span, .tline strong + span, .steps2 strong + span, .factors strong + span, .figs strong + span { color: var(--lr-soft, var(--ink-soft)); }
.spread__n, .spread__k, .spread__next a span, .terms dt, .tline__k, .steps2__n, .figs__v, .factors__i, .qa__q, .qa summary .icon, .readmore__k, .readmore a::after, .src__i { color: var(--lr-accent, var(--violet)); }
.spread .standfirst::first-letter { color: var(--lr-accent, var(--violet)); }
.spread__col.prose a, .terms dd a { color: var(--lr-link, var(--violet)); }
.spread__quote { border-color: var(--lr-accent, var(--violet)); }
.spread > .wrap > .spread__quote { border-top-color: var(--lr-accent, var(--violet)); }
.spread__next a::before, .tline__dot, .layers__n, .signs__i, .spread__col.prose ul li::before { background: var(--lr-accent, var(--violet)); }
.layers__n, .signs__i { color: var(--lr-accent-ink, #fff); }
.tline__dot { box-shadow: 0 0 0 4px var(--lr-surface, var(--card)); }
.figs li, .factors li, .compare__card { border-top-color: var(--lr-accent, var(--violet)); }
.terms { border-top-color: var(--lr-text, var(--ink)); }
.terms > div, .signs li, .qcl li { border-color: var(--lr-line, var(--rule)); }
.mod, .compare__card, .qa, .readmore, .spread .prose .note, .spread aside.note, .spread .prose blockquote, .spread__col.prose ol li { background: var(--lr-surface, var(--card)); border-color: var(--lr-line, var(--rule)); }
.spread--sage .readmore, .spread--sage .spread__col.prose ol li { background: var(--lr-surface, var(--paper)); }
.spread .prose .note, .spread aside.note, .spread .prose blockquote { border-left-color: var(--lr-accent, var(--violet)); }
.steps2 li, .src__i { background: var(--lr-tile-2, var(--sage)); }
.factors li { background: var(--lr-tile, linear-gradient(180deg, #F4F7F2, var(--card))); }
.spread__col.prose ol li::before { color: var(--lr-accent, var(--violet)); }
.spread__wave, .file__wave { color: var(--lr-wave, var(--wave)); }
.on-dark .mod { box-shadow: none; }
