/* Dorset Home Upgrades theme styles */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--paper: #F7F5EF;
	--white: #FFFFFF;
	--ink: #17262A;
	--ink-2: #3C4C50;
	--muted: #67767A;
	--teal: #0F6E68;
	--teal-deep: #0A4F4B;
	--teal-soft: #DDEFEA;
	--tint: #EEF4F1;
	--amber: #D98A1E;
	--amber-soft: #FFF1DC;
	--line: rgba(23, 38, 42, 0.12);
	--line-2: rgba(23, 38, 42, 0.22);
	--font-head: "Bricolage", "Segoe UI", system-ui, sans-serif;
	--font-body: "Instrument", "Segoe UI", system-ui, sans-serif;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(60px, 8vw, 104px);
	--header-h: 74px;
	--shadow: 0 18px 50px rgba(23, 38, 42, 0.12), 0 2px 6px rgba(23, 38, 42, 0.06);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); }
h3, h4 { font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 500; color: var(--ink); }
button { font: inherit; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .55) 0; }
.section--tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .h-xl, .section-head .h-lg { max-width: 22ch; }

/* ---------- Type ---------- */
.h-display { font-size: clamp(36px, 5.2vw, 62px); max-width: 15ch; }
.h-hero { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; }
.h-xl { font-size: clamp(28px, 3.4vw, 40px); }
.h-lg { font-size: clamp(24px, 2.6vw, 32px); }
.h-md { font-size: clamp(20px, 2vw, 24px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--teal); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--amber); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--b); font-weight: 500; font-size: 16px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(15, 110, 104, .25); }
.btn--primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { --b: var(--line-2); background: var(--white); color: var(--ink); }
.btn--ghost:hover { --b: var(--teal); color: var(--teal-deep); transform: translateY(-1px); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 500; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(247, 245, 239, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(247, 245, 239, .96); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand__mark { width: 38px; height: 38px; color: var(--teal); }
.brand__word { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
.brand__word span { display: block; font-size: 12px; font-weight: 500; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: none; }
.nav__list { list-style: none; display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); background: none; border: 0; cursor: pointer; font-size: 15.5px; font-weight: 500; }
.nav__link .icon { width: 16px; height: 16px; }
.nav__link:hover, .nav__item.is-current > .nav__link, .nav__link[aria-current] { color: var(--ink); background: rgba(15, 110, 104, .08); }
.nav__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 8px; transform: translateY(6px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav__item.is-open .nav__sub, .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub ul { list-style: none; }
.nav__sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--tint); color: var(--ink); }
.nav__sub a .icon { width: 16px; height: 16px; opacity: .5; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-wa { display: none; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 15px; }
.header-wa .icon { color: #1DA851; }
.site-header__actions .btn--primary { display: none; }
.menu-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.menu-toggle .when-open { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: block; }
.menu-toggle[aria-expanded="true"] .when-closed { display: none; }
@media (min-width: 1024px) {
	.nav { display: block; }
	.header-wa { display: inline-flex; }
	.site-header__actions .btn--primary { display: inline-flex; }
	.menu-toggle { display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--paper); padding: 20px var(--gutter) 120px; overflow: auto; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease); }
.drawer.is-open { opacity: 1; transform: none; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); cursor: pointer; list-style: none; }
.drawer__link::-webkit-details-marker { display: none; }
.drawer__subs { display: grid; gap: 4px; padding: 0 0 14px; }
.drawer__subs a { padding: 10px 12px; border-radius: 10px; background: var(--white); color: var(--ink-2); font-size: 16px; }
.drawer__foot { padding-top: 20px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 88px); background: radial-gradient(900px 480px at 100% -10%, rgba(15, 110, 104, .14), transparent 60%), radial-gradient(600px 400px at -10% 100%, rgba(217, 138, 30, .12), transparent 60%), var(--paper); }
.hero__grid { display: grid; gap: 40px; align-items: start; }
.hero__lead { margin-top: 20px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; color: var(--ink-2); font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { width: 18px; height: 18px; color: var(--teal); }
.checklist { list-style: none; display: grid; gap: 8px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); margin-top: 2px; }
@media (min-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); }
	.hero--home .hero__grid { align-items: center; }
}

/* Home hero picker: the one bold element */
.hero__picker { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 12px; display: grid; gap: 6px; border: 1px solid var(--line); }
.picker__title { padding: 12px 14px 6px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.picker__row { display: grid; grid-template-columns: 48px 1fr 22px; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius); color: var(--ink); transition: background .2s, transform .2s var(--ease); }
.picker__row:hover { background: var(--tint); color: var(--ink); transform: translateX(2px); }
.picker__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.picker__text { display: grid; gap: 2px; }
.picker__text strong { font-weight: 500; font-size: 17px; }
.picker__text small { color: var(--amber); font-weight: 500; font-size: 14px; }
.picker__row > .icon { color: var(--muted); }

/* ---------- Page hero (standard pages) ---------- */
.page-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(800px 400px at 100% 0%, rgba(15, 110, 104, .12), transparent 60%), var(--paper); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; } }

/* ---------- Checker ---------- */
.checker { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); position: relative; }
.checker__head { margin-bottom: 18px; }
.checker__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.checker__kicker .icon { width: 16px; height: 16px; }
.checker__title { font-size: 20px; margin-top: 8px; font-weight: 600; }
.checker__progress { height: 6px; border-radius: 6px; background: var(--tint); margin-top: 14px; overflow: hidden; }
.checker__progress span { display: block; height: 100%; width: calc(100% / var(--n) * var(--i, 0)); background: linear-gradient(90deg, var(--teal), #2B9A8F); border-radius: 6px; transition: width .35s var(--ease); }
.checker__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .checker__step { display: none; }
.js .checker__step.is-active { display: block; }
.checker__q { font-family: var(--font-head); font-weight: 500; font-size: 18px; color: var(--ink); padding: 0; margin-bottom: 12px; line-height: 1.3; }
.checker__help { font-size: 14.5px; color: var(--muted); margin: -4px 0 12px; }
.checker__opts { display: grid; gap: 8px; margin-bottom: 18px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 46px; border: 1.5px solid var(--line-2); border-radius: 12px; font-size: 16px; color: var(--ink); background: var(--white); transition: border-color .15s, background .15s; position: relative; }
.opt span::before { content: ""; position: absolute; left: 14px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.opt:hover span { border-color: var(--teal); }
.opt input:checked + span { border-color: var(--teal); background: var(--tint); }
.opt input:checked + span::before { border-color: var(--teal); background: radial-gradient(circle, var(--teal) 45%, #fff 50%); }
.opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.checker__nav { display: none; justify-content: space-between; gap: 10px; }
.js .checker__nav { display: flex; }
.checker__nav [data-next] { margin-left: auto; }
.checker__result { padding: 18px; border-radius: var(--radius); background: var(--amber-soft); border: 1px solid rgba(217, 138, 30, .35); margin-bottom: 18px; }
.checker__result.is-no { background: var(--tint); border-color: var(--line); }
.checker__result.is-maybe { background: var(--teal-soft); border-color: rgba(15, 110, 104, .3); }
.result__badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #fff; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.result__badge:empty { display: none; }
.checker__result.is-maybe .result__badge { background: var(--teal); }
.result__title { font-size: 19px; font-weight: 600; }
.result__text { margin: 6px 0 0; font-size: 15.5px; }
.fields { display: grid; gap: 14px; margin-bottom: 16px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 110, 104, .15); }
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: #B3261E; }
.consent, .field label.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.form-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-alert { padding: 12px 14px; border-radius: 10px; background: #FBE9E7; color: #8A1C14; font-size: 15px; margin-bottom: 14px; }
.form-alert[hidden] { display: none; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; }
.checker__done { text-align: center; padding: 12px 4px; }
.checker__done-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); margin: 0 auto 14px; }
.checker__done-icon .icon { width: 28px; height: 28px; }
.checker__done h3 { font-size: 22px; margin-bottom: 8px; }
.checker__done .btn { margin-top: 8px; }

/* ---------- Grant panel ---------- */
.grant-panel { display: grid; gap: 24px; align-items: center; }
.grant-panel__badge { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); width: max-content; max-width: 100%; }
.grant-panel__badge .icon { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); }
@media (min-width: 900px) { .grant-panel { grid-template-columns: auto 1fr; gap: 48px; } }

/* ---------- Article layout + prose ---------- */
.article-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } .side-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.prose { max-width: 70ch; font-size: 17.5px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(15, 110, 104, .4); text-underline-offset: 3px; }
.side-card { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card__title { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); line-height: 1.25; }
.side-card p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-size: 15.5px; }

/* ---------- Cards ---------- */
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15, 110, 104, .35); color: var(--ink-2); }
.product-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.product-card__badge { display: inline-block; width: max-content; padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: #8F5A0C; font-size: 13px; font-weight: 500; }
.product-card__title { font-size: 21px; font-weight: 600; }
.product-card p { margin: 0; font-size: 15.5px; flex: 1; }
.steps { list-style: none; display: grid; gap: 16px; margin-top: 32px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.step__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.step h3 { font-size: 20px; margin-bottom: 6px; font-weight: 600; }
.step p { margin: 0; font-size: 15.5px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { grid-template-columns: 1fr; } }
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.promise { list-style: none; display: grid; gap: 18px; }
.promise li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.promise li:last-child { border-bottom: 0; }
.promise .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); }
.promise h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.promise p { margin: 0; font-size: 15.5px; }
.town-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.town-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 15.5px; font-weight: 500; transition: border-color .2s, background .2s; }
.town-link .icon { width: 16px; height: 16px; color: var(--teal); }
.town-link:hover { border-color: var(--teal); background: var(--tint); color: var(--ink); }
.town-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 16px 0 40px; }
.town-card { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink-2); transition: border-color .2s, transform .2s var(--ease); }
.town-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.town-card h3 { font-size: 19px; font-weight: 600; }
.town-card p { margin: 0 0 8px; font-size: 14.5px; color: var(--muted); }
.grant-list { display: grid; gap: 16px; }
.grant-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.grant-row__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.grant-row__icon .icon { width: 28px; height: 28px; }
.grant-row__body { display: grid; gap: 8px; justify-items: start; }
.grant-row h2 a { color: var(--ink); }
.grant-row p { margin: 0; max-width: 70ch; }
.post-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.post-card__link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink-2); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink-2); }
.post-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); }
.post-card__meta { font-size: 13.5px; color: var(--muted); }
.post-card__title { font-size: 20px; font-weight: 600; line-height: 1.25; }
.post-card p { margin: 0; font-size: 15.5px; flex: 1; }
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); }
.contact-list a:hover { border-color: var(--teal); background: var(--tint); }
.contact-list__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); flex: none; }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faqs { margin-top: 24px; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .3s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--teal-soft); border-color: var(--teal); }
.faq__body { padding: 0 0 20px; max-width: 70ch; color: var(--ink-2); }
.faq__body p { margin: 0; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(120deg, var(--teal-deep), var(--teal) 70%, #2B9A8F); color: #DDEFEA; }
.cta-section__inner { display: grid; gap: 28px; align-items: center; }
.cta-section .h-xl { color: #fff; max-width: 20ch; }
.cta-section .lead { color: #DDEFEA; }
.cta-section .btn--primary { background: #fff; color: var(--teal-deep); box-shadow: none; }
.cta-section .btn--primary:hover { background: var(--amber-soft); color: var(--teal-deep); }
.cta-section .btn--ghost { --b: rgba(255,255,255,.4); background: transparent; color: #fff; }
.cta-section .btn--ghost:hover { --b: #fff; color: #fff; }
.cta-section .btn-row { margin-top: 0; }
@media (min-width: 900px) { .cta-section__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-section--form .cta-section__inner--form { align-items: start; }
.cta-section--form .eyebrow { color: #F3C98B; }
.cta-section--form .eyebrow::before { background: #F3C98B; }
.ticks--light { color: #DDEFEA; }
.ticks--light .icon { color: #F3C98B; }
.cta-section--form .ticks { flex-direction: column; gap: 10px; }
.cta-section--form .btn--ghost { margin-top: 26px; }
.cta-section--form .checker { color: var(--ink-2); }
.cta-section--form .checker__title { color: var(--ink); }
.cta-section--form .checker .btn--primary { background: var(--teal); color: #fff; }
.cta-section--form .checker .btn--primary:hover { background: var(--teal-deep); color: #fff; }
.cta-section--form .checker .btn--ghost { --b: var(--line-2); color: var(--ink); margin-top: 8px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317262A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
@media (min-width: 900px) { .cta-section--form .cta-section__inner--form { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B8C4C7; padding: 64px 0 100px; }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } .site-footer { padding-bottom: 56px; } }
.site-footer .brand { color: #fff; }
.site-footer .brand__word, .site-footer .brand__word span { color: #fff; }
.site-footer .brand__mark { color: #7FD1C5; }
.site-footer__about p { font-size: 14.5px; margin: 16px 0 18px; max-width: 46ch; }
.site-footer .btn--ghost { --b: rgba(255,255,255,.25); background: transparent; color: #fff; }
.site-footer__h { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer__towns { grid-template-columns: 1fr 1fr; }
.site-footer a { color: #B8C4C7; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer__bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #8A9A9E; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 245, 239, .96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.mobile-bar__wa { border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.mobile-bar__wa .icon { color: #1DA851; }
.mobile-bar__check { background: var(--teal); color: #fff; }
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar { transition: transform .3s var(--ease); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* ---------- Pagination ---------- */
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); }
.pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }

/* =========================================================================
   Personality pass: colour blocks, photography, the roofline motif
   ========================================================================= */
:root {
	--teal-ink: #0B3F3C;
	--amber-bright: #F2A33A;
	--amber-deep: #C8780F;
	--accent: var(--teal);
}

/* Roofline motif: a row of little Dorset houses. Colour comes from background-color. */
.roofline { height: 34px; width: 100%; background-color: var(--teal); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='34' viewBox='0 0 240 34'%3E%3Cpath d='M0 34V20L18 6l18 14v14zM40 34V16h6v-6h4v6h8v8l12-10 12 10v10zM86 34V24l14-10 14 10v10zM118 34V12h24v22zM150 34V20l16-12 16 12v14zM188 34v-8l12-8 12 8v8zM216 34V18l12-10 12 10v16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='34' viewBox='0 0 240 34'%3E%3Cpath d='M0 34V20L18 6l18 14v14zM40 34V16h6v-6h4v6h8v8l12-10 12 10v10zM86 34V24l14-10 14 10v10zM118 34V12h24v22zM150 34V20l16-12 16 12v14zM188 34v-8l12-8 12 8v8zM216 34V18l12-10 12 10v16z'/%3E%3C/svg%3E"); -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-position: center bottom; mask-position: center bottom; }
.roofline--footer { background-color: var(--ink); margin-bottom: -1px; }
.roofline--hero { background-color: var(--amber-bright); position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }

/* Buttons on dark */
.btn--amber { background: var(--amber-bright); color: var(--ink); box-shadow: 0 10px 24px rgba(242, 163, 58, .3); }
.btn--amber:hover { background: #FFB95A; color: var(--ink); transform: translateY(-1px); }
.btn--ghost-light { --b: rgba(255,255,255,.45); background: transparent; color: #fff; }
.btn--ghost-light:hover { --b: #fff; color: #fff; background: rgba(255,255,255,.08); }
.eyebrow--light { color: #F3C98B; }
.text-link--light { color: #fff; }
.text-link--light:hover { color: #F3C98B; }
.mark { font-style: normal; color: #F3C98B; }

/* ---------- Home hero: deep teal block with the street photo ---------- */
.hero--home { background: linear-gradient(135deg, var(--teal-ink) 0%, #0D5E59 60%, #0F6E68 100%); color: #DDEFEA; padding: clamp(40px, 6vw, 88px) 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.hero--home .h-display, .hero--home h1 { color: #fff; }
.hero--home .lead { color: #D2E8E3; }
.hero--home .eyebrow::before { background: var(--amber-bright); }
.hero--home .ticks { color: #D2E8E3; }
.hero--home .ticks .icon { color: #F3C98B; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-ink) 0%, rgba(11, 63, 60, .7) 18%, rgba(11, 63, 60, .12) 55%, rgba(11, 63, 60, .1) 100%), linear-gradient(180deg, rgba(11, 63, 60, .05), rgba(11, 63, 60, .55)); }
.hero--home .hero__grid { position: relative; z-index: 1; }
.hero--home .hero__picker { border: 0; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.picker__icon { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.picker__text small { color: var(--accent); }
.picker__row:hover { background: color-mix(in srgb, var(--accent) 8%, #fff); }
@media (max-width: 899px) {
	.hero--home { display: flex; flex-direction: column; padding-bottom: 60px; }
	.hero--home .hero__grid { order: 1; }
	.hero__photo { order: 2; position: relative; width: calc(100% - var(--gutter) * 2); margin: 32px auto 0; height: 220px; border-radius: var(--radius-lg); overflow: hidden; }
	.hero__photo::after { background: linear-gradient(180deg, transparent 50%, rgba(11, 63, 60, .5)); }
	.roofline--hero { order: 3; position: relative; bottom: auto; margin-top: 40px; }
}

/* ---------- Numbers band ---------- */
.numbers { background: var(--amber-bright); color: var(--ink); padding: clamp(36px, 5vw, 60px) 0; }
.numbers__grid { display: grid; gap: 28px 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .numbers__grid { grid-template-columns: repeat(4, 1fr); } }
.number { display: grid; gap: 8px; align-content: start; }
.number strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.number span { font-size: 15px; line-height: 1.45; color: #4A3410; max-width: 24ch; }

/* ---------- Steps ---------- */
.step { background: var(--white); border: 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(23, 38, 42, .06); }
.step__n { background: var(--amber-bright); color: var(--ink); }

/* ---------- Product cards with photos ---------- */
.product-card { padding: 0; overflow: hidden; gap: 0; border: 1px solid var(--line); }
.product-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__icon { position: absolute; left: 18px; top: -24px; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); z-index: 1; }
.product-card__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 36px 22px 22px; flex: 1; }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.product-card__title { font-size: 19px; }
.product-card__badge { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.product-card:hover { border-color: var(--accent); }
.product-card .text-link { color: var(--accent); margin-top: 6px; }

/* ---------- Why: photo + stamp ---------- */
.why__photo { position: relative; }
.why__img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-lg); }
.stamp { position: absolute; right: -14px; bottom: 28px; width: 150px; height: 150px; border-radius: 50%; background: var(--amber-bright); color: var(--ink); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 16px 40px rgba(23, 38, 42, .25); font-family: var(--font-head); line-height: 1.05; }
.stamp strong { font-size: 54px; font-weight: 600; letter-spacing: -0.03em; display: block; }
.stamp span { font-size: 15px; font-weight: 500; }
.split--photo { align-items: center; }
.why .promise { margin: 28px 0; }
@media (max-width: 959px) { .why__img { aspect-ratio: 16 / 10; } .stamp { right: 12px; bottom: -20px; width: 120px; height: 120px; } .stamp strong { font-size: 42px; } .why .promise { margin-top: 44px; } }

/* ---------- Areas banner with coast photo ---------- */
.banner { position: relative; padding: var(--section) 0; background: var(--teal-ink); color: #DDEFEA; overflow: hidden; }
.banner__photo { position: absolute; inset: 0; }
.banner__img { width: 100%; height: 100%; object-fit: cover; }
.banner__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 63, 60, .82), rgba(11, 63, 60, .55) 50%, rgba(11, 63, 60, .88)); }
.banner__inner { position: relative; z-index: 1; display: grid; gap: 32px; }
.banner__head { max-width: 62ch; }
.banner .h-xl { color: #fff; }
.banner .lead { color: #D2E8E3; }
.banner .town-links { margin-top: 0; }
.banner .town-link { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.banner .town-link .icon { color: #F3C98B; }
.banner .town-link:hover { background: rgba(255,255,255,.95); color: var(--ink); border-color: #fff; }
.banner .town-link:hover .icon { color: var(--teal); }

/* ---------- Page heroes with a photo ---------- */
.page-hero--photo { position: relative; color: #D2E8E3; border-bottom: 0; background: var(--teal-ink); overflow: hidden; padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero__photo { position: absolute; inset: 0; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 63, 60, .92) 0%, rgba(11, 63, 60, .78) 45%, rgba(11, 63, 60, .45) 100%), linear-gradient(0deg, rgba(11, 63, 60, .6), transparent 50%); }
.page-hero--photo .wrap { position: relative; z-index: 1; }
.page-hero--photo h1, .page-hero--photo .h-hero { color: #fff; }
.page-hero--photo .lead { color: #D2E8E3; }
.page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: rgba(255,255,255,.7); }
.page-hero--photo .eyebrow { color: #F3C98B; }
.page-hero--photo .eyebrow::before { background: var(--amber-bright); }
.page-hero--photo .side-card { color: var(--ink-2); }

/* ---------- Product hero accent ---------- */
.hero--product { background: radial-gradient(900px 480px at 100% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), radial-gradient(600px 400px at -10% 100%, rgba(242, 163, 58, .14), transparent 60%), var(--paper); }
.hero--product .checklist .icon { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.hero--product .eyebrow { color: var(--accent); }

/* ---------- Grant panel with photo ---------- */
.grant-panel--photo { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .grant-panel--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.grant-panel__media { position: relative; }
.grant-panel__img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-lg); }
.grant-panel--photo .grant-panel__badge { position: absolute; left: 20px; bottom: 20px; margin: 0; background: #fff; max-width: calc(100% - 40px); }
.grant-panel--photo .grant-panel__badge .icon { color: var(--accent); }
.grant-panel__text .eyebrow { color: var(--accent); }

/* ---------- Post cards with photos ---------- */
.post-card__link { padding: 0; overflow: hidden; gap: 0; }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card__link:hover .post-card__img { transform: scale(1.04); }
.post-card__icon { position: absolute; left: 18px; top: -22px; width: 44px; height: 44px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); z-index: 1; }
.post-card__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 22px 22px; flex: 1; }

/* ---------- Side card and article photos ---------- */
.side-card--photo { padding-top: 0; overflow: hidden; }
.side-card__img { width: calc(100% + 48px); margin: 0 -24px 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.article-figure { margin: 0 0 32px; }
.article-figure__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }

/* ---------- Footer sits under its roofline ---------- */
.site-footer { padding-top: 56px; }
@media (max-width: 799px) { .step h3, .step p { grid-column: 2; } .step__n { grid-row: span 2; } }

/* ---------- Cookie choice ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 97; max-width: 380px; width: calc(100% - 32px); padding: 18px 20px; border-radius: var(--radius); background: var(--ink); color: #DDE6E4; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); font-size: 14.5px; }
.cookie.is-in { opacity: 1; transform: none; }
.cookie p { margin: 0 0 12px; }
.cookie a { color: #F3C98B; text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn--primary { background: var(--amber-bright); color: var(--ink); box-shadow: none; }
.cookie .btn--ghost { --b: rgba(255,255,255,.35); background: transparent; color: #fff; }
@media (max-width: 1023px) { .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ---------- Commercial solar (business audience) ---------- */
.biz-strip { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-left: 6px solid var(--accent); }
.biz-strip__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.biz-strip__icon .icon { width: 28px; height: 28px; }
.biz-strip__text p { margin: 8px 0 0; }
.biz-strip .btn { width: max-content; }
@media (min-width: 900px) { .biz-strip { grid-template-columns: 56px 1fr auto; gap: 28px; } }
.checker--business .checker__kicker { color: var(--accent); }
