/* ==========================================================================
   Steelcity Skylights. Contour lines of a city on seven hills.
   Tokens from STYLE-GUIDE.md / design-dna.json. No gradients, no shadows.
   ========================================================================== */

/* ---------- fonts: self-hosted, with metric-matched fallbacks (CLS 0) ---------- */
@font-face { font-family: "Outfit"; src: url(../fonts/outfit-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(../fonts/worksans-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(../fonts/worksans-italic-var.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
/* fallbacks measured in Chrome (canvas measureText against the loaded faces), 2026-10-14 */
@font-face { font-family: "Outfit Fallback"; src: local("Arial"); font-weight: 100 599; size-adjust: 98.23%; ascent-override: 101.8%; descent-override: 26.47%; line-gap-override: 0%; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 600 900; size-adjust: 94.24%; ascent-override: 106.11%; descent-override: 27.59%; line-gap-override: 0%; }
@font-face { font-family: "Work Sans Fallback"; src: local("Arial"); font-weight: 100 549; size-adjust: 111.39%; ascent-override: 83.49%; descent-override: 21.55%; line-gap-override: 0%; }
@font-face { font-family: "Work Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 550 900; size-adjust: 103.69%; ascent-override: 89.69%; descent-override: 23.15%; line-gap-override: 0%; }
@font-face { font-family: "Work Sans Fallback"; src: local("Arial Italic"), local("Arial"); font-style: italic; font-weight: 100 900; size-adjust: 111.39%; ascent-override: 83.49%; descent-override: 21.55%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
	--ground: #EEF1F0;
	--sky: #EDEFEE;
	--sage: #E3EAE7;
	--white: #FFFFFF;
	--gunmetal: #1F2E2E;
	--ink: #1A2422;
	--ink-soft: #46524F;
	--straw: #DDA830;
	--straw-ink: #8A6100;
	--straw-tint: #FBF3DF;
	--bronze: #A0552B;
	--violet: #5E4478;
	--violet-tint: #EFEBF3;
	--blue: #3D6A8F;
	--line: #C9D3CF;
	--line-strong: #A9B7B2;
	--line-dark: #3C4C4B;
	--wa: #25D366;

	/* text roles: redefined by .on-dark, so every rule reads the right value on either ground */
	--t-head: var(--gunmetal);
	--t-body: var(--ink);
	--t-soft: var(--ink-soft);
	--t-link: var(--straw-ink);
	--t-rule: var(--line);
	--t-contour: var(--line-strong);

	--f-display: "Outfit", "Outfit Fallback", Arial, sans-serif;
	--f-body: "Work Sans", "Work Sans Fallback", Arial, sans-serif;

	--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
	--sec: clamp(48px, 7vw, 96px);
	--gutter: clamp(16px, 3vw, 40px);
	--w-prose: 68ch;
	--w-std: 1140px;
	--w-wide: 1320px;
	--hdr: 64px;
	--r-btn: 8px;
	--r-card: 10px;
	--r-panel: 14px;
}

/* One dark-ground mechanism (§7c.3). Components that paint their own light ground reset the roles. */
.on-dark {
	--t-head: #F3F5F4;
	--t-body: var(--sage);
	--t-soft: #BDC9C5;
	--t-link: var(--straw);
	--t-rule: var(--line-dark);
	--t-contour: #3E5150;
	background-color: var(--gunmetal);
	color: var(--t-body);
}
.on-dark a:not(.btn) { color: var(--t-link); }
.on-light, .svc-card, .quote-band__panel, .contact__panel, .wa-panel, .town-card {
	--t-head: var(--gunmetal);
	--t-body: var(--ink);
	--t-soft: var(--ink-soft);
	--t-link: var(--straw-ink);
	--t-rule: var(--line);
	color: var(--t-body);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.nav-open { overflow: hidden; }
body { margin: 0; background: var(--ground); color: var(--t-body); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--t-link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--straw); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--t-head); line-height: 1.12; margin: 0 0 var(--s-4); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--straw-ink); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--straw); }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gunmetal); color: var(--sage); padding: 10px 16px; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; }
main { display: block; outline: none; }
.wrap { width: 100%; max-width: calc(var(--w-std) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.kicker { font-family: var(--f-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-soft); margin: 0 0 var(--s-3); }
.rule { display: block; width: 72px; height: 3px; background: var(--straw); margin: var(--s-5) 0; border-radius: 2px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.chip { display: block; width: 26px; height: 4px; border-radius: 2px; background: var(--straw); }
.chip--straw { background: var(--straw); } .chip--bronze { background: var(--bronze); } .chip--violet { background: var(--violet); } .chip--blue { background: var(--blue); }

/* contour device: inline SVG, colour from the role token */
.contour { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--t-contour); z-index: 0; }
.contour--hero { opacity: 0.55; }
.contour--faint { opacity: 0.38; }
.contour--dark { opacity: 0.9; }
.contour--proof { opacity: 0.14; }
.contour--map { opacity: 0.22; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: var(--r-btn); font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
.btn--primary { background: var(--straw); color: var(--gunmetal); border-color: var(--straw); }
.btn--primary:hover { background: #E6B649; }
.btn--outline { background: transparent; color: var(--gunmetal); border-color: var(--gunmetal); }
.btn--outline:hover { background: var(--white); }
.on-dark .btn--outline { color: var(--sage); border-color: var(--sage); }
.on-dark .btn--outline:hover { background: transparent; border-color: var(--straw); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.btn--lg { min-height: 56px; padding: 12px 34px; font-size: 1.15rem; }
.btn--straw-outline { background: transparent; color: var(--straw-ink); border: 2px solid var(--straw); padding: 14px 34px; font-size: 1.2rem; }
@media (min-width: 1024px) { .areas .btn--straw-outline { min-height: 64px; padding: 16px 44px; font-size: 1.5rem; border-radius: 10px; } }
.btn--straw-outline:hover { background: var(--white); }
.btn--wa { background: var(--wa); color: var(--gunmetal); border-color: var(--wa); width: 100%; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--t-link); }
.textlink .ico { transition: transform 160ms ease; }
.textlink:hover .ico { transform: translateX(3px); }

/* ---------- header (§4a) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sky); border-bottom: 1px solid var(--gunmetal); height: var(--hdr); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header__bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--gunmetal); flex: none; }
.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--gunmetal); }
.lockup .mark { width: 38px; height: 38px; flex: none; }
.lockup__word { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--gunmetal); white-space: nowrap; line-height: 1; }
.nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.nav__list { list-style: none; display: flex; align-items: center; gap: clamp(4px, 1.2vw, 22px); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 8px; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; line-height: 1.3; color: var(--gunmetal); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link.is-current { border-bottom-color: var(--straw); color: var(--gunmetal); }
.nav__caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin-left: -6px; padding: 0; border: 0; background: none; color: var(--gunmetal); cursor: pointer; border-radius: 6px; }
.nav__caret .ico { width: 18px; height: 18px; transition: transform 160ms ease; }
.has-sub.is-open .nav__caret .ico { transform: rotate(180deg); }
.nav__sub { position: absolute; top: 100%; left: -16px; padding-top: 12px; display: none; z-index: 60; }
.nav__sub ul { list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--straw); border-radius: 0 0 var(--r-card) var(--r-card); padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; width: 520px; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--gunmetal); text-decoration: none; font-size: 0.98rem; line-height: 1.3; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--sage); }
.nav__sub .nav__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.nav__sub .nav__all a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; color: var(--straw-ink); }
@media (min-width: 1024px) {
	.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { display: block; }
	.has-sub.no-hover .nav__sub { display: none; }
	.nav__extra { display: none; }
}
.header__actions { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--gunmetal); text-decoration: none; white-space: nowrap; padding: 8px 4px; }
.header__phone .ico { display: none; }
.header__wa .ico { display: none; }
.hq-short { display: none; }
.nav-toggle { display: none; }
@media (max-width: 1279px) {
	.lockup--header .lockup__word { font-size: 1.3rem; }
	.header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.header__phone .ico { display: block; width: 22px; height: 22px; }
	.header__phone { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--gunmetal); border-radius: var(--r-btn); padding: 0; }
	.header__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.header__wa .ico { display: block; width: 22px; height: 22px; }
	.header__wa.btn--sm { width: 44px; padding: 0; }
	.header__bar { gap: 14px; }
	.nav__link { font-size: 1rem; padding: 10px 6px; }
}
@media (max-width: 1023px) {
	.header__phone, .header__wa { display: none; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--gunmetal); background: transparent; border-radius: var(--r-btn); cursor: pointer; color: var(--gunmetal); }
	.nav-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
	.nav-toggle__bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px; transition: transform 180ms ease, opacity 180ms ease; }
	.nav-toggle__bars i:nth-child(1) { top: 0; } .nav-toggle__bars i:nth-child(2) { top: 6px; } .nav-toggle__bars i:nth-child(3) { top: 12px; }
	.nav-open .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.nav-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.nav { display: none; position: fixed; top: var(--hdr); left: 0; right: 0; max-height: calc(100dvh - var(--hdr) - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--ground); border-top: 1px solid var(--line); border-bottom: 1px solid var(--gunmetal); padding: 8px var(--gutter) 24px; z-index: 49; flex-direction: column; justify-content: flex-start; }
	.admin-bar .nav { top: calc(var(--hdr) + 46px); max-height: calc(100dvh - var(--hdr) - 110px); }
	.nav-open .wa-fab, .nav-open .wa-panel { display: none; }
	.nav-open .nav { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link { flex: 1 1 auto; padding: 14px 0; font-size: 1.15rem; border-bottom: 0; }
	.nav__link:hover, .nav__link.is-current { border-bottom: 0; color: var(--straw-ink); }
	.nav__caret { width: 48px; height: 48px; margin: 0; border-left: 1px solid var(--line); border-radius: 0; }
	.nav__sub { position: static; display: none; padding: 0 0 12px; width: 100%; flex-basis: 100%; }
	.has-sub.is-open .nav__sub { display: block; }
	.nav__sub ul { display: block; width: auto; background: var(--sage); border: 0; border-left: 3px solid var(--straw); border-radius: 0 var(--r-card) var(--r-card) 0; padding: 6px 0; }
	.nav__sub a { padding: 11px 16px; font-size: 1rem; }
	.nav__sub a:hover { background: var(--white); }
	.nav__sub .nav__all { border-top: 1px solid var(--line); margin: 4px 0 0; padding: 0; }
	.nav__extra { display: grid; gap: 12px; padding-top: 20px; }
	.nav__extra .btn { width: 100%; }
	.nav__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--gunmetal); text-decoration: none; padding: 6px 0; }
	.nav__phone .ico { width: 22px; height: 22px; }
}
@media (max-width: 479px) {
	.header__bar { gap: 10px; }
	.lockup--header .mark { width: 32px; height: 32px; }
	.lockup--header .lockup__word { font-size: 1.12rem; }
	.lockup { gap: 9px; }
	/* Visually hidden, never display:none: "Quote" is aria-hidden, so the long label is the button's accessible name
	   (PageSpeed link-name at 390, Exeter lesson). The visible word is inside the name, so label-in-name holds. */
	.hq-long { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.hq-short { display: inline; }
	.header__quote.btn--sm { padding: 8px 14px; }
}
@media (max-width: 359px) { .lockup--header .lockup__word { font-size: 1rem; } }

/* ---------- homepage: 02 hero ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; }
.hero .contour { color: var(--line-strong); }
.hero__copy { position: relative; z-index: 2; text-align: center; padding-top: clamp(28px, 4vw, 52px); padding-bottom: 24px; }
.hero__title { font-size: clamp(2.25rem, 3.65vw, 3.45rem); line-height: 1.08; margin: 0 auto 18px; max-width: 18em; color: var(--ink); text-wrap: balance; }
.hero__tag { text-wrap: balance; }
.hero__tag { display: block; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 31em; margin: 0 auto 26px; color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; }
.hero__ctas .btn--primary { min-width: 220px; }
.hero__ctas .btn--outline { min-width: 190px; }
.hero__art { display: block; position: relative; z-index: 1; }
.hero__art img { width: 100%; height: auto; }
@media (min-width: 900px) {
	.hero { display: grid; }
	.hero > .hero__copy, .hero > .hero__art { grid-area: 1 / 1; }
	.hero__copy { align-self: start; }
	.hero__art { align-self: end; margin-top: max(56px, calc(420px - 24vw)); }
}
@media (max-width: 899px) {
	.hero__copy { padding-bottom: 28px; }
	.hero__art img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 62% 100%; }
}
@media (max-width: 479px) {
	.hero__ctas .btn { flex: 1 1 100%; min-width: 0; }
}

/* ---------- 03 trust ---------- */
.trust { position: relative; background: var(--ground); padding: clamp(30px, 4.2vw, 64px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.trust__tags { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--straw); border-radius: var(--r-card); padding: 30px 15px; font-family: var(--f-display); font-weight: 500; font-size: clamp(0.86rem, 1.01vw, 1.04rem); line-height: 1.3; color: var(--ink); white-space: nowrap; }
@media (max-width: 1199px) { .tag { white-space: normal; } }
.tag--bronze { border-left-color: var(--bronze); } .tag--violet { border-left-color: var(--violet); } .tag--blue { border-left-color: var(--blue); }
@media (max-width: 599px) { .tag { padding: 14px 16px; font-size: 0.98rem; } .trust__tags { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.hub-trust { background: var(--ground); padding: 24px 0; border-bottom: 1px solid var(--line); }
.hub-trust .trust__tags { justify-content: flex-start; }

/* ---------- 04 problem ---------- */
.problem { background: var(--ground); padding: clamp(44px, 5.5vw, 76px) 0; }
.problem__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .problem__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr); gap: var(--s-6); } }
.problem__title { font-size: clamp(1.8rem, 2.45vw, 2.3rem); line-height: 1.15; }
.problem__title span { display: block; }
.problem__sub { font-size: clamp(1.15rem, 1.5vw, 1.4rem); margin: 0; color: var(--ink); }
.problem__cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 22px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--straw); border-radius: var(--r-card); padding: 18px 22px 26px; text-align: center; min-width: 0; transition: border-color 200ms ease; }
.pcard--bronze { border-top-color: var(--bronze); } .pcard--violet { border-top-color: var(--violet); } .pcard--blue { border-top-color: var(--blue); }
.pcard:hover { border-color: var(--line-strong); }
.pcard--straw:hover { border-top-color: var(--straw); } .pcard--bronze:hover { border-top-color: var(--bronze); } .pcard--violet:hover { border-top-color: var(--violet); }
.pcard__img { display: block; margin: 0 -6px 14px; }
.pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 599px) { .pcard__img img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 150px; margin-inline: auto; object-fit: contain; } }
.pcard h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin-bottom: 8px; }
.pcard p { color: var(--ink); margin: 0; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.5; }
.pcard--text { text-align: left; padding-top: 26px; }

/* ---------- 05 what we fit (dark band) ---------- */
.fit { position: relative; padding: clamp(40px, 5vw, 64px) 0; overflow: hidden; }
.fit .contour { opacity: 1; }
.fit__grid { position: relative; z-index: 1; display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .fit__grid { grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.38fr); } }
.fit__intro h2 { font-size: clamp(2.1rem, 3.3vw, 3rem); margin: 0; }
.fit__intro .rule { margin: 18px 0; }
.fit__intro p { color: var(--t-body); }
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(178px, 100%), 1fr)); gap: 16px; }
.svc-grid--home { grid-template-columns: repeat(auto-fill, minmax(min(176px, 100%), 1fr)); }
.svc-grid--index { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.svc-grid--row { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.svc-grid--lines { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
@media (max-width: 599px) { .svc-grid, .svc-grid--home { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 12px; } }
.svc-card { min-width: 0; }
.svc-card a { display: flex; flex-direction: column; align-items: center; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 14px 18px; text-decoration: none; text-align: center; transition: border-color 200ms ease, transform 200ms ease; }
.svc-card a:hover { border-color: var(--straw); transform: translateY(-1px); }
.svc-card__img { display: block; width: 100%; }
.svc-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.svc-card__title { display: block; margin-top: 8px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.25; color: var(--gunmetal); }
.svc-card__line { display: block; margin-top: 8px; font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.svc-grid--index .svc-card a, .svc-grid--lines .svc-card a { align-items: flex-start; text-align: left; padding: 16px 20px 22px; }
.svc-grid--index .svc-card__title, .svc-grid--lines .svc-card__title { font-weight: 600; font-size: 1.2rem; }

/* ---------- 06 proof: the life plan ---------- */
.proof { position: relative; background: var(--ground); padding: var(--sec) 0; overflow: hidden; border-top: 1px solid var(--line); }
.proof__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1100px) { .proof__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.72fr) minmax(0, 1.08fr); gap: 36px; } }
@media (min-width: 700px) and (max-width: 1099px) { .proof__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .proof__plan { grid-column: 1 / -1; } }
.proof__title { font-size: clamp(2.3rem, 3.8vw, 3.5rem); margin-bottom: 8px; }
.proof__sub { font-size: clamp(1.15rem, 1.6vw, 1.45rem); margin: 0; color: var(--ink); }
.proof__plan .rule { margin: 20px 0 8px; }
.lp-path { position: relative; }
.lp-path ol { list-style: none; }
.lp-step h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); margin: 10px 0 4px; }
.lp-step p { margin: 0; font-size: clamp(0.98rem, 1.15vw, 1.1rem); line-height: 1.45; color: var(--ink); }
.lp-step__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gunmetal); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; position: relative; z-index: 1; }
.lp-path__line { display: none; }
@media (min-width: 700px) {
	.lp-path { height: 280px; }
	.lp-path__line { display: block; position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gunmetal); }
	.lp-step { position: absolute; width: 168px; text-align: left; transform: translate(-30px, -22px); }
	.lp-step--1 { left: 20%; top: 62%; text-align: center; transform: translate(-50%, -22px); }
	.lp-step--2 { left: 50%; top: 40%; }
	.lp-step--3 { left: 80%; top: 22%; }
}
@media (min-width: 1100px) {
	.proof__plan { position: relative; }
	.lp-path { height: 290px; margin-top: -120px; }
}
@media (max-width: 699px) {
	.lp-path ol { position: relative; margin-top: 16px; padding-left: 4px; }
	.lp-path ol::before { content: ""; position: absolute; left: 25px; top: 22px; bottom: 30px; border-left: 2px dashed var(--gunmetal); }
	.lp-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 10px 0; }
	.lp-step__n { grid-row: span 2; }
	.lp-step h3 { margin: 8px 0 2px; }
}
.tbars { list-style: none; display: grid; gap: 22px; }
.tbar { position: relative; padding-left: 26px; font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.45; color: var(--t-body); }
.tbar::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 2px; background: var(--straw); }
.tbar--bronze::before { background: var(--bronze); } .tbar--violet::before { background: #8A6BAA; } .tbar--blue::before { background: var(--blue); }
.tbars--light .tbar--violet::before { background: var(--violet); }
.proof__more { margin: 28px 0 0; }
.proof__photo { margin: 0; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.proof__photo img { width: 100%; aspect-ratio: 612 / 476; object-fit: cover; }

/* ---------- 07 process ---------- */
.process { background: var(--ground); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.process__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1024px) { .process__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); } }
.process__intro h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin: 0; }
.process__intro .rule { margin: 20px 0 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; }
.step { position: relative; text-align: center; min-width: 0; }
.step__n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gunmetal); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; }
.step h3 { margin: 14px 0 6px; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.step p { margin: 0 auto; max-width: 15em; color: var(--ink); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.5; }
@media (min-width: 700px) {
	.step:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: calc(50% + 30px); width: calc(100% - 60px + 24px); height: 2px; background: var(--gunmetal); }
}
@media (max-width: 699px) {
	.steps { gap: 0; }
	.step { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; text-align: left; padding-bottom: 22px; }
	.step__n { grid-row: span 2; }
	.step h3 { margin: 12px 0 4px; }
	.step p { margin: 0; }
	.step:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 58px; bottom: 0; width: 2px; background: var(--gunmetal); }
}
.process--page { border-top: 0; }

/* ---------- 08 areas ---------- */
.areas { position: relative; background: var(--ground); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.areas__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1024px) { .areas__grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 2.25fr); } }
.areas__intro h2 { font-size: clamp(2rem, 3.1vw, 2.9rem); margin: 0; }
.areas__intro h2 span { display: block; }
.areas__intro .rule { margin: 20px 0 32px; }
.areas__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.areas__chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.95rem; }
.areas__chips a { text-decoration: none; }
@media (min-width: 700px) { .areas__chips { display: none; } } /* the pin labels are the links on desktop */
.radius-map__pin a { color: inherit; text-decoration: none; }
.radius-map__pin a:hover { color: var(--straw-ink); text-decoration: underline; text-decoration-color: var(--straw); }
.radius-map__canvas { position: relative; aspect-ratio: 1000 / 440; width: 100%; container-type: inline-size; }
.radius-map__canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.radius-map__ring { color: var(--gunmetal); }
.radius-map__base { position: absolute; transform: translate(-50%, 14px); font-family: var(--f-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.radius-map__pins { list-style: none; }
.radius-map__pin { position: absolute; display: flex; align-items: flex-end; gap: 6px; transform: translate(-12px, -100%); font-family: var(--f-display); font-weight: 500; font-size: clamp(0.85rem, 1.3vw, 1.2rem); color: var(--ink); white-space: nowrap; }
.radius-map__pin .pin { width: 22px; height: 30px; color: var(--gunmetal); flex: none; }
.radius-map__pin span { padding-bottom: 6px; transform: translateY(var(--ly, 0)); }
.radius-map__pin.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 12px), -100%); }
@media (max-width: 699px) {
	.radius-map__pin span { display: none; }
	.radius-map__pin .pin { width: 14px; height: 19px; }
	.radius-map__pin { transform: translate(-7px, -100%); }
	.radius-map__pin.is-left { transform: translate(-7px, -100%); }
}
.radius-map--mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.radius-map--mini .radius-map__pin { font-size: 1rem; }

/* ---------- inner pages: hero, bands ---------- */
.page-hero { position: relative; background: var(--sage); padding: clamp(36px, 5vw, 72px) 0 clamp(40px, 5.5vw, 76px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; bottom: 0; height: 5px; z-index: 2; box-sizing: border-box; }
.page-hero::before { left: 0; width: 50%; background: var(--straw); border-right: 25vw solid var(--bronze); }
.page-hero::after { left: 50%; right: 0; background: var(--violet); border-right: 25vw solid var(--blue); }
.page-hero .contour { color: #B3C2BD; opacity: 0.6; }
.page-hero__in { position: relative; z-index: 1; display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .page-hero--media .page-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s-7); } }
.page-hero h1 { max-width: 20em; margin-bottom: 14px; }
.page-hero__lede { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; max-width: 40em; color: var(--ink); margin-bottom: 0; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.page-hero--quiet h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.crumbs { margin-bottom: 18px; font-size: 0.9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--straw-ink); border-bottom-color: var(--straw); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.hub-media { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.hub-media--drawing img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px 24px 0; }
.hub-media figcaption { padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; color: var(--gunmetal); background: var(--white); display: flex; align-items: center; gap: 10px; }
.hub-media figcaption::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--straw); }
.hub-media--photo img { width: 100%; height: auto; } /* uncropped: the library watermark corner stays in frame */
.band { position: relative; padding: var(--sec) 0; }
.band--ground { background: var(--ground); }
.band--sage { background: var(--sage); }
.band__head { margin-bottom: var(--s-6); max-width: 46em; }
.band__head h2 { margin-bottom: 8px; }
.band__head p:last-child { margin-bottom: 0; }

/* ---------- cards and lists ---------- */
.spoke-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
/* In an index group (2 guides or 3 answers per hub) auto-fill stranded the cards in the left 40% of every row; auto-fit lets them share it. */
.idx-group .spoke-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.spoke-card { min-width: 0; }
.spoke-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--straw); border-radius: var(--r-card); padding: 20px 22px 22px; text-decoration: none; color: var(--ink); transition: border-color 200ms ease; }
.spoke-card--bronze a { border-top-color: var(--bronze); } .spoke-card--violet a { border-top-color: var(--violet); } .spoke-card--blue a { border-top-color: var(--blue); }
.spoke-card a:hover { border-left-color: var(--line-strong); border-right-color: var(--line-strong); border-bottom-color: var(--line-strong); }
.spoke-card__kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.spoke-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.25; color: var(--gunmetal); margin: 8px 0; }
.spoke-card__sum { font-size: 0.97rem; line-height: 1.55; color: var(--ink-soft); }
.spoke-card__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; color: var(--straw-ink); }
.qlist { list-style: none; border-top: 1px solid var(--line); }
.qlist li { border-bottom: 1px solid var(--line); }
.qlist a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; text-decoration: none; color: var(--gunmetal); font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.35; }
.qlist a .ico { color: var(--straw-ink); transition: transform 160ms ease; }
.qlist a:hover .ico { transform: translateX(3px); }
.qlist--compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); column-gap: 32px; border-top: 0; }
.qlist--compact a { font-size: 1rem; padding: 12px 2px; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: var(--s-7); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.jump__count { font-family: var(--f-display); font-weight: 700; color: var(--gunmetal); font-size: 1.1rem; }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--gunmetal); font-size: 0.95rem; }
.jump a span { color: var(--ink-soft); }
.jump a:hover { border-color: var(--straw); }
.featured { margin-bottom: var(--s-7); }
.featured__h { font-size: 1.6rem; }
.idx-group { margin-top: var(--s-7); scroll-margin-top: calc(var(--hdr) + 16px); }
.idx-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--straw); }
.idx-group--bronze .idx-group__head { border-bottom-color: var(--bronze); } .idx-group--violet .idx-group__head { border-bottom-color: var(--violet); } .idx-group--blue .idx-group__head { border-bottom-color: var(--blue); }
.idx-group__head h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 0; }
.idx-group__img img { width: 72px; aspect-ratio: 4 / 3; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.idx-group__n { margin-left: auto; font-family: var(--f-display); font-weight: 700; color: var(--ink-soft); }
/* Guides / answers index (§4c-i): featured band, then clusters of image cards with read time. */
.idx--spokes .featured { margin-bottom: var(--s-8); }
.featured__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: var(--s-5); padding-bottom: 12px; border-bottom: 3px solid var(--gunmetal); }
.featured__head .featured__h { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0; }
.featured__dek { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.featured__grid { list-style: none; display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
.icard { min-width: 0; }
.icard a { display: grid; grid-template-columns: minmax(0, 116px) minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--straw); border-radius: var(--r-card); padding: 14px; text-decoration: none; color: var(--ink); transition: border-color 200ms ease; }
.icard--bronze a { border-top-color: var(--bronze); } .icard--violet a { border-top-color: var(--violet); } .icard--blue a { border-top-color: var(--blue); }
.icard a:hover { border-left-color: var(--line-strong); border-right-color: var(--line-strong); border-bottom-color: var(--line-strong); }
.icard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--sage); }
.icard__img--wide { aspect-ratio: 16 / 9; }
/* Cover crops keep the bottom-right corner, where the library watermark sits. */
.icard__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
.icard__body { display: flex; flex-direction: column; min-width: 0; align-self: stretch; }
.icard__kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.icard__title { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.28; color: var(--gunmetal); margin: 6px 0; text-wrap: pretty; }
.icard__sum { font-size: 0.94rem; line-height: 1.5; color: var(--ink-soft); }
.icard__meta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icard__time { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--straw-ink); }
.icard__go { color: var(--straw-ink); display: inline-flex; transition: transform 160ms ease; }
.icard a:hover .icard__go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .icard a:hover .icard__go { transform: none; } }
.icard.icard--lead a { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.icard--lead .icard__img { border-radius: 0; }
.icard--lead .icard__body { flex: 0 0 auto; padding: 18px 20px 20px; }
.icard--lead .icard__title { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.18; margin: 8px 0 10px; }
.icard--lead .icard__sum { font-size: 1rem; }
.icard-grid { list-style: none; display: grid; gap: 14px; }
.qlist__time { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.idx-groups .idx-group:first-child { margin-top: 0; }
.idx-groups .idx-group__head { min-height: 72px; }
@media (max-width: 599px) {
	.icard:not(.icard--lead) a { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); column-gap: 14px; row-gap: 0; }
	.icard:not(.icard--lead) .icard__body { display: contents; }
	.icard:not(.icard--lead) .icard__img { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
	.icard:not(.icard--lead) .icard__kicker { grid-column: 2; grid-row: 1; }
	.icard:not(.icard--lead) .icard__title { grid-column: 2; grid-row: 2; margin-bottom: 0; }
	.icard:not(.icard--lead) .icard__sum { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
	.icard:not(.icard--lead) .icard__meta { grid-column: 1 / -1; grid-row: 4; }
	.idx--spokes .jump ul { gap: 6px; }
	.idx--spokes .jump a { padding: 5px 12px; font-size: 0.9rem; }
}
@media (min-width: 600px) {
	.icard a { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 18px; padding: 16px; }
	.featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.featured__grid .icard--lead { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.featured__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.featured__grid .icard--lead { grid-column: 1 / span 2; grid-row: 1 / span 2; }
	.icard--lead .icard__img { flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; position: relative; }
	.icard--lead .icard__img img { position: absolute; inset: 0; }
	.icard--lead .icard__body { padding: 22px 28px 26px; }
	.featured__grid .icard:not(.icard--lead) a { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
	.featured__grid .icard:not(.icard--lead) .icard__body { flex: 1 1 auto; }
	.idx-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-7); align-items: start; margin-top: var(--s-7); }
	.idx-groups .idx-group { margin-top: 0; }
}
.town-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.town-card a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 18px; text-decoration: none; height: 100%; }
.town-card a:hover { border-color: var(--straw); }
.town-card__name { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--gunmetal); }
.town-card__meta { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.chiplist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0 !important; }
.chiplist li { margin: 0 !important; padding: 0 !important; }
.chiplist li::before { display: none !important; }
.chiplist a { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--gunmetal); }
.areas-wait .radius-map { margin-bottom: var(--s-6); }

/* stub: a designed placeholder, never a blank */
.stub { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--straw); border-radius: var(--r-panel); padding: clamp(28px, 4vw, 48px); max-width: 760px; margin-inline: auto; text-align: center; }
.stub .contour { opacity: 0.3; }
.stub > *:not(.contour) { position: relative; z-index: 1; }
.stub__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--gunmetal); line-height: 1.2; }
.stub__text { color: var(--ink-soft); max-width: 36em; margin-inline: auto; }
.stub__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0 0; }

/* ---------- prose ---------- */
.prose { max-width: var(--w-prose); margin-inline: auto; }
.prose > * + * { margin-top: 0; }
.prose p, .prose li { line-height: 1.75; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { margin: 0 0 var(--s-5); padding-left: 0; list-style: none; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 9px; height: 9px; border-radius: 2px; background: var(--straw); }
.prose ul > li:nth-child(4n+2)::before { background: var(--bronze); } .prose ul > li:nth-child(4n+3)::before { background: var(--violet); } .prose ul > li:nth-child(4n)::before { background: var(--blue); }
.prose ol { counter-reset: ol; }
.prose ol > li { counter-increment: ol; padding-left: 36px; }
.prose ol > li::before { content: counter(ol); position: absolute; left: 0; top: 0.2em; width: 24px; height: 24px; border-radius: 50%; background: var(--gunmetal); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; line-height: 1; }
.prose a { color: var(--straw-ink); font-weight: 500; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: var(--s-6) 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--bronze); font-style: italic; font-size: 1.2rem; }

/* tables: fit, never scroll (fixed layout wide, stacked rows narrow) */
.scs-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: var(--s-5) 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); font-size: 0.97rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.scs-table caption { caption-side: top; text-align: left; font-family: var(--f-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 0 0 10px; }
.scs-table th, .scs-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; hyphens: auto; }
.scs-table thead th, .scs-table thead td { background: var(--gunmetal); color: var(--sage); font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; }
.scs-table tbody th { font-family: var(--f-display); font-weight: 600; color: var(--gunmetal); }
.scs-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 699px) {
	.scs-table caption { display: block; width: 100%; }
	.scs-table, .scs-table tbody, .scs-table tr, .scs-table th, .scs-table td { display: block; width: 100%; }
	.scs-table { border: 0; background: transparent; }
	.scs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.scs-table tbody tr { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--straw); border-radius: var(--r-card); margin-bottom: 12px; padding: 6px 0; }
	.scs-table tbody tr > *:first-child { font-family: var(--f-display); font-weight: 600; color: var(--gunmetal); font-size: 1.05rem; }
	.scs-table tbody tr > *:first-child::before { display: none; }
	.scs-table td, .scs-table th { border: 0; padding: 6px 16px; }
	.scs-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
}

/* figures through the one render filter: block, centred, never floated */
.scs-fig { margin: var(--s-6) auto; max-width: 100%; }
.scs-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-panel); border: 1px solid var(--line); }
/* 16:9 sources show whole: the 3:2 crop cut the watermark off both corners. */
.scs-fig--wide img { aspect-ratio: 16 / 9; }
.scs-fig figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }

/* ---------- designed article (core + legal) ---------- */
.ar h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); padding-top: 18px; position: relative; }
.ar h2::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 4px; border-radius: 2px; background: var(--straw); }
.ar h2:nth-of-type(4n+2)::before { background: var(--bronze); } .ar h2:nth-of-type(4n+3)::before { background: var(--violet); } .ar h2:nth-of-type(4n)::before { background: var(--blue); }
.ar > h2:first-child { margin-top: 0; }
.ar-callout { margin: var(--s-6) 0; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--violet); border-radius: var(--r-card); padding: 20px 24px; }
.ar-callout p:last-child { margin-bottom: 0; }
.prose--short { text-align: left; }

/* ---------- feature flow (guides) ---------- */
.ff { counter-reset: ffch; }
.ff-lede { font-size: 1.22rem; line-height: 1.7; color: var(--ink); }
.ff-lede::first-letter { float: left; font-family: var(--f-display); font-weight: 700; font-size: 4.1em; line-height: 0.82; margin: 0.08em 0.1em 0 0; color: var(--straw-ink); }
.ff-chapter { counter-increment: ffch; position: relative; border-top: 1px solid var(--line-strong); margin-top: 84px; padding-top: 58px; }
.ff-chapter::before { content: counter(ffch, decimal-leading-zero); position: absolute; top: -38px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 76'%3E%3Cg fill='none' stroke='%23A9B7B2' stroke-width='1'%3E%3Cpath d='M38 3c19 0 35 15 35 35S57 73 38 73 3 57 3 38 19 3 38 3z'/%3E%3Cpath d='M38 9c16 1 29 13 29 29 0 17-13 29-29 29S9 55 9 38 22 8 38 9z'/%3E%3Cpath d='M38 15c13 0 23 10 23 23s-10 23-23 23-23-11-23-23 10-23 23-23z'/%3E%3C/g%3E%3C/svg%3E") center / 76px no-repeat; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--gunmetal); }
.ff-chapter h2 { text-align: center; margin-top: 0; }
.ff-pull { margin: var(--s-6) 0; padding: 26px 30px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--bronze); border-radius: var(--r-card); }
.ff-pull p { font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--gunmetal); margin: 0; }
.ff-faq { margin-top: var(--s-8); }

/* ---------- direct answer (answers) ---------- */
.da-answer { background: var(--straw-tint); border: 1px solid #E9D59E; border-left: 6px solid var(--straw); border-radius: var(--r-card); padding: 24px 28px; margin-bottom: var(--s-7); }
.da-answer p { font-size: 1.25rem; line-height: 1.6; color: var(--ink); margin: 0; }
.da-answer strong { color: var(--straw-ink); font-family: var(--f-display); font-weight: 700; }
.da-note { background: var(--sage); border-radius: var(--r-card); padding: 18px 22px; margin: var(--s-6) 0; border-left: 4px solid var(--blue); }
.da-note p:last-child { margin-bottom: 0; }

/* details / FAQ (all treatments) */
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 18px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: var(--gunmetal); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 22px; text-align: center; font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 0.9; color: var(--straw-ink); transition: transform 200ms ease; }
details[open] summary::after { transform: rotate(45deg); }
details > *:not(summary) { margin-top: 0; padding-bottom: 6px; }
.faq h2 { text-align: center; }
.faq__list { max-width: var(--w-prose); margin-inline: auto; border-top: 1px solid var(--line); }

/* ---------- town editorial blocks ---------- */
.editorial__grid { display: grid; gap: var(--s-5); }
@media (min-width: 1024px) { .editorial__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--s-8); } }
.editorial__head h2 { margin: 0; }
.editorial__head .rule { margin-bottom: 0; }
.editorial__body { margin: 0; max-width: 64ch; }

/* ==========================================================================
   A3: the life of a rooflight (long read)
   ========================================================================== */
.lr { position: relative; background: var(--ground); border-top: 1px solid var(--line); padding-bottom: var(--sec); }
.lr__head { position: relative; overflow: hidden; padding: var(--sec) 0 var(--s-6); }
.lr__head-in { position: relative; z-index: 1; }
.lr__title { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.06; margin-bottom: 18px; max-width: 18em; }
.lr__intro, .lr-intro { max-width: 46em; }
.lr__intro p, p.lr-intro { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.6; color: var(--ink); }
.lr-lifeline { margin: var(--s-6) 0 0; }
.lr-lifeline ol { list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--stops, 6), minmax(0, 1fr)); }
.lr-lifeline ol::before { content: ""; position: absolute; top: 11px; height: 2px; background: var(--gunmetal); left: calc(50% / var(--stops, 6)); right: calc(50% / var(--stops, 6)); }
.lr-lifeline a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; text-align: center; line-height: 1.25; padding: 0 4px; }
.lr-lifeline__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--gunmetal); border: 4px solid var(--ground); outline: 2px solid var(--gunmetal); outline-offset: -2px; transition: background-color 300ms ease; }
.lr-lifeline__dot.chip--straw { background: var(--straw); } .lr-lifeline__dot.chip--bronze { background: var(--bronze); } .lr-lifeline__dot.chip--violet { background: var(--violet); } .lr-lifeline__dot.chip--blue { background: var(--blue); }
.lr-lifeline a:hover .lr-lifeline__label { color: var(--straw-ink); text-decoration: underline; text-decoration-color: var(--straw); }
.js-motion .lr-lifeline.will-reveal .lr-lifeline__dot { background: var(--gunmetal); }
.js-motion .lr-lifeline.is-in .lr-lifeline__dot { transition-delay: calc(var(--i, 0) * 140ms); }
.lr-lifeline li:nth-child(2) { --i: 1; } .lr-lifeline li:nth-child(3) { --i: 2; } .lr-lifeline li:nth-child(4) { --i: 3; } .lr-lifeline li:nth-child(5) { --i: 4; } .lr-lifeline li:nth-child(6) { --i: 5; } .lr-lifeline li:nth-child(7) { --i: 6; } .lr-lifeline li:nth-child(8) { --i: 7; } .lr-lifeline li:nth-child(9) { --i: 8; }
@media (max-width: 699px) {
	.lr-lifeline ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.lr-lifeline ol::before { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto; }
	.lr-lifeline a { flex-direction: row; justify-content: flex-start; gap: 14px; font-size: 1.02rem; padding: 6px 0; text-align: left; }
	.lr-lifeline__dot { flex: none; }
}

/* the spine: three bundled wavy contour lines, vector, tiled down the page */
.lr__spine { position: relative; }
.lr__spine-in { position: relative; padding-top: var(--s-6); padding-bottom: var(--s-6); }
.lr__spine-in::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 64px; margin-left: -32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 240'%3E%3Cg fill='none' stroke='%23A9B7B2' stroke-width='1.3'%3E%3Cpath d='M24 0C40 60 40 60 24 120S8 180 24 240'/%3E%3Cpath d='M32 0C48 60 48 60 32 120S16 180 32 240'/%3E%3Cpath d='M40 0C56 60 56 60 40 120S24 180 40 240'/%3E%3C/g%3E%3C/svg%3E") center top / 64px 240px repeat-y; pointer-events: none; }
.lr-stage { position: relative; scroll-margin-top: calc(var(--hdr) + 20px); }
.lr-stage__marker { position: relative; color: var(--line-strong); }
.lr-rings { display: block; width: 100%; height: 100%; }
.lr-stage__label { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--gunmetal); line-height: 1.1; text-align: center; }
.lr-stage__text { min-width: 0; }
.lr-stage__text h2 { font-size: clamp(1.6rem, 2.35vw, 2.25rem); line-height: 1.15; margin-bottom: 14px; }
.lr-stage__text h3 { font-size: 1.4rem; margin-top: var(--s-5); }
.lr-dek { font-size: 1.15rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.lr-stage__text p, .lr-stage__cont p { color: var(--ink); }
.lr-stage__cont h3 { font-size: 1.4rem; margin-top: var(--s-5); }
.lr-stage__cont > :first-child { margin-top: 0; }
.lr-stage__cont p:last-child { margin-bottom: 0; }
.lr-stage__text ul, .lr-stage__cont ul { list-style: none; margin: 0 0 var(--s-4); }
.lr-stage__text ul > li, .lr-stage__cont ul > li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.lr-stage__text ul > li::before, .lr-stage__cont ul > li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 8px; border-radius: 2px; background: var(--straw); }
.lr-stage__mods { min-width: 0; display: grid; gap: 22px; align-content: start; }
.lr-stage__mods > * { margin: 0; }
@media (min-width: 1024px) {
	.lr-stage { display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); column-gap: 44px; align-items: start; padding: 64px 0; }
	.lr-stage__marker { grid-row: 1; grid-column: 2; width: 168px; height: 168px; margin-top: 52px; border-radius: 50%; background: var(--ground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
	.lr-stage__marker .lr-rings { position: absolute; inset: 0; }
	.lr-stage__label { position: relative; font-size: 1.32rem; max-width: 120px; }
	.lr-stage__marker .chip { position: relative; }
	.lr-stage--left .lr-stage__text { grid-row: 1; grid-column: 1; }
	.lr-stage--left .lr-stage__mods { grid-row: 1; grid-column: 3; margin-top: 64px; }
	.lr-stage--right .lr-stage__text { grid-row: 1; grid-column: 3; }
	.lr-stage--right .lr-stage__mods { grid-row: 1; grid-column: 1; margin-top: 64px; }
	.lr-stage--right.lr-stage--solo .lr-stage__text { margin-top: 52px; }
	.lr-stage__text { max-width: 560px; }
	.lr-stage--left .lr-stage__text { justify-self: end; width: 100%; }
}
@media (max-width: 1023px) {
	.lr__spine-in::before { left: calc(var(--gutter) + 2px); margin-left: 0; width: 40px; background-size: 40px 150px; }
	.lr-stage { padding: 36px 0 36px 60px; }
	.lr-stage::before { content: attr(data-stage); display: block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: var(--straw-ink); margin-bottom: 8px; }
	.lr-stage__marker { position: absolute; left: -2px; top: 30px; width: 46px; height: 46px; border-radius: 50%; background: var(--ground); }
	.lr-stage__marker .lr-rings { position: absolute; inset: 0; }
	.lr-stage__label { display: none; }
	.lr-stage__marker .chip { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); }
	.lr-stage__mods { margin-top: 24px; }
}

/* long-read modules (contract §2a) */
.m-wear, .m-cost { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.m-wear h3, .m-cost h3 { font-size: 1.22rem; margin: 0; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.m-wear ul, .m-cost ul { list-style: none; }
.m-wear li { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 0.98rem; line-height: 1.5; color: var(--ink); }
.m-wear li:last-child, .m-cost li:last-child { border-bottom: 0; }
.m-wear li::before { content: ""; grid-row: span 3; width: 58px; height: 40px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 40'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 30V12l8-6h38v18l-8 6z'/%3E%3Cpath d='M14 6v18h38M14 24l-8 6'/%3E%3C/g%3E%3C/svg%3E"); }
.m-wear li:nth-child(4n+2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 40'%3E%3Cpath d='M6 26c6-10 10 6 16-4s10 6 16-4 10 6 14-2v8c-4 8-8-6-14 4s-10-6-16 4-10-6-16 4z' fill='%231F2E2E'/%3E%3C/svg%3E"); }
.m-wear li:nth-child(4n+3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 40'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='2'%3E%3Crect x='6' y='10' width='40' height='22' rx='3'/%3E%3Cpath d='M46 16h6v10h-6M12 16h14M12 22h10'/%3E%3C/g%3E%3C/svg%3E"); }
.m-wear li:nth-child(4n)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 40'%3E%3Cg fill='%23CFE3EA' stroke='%231F2E2E' stroke-width='2'%3E%3Cpath d='M6 30V12l10-6h36v18l-10 6z'/%3E%3Cpath d='M16 6v18h36M16 24 6 30' fill='none'/%3E%3C/g%3E%3C/svg%3E"); }
.m-wear strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--gunmetal); font-size: 1.05rem; }
.m-cost { border-top: 5px solid var(--straw); }
.m-cost li { position: relative; padding: 12px 22px 12px 44px; border-bottom: 1px solid var(--line); font-size: 0.98rem; line-height: 1.5; font-variant-numeric: tabular-nums; color: var(--ink); }
.m-cost li::before { content: ""; position: absolute; left: 22px; top: 1.05em; width: 10px; height: 10px; border-radius: 2px; background: var(--straw); }
.m-cost li:nth-child(4n+2)::before { background: var(--bronze); } .m-cost li:nth-child(4n+3)::before { background: var(--violet); } .m-cost li:nth-child(4n)::before { background: var(--blue); }
.m-cost strong { font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.03em; font-size: 1.08em; color: var(--gunmetal); }
.m-myth { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; }
.m-myth::before { content: "Myth and fact"; grid-column: 1 / -1; font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; color: var(--gunmetal); padding: 2px 6px 4px; }
.m-myth p { margin: 0; padding: 16px 18px; border-radius: 10px; font-size: 1rem; line-height: 1.5; border: 1px solid var(--line); }
.m-myth__myth { background: var(--violet-tint); color: var(--ink); }
.m-myth__fact { background: var(--white); color: var(--ink); }
.m-myth strong { font-family: var(--f-display); font-weight: 700; color: var(--gunmetal); }
.m-gloss { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.m-gloss li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px; font-size: 0.95rem; line-height: 1.4; color: var(--ink); max-width: 100%; }
.m-gloss dfn { font-style: normal; font-family: var(--f-display); font-weight: 600; color: var(--gunmetal); margin-right: 6px; }
.m-gloss dfn::after { content: ":"; }
.m-note { background: var(--sage); border-left: 5px solid var(--bronze); border-radius: 0 12px 12px 0; padding: 18px 22px; }
.m-note::before { content: "Site note"; display: block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.m-note p { font-style: italic; font-size: 1.08rem; line-height: 1.6; color: var(--ink); margin: 0; }
.m-note p + p { margin-top: 10px; }
.lr-stage__mods .scs-table { margin: 0; }
.lr-stage__mods .scs-fig { margin: 0; }
.lr-interlude { position: relative; z-index: 1; max-width: var(--w-prose); margin: var(--s-6) auto; background: var(--ground); padding: 16px 0; }
.lr__after { padding-top: var(--s-6); }
.lr-faq { max-width: var(--w-prose); margin-inline: auto; }
.lr-faq h2 { text-align: center; }
.lr-faq details:first-of-type { border-top: 1px solid var(--line); }
.lr__stub { padding-top: var(--s-6); }

/* long read, fidelity loop 1: mock-scale type inside the §2 caps (chapter titles <= ~37px), wider module column,
   tall figure, ring level with the heading, continuation prose under BOTH columns, part icons in part tables */
.tbl-ic { display: block; width: 34px; height: 26px; margin: 0 0 8px; background: left center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='26' height='15' rx='2'/%3E%3Cpath d='M9 11h10M9 16h6'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--glass { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 22 10 4h21l-7 18z' fill='%23CFE3EA'/%3E%3Cpath d='M8 19 13 7h14l-5 12z' fill='none'/%3E%3Cpath d='M16 15l4-5' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--seal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M17 2 27 6v7c0 6-4 9-10 11C11 22 7 19 7 13V6z'/%3E%3Cpath d='m13 9 8 8m0-8-8 8' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--motor { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 10 10 5h20v11l-6 5H4z'/%3E%3Cpath d='M4 10h20v11M24 10l6-5'/%3E%3Ccircle cx='10' cy='15.5' r='2.5'/%3E%3Cpath d='M15 14h6M15 17h4'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--sensor { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='12' y='13' width='18' height='10' rx='2'/%3E%3Cpath d='M17 18h8'/%3E%3Cpath d='M5 3c-2 3-2 5 0 5s2-2 0-5zM9 9c-2 3-2 5 0 5s2-2 0-5z' fill='%23CFE3EA'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--flashing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 22h9V10h12v12h9'/%3E%3Cpath d='M8 22V7h18v15' stroke-dasharray='3 2'/%3E%3Cpath d='M11 10 14 4h6l3 6'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--hinge { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='10' height='16' rx='1.5'/%3E%3Crect x='19' y='5' width='10' height='16' rx='1.5'/%3E%3Cpath d='M15 9h4M15 17h4'/%3E%3C/g%3E%3C/svg%3E"); }
.tbl-ic--blind { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cg fill='none' stroke='%231F2E2E' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='24' height='20' rx='1.5'/%3E%3Cpath d='M5 8h24M5 12h24M5 16h24'/%3E%3C/g%3E%3C/svg%3E"); }
@media (min-width: 1024px) {
	.lr .lr__head .kicker { font-size: 0.95rem; letter-spacing: 0.14em; margin-bottom: 16px; }
	.lr__title { font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.025em; max-width: none; margin-bottom: 22px; }
	.lr__intro, .lr-intro { max-width: 1240px; }
	.lr__intro p, p.lr-intro { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 1.75vw, 1.6rem); line-height: 1.42; letter-spacing: -0.005em; }
	.lr-lifeline a { font-weight: 400; font-size: 1.25rem; gap: 14px; }
	.lr-stage { grid-template-columns: minmax(0, 1fr) 152px minmax(0, 1fr); column-gap: 32px; }
	.lr-stage__marker { width: 152px; height: 152px; margin-top: 0; align-self: start; }
	.lr-stage__label { font-size: 1.3rem; }
	.lr-stage__text { max-width: none; }
	.lr-stage__text h2 { font-size: clamp(1.9rem, 2.6vw, 2.3rem); line-height: 1.14; margin-bottom: 16px; }
	.lr-dek { font-size: 1.2rem; }
	.lr-stage__text h3, .lr-stage__cont h3 { font-size: 1.5rem; }
	.lr-stage--left .lr-stage__mods, .lr-stage--right .lr-stage__mods { margin-top: 24px; }
	.lr-stage--left .lr-stage__mods { margin-left: -20px; }
	.lr-stage--right .lr-stage__mods { margin-right: -20px; }
	.lr-stage--right.lr-stage--solo .lr-stage__text { margin-top: 0; }
	.lr-stage__mods .scs-fig img { aspect-ratio: auto; height: clamp(420px, 33vw, 480px); object-fit: cover; object-position: 100% 60%; }
	/* fidelity loop 3: trailing prose stays in the stage's own text column, directly under the opening text.
	   Row 1 = opening text (sets its own height), row 2 = continuation; the module column spans both rows,
	   top-aligned, and any extra module height lands in the flexible row 2, so there is no gap between the
	   text and its continuation and the stage ends where the taller column ends. */
	.lr-stage { grid-template-rows: auto 1fr; }
	.lr-stage__marker { grid-row: 1 / span 2; }
	.lr-stage__mods { grid-row: 1 / span 2 !important; align-self: start; }
	.lr-stage__cont { grid-row: 2; margin-top: 0; align-self: start; }
	.lr-stage--left .lr-stage__cont { grid-column: 1; justify-self: end; width: 100%; }
	.lr-stage--right .lr-stage__cont { grid-column: 3; }
	.lr-stage__cont p:last-child { margin-bottom: 0; }
	.lr-stage__text > :last-child { margin-bottom: 0; }
	.lr-stage__text + .lr-stage__mods + .lr-stage__cont { padding-top: var(--s-4); }
	/* lighter header on long-read tables: a light card band, not a dark slab (gunmetal on sage ~12:1) */
	.lr-stage__mods .scs-table thead th, .lr-stage__mods .scs-table thead td { background: var(--sage); color: var(--gunmetal); border-bottom: 2px solid var(--gunmetal); font-size: 1rem; }
	.lr-stage__mods .scs-table td .tbl-ic { margin-bottom: 6px; }
	.lr-stage__mods .m-myth { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
	.lr-stage__mods .m-myth p { font-size: 1.05rem; }
}
@media (max-width: 1023px) {
	.lr-stage__cont { margin-top: 24px; }
}

/* the wear map: the read's signature moment */
.lr-signature { position: relative; z-index: 1; padding: var(--s-6) 0; }
.wearmap { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3.5vw, 48px); }
.wearmap__head { text-align: center; max-width: 40em; margin: 0 auto var(--s-4); }
.wearmap__head h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 0; }
.wearmap__stage { max-width: 1040px; margin: 0 auto; }
.wearmap__draw { position: relative; }
.wearmap__svg { display: block; width: 100%; height: auto; }
.wm-light { fill: #F6E9BF; opacity: 0.7; }
.wm-timber rect { fill: #E9DFCB; stroke: var(--gunmetal); stroke-width: 2; }
.wm-ins { fill: #F3E4AE; stroke: var(--gunmetal); stroke-width: 2; }
.wm-hatch path { stroke: #C9A445; stroke-width: 1.2; }
.wm-thin { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.wm-sky { stroke-dasharray: 5 6; }
.wm-kerb rect { fill: #DCD6C8; stroke: var(--gunmetal); stroke-width: 2; }
.wm-cover { fill: none; stroke: var(--gunmetal); stroke-width: 9; stroke-linejoin: round; stroke-linecap: square; }
.wm-seal rect { fill: var(--straw); stroke: var(--gunmetal); stroke-width: 1.5; }
.wm-frame { fill: #66726F; stroke: var(--gunmetal); stroke-width: 2.5; }
.wm-gasket rect { fill: var(--gunmetal); }
.wm-glass rect { fill: #CFE3EA; stroke: var(--blue); stroke-width: 1.6; }
.wm-spacer rect { fill: #8A949A; }
.wm-fix path { stroke: var(--gunmetal); stroke-width: 3; stroke-linecap: round; }
.wearmap__hot { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--gunmetal); border: 3px solid var(--white); outline: 2px solid var(--gunmetal); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: transform 300ms cubic-bezier(.3, 1.4, .5, 1), background-color 160ms ease; z-index: 2; }
.wearmap__hot:hover, .wearmap__hot:focus-visible { background: var(--straw); color: var(--gunmetal); }
.js-motion .wearmap.will-reveal .wearmap__hot { transform: scale(0); }
.js-motion .wearmap.is-in .wearmap__hot { transform: scale(1); transition-delay: var(--d, 0ms); }
.wearmap__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; margin-top: var(--s-5); counter-reset: none; }
.wearmap__item { position: relative; padding: 16px 16px 18px; border: 1px solid var(--line); border-top: 4px solid var(--straw); border-radius: var(--r-card); background: var(--ground); scroll-margin-top: calc(var(--hdr) + 24px); transition: border-color 200ms ease, background-color 200ms ease; }
.wearmap__item:nth-child(2) { border-top-color: var(--bronze); } .wearmap__item:nth-child(3) { border-top-color: var(--violet); } .wearmap__item:nth-child(4) { border-top-color: var(--blue); }
.wearmap__item:target { background: var(--straw-tint); border-color: var(--straw); }
.wearmap__num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gunmetal); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.wearmap__item h4 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.25; }
.wearmap__item p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
/* At phone width the five points sat 16px apart under 28px markers, so 1/5 and 2/4 covered each other.
   Crop the drawing to its middle 60% (every point lies between 32% and 66%) so the points spread 1.67x. */
@media (max-width: 599px) {
	.wearmap__stage { overflow: hidden; }
	.wearmap__draw { width: 166.7%; margin-left: -33.3%; }
	.wearmap__hot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 0.8rem; border-width: 2px; }
}

/* town lite timeline */
.lr--lite { padding: var(--sec) 0; }
.lr__title--lite { font-size: clamp(1.8rem, 3vw, 2.4rem); text-align: center; margin-inline: auto; }

/* ---------- #quote band (§4e) ---------- */
.quote-band { position: relative; padding: clamp(48px, 6vw, 80px) 0; overflow: hidden; scroll-margin-top: var(--hdr); }
.quote-band__grid { position: relative; z-index: 1; display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1024px) { .quote-band__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s-8); align-items: start; } .quote-band__copy { padding-top: clamp(10px, 1.6vw, 22px); } }
.quote-band__title { font-size: clamp(2.2rem, 3.9vw, 3.5rem); margin: 0; }
.quote-band .rule { margin: 22px 0 30px; }
.quote-band .tbar { font-size: clamp(1.15rem, 1.8vw, 1.6rem); }
.quote-band__panel { background: var(--white); border-radius: 18px; padding: clamp(10px, 1.6vw, 22px); min-width: 0; }
.scs-crm { min-height: 620px; }
.scs-crm iframe { display: block; width: 100%; }
#quote { scroll-margin-top: calc(var(--hdr) + 16px); }

/* ---------- contact (§4h) ---------- */
.contact__grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--s-7); } }
.contact__h { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 16px; }
.contact__panel { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--straw); border-radius: var(--r-panel); padding: clamp(8px, 1.4vw, 18px); }
.contact__card { position: relative; overflow: hidden; border-radius: var(--r-panel); padding: clamp(24px, 3vw, 36px); }
.contact__card > *:not(.contour) { position: relative; z-index: 1; }
.contact__list { list-style: none; display: grid; gap: 18px; margin-bottom: 28px; }
.contact__label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-soft); margin-bottom: 2px; }
.contact__list a, .contact__val { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 1.08rem; line-height: 1.45; overflow-wrap: anywhere; }
.contact__list a { font-family: var(--f-display); font-weight: 600; text-decoration: none; }
.contact__list .ico { margin-top: 3px; }
.contact__card .tbar { font-size: 1.05rem; }
.contact__costs { margin: 26px 0 0; font-size: 0.98rem; }
.coverage__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1024px) { .coverage__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); } }
.coverage__copy .rule { margin: 18px 0 22px; }
.leaflet-map { height: clamp(340px, 42vw, 480px); border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--sage); z-index: 1; }
/* Leaflet's own attribution blue (#0078A8) on its translucent panel measured 3.6 to 4.3:1 over tiles; ink on a near-opaque panel. */
.leaflet-map .leaflet-control-attribution { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.leaflet-map .leaflet-control-attribution a { color: var(--ink); text-decoration: underline; }
.map-label { font-family: var(--f-display); font-weight: 600; }

/* ---------- footer (§4b) ---------- */
.site-footer { position: relative; background: var(--sage); color: var(--ink); padding-top: clamp(48px, 5vw, 72px); overflow: hidden; }
.footer__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); gap: var(--s-6); } }
.footer__lockup { text-decoration: none; display: inline-block; }
.lockup--footer { gap: 18px; align-items: center; }
.lockup--footer .mark { width: 86px; height: 86px; }
.lockup--footer .lockup__word { font-size: 2.15rem; font-weight: 700; white-space: normal; width: min-content; line-height: 1.02; }
.footer__area { font-size: 1.15rem; margin: 18px 0 22px; color: var(--ink); }
.footer__contact { list-style: none; display: grid; gap: 12px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 1.02rem; overflow-wrap: anywhere; }
.footer__contact .ico { width: 22px; height: 22px; color: var(--gunmetal); }
.footer__contact a:hover { color: var(--straw-ink); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 32px 0; }
.footer__col--services { grid-column: span 2; }
.footer__col { padding: 0 24px; border-left: 1px solid var(--line-strong); min-width: 0; }
.footer__h { font-size: clamp(1.35rem, 1.9vw, 1.75rem); margin: 0 0 18px; padding-bottom: 12px; position: relative; }
.footer__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--straw); }
.footer__col ul { list-style: none; display: grid; gap: 6px; }
.footer__col a { color: var(--ink); text-decoration: none; font-size: clamp(0.98rem, 1.15vw, 1.08rem); line-height: 1.45; }
.footer__col a:hover { color: var(--straw-ink); text-decoration: underline; }
@media (max-width: 599px) { .footer__col { padding: 0; border-left: 0; } .footer__cols { gap: 28px; } .footer__col--services { grid-column: auto; } }
.footer__bar { position: relative; z-index: 1; border-top: 1px solid var(--line-strong); margin-top: clamp(40px, 4vw, 56px); padding: 18px 0 84px; }
.footer__bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.footer__bar p { margin: 0; font-size: 0.98rem; }
.footer__bar a { color: var(--ink); }
@media (max-width: 1023px) { .footer__bar { padding-bottom: calc(22px + 64px); } .footer__bar-in { flex-direction: column; align-items: flex-start; } }

/* ---------- WhatsApp (§4g) + mobile CTA bar (§7d.4) ---------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 20px 10px 16px; border-radius: 999px; background: var(--wa); color: var(--gunmetal); font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--gunmetal); }
.wa-fab .ico { width: 26px; height: 26px; }
.wa-fab:hover { background: #3BE07A; }
.wa-panel { position: fixed; right: 20px; bottom: 84px; z-index: 80; width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--line-strong); border-top: 5px solid var(--wa); border-radius: var(--r-panel); }
.wa-panel[hidden] { display: none; }
.wa-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px 20px; border-bottom: 1px solid var(--line); }
.wa-panel__title { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--gunmetal); }
.wa-panel__close { width: 44px; height: 44px; border: 0; background: none; color: var(--gunmetal); cursor: pointer; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.wa-panel__close:hover { background: var(--sage); }
.wa-form { padding: 14px 20px 20px; display: grid; gap: 12px; }
.wa-form__note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.wa-form__row { display: grid; gap: 4px; min-width: 0; }
.wa-form__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.wa-form label { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.wa-form input, .wa-form textarea, .wa-form select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8C9A96; border-radius: 8px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); }
.wa-form textarea { resize: vertical; min-height: 80px; }
.wa-form input:focus, .wa-form textarea:focus, .wa-form select:focus { outline: 3px solid var(--straw); outline-offset: 0; border-color: var(--gunmetal); }
.cta-bar { display: none; }
@media (max-width: 1023px) {
	.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); height: 64px; border-top: 1px solid var(--gunmetal); }
	.cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; text-decoration: none; }
	.cta-bar__call { background: var(--gunmetal); color: var(--sage); }
	.cta-bar__call .ico { color: var(--straw); }
	.cta-bar__quote { background: var(--straw); color: var(--gunmetal); }
	.wa-fab { bottom: 76px; right: 14px; }
	.wa-panel { right: 14px; bottom: 140px; max-height: calc(100dvh - var(--hdr) - 160px); }
}
@media (max-width: 699px) {
	.wa-fab { width: 54px; height: 54px; padding: 0; justify-content: center; }
	.wa-fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- motion: CSS only, hidden state only under .js-motion (§7c.6) ---------- */
.js-motion .will-reveal { opacity: 0; transform: translateY(12px); }
.js-motion .will-reveal.is-in { opacity: 1; transform: none; transition: opacity 400ms ease, transform 400ms ease; }
.js-motion .lr-lifeline.will-reveal, .js-motion .wearmap.will-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Fidelity view flag (?scs_fid=1): the WhatsApp FAB never overlays a mocked section ---------- */
.scs-fid .wa-fab, .scs-fid .cta-bar { display: none; }

/* ==========================================================================
   Stage 4 templates: service hub (mockup/page-service) and town (mockup/page-area)
   ========================================================================== */
.line-art { display: block; width: 100%; height: auto; }
.line-art .la-thin { stroke: var(--line-strong); stroke-width: 1; }

/* hub 02-hero: split, illustration bleeding right and bottom */
.hub-hero { position: relative; background: var(--sky); overflow: hidden; border-bottom: 1px solid var(--line); }
.hub-hero .contour { color: var(--line-strong); opacity: 0.45; }
.hub-hero__in { position: relative; z-index: 1; }
.hub-hero__copy { padding: clamp(28px, 4vw, 48px) var(--gutter) 32px; }
.hub-hero__title { font-size: clamp(2.4rem, 4.9vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0; max-width: 10em; text-wrap: balance; color: var(--ink); }
.hub-hero .rule { margin: 22px 0 22px; }
.hub-hero__lede { font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.6; max-width: 31em; color: var(--ink); margin: 0; }
.hub-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 0; }
.hub-hero__ctas .btn--primary { min-width: 200px; }
.hub-hero__ctas .btn--outline { min-width: 190px; }
.hub-hero__media img { width: 100%; height: auto; display: block; }
.hub-hero__media--drawing, .hub-hero__media--photo { margin: 0 var(--gutter) 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.hub-hero__media--drawing img { aspect-ratio: 4 / 3; object-fit: contain; padding: 16px 28px; }
@media (min-width: 900px) {
	.hub-hero__in { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; min-height: clamp(440px, 37vw, 600px); }
	.hub-hero__copy { grid-column: 1; grid-row: 1; padding: 44px 24px 52px max(var(--gutter), calc((100vw - var(--w-wide)) / 2)); }
	.hub-hero__media { grid-column: 2; grid-row: 1; }
	.hub-hero__media--art { align-self: end; }
	.hub-hero__media--art img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%); mask-image: linear-gradient(to right, transparent 0, #000 7%); }
	.hub-hero__media--drawing, .hub-hero__media--photo { margin: 40px max(var(--gutter), calc((100vw - var(--w-wide)) / 2)) 40px 0; }
}
@media (max-width: 479px) { .hub-hero__ctas .btn { flex: 1 1 100%; min-width: 0; } }

/* hub 03-trust: five tags across the full width */
.hub-trust { position: relative; padding: clamp(22px, 2.6vw, 34px) 0; }
@media (min-width: 1200px) {
	.hub-trust .trust__tags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
	.hub-trust .tag { text-align: center; padding: 18px 14px; white-space: normal; display: flex; align-items: center; justify-content: center; }
}

/* hub 04-wear */
.hub-wear { border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .hub-wear__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 40px; } }
.hub-wear .problem__title { font-size: clamp(1.9rem, 2.9vw, 2.75rem); line-height: 1.12; max-width: 8.6em; text-wrap: balance; }
.hub-wear .rule { margin: 22px 0; }
.hub-wear .problem__sub { font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.55; max-width: 13em; }
.pcard__img--wear img, .pcard__img--wear .line-art { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.pcard__img--wear .line-art { object-fit: contain; padding: 8px 18px; }
@media (max-width: 599px) { .pcard__img--wear img { aspect-ratio: 10 / 7; max-height: 210px; } .hub-wear .problem__sub { max-width: none; } }

/* hub 05-types: dark band, four drawing cards */
@media (min-width: 1024px) { .hub-types__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); align-items: center; gap: 40px; } }
.hub-types .fit__intro h2 { font-size: clamp(2rem, 3vw, 2.85rem); line-height: 1.12; }
.type-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 18px; }
.type-card { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--white); border-radius: var(--r-card); padding: 22px 16px 22px; text-align: center; min-width: 0; }
.type-card__img { display: block; width: 100%; max-width: 230px; }
.type-card__img img, .type-card__img .line-art { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.type-card__label { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.25; color: var(--gunmetal); }
@media (max-width: 599px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .type-card { padding: 14px 10px 16px; } }

/* hub 06-guides: two guide cards with drawings, then the answers row offset right */
.hub-spokes { background: var(--ground); padding: clamp(44px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.hub-spokes__grid { display: grid; gap: 24px; }
.hub-spokes__intro h2 { font-size: clamp(1.8rem, 2.55vw, 2.5rem); line-height: 1.14; margin: 0; text-wrap: balance; }
.hub-spokes__intro .rule { margin: 22px 0 0; }
.hub-spokes__guides, .hub-spokes__answers { list-style: none; display: grid; gap: 22px; min-width: 0; }
.hub-spokes__guides { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.hub-spokes__answers { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.gcard, .acard { min-width: 0; }
.gcard a, .acard a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--straw); border-radius: var(--r-card); padding: 20px 26px 22px; text-decoration: none; color: var(--gunmetal); transition: border-color 200ms ease, transform 200ms ease; }
.gcard--bronze a, .acard--bronze a { border-top-color: var(--bronze); } .gcard--violet a, .acard--violet a { border-top-color: var(--violet); } .gcard--blue a, .acard--blue a { border-top-color: var(--blue); }
.gcard a:hover, .acard a:hover { transform: translateY(-2px); border-left-color: var(--line-strong); border-right-color: var(--line-strong); border-bottom-color: var(--line-strong); }
.gcard__kicker { font-size: 0.95rem; color: var(--ink); }
.gcard__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1.75vw, 1.6rem); line-height: 1.25; margin-top: 6px; max-width: 16em; text-wrap: balance; }
.gcard__img { display: block; margin-top: auto; padding-top: 14px; }
.gcard__img img, .gcard__img .line-art { width: 100%; aspect-ratio: 13 / 5; object-fit: contain; }
.acard__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.3; margin-top: 6px; text-wrap: balance; }
@media (min-width: 1024px) {
	.hub-spokes__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); column-gap: 40px; row-gap: 26px; }
	.hub-spokes__intro { grid-column: 1; grid-row: 1; }
	.hub-spokes__guides { grid-column: 2; grid-row: 1; }
	.hub-spokes__answers { grid-column: 1 / -1; grid-row: 2; margin-left: 16%; }
}

/* town 02-hero: centred copy, the housing illustration rising behind the buttons */
.town-hero .crumbs { margin-bottom: 14px; }
.town-hero .crumbs ol { justify-content: center; }
.town-hero__title { max-width: 12.5em; text-wrap: balance; font-size: clamp(2.25rem, 3.9vw, 3.6rem); }
.town-hero__lede { max-width: 36em; text-wrap: pretty; }
@media (max-width: 599px) { .town-hero__lede { text-align: left; } }
@media (min-width: 900px) {
	.hero.town-hero { display: block; }
	.town-hero__copy { padding-bottom: 0; }
	.town-hero__art { margin-top: -15.5vw; }
}

/* town shared section head */
.town-sec { position: relative; background: var(--ground); padding: clamp(40px, 4.6vw, 64px) 0; border-top: 1px solid var(--line); }
.town-head { margin-bottom: clamp(24px, 2.6vw, 34px); }
.town-head h2 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); line-height: 1.12; margin: 0; max-width: 24em; text-wrap: balance; }
.town-head .rule { margin: 14px 0 0; }
.town-head__sub { margin: 18px 0 0; max-width: var(--w-prose); color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.town-head__sub--wide { max-width: 62em; }
/* town body text: one size, ink, 1.65 everywhere on the page (Fidelity loop 1) */
.town-sec p, .town-fit__head p { line-height: 1.65; }
@media (min-width: 900px) {
	.town-head h2 { font-size: clamp(2.1rem, 3.3vw, 3rem); }
	.town-head h2 { max-width: 28em; }
	.town-head__sub { font-size: 1.125rem; }
}

/* town 03-roofs */
.town-roofs { border-top: 0; }
.roof-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 26px; max-width: 1240px; margin-inline: auto; align-items: stretch; }
.roof-card { padding: 20px 24px 28px; text-align: left; }
.roof-card__img { display: block; margin: 0 0 16px; }
.roof-card__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.roof-card h3 { font-size: 1.3rem; line-height: 1.22; letter-spacing: -0.015em; margin: 0 0 10px; text-wrap: balance; }
.roof-card p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); text-wrap: pretty; }
@media (min-width: 900px) {
	.roof-card { text-align: center; }
	.roof-card h3 { font-size: 1.5rem; line-height: 1.2; margin-inline: auto; }
	.roof-card p { max-width: 34ch; margin-inline: auto; }
	.roof-card p { font-size: 1.125rem; }
}

/* town 04-housing */
.town-housing__grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1024px) { .town-housing__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; } .town-housing__fig { position: relative; top: 6px; } }
.town-housing__copy h2 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); line-height: 1.12; margin: 0; text-wrap: balance; }
.town-housing__copy .rule { margin: 14px 0 24px; }
.town-housing__copy p { color: var(--ink); font-size: 1.0625rem; line-height: 1.65; max-width: 40em; }
@media (min-width: 900px) { .town-housing__copy h2 { font-size: clamp(2.1rem, 3.3vw, 3rem); } .town-housing__copy p { font-size: 1.2rem; line-height: 1.65; } }
.town-housing__fig { margin: 0; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line); background: var(--white); min-width: 0; }
.town-housing__fig img { width: 100%; height: auto; display: block; }
.town-housing__fig--art img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 78% 85%; }
.town-housing__more { max-width: var(--w-prose); }
.town-housing__more p { color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.town-housing__more p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
	.town-housing__more p { font-size: 1.125rem; }
	/* the rest of the housing text runs as a balanced two-column block across the full container (Fidelity loop 3) */
	.town-housing__more { max-width: none; columns: 2; column-gap: 48px; column-fill: balance; }
	.town-housing__more p { break-inside: avoid; margin: 0 0 1.1em; }
}
@media (min-width: 1024px) {
	.town-housing__more { grid-column: 1 / -1; padding-top: 8px; }
}

/* town light timeline (un-mocked, hidden in the Fidelity view): one row of stages on a contour line */
.tl-lite { overflow: hidden; }
.tl-lite .contour { opacity: 0.14; }
.tl-lite__in { position: relative; z-index: 1; }
.tl-lite__list { list-style: none; position: relative; display: grid; gap: 28px; }
.tl-stop { position: relative; min-width: 0; }
.tl-stop__ring { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; color: var(--line-strong); background: var(--ground); border-radius: 50%; }
.tl-stop__ring .lr-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl-stop__ring .chip { position: relative; width: 16px; height: 16px; border-radius: 50%; }
.tl-stop__stage { margin: 14px 0 4px; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--straw-ink); }
.tl-stop h3 { font-size: 1.22rem; line-height: 1.3; margin-bottom: 10px; }
.tl-stop p:not(.tl-stop__stage) { font-size: 0.98rem; line-height: 1.65; color: var(--ink); margin: 0; }
@media (min-width: 900px) {
	.tl-lite__list { grid-template-columns: repeat(var(--stops, 4), minmax(0, 1fr)); gap: 32px; }
	.tl-lite__list::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--gunmetal) 0 8px, transparent 8px 14px); }
}
@media (max-width: 899px) {
	.tl-lite__list::before { content: ""; position: absolute; top: 32px; bottom: 32px; left: 31px; width: 2px; background: repeating-linear-gradient(180deg, var(--gunmetal) 0 8px, transparent 8px 14px); }
	.tl-stop { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; }
	.tl-stop__ring { grid-row: 1 / span 3; }
	.tl-stop__stage { margin-top: 6px; }
	.tl-stop > *:not(.tl-stop__ring) { grid-column: 2; }
}

/* town 05-services: heading and intro, then the six picks with the town's own line */
.town-fit .contour { opacity: 1; }
.town-fit__in { position: relative; z-index: 1; }
.town-fit__head { margin-bottom: 26px; }
.town-fit__head h2 { font-size: clamp(1.9rem, 2.9vw, 2.7rem); margin: 0 0 14px; }
.town-fit__head p { max-width: 62em; margin: 0; color: var(--t-body); font-size: 1.0625rem; }
@media (min-width: 900px) { .town-fit__head h2 { font-size: clamp(2.1rem, 3.3vw, 3rem); } .town-fit__head p { font-size: 1.125rem; } }
.town-picks { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 18px; }
.town-picks .svc-card__title { font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.town-picks .svc-card__line { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); text-wrap: pretty; }
/* phones: icon stacked above the title, the drawing about 72px across */
@media (max-width: 599px) {
	.town-picks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.town-picks .svc-card a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 20px 20px; }
	.town-picks .svc-card__img { width: 104px; flex: none; }
	.town-picks .svc-card__img img { aspect-ratio: 13 / 8; object-fit: cover; }
	.town-picks .svc-card__title { margin-top: 6px; }
	.town-picks .svc-card__line { margin-top: 6px; }
}
/* tablet and up: icon at the top centre, title, then the town line */
@media (min-width: 600px) {
	.town-picks .svc-card a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 24px 26px; }
	.town-picks .svc-card__img { width: 168px; flex: none; margin: 0; }
	/* the drawings fill ~70% of their 4:3 art box; a 168px box cropped to 23:14 shows a ~95-125px drawing, ~110 on average (measured in Chrome) */
	.town-picks .svc-card__img img { aspect-ratio: 23 / 14; object-fit: cover; }
	.town-picks .svc-card__title { margin-top: 10px; }
	.town-picks .svc-card__line { margin-top: 8px; max-width: 34ch; }
}
@media (min-width: 900px) { .town-picks .svc-card__title { font-size: 1.25rem; font-weight: 600; } }

/* town 06-planning: the authority card and the conservation card */
.plan-cards { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .plan-cards { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: stretch; } }
.plan-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px 30px 26px 58px; min-width: 0; }
.plan-card::before { content: ""; position: absolute; left: 26px; top: 28px; bottom: 28px; width: 5px; border-radius: 3px; background: var(--straw); }
.plan-card--violet::before { background: var(--violet); }
.plan-card__title { font-size: 1.3rem; line-height: 1.2; margin: 0 0 14px; }
/* The conservation card title is a label, not a heading: town headings come only from the town JSON (6i-ii). */
.plan-card p.plan-card__title--label { font-family: var(--f-display); color: var(--t-head); font-weight: 600; letter-spacing: -0.01em; font-size: 1.3rem; line-height: 1.2; margin: 0 0 14px; }
.plan-card p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.plan-card p.plan-card__label { margin: 22px 0 10px; font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gunmetal); }
.plan-card__names { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.plan-card__names li { background: var(--violet-tint); border: 1px solid #D9D0E3; border-radius: 999px; padding: 5px 14px; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.plan-card p.plan-card__go { margin-top: 26px; }
@media (min-width: 900px) {
	.plan-card__title, .plan-card p.plan-card__title--label { font-size: 1.45rem; }
	.plan-card p { font-size: 1.125rem; }
}
/* desktop: the names run as a list down the conservation card, so it stands level with the council card */
@media (min-width: 1024px) {
	.plan-card--violet { padding-bottom: 34px; display: flex; flex-direction: column; }
	.plan-card__names { display: flex; flex-direction: column; flex: 1 0 auto; border-top: 1px solid var(--line); }
	.plan-card__names li { flex: 1 0 auto; display: flex; align-items: center; gap: 12px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 2px; font-size: 1.125rem; }
	.plan-card__names li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
	.plan-card p.plan-card__go { margin-top: auto; padding-top: 30px; }
}
/* Building Regulations: a slim full-width row under both cards */
.plan-regs { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-regs p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); max-width: 72em; }
.plan-regs p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .plan-regs p { font-size: 1.125rem; } }
.plan-card p:last-child { margin-bottom: 0; }
.plan-card__link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; color: var(--gunmetal); text-decoration: underline; text-decoration-color: var(--gunmetal); text-underline-offset: 5px; }
.plan-card__link:hover { color: var(--straw-ink); text-decoration-color: var(--straw); }
@media (max-width: 599px) { .plan-card { padding: 22px 20px 22px 44px; } .plan-card::before { left: 20px; top: 24px; bottom: 24px; } }

/* town 07-nearby chips */
.near-chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.near-chips a, .near-chips span { display: block; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: 14px 12px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); text-decoration: none; transition: border-color 200ms ease; }
@media (min-width: 900px) { .near-chips a, .near-chips span { font-size: 1.2rem; padding: 15px 12px; } }
.near-chips a:hover { border-color: var(--straw); }
@media (max-width: 599px) { .near-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* town 08-faq: boxed rows with a chevron */
.faq-boxes { display: grid; gap: 10px; max-width: 1180px; }
.faq-boxes details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 0 24px; }
.faq-boxes summary { padding: 17px 0; font-family: var(--f-body); font-weight: 600; font-size: 1.12rem; color: var(--ink); align-items: center; }
@media (min-width: 900px) { .faq-boxes summary { font-size: 1.2rem; padding: 18px 0; } }
.faq-boxes summary::after { content: ""; width: 10px; height: 10px; margin: 0 6px 4px 0; border-right: 2px solid var(--gunmetal); border-bottom: 2px solid var(--gunmetal); transform: rotate(45deg); font-size: 0; }
.faq-boxes details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq-boxes details > p { padding: 0 0 18px; margin: 0; color: var(--ink); line-height: 1.65; max-width: var(--w-prose); }
@media (max-width: 599px) { .faq-boxes details { padding: 0 16px; } }

/* ---------- print ---------- */
@media print { .site-header, .wa-fab, .wa-panel, .cta-bar, .quote-band, .site-footer .contour { display: none !important; } }
