/* ==========================================================================
   Advanced Aluminum theme styles (owner-approved Design E, 2026-11-03).
   Direction: DESIGN-DIRECTION.md.
   Florida modernist: white frames, plain limestone deck, deep pool water.
   The homepage asks for the estimate one question at a time.
   Plus Jakarta Sans for headings, Archivo for body text, Newsreader for review quotes.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-var.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--brand: #dd4240;          /* call buttons. White text only at >=19px bold */
	--brand-dark: #b8302e;     /* red text on white (6.0:1), pins, small buttons */
	--brand-deep: #9c2624;
	--ink: #1b2427;            /* lanai shadow: headings, dark bands (16:1 on white) */
	--text: #3b4447;           /* body (10:1 on white, 9:1 on deck) */
	--muted: #5a6467;          /* captions (6.1:1 on white, 5.4:1 on deck) */
	--deck: #f1efea;           /* limestone pool deck: hero and alternating sections */
	--paper: #ffffff;
	--line: #d9d5cd;
	--field: #7e888b;          /* form field and tile borders (3.6:1 on white) */
	--pool: #0a5c66;           /* deep pool water: progress, markers, rivers (7.3:1 on white) */
	--pool-wash: #d3e6e6;
	--sun: #e9b44c;            /* stars, the 0% figure and tag */
	--on-dark: #e9edec;
	--on-dark-muted: #b9c3c4;
	--line-dark: rgba(255, 255, 255, 0.18);

	--sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
	--display: "Plus Jakarta Sans", var(--sans);
	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--fs-small: 1rem;
	--fs-body: 1.1875rem;
	--fs-lead: clamp(1.1875rem, 1.1rem + 0.45vw, 1.375rem);
	--fs-h3: 1.3125rem;
	--fs-h2: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem);
	--fs-h1: clamp(2.125rem, 1.4rem + 2.5vw, 3.5rem);

	--s-1: 0.5rem; --s-2: 0.75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem;
	--s-6: 3rem; --s-7: 4.5rem; --s-8: clamp(3rem, 1.75rem + 4vw, 5.5rem); /* section padding: 48px on phones to 88px wide (was 64-112px; owner, 2026-11-09) */

	--gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
	--container: 80rem;
	--measure: 64ch;
	--tap: 3rem;
	--radius: 3px;             /* crisp, extruded-aluminum corners */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink);
	--lift: 0 2px 4px rgba(27, 36, 39, 0.06), 0 28px 60px -30px rgba(27, 36, 39, 0.5);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 6rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 var(--fs-body)/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 var(--s-3); color: var(--ink); font-family: var(--display); line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; font-family: var(--display); letter-spacing: -0.022em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); font-weight: 760; font-family: var(--display); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); font-weight: 720; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0 0 var(--s-3); max-width: var(--measure); text-wrap: pretty; }
a { color: var(--brand-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
cite { font-style: italic; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
[hidden] { display: none !important; }
.visually-hidden { 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: var(--s-3); top: -4rem; z-index: 100; padding: var(--s-2) var(--s-3); background: var(--ink); color: var(--paper); }
.skip-link:focus { top: var(--s-3); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.stars { display: inline-flex; gap: 0.05rem; color: var(--sun); }
.stars .icon { width: 1.1rem; height: 1.1rem; }
.confirm { padding: 0 0.3em; border-radius: 2px; background: #fff3c4; color: #5c4400; font-size: 0.875em; font-weight: 600; }
/* Visitors never see open questions; signed-in editors do (body class from inc/pages.php). */
body:not(.aa-editor) .confirm { display: none; }
.tag-zero { flex: none; padding: 0.05rem 0.5rem; border-radius: 2px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	min-height: 3.25rem; padding: 0.8rem 1.6rem; border: 2px solid transparent; border-radius: var(--radius);
	font: 700 1.1875rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--call { background: var(--brand); color: var(--paper); }
.btn--call:hover { background: var(--brand-dark); }
.btn--big { min-height: 3.75rem; padding-inline: 2rem; font-size: 1.3125rem; }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1.0625rem; }
.btn--small.btn--call { background: var(--brand-dark); }
.btn--small.btn--call:hover { background: var(--brand-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; transition: text-decoration-thickness 160ms var(--ease); }
.text-link:hover { text-decoration-thickness: 3px; }
.text-link--light { color: var(--paper); }

/* ---------- Financing ribbon + header ---------- */

.ribbon {
	display: flex; justify-content: center; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.3rem var(--gutter);
	background: var(--pool); color: var(--paper); font-size: var(--fs-small); text-decoration: none;
}
.ribbon:hover span:last-child { text-decoration: underline; }

.top { position: sticky; top: 0; z-index: 40; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.top__row { display: flex; align-items: center; gap: var(--s-4); min-height: 4.75rem; }
.top__logo { display: inline-flex; flex: none; padding-block: 0.4rem; color: var(--brand); }
.top__logo .aa-logo { width: auto; height: 3rem; }
.top__nav { margin-inline: auto; }
.top__nav ul { display: flex; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.top__nav a {
	position: relative; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 0.65rem;
	color: var(--ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
}
.top__nav a::after { content: ""; position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0.55rem; height: 2px; background: var(--brand-dark); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__phone { display: inline-flex; align-items: center; gap: 0.45rem; min-height: var(--tap); color: var(--ink); font-weight: 800; font-family: var(--display); font-size: 1.125rem; text-decoration: none; white-space: nowrap; }
.top__phone .icon { color: var(--brand-dark); }
.top__phone:hover span { text-decoration: underline; }
.top__cta { white-space: nowrap; }
.menu-toggle, .mobile-menu { display: none; }

@media (max-width: 96rem) {
	.top__row { gap: var(--s-3); }
	.top__nav a { padding: 0 0.45rem; font-size: 1rem; }
	.top__nav a::after { left: 0.45rem; right: 0.45rem; }
}
@media (max-width: 84rem) { .top__cta { display: none; } }
@media (max-width: 72rem) {
	.top__nav { display: none; }
	.top__row { justify-content: space-between; min-height: 4.25rem; }
	.top__logo .aa-logo { height: 2.75rem; }
	.top__phone { margin-inline-start: auto; }
	.menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); padding: 0 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 600 1rem var(--sans); cursor: pointer; }
	.menu-toggle:hover { border-color: var(--ink); }
	.mobile-menu:not([hidden]) { display: block; border-top: 1px solid var(--line); max-height: calc(100vh - 8rem); overflow-y: auto; }
	.mobile-menu ul { margin: 0 auto; padding: var(--s-2) 0 var(--s-4); list-style: none; }
	.mobile-menu a { display: flex; align-items: center; min-height: 3.25rem; border-bottom: 1px solid var(--deck); color: var(--ink); font-weight: 600; font-size: 1.1875rem; text-decoration: none; }
	.mobile-menu .btn { width: 100%; margin-top: var(--s-3); border-bottom: 0; color: var(--paper); }
}
@media (max-width: 36rem) {
	.top__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.top__phone { justify-content: center; width: var(--tap); border-radius: var(--radius); background: var(--brand-dark); }
	.top__phone .icon { color: var(--paper); }
	.ribbon { justify-content: flex-start; line-height: 1.35; }
}

/* ---------- Photos ---------- */

.photo { position: relative; margin: 0; overflow: hidden; background: var(--deck); }
.photo picture, .photo img { display: block; width: 100%; height: 100%; }
.photo img { object-fit: cover; transition: transform 600ms var(--ease); }
.photo-slot { position: relative; display: grid; place-items: center; margin: 0; min-height: 5rem; border: 1px dashed var(--field); border-radius: var(--radius); text-align: center; }
.photo-slot figcaption { padding: 0.4rem 0.8rem; font-size: 0.9375rem; font-weight: 600; }

/* ---------- Hero: pitch, photo, and the estimate starter docked across both ---------- */

.hero {
	--edge: max(var(--gutter), calc((100cqw - var(--container)) / 2));
	container-type: inline-size;
	display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); grid-template-rows: auto auto;
	background: var(--deck);
}
.hero__pitch { grid-column: 1; grid-row: 1; padding: var(--s-5) clamp(2.5rem, 4vw, 4.5rem) var(--s-4) var(--edge); }
.hero__pitch h1 { font-size: clamp(2.125rem, 1.3rem + 2.1vw, 3.125rem); }
.hero__photo { position: relative; grid-column: 2; grid-row: 1 / 3; min-height: 20rem; }
.hero__photo > .photo { position: absolute; inset: 0; }
.hero__dock { position: relative; z-index: 2; grid-column: 1 / -1; grid-row: 2; width: min(100% - var(--edge) - var(--gutter), 66rem); margin: 0 0 var(--s-4) var(--edge); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; }
.hero__call { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.hero__finance { display: flex; align-items: center; gap: 0.6rem; margin: 0; max-width: 34ch; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.hero__finance a { font-weight: 700; }

/* Rating stamp, straddling the seam between the pitch and the photo. */
.stamp {
	position: absolute; z-index: 3; top: var(--s-5); left: 0; transform: translateX(-50%);
	display: grid; place-items: center; width: 10.5rem; aspect-ratio: 1; border-radius: 50%;
	background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--lift);
	transition: transform 300ms var(--ease);
}
.stamp:hover { transform: translateX(-50%) rotate(-6deg); }
.stamp:focus-visible { border-radius: 50%; }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp__ring text { fill: var(--muted); font: 600 12.4px var(--sans); letter-spacing: 0.05em; }
.stamp__core { display: grid; justify-items: center; gap: 0.1rem; max-width: 5.6rem; line-height: 1.1; text-align: center; }
.stamp__core strong { font-size: 2.125rem; font-weight: 800; font-family: var(--display); letter-spacing: -0.02em; }
.stamp__core .stars .icon { width: 0.85rem; height: 0.85rem; }
.stamp__core span:last-child { font-size: 0.8125rem; font-weight: 600; color: var(--text); }

@media (max-width: 56rem) {
	.hero { grid-template-columns: 1fr; }
	.hero__photo { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
	.hero__pitch { grid-row: 2; padding: 4.5rem var(--gutter) var(--s-4); }
	.hero__dock { grid-row: 3; width: auto; margin: 0 var(--gutter) var(--s-5); }
	.stamp { top: auto; bottom: 0; left: auto; right: var(--gutter); width: 8.5rem; transform: translateY(45%); }
	.stamp:hover { transform: translateY(45%) rotate(-6deg); }
	.stamp__core strong { font-size: 1.75rem; }
	.stamp__core span:last-child { font-size: 0.75rem; }
	.hero__call .btn { width: 100%; }
}

/* ---------- Estimate starter ---------- */

.starter { padding: var(--s-3) var(--s-5) var(--s-4); border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift); }
.starter__head { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 var(--s-3); margin-bottom: var(--s-2); }
.starter__title { margin: 0; font-size: 1.5rem; font-weight: 780; font-family: var(--display); letter-spacing: -0.018em; }
.starter__count { margin: 0; color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.starter__bar { grid-column: 1 / -1; height: 4px; margin-top: var(--s-2); background: var(--deck); }
.starter__bar span { display: block; width: 0; height: 100%; background: var(--pool); transition: width 400ms var(--ease); }
.step { min-width: 0; margin: 0 0 var(--s-4); padding: 0; border: 0; }
.step:focus, .step:focus-visible { outline: none; box-shadow: none; } /* focused by script so screen readers hear the next question */
.step legend { margin-bottom: var(--s-2); padding: 0; color: var(--ink); font-weight: 720; font-size: 1.25rem; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.tile {
	position: relative; display: grid; overflow: hidden; border: 2px solid var(--line); border-radius: var(--radius);
	background: var(--paper); cursor: pointer; transition: border-color 160ms var(--ease);
}
.tile input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.tile .photo { aspect-ratio: 3 / 1; }
.tile:hover { border-color: var(--field); }
.tile:hover .photo img { transform: scale(1.05); }
.tile__label { display: flex; align-items: center; min-height: var(--tap); padding: 0.35rem 0.8rem; color: var(--ink); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.tile:has(input:checked) { border-color: var(--brand-dark); }
.tile:has(input:checked) .tile__label { background: var(--brand-dark); color: var(--paper); }
.tile:has(input:focus-visible), .chip:has(input:focus-visible) { box-shadow: var(--focus); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.chip span {
	display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 1rem; border: 1px solid var(--field); border-radius: 999px;
	color: var(--ink); font-weight: 600; font-size: 1.0625rem; cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.chip { position: relative; border-radius: 999px; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--pool); background: var(--pool); color: var(--paper); }

.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-3); }
.field { display: grid; gap: 0.3rem; margin-bottom: var(--s-3); }
.field label { color: var(--ink); font-weight: 650; font-size: 1rem; }
.field input {
	width: 100%; min-height: var(--tap); padding: 0.55rem 0.8rem; border: 1px solid var(--field); border-radius: var(--radius);
	background: var(--paper); color: var(--ink); font: 400 1.125rem/1.3 var(--sans); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:hover { border-color: var(--ink); }
.field input:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27, 36, 39, 0.18); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; }
.consent input { flex: none; width: 1.35rem; height: 1.35rem; margin: 0.1rem 0 0; accent-color: var(--brand-dark); }

.starter__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.starter__alt { margin: 0 0 0 auto; color: var(--muted); font-size: var(--fs-small); }
.starter__alt a { font-weight: 700; white-space: nowrap; }

/* With JavaScript: one question at a time. Without it, the whole form shows. */
.starter.is-live .step:not(.is-current) { display: none; }
.starter.is-live .step { animation: step-in 320ms var(--ease); }
.starter.nav-empty .starter__nav { display: none; }
.starter.nav-empty .step { margin-bottom: var(--s-1); }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 56rem) {
	.fields { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile .photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 30rem) {
	.starter { padding: var(--s-3); }
	.starter__head { grid-template-columns: 1fr; }
	.starter__alt { margin: 0; flex-basis: 100%; }
	.starter__nav .btn { flex: 1; }
}

/* ---------- Trust spec band ---------- */

.spec { background: var(--ink); color: var(--on-dark-muted); }
.spec__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 auto; padding: 0; list-style: none; }
.spec li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.1rem; align-content: start; padding: var(--s-3) var(--s-3); border-left: 1px solid var(--line-dark); font-size: var(--fs-small); line-height: 1.35; }
.spec li:first-child { border-left: 0; padding-left: 0; }
/* Line icon beside each fact, in the sun accent the stars use (9:1 on ink). */
.spec .icon { grid-row: span 2; width: 2rem; height: 2rem; margin-top: 0.1rem; color: var(--sun); }
.spec li > :not(.icon) { grid-column: 2; }
.spec strong { color: var(--paper); font-size: 1.375rem; font-weight: 800; font-family: var(--display); letter-spacing: -0.02em; }
.spec a { color: inherit; }
@media (max-width: 62rem) {
	.spec__row { grid-template-columns: 1fr 1fr; }
	.spec li { padding: var(--s-3) 0; border-left: 0; border-top: 1px solid var(--line-dark); }
	.spec li:nth-child(-n + 2) { border-top: 0; }
	.spec li:nth-child(even) { padding-left: var(--s-3); }
	.spec li:last-child { grid-column: 1 / -1; padding-left: 0; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--s-8); }
.section-head { max-width: 48rem; margin-bottom: var(--s-6); }
.section-head p { font-size: var(--fs-lead); margin-bottom: 0; }
.section-foot { margin: var(--s-4) 0 0; max-width: none; }

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Reviews ---------- */

.voices__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
.voices__lead { position: relative; margin: 0; padding-left: clamp(2.5rem, 5vw, 5rem); }
.voices__lead::before { content: "\201C"; position: absolute; left: 0; top: -0.25em; color: var(--brand); font: 400 clamp(6rem, 4rem + 6vw, 11rem)/1 var(--serif); }
.voices__lead blockquote { margin: 0 0 var(--s-4); }
.voices__lead blockquote p { max-width: 22ch; color: var(--ink); font: 400 clamp(2rem, 1.3rem + 2.6vw, 3.5rem)/1.14 var(--serif); letter-spacing: -0.015em; }
.voices__lead figcaption { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-weight: 600; }
.voices__side h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.voice { margin: 0; padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.voice blockquote { margin: 0 0 var(--s-1); }
.voice blockquote p { margin: 0; color: var(--ink); font: 400 1.375rem/1.35 var(--serif); }
.voice figcaption { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 62rem) { .voices__grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Services mosaic ---------- */

.rooms { background: var(--deck); }
.rooms .section-head p { font-size: var(--fs-body); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(14rem, 18vw, 19rem); gap: var(--s-2); }
.mosaic__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: var(--paper); text-decoration: none; }
.mosaic__item--big { grid-column: span 2; grid-row: span 2; }
.mosaic__item--wide { grid-column: 1 / -1; }
.mosaic__item > .photo { position: absolute; inset: 0; }
.mosaic__item:hover .photo img { transform: scale(1.04); }
.mosaic__text {
	position: absolute; inset: auto 0 0 0; display: grid; gap: 0.25rem; padding: var(--s-6) var(--s-4) var(--s-4);
	background: linear-gradient(to top, rgba(17, 24, 26, 0.92) 0%, rgba(17, 24, 26, 0.78) 55%, rgba(17, 24, 26, 0) 100%);
}
.mosaic__title { font-size: 1.5rem; font-weight: 780; font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color 200ms var(--ease); }
.mosaic__item:hover .mosaic__title { text-decoration-color: var(--brand); }
.mosaic__item--big .mosaic__title { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.mosaic__scope { max-width: 46ch; color: var(--on-dark); font-size: 1.0625rem; line-height: 1.45; }
.mosaic__tag { color: var(--sun); font-weight: 700; font-size: var(--fs-small); }
@media (max-width: 48rem) {
	.mosaic { grid-template-columns: 1fr; grid-auto-rows: 17rem; }
	.mosaic__item--big { grid-column: auto; grid-row: span 1; }
	.mosaic__item--wide { grid-column: auto; }
}

/* ---------- Process: steps hung from one beam ---------- */

.beam__steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.beam__steps li { position: relative; padding: var(--s-6) var(--s-5) 0 0; border-top: 5px solid var(--ink); counter-increment: step; }
.beam__steps li::before {
	content: counter(step); position: absolute; top: -1.6rem; left: 0; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
	background: var(--paper); border: 5px solid var(--ink); color: var(--ink); font-weight: 800; font-family: var(--display); font-size: 1.125rem;
}
.beam__steps p { font-size: 1.0625rem; }
.beam__ask { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); padding: var(--s-4); border-radius: var(--radius); background: var(--deck); }
.beam__ask p { margin: 0; color: var(--ink); font-weight: 720; font-size: 1.25rem; }
@media (max-width: 62rem) {
	.beam__steps { grid-template-columns: 1fr; gap: 0; }
	.beam__steps li { padding: 0 0 var(--s-5) var(--s-7); border-top: 0; border-left: 5px solid var(--ink); margin-left: 1.5rem; }
	.beam__steps li:last-child { border-left-color: transparent; }
	.beam__steps li::before { top: -0.4rem; left: -1.75rem; }
}

/* ---------- Financing ---------- */

.zero { padding-block: var(--s-8); background: var(--ink); color: var(--on-dark); }
.zero__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.zero .zero__figure { margin: 0; max-width: none; color: var(--sun); font-size: clamp(7rem, 3rem + 14vw, 17rem); font-weight: 800; font-family: var(--display); letter-spacing: -0.045em; line-height: 0.8; }
.zero h2 { color: var(--paper); }
.zero p { font-size: var(--fs-lead); }
.partner-logos { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 var(--s-2); }
.partner-logos .photo-slot { min-width: 10rem; border-color: var(--on-dark-muted); color: var(--on-dark); }
/* Partner logos sit on a white chip in the dark band, as the brand's own colours expect. */
.partner-logos__img { display: block; width: auto; height: 2rem; padding: 0.6rem 0.9rem; box-sizing: content-box; background: #fff; border-radius: var(--radius); }
@media (max-width: 48rem) { .zero__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- Service area: a north-to-south strip of the county ---------- */

.coast__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.coastline {
	position: relative; display: grid;
	grid-template-columns: [main] 1.25fr [indian] 0.4fr [island] 1fr [banana] 0.3fr [beach] 1.25fr [ocean] 0.55fr;
	grid-template-rows: auto repeat(12, minmax(3rem, auto));
	padding: var(--s-4) 0 var(--s-4) var(--s-4); border-radius: var(--radius); background: var(--deck);
	overflow: hidden;
}
.coastline ul { display: contents; }
.coastline__col { grid-row: 1; margin: 0 0 var(--s-2); color: var(--muted); font-size: 0.9375rem; font-weight: 700; }
.coastline__col--main { grid-column: main; }
.coastline__col--island { grid-column: island; }
.coastline__col--beach { grid-column: beach; }
.coastline__river, .coastline__ocean { grid-row: 1 / -1; margin-block: calc(-1 * var(--s-4)); background: var(--pool-wash); }
.coastline__river--indian { grid-column: indian; margin-inline: 22%; border-radius: 999px; }
.coastline__river--banana { grid-column: banana; margin-inline: 25%; border-radius: 999px; }
.coastline__ocean { grid-column: ocean; background: repeating-linear-gradient(0deg, var(--pool-wash) 0 0.9rem, #bfdcdc 0.9rem 1rem); }
.town { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.5rem; list-style: none; }
.town--main { grid-column: main; }
.town--island { grid-column: island; }
.town--beach { grid-column: beach; }
.town a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); color: var(--ink); font-weight: 650; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; }
.town a::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--pool); box-shadow: 0 0 0 3px var(--paper); }
.town a:hover { color: var(--brand-dark); text-decoration: underline; }
.town__office { padding: 0 0.4rem; border-radius: 2px; background: var(--sun); color: var(--ink); font-size: 0.8125rem; font-weight: 700; }
@media (max-width: 62rem) { .coast__grid { grid-template-columns: 1fr; gap: var(--s-5); } }
@media (max-width: 36rem) {
	.coastline { grid-template-columns: [main] 1fr [indian] 0.22fr [island] 0.9fr [banana] 0.18fr [beach] 1fr [ocean] 0.2fr; padding-left: var(--s-2); }
	.town a { font-size: 0.9375rem; gap: 0.35rem; }
	.town a::before { width: 0.5rem; height: 0.5rem; }
	.coastline__col { font-size: 0.8125rem; }
}

/* ---------- FAQ ---------- */

.faq-block { padding-top: 0; }
.faq-block__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 4rem; padding: var(--s-2) 0;
	color: var(--ink); font-weight: 700; font-size: 1.25rem; line-height: 1.3; cursor: pointer; list-style: none;
}
.faq summary:hover { color: var(--brand-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--s-3); }
@media (max-width: 62rem) { .faq-block__grid { grid-template-columns: 1fr; gap: var(--s-3); } }

/* ---------- Closing ---------- */

.closing { position: relative; isolation: isolate; padding-block: var(--s-8); color: var(--on-dark); }
.closing__bg { position: absolute; inset: 0; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(17, 24, 26, 0.9) 0%, rgba(17, 24, 26, 0.72) 50%, rgba(17, 24, 26, 0.45) 100%); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: center; }
.closing h2 { color: var(--paper); font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); }
.closing__pitch p { font-size: var(--fs-lead); }
.closing__phone { display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--tap); color: var(--paper); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 800; font-family: var(--display); letter-spacing: -0.02em; text-decoration: none; }
.closing__phone .icon { color: var(--brand); }
.closing__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.closing .starter { color: var(--text); }
@media (max-width: 62rem) { .closing__grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumbs and the owner-review flag ---------- */

.crumbs { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin-block: 0; padding: 0.6rem 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 0.4rem; height: 0.4rem; border-top: 1.5px solid var(--field); border-right: 1.5px solid var(--field); transform: rotate(45deg); }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.25rem; color: var(--text); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.review-flag { max-width: none; margin: 0; padding: 0.5rem 0; background: #fff3c4; color: #5c4400; font-size: 0.9375rem; font-weight: 600; }
.review-flag .container { display: block; }
.voices__note { margin-top: var(--s-3); font-size: var(--fs-small); }

/* ---------- City pages ---------- */

.city-copy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); gap: var(--s-7); align-items: start; }
.prose > * { max-width: 68ch; }
.prose h2 { margin-top: var(--s-6); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 var(--s-3); padding-left: 1.25rem; }
.prose li { margin-bottom: var(--s-2); padding-left: 0.25rem; }
.prose li::marker { color: var(--pool); }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { font-weight: 600; } /* buttons keep their own bold weight (white on brand red needs bold, §3) */
.prose__photo { margin-block: var(--s-5); max-width: none !important; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.area-list { display: flex; flex-wrap: wrap; gap: var(--s-1); padding: 0 !important; list-style: none; }
.area-list li { margin: 0; padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--deck); color: var(--ink); font-size: 1rem; font-weight: 600; }

.city-card { position: sticky; top: 6.5rem; display: grid; gap: var(--s-2); padding: var(--s-4); border-radius: var(--radius); background: var(--deck); }
.city-card__title { margin: 0 0 var(--s-1); color: var(--ink); font-family: var(--display); font-weight: 780; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.015em; }
.city-card__facts { display: grid; gap: 0.5rem; margin: 0 0 var(--s-2); padding: 0; list-style: none; font-size: 1.0625rem; line-height: 1.4; }
.city-card__facts li { display: flex; gap: 0.55rem; align-items: flex-start; }
.city-card__facts .icon { margin-top: 0.1rem; color: var(--pool); }
.city-card__btn { width: 100%; }

.city-projects { background: var(--deck); }
.project-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.project-trio .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }

.permit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: start; }
.permit__office { padding: var(--s-3); border-left: 4px solid var(--pool); background: var(--deck); color: var(--text); }
.permit__office strong { display: block; color: var(--ink); }

.explore { padding-top: 0; }
.explore__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.explore__grid a {
	display: grid; gap: 0.2rem; height: 100%; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--text); text-decoration: none; transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.explore__grid a:hover { border-color: var(--ink); background: var(--deck); }
.explore__grid strong { color: var(--brand-dark); font-size: 1.125rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.explore__grid span { color: var(--muted); font-size: 1rem; }

/* Reviews now sit right after the trust band; the copy that follows shares its white ground. */
.creds + .city-copy { padding-top: 0; }
.creds + .city-copy .city-copy__grid { padding-top: var(--s-7); border-top: 1px solid var(--line); }
.zero + .faq-block { padding-top: var(--s-8); }

@media (max-width: 62rem) {
	.city-copy__grid, .permit__grid { grid-template-columns: 1fr; gap: var(--s-5); }
	.city-card { position: static; }
}
@media (max-width: 62rem) { .explore__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 48rem) { .project-trio, .explore__grid { grid-template-columns: 1fr; } }

/* ---------- Service pages (template-service.php) ---------- */

.styles { background: var(--deck); }
.styles__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--s-5) var(--s-4); margin: 0; padding: 0; list-style: none; }
.styles__grid + .styles__grid { margin-top: var(--s-6); }
.styles__card h3 { margin-top: var(--s-3); }
.styles__card p { margin: 0; font-size: 1.0625rem; }
.styles__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
/* A style with no photo of its own: a plain profile card, never a borrowed picture. */
.styles__card--text { padding: var(--s-4); border-top: 5px solid var(--ink); background: var(--paper); }
.styles__card--text h3 { margin-top: 0; }

/* The spec sheet: what comes with every build, and what can be added. */
.specs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.specs__lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.specs__list h3 { padding-bottom: var(--s-2); border-bottom: 2px solid var(--ink); font-size: 1.125rem; }
.specs__list ul { margin: 0; padding: 0; list-style: none; }
.specs__list li { display: flex; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.45; }
.specs__list li::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; margin-top: 0.45rem; background: var(--pool); }

.warranty { background: var(--pool-wash); }
.warranty__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.warranty .warranty__figure { display: flex; align-items: baseline; gap: 0.15em; margin: 0; max-width: none; color: var(--pool); font-size: clamp(6rem, 3rem + 10vw, 12rem); font-weight: 800; font-family: var(--display); letter-spacing: -0.045em; line-height: 0.85; }
.warranty__figure span { font-size: 0.22em; letter-spacing: -0.01em; }
.warranty .warranty__figure--word { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
/* Patio enclosures: two figures, screen roof or insulated roof (owner, 2026-11-10). */
.warranty .warranty__figure--pair { font-size: clamp(4.5rem, 2.5rem + 7vw, 8.5rem); gap: 0.2em; }
.warranty .prose p { max-width: 60ch; }

.served__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-6); align-items: start; }
.served__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-4); margin: 0; padding: 0; list-style: none; }
.served__list a { display: flex; align-items: center; min-height: var(--tap); border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.served__list a:hover { color: var(--brand-dark); text-decoration: underline; }

@media (max-width: 62rem) {
	.styles__grid, .served__list { grid-template-columns: 1fr 1fr; }
	.specs__grid, .served__grid { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (max-width: 48rem) {
	.styles__grid, .specs__lists, .served__list { grid-template-columns: 1fr; }
	.warranty__grid { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* ---------- Info pages (template-info.php): financing, warranty, process, about ---------- */

/* Financing partners: one card each, the apply button last. */
.partners { background: var(--deck); }
.partners__grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.partners__card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); padding: var(--s-5); border-top: 5px solid var(--pool); border-radius: var(--radius); background: var(--paper); }
.partners__card h3 { margin: var(--s-2) 0 0; font-size: 1.625rem; }
.partners__card .prose { flex: 1; }
.partners__logo { min-width: 11rem; min-height: 4rem; }
.partners__brand { margin: 0 0 var(--s-2); }
.partners__brand .partners__logo { display: block; width: auto; min-width: 0; min-height: 0; height: 2.75rem; }
.partners__fine { margin: 0; color: var(--muted); font-size: var(--fs-small); }

/* Warranty by project type: the figure is the point, so it is the largest thing on the card. */
.coverage { background: var(--pool-wash); }
.coverage__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.coverage__card { display: flex; flex-direction: column; align-items: flex-start; padding: var(--s-5); border-radius: var(--radius); background: var(--paper); }
.coverage__card h3 { margin-top: var(--s-3); }
.coverage__card p { font-size: 1.0625rem; }
.coverage__card .text-link { margin-top: auto; }
.coverage .coverage__figure { display: flex; align-items: baseline; gap: 0.12em; margin: 0; color: var(--pool); font-size: clamp(4.5rem, 3rem + 4vw, 7rem); font-weight: 800; font-family: var(--display); letter-spacing: -0.045em; line-height: 0.85; }
.coverage__figure span { font-size: 0.26em; letter-spacing: -0.01em; }
.coverage .coverage__figure--word { color: var(--muted); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* Process: a real sequence, so the steps are numbered. */
.steps { background: var(--deck); }
.steps__list { display: grid; gap: 0; max-width: 56rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps__list li { position: relative; padding: 0 0 var(--s-6) 5rem; border-left: 5px solid var(--ink); margin-left: 1.5rem; counter-increment: step; }
.steps__list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps__list li::before {
	content: counter(step); position: absolute; top: -0.35rem; left: -1.85rem; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
	background: var(--paper); border: 5px solid var(--ink); color: var(--ink); font-weight: 800; font-family: var(--display); font-size: 1.25rem;
}
.steps__list h3 { margin-bottom: var(--s-2); font-size: 1.5rem; }
.steps__list .prose p { font-size: 1.0625rem; }

@media (max-width: 62rem) {
	.partners__grid, .coverage__grid { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
	.steps__list li { padding-left: var(--s-6); }
	.partners__card, .coverage__card { padding: var(--s-4); }
}

/* ---------- Guides (template-guide.php): cost, permits, hurricanes ---------- */

.guide__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem); gap: var(--s-7); align-items: start; }
.guide__body { min-width: 0; } /* lets a wide table scroll in its own box instead of widening the column */
.guide__meta { color: var(--muted); font-size: var(--fs-small); }
/* The short answer: what most readers came for, before the detail (owner chose layout C, 2026-11-12).
   Heading and byline on the left, the answer on the right, under the same 2px ink rule as the FAQ section. */
.guide__summary { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0 var(--s-5); margin-bottom: var(--s-6); padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.guide__summary-title { margin: 0 0 var(--s-2); font-size: 1.25rem; line-height: 1.25; }
.guide__summary .guide__meta { margin: 0; line-height: 1.45; }
.guide__summary-text p { color: var(--ink); font-size: 1.25rem; line-height: 1.6; }
.guide__summary-text p:last-child { margin-bottom: 0; }
.guide .prose h2 { scroll-margin-top: 7rem; }
.guide .prose h3 { margin-top: var(--s-4); }
.guide .prose ol { margin: 0 0 var(--s-3); padding-left: 1.5rem; }

.guide__side { position: sticky; top: 6.5rem; display: grid; gap: var(--s-4); }
.toc { padding: var(--s-4); border-radius: var(--radius); background: var(--deck); }
.toc__title { margin: 0 0 var(--s-2); color: var(--ink); font-family: var(--display); font-weight: 780; font-size: 1.25rem; }
.toc ol { display: grid; gap: 0.15rem; margin: 0; padding-left: 1.3rem; font-size: 1rem; line-height: 1.35; }
.toc li::marker { color: var(--muted); font-weight: 600; }
.toc a { display: block; padding: 0.35rem 0; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand-dark); text-decoration: underline; }
.guide__call { display: grid; gap: var(--s-2); }

/* Tables: original data, so they are styled to be read, not decorated. */
.table-scroll { max-width: 100% !important; margin: var(--s-4) 0 var(--s-5); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll:focus-visible { box-shadow: var(--focus); }
.prose table, .areas__table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.45; }
.prose caption { padding: var(--s-2) var(--s-3); color: var(--muted); font-size: var(--fs-small); text-align: left; caption-side: bottom; }
.prose th, .prose td, .areas__table th, .areas__table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th, .areas__table thead th { background: var(--ink); color: var(--paper); font-weight: 650; }
.prose tbody th, .areas__table tbody th { color: var(--ink); font-weight: 650; }
.prose tbody tr:nth-child(even), .areas__table tbody tr:nth-child(even) { background: #f8f7f3; }
.prose tbody tr:last-child > *, .areas__table tbody tr:last-child > * { border-bottom: 0; }

.guide-cta { max-width: none !important; margin: var(--s-6) 0; padding: var(--s-4) var(--s-5); border-radius: var(--radius); background: var(--ink); color: var(--on-dark); }
.guide-cta__title { margin: 0 0 var(--s-1); color: var(--paper); font-family: var(--display); font-weight: 780; font-size: 1.5rem; line-height: 1.2; }
.guide-cta__text { color: var(--on-dark); }
.guide-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.guide-cta .text-link { color: var(--paper); }
.guide-cta--financing { background: var(--pool); }

@media (max-width: 62rem) {
	.guide__grid { grid-template-columns: 1fr; gap: var(--s-5); }
	.guide__side { position: static; order: -1; }
	.guide__call { display: none; }
}
@media (max-width: 48rem) {
	.guide__summary { grid-template-columns: 1fr; }
	.guide__summary-side { margin-bottom: var(--s-3); }
	.guide__summary-title { margin-bottom: 0.25rem; }
}
@media (max-width: 36rem) {
	.guide-cta { padding: var(--s-3); }
	.guide-cta__actions .btn { width: 100%; }
}

/* The guide lead magnet (template-parts/guide-offer.php): the PDF for a first name and email. */
.guide-offer { max-width: none !important; margin: 0 0 var(--s-6); padding: var(--s-4) var(--s-5); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.guide-offer:focus { outline: none; }
.guide-offer__title { margin: 0 0 var(--s-1); color: var(--ink); font-family: var(--display); font-weight: 780; font-size: 1.5rem; line-height: 1.2; }
.guide-offer__text { margin-bottom: var(--s-3); }
.guide-offer__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 0 var(--s-3); align-items: start; }
.guide-offer__row .field { margin-bottom: 0; }
.guide-offer__btn { margin-top: 1.85rem; white-space: nowrap; }
.guide-offer__btn svg, .guide-offer--sent .btn svg, .toc__pdf svg { width: 1.15em; height: 1.15em; }
.guide-offer__fine { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--fs-small); }
.guide-offer--sent { border-color: var(--pool); background: var(--pool-wash); }
.guide-offer--sent p:not(.guide-offer__title) { margin-bottom: var(--s-3); }
.toc .toc__pdf { display: flex; align-items: center; gap: 0.5rem; margin-top: var(--s-3); padding: var(--s-3) 0 0; border-top: 1px solid var(--line); color: var(--brand-dark); font-weight: 700; font-size: 1rem; line-height: 1.35; text-decoration: none; }
.toc .toc__pdf:hover { text-decoration: underline; }
.toc .toc__pdf svg { flex: none; }
@media (max-width: 48rem) {
	.guide-offer { padding: var(--s-3); }
	.guide-offer__row { grid-template-columns: 1fr; gap: var(--s-3); }
	.guide-offer__btn { width: 100%; margin-top: 0; }
}

/* The printed guide: the build script prints each guide in PDF mode (?aa_pdf=1, inc/guide-pdf.php),
   and a visitor printing the page gets the same clean layout. */
.print-head, .print-foot { display: none; }
@media print {
	@page { size: Letter; margin: 0.55in 0.6in 0.6in; }
	html { font-size: 10.5px; }
	body { background: #fff; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.skip-link, .ribbon, .top, .crumbs, .spec, .stamp, .hero__call, .hero__dock, .guide__side, .guide-cta, .guide-offer,
	.review-flag, .explore-next, .closing, .site-footer, .mobile-bar, .faq .section-foot, .faq summary::after { display: none !important; }
	.container { width: 100%; }
	.section { padding-block: 0; }
	.print-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--ink); color: var(--brand); }
	.print-head .aa-logo { width: auto; height: 3.6rem; }
	.print-head p { margin: 0; color: var(--ink); font-weight: 700; font-size: 1.3rem; }
	.hero { display: flex; flex-direction: column; background: none; }
	.hero__pitch { order: -1; padding: 0 0 1.2rem; }
	.hero__pitch h1 { font-size: 3rem; }
	.hero__photo { min-height: 0; height: 3in; margin-bottom: 1.6rem; border-radius: var(--radius); overflow: hidden; }
	.guide__grid { display: block; }
	.prose > *, .guide p, .faq details > div p { max-width: 82ch; }
	.guide__summary { break-inside: avoid; }
	.guide .prose h2 { margin-top: 2.2rem; font-size: 2.2rem; break-after: avoid; }
	.guide .prose h3 { break-after: avoid; }
	.prose p, .prose li { orphans: 3; widows: 3; }
	.table-scroll { overflow: visible; break-inside: auto; }
	.prose table { min-width: 0; font-size: 1.05rem; }
	.prose tr { break-inside: avoid; }
	.faq-block { padding-top: 2rem; }
	.faq-block__grid { display: block; }
	.faq-block h2 { margin-bottom: 1rem; break-after: avoid; }
	.faq details { break-inside: avoid; }
	.faq summary { min-height: 0; padding: 0.9rem 0 0.4rem; }
	.print-foot { display: block; margin-top: 2.4rem; padding: 1.2rem 1.4rem; border: 2px solid var(--ink); border-radius: var(--radius); break-inside: avoid; }
	.print-foot p { margin: 0 0 0.6rem; }
	.print-foot__title { color: var(--ink); font-family: var(--display); font-weight: 780; font-size: 1.6rem; }
	.print-foot__note { margin: 0 !important; color: var(--muted); font-size: 1rem; }
}

/* ---------- Hubs: Projects, Reviews, FAQs, Service areas ---------- */

/* Page head for the hub pages that open with a list rather than a photo hero. */
.hub-head { padding: var(--s-7) 0; background: var(--deck); }
.hub-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
.hub-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); }
.hub-head .toc { background: var(--paper); }

/* Reviews: the rating is the headline figure. */
.score { justify-self: center; display: grid; justify-items: center; gap: var(--s-1); padding: var(--s-5) var(--s-6); border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift); text-align: center; }
.score .score__figure { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 3rem + 4vw, 7rem); letter-spacing: -0.045em; line-height: 0.9; }
.score .stars .icon { width: 1.75rem; height: 1.75rem; }
.score__count { margin: 0; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.score__also { margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--fs-small); }
/* "As featured on This Old House" (logo when supplied, words otherwise). */
.toh { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--fs-small); }
.toh__logo { display: block; width: auto; height: 2.5rem; max-width: 12rem; object-fit: contain; }
.bbb { display: inline-grid; gap: 0.25rem; justify-items: start; }
.bbb__seal { display: block; line-height: 0; }
.bbb__seal img { display: block; width: 15rem; max-width: 100%; height: auto; aspect-ratio: 293 / 61; }
.bbb__since { color: var(--muted); font-size: 0.9375rem; }
.find-us { display: grid; gap: var(--s-2); }
.find-us__label { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.find-us__list { display: flex; flex-wrap: wrap; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
.find-us__link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; transition: border-color 0.15s ease; }
.find-us__link:hover { border-color: var(--ink); }
.find-us__link .brand-icon { width: 1.25rem; height: 1.25rem; flex: none; }
.find-us__score { color: var(--muted); font-weight: 500; }
.score__also .bbb { justify-items: center; }
/* Credentials band under the reviews (owner chose mockup A, 2026-11-09). */
.creds { padding-block: var(--s-6) var(--s-5); border-top: 1px solid var(--line); background: var(--paper); }
.creds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.creds__cell { display: flex; align-items: center; justify-content: center; min-height: 5.5rem; padding: 0 var(--s-4); border-left: 1px solid var(--line); text-align: center; }
.creds__cell:first-child { border-left: 0; }
/* Every cell: a mark row of one height (seal, logo, stars and score) over a caption, so the captions line up. */
.creds__cell > .bbb, .creds__cell > .toh, .creds__google { display: grid; grid-template-rows: 3.75rem auto; align-items: center; justify-items: center; gap: 0.5rem; margin: 0; }
.creds__cell .toh__label, .creds__count { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.creds__cell .bbb__since { line-height: 1.5; }
.creds__mark { display: grid; justify-items: center; gap: 0.2rem; }
.creds__name { font-family: var(--display); font-weight: 800; font-style: normal; font-size: 1.5rem; color: var(--ink); }
.creds__google { color: var(--ink); text-decoration: none; }
.creds__google .stars .icon { width: 1.1rem; height: 1.1rem; }
.creds__score { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: -0.02em; }
.creds__count { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.25em; }
.creds__google:hover .creds__count { text-decoration-color: currentColor; }
.creds__find { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.5rem; margin-top: var(--s-5); }
.creds__label { margin: 0 var(--s-1) 0 0; color: var(--muted); font-size: var(--fs-small); }
.creds__icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.creds__icons a { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; transition: background-color 0.15s ease; }
.creds__icons a:hover { background: var(--deck); }
.creds__icons .brand-icon { width: 1.5rem; height: 1.5rem; }
@media (max-width: 48rem) {
	.creds__grid { grid-template-columns: 1fr; }
	.creds__cell { min-height: 0; padding: var(--s-4) 0; border-left: 0; border-top: 1px solid var(--line); }
	.creds__cell:first-child { border-top: 0; padding-top: 0; }
	.creds__label { flex-basis: 100%; margin: 0 0 var(--s-1); text-align: center; }
}
.hub-head .find-us { margin-top: var(--s-4); }
.wall__grid { columns: 3 20rem; column-gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.wall__grid li { break-inside: avoid; margin-bottom: var(--s-4); }
.wall__card { margin: 0; padding: var(--s-4); border-top: 5px solid var(--sun); border-radius: var(--radius); background: var(--deck); }
.wall__card blockquote { margin: var(--s-2) 0 var(--s-3); }
.wall__card blockquote p { color: var(--ink); font-family: var(--serif); font-size: 1.3125rem; line-height: 1.5; }
.wall__card figcaption { display: grid; gap: 0.1rem; font-size: 1rem; }
.wall__card figcaption strong { color: var(--ink); }
.wall__card figcaption span { color: var(--muted); }

/* Projects grid and filter. */
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-3); }
.work__head h2 { margin: 0; }
.work__filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 var(--s-3); }
.work__filter .field { min-width: 14rem; margin-bottom: 0; }
.work__count { color: var(--muted); }
.work__count a { margin-left: var(--s-2); font-weight: 600; }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.work__card a { color: var(--ink); text-decoration: none; }
.work__card a:hover h3 { color: var(--brand-dark); text-decoration: underline; }
.work__card h3 { margin: var(--s-3) 0 var(--s-1); }
.work__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.work__card a:hover .work__photo img { transform: scale(1.03); }
.work__photo img { transition: transform 400ms var(--ease); }
.work__meta { margin-bottom: var(--s-1); color: var(--pool); font-weight: 650; font-size: 1rem; }
.work__card p:last-child { font-size: 1.0625rem; }
.work__empty { padding: var(--s-5); border-radius: var(--radius); background: var(--deck); }

/* One project. */
.project__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.project__facts { display: grid; gap: var(--s-2); margin: 0 0 var(--s-5); }
.project__facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s-2); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.project__facts dt { color: var(--muted); font-weight: 650; }
.project__facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.project__scope { margin: 0; padding-left: 1.2rem; }
.project__scope li { margin-bottom: var(--s-1); }
.project__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); }
.gallery { background: var(--deck); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.gallery__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* FAQ hub: one block per topic, alternating backgrounds so topics read as groups. */
.faq-topic:nth-of-type(even) { background: var(--deck); }
.faq-topic h2 { scroll-margin-top: 7rem; }

/* Service areas. */
.areas__table { min-width: 40rem; }
.areas__table a { font-weight: 650; }
.areas__coast { display: block; color: var(--pool); font-size: 0.9375rem; font-weight: 600; }
.areas__more { margin-top: var(--s-4); }
.hub-head .coastline { max-width: 34rem; justify-self: end; width: 100%; }

@media (max-width: 62rem) {
	.hub-head__grid, .project__grid { grid-template-columns: 1fr; gap: var(--s-5); }
	.hub-head .coastline { justify-self: stretch; }
	.work__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 48rem) {
	.work__grid, .gallery__grid { grid-template-columns: 1fr; }
	.work__filter { width: 100%; }
	.work__filter .field { flex: 1 1 100%; min-width: 0; margin-bottom: var(--s-2); }
	.work__go { width: 100%; }
	.score { justify-self: stretch; }
}

/* ---------- Forms: shared by the estimate starter and the consultation form ---------- */

.field select, .field textarea {
	width: 100%; min-height: var(--tap); padding: 0.55rem 0.8rem; border: 1px solid var(--field); border-radius: var(--radius);
	background-color: var(--paper); color: var(--ink); font: 400 1.125rem/1.4 var(--sans); transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field select {
	appearance: none; padding-right: 2.6rem; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231b2427' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select:hover, .field textarea:hover { border-color: var(--ink); }
.field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27, 36, 39, 0.18); }
.field [aria-invalid="true"] { border: 2px solid var(--brand-dark); }
.field__error { margin: 0; color: var(--brand-dark); font-size: 1rem; font-weight: 650; }
.field__optional { color: var(--muted); font-weight: 400; }

.form-errors { margin-bottom: var(--s-4); padding: var(--s-3) var(--s-4); border-left: 5px solid var(--brand-dark); background: #fbeeed; color: var(--ink); }
.form-errors:focus { outline: none; }
.form-errors__title { margin-bottom: var(--s-1); font-weight: 720; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--brand-dark); font-weight: 600; }

/* The honeypot: off screen for people, still in the form for bots. */
.hp { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: var(--s-3); }
[data-sending] [type="submit"] { opacity: 0.75; cursor: progress; }

/* ---------- Contact page (template-contact.php) ---------- */

.contact { padding: var(--s-7) 0 var(--s-8); background: var(--deck); }
.contact__grid {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "pitch form" "more form";
	grid-template-rows: auto 1fr; gap: 0 var(--s-7); align-items: start;
}
.contact__pitch { grid-area: pitch; }
.contact .lead-form { grid-area: form; }
.contact__more { grid-area: more; }
.contact__lead { font-size: var(--fs-lead); }

/* The number comes first and big: most people who reach this page would rather call. */
.contact__phone { display: inline-grid; gap: 0.15rem; margin: var(--s-3) 0 var(--s-5); color: var(--ink); text-decoration: none; }
.contact__phone-label { color: var(--muted); font-weight: 650; font-size: 1.0625rem; }
.contact__phone-number {
	display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); font-family: var(--display); font-weight: 800;
	font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1;
}
.contact__phone-number .icon { width: 0.8em; height: 0.8em; color: var(--brand); }
.contact__phone:hover .contact__phone-number { color: var(--brand-dark); }

.contact__facts { display: grid; gap: var(--s-3); margin: 0 0 var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.contact__facts div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-3); }
.contact__facts dt { color: var(--muted); font-weight: 650; font-size: 1.0625rem; }
.contact__facts dd { margin: 0; color: var(--ink); }
.contact__finance { display: flex; gap: var(--s-2); align-items: flex-start; font-size: var(--fs-small); }
.contact__finance .tag-zero { flex: none; }

.lead-form { padding: var(--s-5); border-radius: var(--radius); background: var(--paper); box-shadow: var(--lift); }
.lead-form__title { margin-bottom: var(--s-1); font-size: 1.75rem; }
.lead-form__note { color: var(--muted); font-size: var(--fs-small); }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-3); }
.lead-form .field--wide { grid-column: 1 / -1; }
.lead-form__send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); }
.lead-form__send p { flex: 1 1 14rem; margin: 0; color: var(--muted); font-size: var(--fs-small); }

.visit { background: var(--deck); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: center; }
.visit address { margin-bottom: var(--s-3); color: var(--ink); font-style: normal; line-height: 1.6; }
.visit__license { color: var(--muted); font-size: var(--fs-small); }
.visit__map iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; border: 0; border-radius: var(--radius); background: var(--deck); }

/* ---------- Thank-you page (template-thanks.php) ---------- */

.thanks { padding: var(--s-7) 0; background: var(--deck); }
.thanks__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.thanks__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.explore-next { background: var(--deck); }
.explore-next__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.explore-next__list li { display: grid; gap: var(--s-1); padding-top: var(--s-3); border-top: 2px solid var(--ink); }
.explore-next__list a { color: var(--ink); font-weight: 720; font-size: 1.25rem; }
.explore-next__list span { font-size: 1.0625rem; }

@media (max-width: 62rem) {
	.contact__grid, .visit__grid, .thanks__grid { grid-template-columns: 1fr; gap: var(--s-5); }
	/* On a phone: the number, then the form, then the office details. */
	.contact__grid { grid-template-areas: "pitch" "form" "more"; grid-template-rows: auto; }
	.contact__phone { margin-bottom: 0; }
	.contact { padding-top: var(--s-5); }
	.explore-next__list { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
	.lead-form { padding: var(--s-4) var(--s-3); }
	.lead-form__grid { grid-template-columns: 1fr; }
	.lead-form__send .btn { width: 100%; }
	.contact__facts div { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Blog (home.php, single.php) ---------- */

.toc__plain { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; font-size: 1rem; line-height: 1.35; }
.post__head { padding-bottom: var(--s-5); background: var(--deck); }
.post__head-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; }
.post__head h1 { margin: 0; font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem); }
.post__cat { margin: 0 0 var(--s-2); color: var(--pool); font-weight: 700; }
.post__date { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--fs-small); }
.post__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.post__photo img { width: 100%; height: 100%; object-fit: cover; }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); gap: var(--s-7); align-items: start; }
.post__body { min-width: 0; }
.post__body h2 { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.9rem); }
.post__body h3 { margin-top: var(--s-5); font-size: 1.3rem; }
.post__body .wp-block-table { margin: var(--s-4) 0; overflow-x: auto; }
.post__body table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 1.0625rem; }
.post__body th, .post__body td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post__body thead th { color: var(--ink); border-bottom-width: 2px; }
.post__body blockquote { margin: var(--s-4) 0; padding-left: var(--s-4); border-left: 4px solid var(--sun); color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.post__body .wp-block-embed { max-width: none; margin: 0 0 var(--s-4); }
.post__body .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.post__body .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post__body .post-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); max-width: none; margin: var(--s-5) 0; padding: 0; }
/* Core gallery CSS sizes images with an ID-strength selector (:not(#individual-image)); the grid sets the size here. */
.post__body .post-gallery figure { width: auto !important; max-width: none; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.post__body .post-gallery img { width: 100%; height: 100%; object-fit: cover; }
.post__aside { position: sticky; top: 7rem; display: grid; justify-items: start; gap: var(--s-3); padding: var(--s-4); border-top: 5px solid var(--brand); border-radius: var(--radius); background: var(--deck); }
.post__aside h2 { margin: 0; font-size: 1.35rem; }
.post__aside p { margin: 0; }
.post__finance { font-size: var(--fs-small); }
.post__related { background: var(--deck); }
.post__related h2 { margin-bottom: var(--s-3); }
@media (max-width: 62rem) {
	.post__head-grid, .post__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
	.post__aside { position: static; }
}
@media (max-width: 48rem) {
	.post__body .post-gallery { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Legal pages (template-legal.php): privacy, SMS terms ---------- */

.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); grid-template-areas: "head head" "body contact"; gap: var(--s-5) var(--s-7); align-items: start; }
.legal__head { grid-area: head; }
.legal__head h1 { margin: 0; }
.legal__date { margin: var(--s-2) 0 0; font-size: var(--fs-small); }
.legal__body { grid-area: body; min-width: 0; }
.legal__body h2 { margin-top: var(--s-5); font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); }
.legal__contact { grid-area: contact; position: sticky; top: 7rem; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius); }
.legal__contact h2 { margin: 0 0 var(--s-2); font-size: 1.2rem; }
.legal__contact p { margin: 0 0 var(--s-2); }
.legal__contact p:last-child { margin-bottom: 0; }
@media (max-width: 56rem) {
	.legal__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "contact"; }
	.legal__contact { position: static; }
}

/* ---------- Footer (shared footer.php markup) ---------- */

.site-footer { background: #121a1c; color: var(--on-dark-muted); font-size: 1.0625rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: var(--s-5); padding-block: var(--s-7) var(--s-5); }
.footer-grid h2 { color: var(--paper); font-size: 1.125rem; letter-spacing: 0; margin-bottom: var(--s-3); }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-grid .footer-grid__next { margin-top: var(--s-5); }
.footer-grid .footer-logo { margin-bottom: var(--s-4); }
.footer-logo .aa-logo { width: auto; height: 4rem; color: var(--paper); }
.footer-nap p { max-width: 30ch; }
.footer-proof { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.footer-proof .bbb__since { color: var(--on-dark-muted); }
.social { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 0 0 -0.8rem; padding: 0; list-style: none; }
.footer-grid .social a { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius); color: var(--on-dark); }
.footer-grid .social a:hover { background: rgba(255, 255, 255, 0.08); color: var(--paper); }
.social .brand-icon { width: 1.375rem; height: 1.375rem; }
.footer-base { padding-block: var(--s-4); border-top: 1px solid var(--line-dark); font-size: var(--fs-small); }
.footer-base p { max-width: none; margin: 0; }
@media (max-width: 62rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky bar ---------- */

.mobile-bar { display: none; }
@media (max-width: 48rem) {
	.mobile-bar {
		position: fixed; inset: auto 0 0 0; z-index: 50;
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1);
		padding: var(--s-1) var(--s-1) calc(var(--s-1) + env(safe-area-inset-bottom));
		background: var(--paper); box-shadow: 0 -1px 0 var(--line), 0 -8px 20px -14px rgba(27, 36, 39, 0.5);
	}
	.mobile-bar .btn { width: 100%; min-height: var(--tap); padding-inline: 0.5rem; }
	.mobile-bar .btn--estimate { background: var(--ink); color: var(--paper); }
	.mobile-bar .btn--estimate:hover { background: #000; }
	body { padding-bottom: 5rem; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
