/* =========================================================================
   3K Window Cleaning
   assets/css/site.css — the only stylesheet. No build step, no framework.

   Colours are sampled from the logo file, not estimated.
   Every text pairing below clears WCAG AA.
   ========================================================================= */

/* ---- 1. Tokens ------------------------------------------------------- */

:root {
	/* Brand — sampled from 3k-window-cleaning-logo-2000.png */
	--ink:         #0C3464;  /* figure and outlines      12.42:1 on white */
	--accent:      #186CC0;  /* the 3K wordmark           5.32:1 on white */
	--accent-deep: #14508C;  /* frame stroke — hover      8.22:1 on white */
	--aqua:        #78CCDC;  /* glass panes                    decorative */
	--glass:       #B8E4EC;  /* pale pane tint                 decorative */
	--steel:       #A4B0BC;  /* badge frame — BORDERS ONLY, 2.21:1, never text */
	--wash:        #F0F4F8;  /* off-white behind the mark */
	--surface:     #FFFFFF;
	--muted:       #52677E;  /* body secondary            5.83:1 on white */
	--line:        #DCE4EC;

	/* Type */
	--font-display: Archivo, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
	--step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--step-1:  clamp(1.1875rem, 1.11rem + 0.38vw, 1.4375rem);
	--step-2:  clamp(1.4375rem, 1.3rem + 0.7vw, 1.9375rem);
	--step-3:  clamp(1.75rem, 1.52rem + 1.15vw, 2.625rem);
	--step-4:  clamp(1.875rem, 1.55rem + 1.9vw, 3.25rem);
	--step-5:  clamp(2.625rem, 1.95rem + 3.4vw, 4.5rem);

	/* Space */
	--space-2xs: clamp(0.5rem, 0.48rem + 0.1vw, 0.5625rem);
	--space-xs:  clamp(0.75rem, 0.71rem + 0.2vw, 0.875rem);
	--space-s:   clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);
	--space-m:   clamp(1.5rem, 1.38rem + 0.6vw, 1.875rem);
	--space-l:   clamp(2.25rem, 2rem + 1.2vw, 3rem);
	--space-xl:  clamp(3.5rem, 2.9rem + 3vw, 5.5rem);
	--space-2xl: clamp(4.5rem, 3.5rem + 5vw, 8rem);

	/* Shell */
	--content: 52rem;
	--wide: 75rem;
	--gutter: clamp(1.25rem, 5vw, 2.5rem);

	--radius: 14px;
	--ease: cubic-bezier(0.2, 0, 0.15, 1);
	--shadow-sm: 0 1px 2px rgba(12,52,100,.06), 0 4px 14px rgba(12,52,100,.05);
	--shadow-md: 0 2px 6px rgba(12,52,100,.08), 0 18px 40px rgba(12,52,100,.09);
}


/* ---- 2. Reset -------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* min-width:auto on grid and flex children is the single most common cause of
   a page rendering wider than the phone screen. */
.two-col > *, .cards > *, .hero__grid > *, .contact-grid > *,
.footer__grid > *, .ba > *, .steps > *, .slider, .slider__viewport {
	min-width: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 8rem;
	-webkit-text-size-adjust: 100%;
}

html { overflow-x: clip; }

body {
	margin: 0;
	overflow-x: clip;
	max-width: 100vw;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 var(--space-s);
	text-wrap: balance;
}

h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-s); max-width: 62ch; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

/* The UA stylesheet gives figure a 40px left/right margin. That silently broke
   the slider: each slide was 100% wide PLUS 80px, while the track only moved
   100% per step, so every slide drifted further out of alignment. */
figure { margin: 0; }

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-deep); }

/* Long Dorset place names must never force a horizontal scrollbar at 320px.
   break-word is a last resort though — it will happily split "WhatsApp" into
   "WhatsA / pp". anywhere only breaks when there is genuinely no other option. */
p, li, figcaption { overflow-wrap: break-word; }

/* Headings never break mid-word. If a long place name genuinely will not fit,
   hyphenate it properly rather than splitting it anywhere. */
h1, h2, h3, h4 {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: auto;
}

/* Short labels in tight columns must never be split at all. */
.trust strong, .btn, .nav a, .brand__text, .card h3, .pill-row li {
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip {
	position: absolute;
	left: -9999px;
	background: var(--ink);
	color: #fff;
	padding: .75rem 1.25rem;
	z-index: 200;
}
.skip:focus { left: var(--gutter); top: .5rem; }

.visually-hidden {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ---- 3. Layout shell ------------------------------------------------- */

.wrap {
	width: min(100% - (var(--gutter) * 2), var(--wide));
	margin-inline: auto;
}

.wrap--narrow { width: min(100% - (var(--gutter) * 2), var(--content)); }

.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--wash { background: var(--wash); }

/* The signature: a hairline that fades at both ends, like the trailing edge
   of a squeegee pass. Section boundaries only — never inside a section. */
.wipe { position: relative; }
.wipe::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg,
		transparent 0%, var(--line) 18%, var(--aqua) 50%, var(--line) 82%, transparent 100%);
	pointer-events: none;
}

.eyebrow {
	font-family: var(--font-display);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: var(--space-xs);
}

.lede { font-size: var(--step-1); color: var(--muted); max-width: 40ch; }


/* ---- 4. Header ------------------------------------------------------- */

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-s);
	min-height: 6rem;
}

@media (min-width: 75rem) { .header__inner { min-height: 7.25rem; } }

.brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
	color: var(--ink);
	margin-right: auto;
}

/* The supplied logo is a square badge with its own grey frame. Cropping to a
   circle would clip the mark, so it is kept small and paired with a text
   lockup instead of being stretched across the bar. */
.brand__mark { width: 76px; height: 76px; border-radius: 12px; }

.brand__text {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2rem;
	letter-spacing: -0.03em;
	line-height: 1;
}
.brand__text span {
	display: block;
	margin-top: .12rem;
	font-weight: 600;
	font-size: .9375rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
}

.nav { display: none; }

@media (min-width: 75rem) {
	.nav { display: flex; gap: 1.25rem; align-items: center; }
	.nav a {
		font-family: var(--font-display);
		font-weight: 600;
		font-size: .9375rem;
		color: var(--ink);
		text-decoration: none;
		padding-block: .35rem;
		border-bottom: 2px solid transparent;
	}
	.nav a:hover, .nav a[aria-current="page"] {
		color: var(--accent);
		border-bottom-color: var(--aqua);
	}
	.brand__mark { width: 92px; height: 92px; }
	.brand__text { font-size: 2.5rem; }
	.brand__text span { font-size: 1.0625rem; }
}


/* ---- 5. Buttons ------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-0);
	line-height: 1;
	text-decoration: none;
	padding: 1rem 1.75rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease),
	            background-color .18s var(--ease), color .18s var(--ease);
}

.btn--phone {
	background: var(--accent);
	color: #fff;
	font-size: var(--step-1);
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
	padding-inline: 2rem;
	box-shadow: var(--shadow-sm);
}
.btn--phone:hover {
	background: var(--accent-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--steel);
}
.btn--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--surface);
}

.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	align-items: center;
}

/* On a phone the buttons go full width — thumb targets, not decoration. */
@media (max-width: 30rem) {
	.btn { width: 100%; }
}


/* ---- 6. Hero --------------------------------------------------------- */
/*
   Full-bleed photograph with a navy scrim. The scrim is not decoration —
   it is what makes white text legible over a bright sky. Measured against
   the lightest part of the photo: 0.88 gives white text 9.6:1 and the aqua
   eyebrow 5.2:1, both comfortably past AA. Do not lighten it below 0.80.
*/

.hero {
	position: relative;
	overflow: clip;
	isolation: isolate;
	padding-block: var(--space-2xl);
	color: #fff;
	background: var(--ink);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(96deg,
			rgba(12,52,100,.94) 0%,
			rgba(12,52,100,.88) 42%,
			rgba(12,52,100,.55) 72%,
			rgba(12,52,100,.35) 100%);
}

/* On narrow screens the text spans the full width, so the scrim has to be
   even across the whole image rather than falling away to one side. */
@media (max-width: 62rem) {
	.hero::before {
		background: linear-gradient(180deg,
			rgba(12,52,100,.86) 0%,
			rgba(12,52,100,.92) 100%);
	}
}

.hero h1 { color: #fff; text-wrap: balance; margin-bottom: var(--space-s); }

.hero .eyebrow { color: var(--aqua); }

.hero__grid { display: grid; gap: var(--space-l); }

@media (min-width: 62rem) {
	.hero__grid { grid-template-columns: minmax(0, 34rem) 1fr; align-items: center; }
}

.hero .lede { color: #DCE9F4; max-width: 38ch; }

.hero .btn--phone { background: #fff; color: var(--ink); }
.hero .btn--phone:hover { background: var(--aqua); color: var(--ink); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Inset portrait — Jay working, so the hero shows the person as well as
   the result. Hidden on narrow screens where it would push the phone
   number below the fold. */
.hero__inset { display: none; }

@media (min-width: 62rem) {
	.hero__inset {
		display: block;
		justify-self: end;
		width: min(100%, 20rem);
		border-radius: var(--radius);
		overflow: hidden;
		box-shadow: 0 24px 60px rgba(4,22,46,.45);
		border: 3px solid rgba(255,255,255,.16);
	}
	.hero__inset img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
}


/* ---- 6b. Trust strip on the hero ------------------------------------- */

.hero .trust li { color: #C4D6E8; border-left-color: var(--aqua); }
.hero .trust strong { color: #fff; }


/* ---- 7. Trust strip -------------------------------------------------- */

.trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: var(--space-s) var(--space-m);
	list-style: none;
	margin: var(--space-l) 0 0;
	padding: 0;
}

@media (min-width: 48rem) {
	.trust { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* In the hero the strip sits in a narrow column, so it stays 2x2 rather than
   squeezing four items into 34rem. */
@media (min-width: 62rem) {
	.hero .trust { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-m); }
}

.trust strong { font-size: var(--step-0); }
@media (min-width: 48rem) { .trust strong { font-size: var(--step-1); } }

.trust li {
	font-size: var(--step--1);
	color: var(--muted);
	line-height: 1.35;
	padding-left: .875rem;
	border-left: 2px solid var(--aqua);
}

.trust strong {
	display: block;
	font-family: var(--font-display);
	font-size: var(--step-1);
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -0.01em;
	margin-bottom: .1rem;
}


/* ---- 8. Service cards ------------------------------------------------ */

.cards {
	display: grid;
	gap: var(--space-m);
	margin-top: var(--space-l);
	container-type: inline-size;
}

@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 68rem) { .cards { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--space-m);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
	            transform .2s var(--ease);
}

.card:hover, .card:focus-within {
	border-color: var(--aqua);
	box-shadow: var(--shadow-sm);
	transform: translateY(-3px);
}

.card__icon {
	width: 2.5rem; height: 2.5rem;
	display: grid; place-items: center;
	border-radius: 10px;
	background: var(--glass);
	color: var(--ink);
	margin-bottom: var(--space-s);
}
.card__icon svg { width: 1.35rem; height: 1.35rem; }

.card h3 { margin-bottom: .4rem; }
.card p { font-size: var(--step--1); color: var(--muted); }

.card__price {
	margin-top: auto;
	padding-top: var(--space-s);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-1);
	font-variant-numeric: tabular-nums;
	color: var(--accent);
}
.card__price small {
	display: block;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: .6875rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: .1rem;
}


/* ---- 8b. Card and comparison imagery --------------------------------- */

.card__media {
	margin: calc(var(--space-m) * -1) calc(var(--space-m) * -1) var(--space-m);
	border-radius: var(--radius) var(--radius) 0 0;
	overflow: hidden;
	background: var(--wash);
}
.card__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* Before/after pairs. Jay's are already single composite images with the
   two states side by side, so this is a plain figure with a caption rather
   than a slider — a slider would imply two separate files. */
.ba {
	display: grid;
	gap: var(--space-m);
	margin: var(--space-l) 0 0;
}
@media (min-width: 48rem) { .ba { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.ba figure {
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.ba img { width: 100%; display: block; }
.ba figcaption {
	padding: var(--space-s) var(--space-m);
	font-size: var(--step--1);
	color: var(--muted);
	border-top: 1px solid var(--line);
}
.ba figcaption strong {
	display: block;
	font-family: var(--font-display);
	color: var(--ink);
	margin-bottom: .15rem;
}

/* Matched pairs — two photos of the same thing, labelled. The label is a
   plain word, not a badge over the image: covering part of a before/after
   photo is exactly the wrong place to put decoration. */
.ba figure { position: relative; }

.ba__tag {
	position: absolute;
	top: .75rem;
	inset-inline-start: .75rem;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .6875rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: .3rem .6rem;
	border-radius: 6px;
	box-shadow: var(--shadow-sm);
}
.ba__tag--after { background: var(--ink); color: #fff; }


/* ---- 9. Process ------------------------------------------------------ */
/* Numbered because these genuinely are a sequence. The service cards are
   not, which is why they carry icons instead. */

.steps {
	counter-reset: step;
	list-style: none;
	margin: var(--space-l) 0 0;
	padding: 0;
	display: grid;
	gap: var(--space-l);
}

@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 68rem) {
	.steps { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
}

.steps li {
	counter-increment: step;
	position: relative;
	padding-top: 2.75rem;
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	top: 0; left: 0;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 800;
	line-height: 1;
	color: var(--aqua);
	font-variant-numeric: tabular-nums;
}

.steps h3 { font-size: var(--step-0); margin-bottom: .3rem; }
.steps p { font-size: var(--step--1); color: var(--muted); }


/* ---- 10. Areas ------------------------------------------------------- */

.areas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: var(--space-xs);
	list-style: none;
	padding: 0;
	margin: var(--space-m) 0 0;
}

@media (min-width: 48rem) { .areas { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.areas a {
	display: block;
	padding: var(--space-s) var(--space-m);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	transition: border-color .2s var(--ease), color .2s var(--ease),
	            transform .2s var(--ease);
}
.areas a:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-2px);
}


/* ---- 11. Reviews ----------------------------------------------------- */
/*
   Rendered by assets/js/reviews.js from the Cloudflare Worker feed. The rail
   scrolls horizontally rather than stacking, because five review cards down
   the page pushes everything below them out of reach on a phone.
*/

.rev__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: var(--space-m);
	margin-top: var(--space-l);
}

.rev__score {
	font-family: var(--font-display);
	font-size: var(--step-4);
	font-weight: 800;
	line-height: 1;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	margin: 0;
}

.rev__count {
	font-size: var(--step--1);
	color: var(--muted);
	margin: .35rem 0 0;
}

.rev__stars { display: inline-flex; gap: .12rem; margin-top: .4rem; }
.rev__star { width: 1.05rem; height: 1.05rem; color: #E8A33D; }
.rev__star.is-empty { color: var(--line); }
.rev__star svg { width: 100%; height: 100%; display: block; }

/* Horizontal rail. Scroll snap makes it feel deliberate rather than like a
   layout accident, and the scrollbar is left visible so it is obvious there
   is more to the right. */
.rev__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(85%, 21rem);
	gap: var(--space-s);
	margin-top: var(--space-m);
	padding-bottom: var(--space-s);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--steel) var(--wash);
}

.rev__rail > * { scroll-snap-align: start; }

@media (min-width: 68rem) {
	.rev__rail { grid-auto-columns: 1fr; grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		overflow: visible; }
}

.rev {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--space-m);
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.rev__head { display: flex; align-items: center; gap: .65rem; }

.rev__avatar {
	width: 40px; height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.rev__avatar--initial {
	display: grid;
	place-items: center;
	background: var(--glass);
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 700;
}

.rev__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step-0);
	margin: 0;
	color: var(--ink);
}
.rev__when { font-size: .8125rem; color: var(--muted); margin: 0; }

.rev__text {
	font-size: var(--step--1);
	color: var(--muted);
	margin: 0;
	max-width: none;
}

/* Shown only while the feed loads or if JavaScript is off. */
.reviews-fallback {
	border: 1px dashed var(--steel);
	border-radius: var(--radius);
	padding: var(--space-m);
	color: var(--muted);
	font-size: var(--step--1);
	text-align: center;
	margin-top: var(--space-l);
}

/* ---- 12. Closing CTA ------------------------------------------------- */

.cta {
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	padding: var(--space-xl) var(--space-m);
	text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #C9D9E8; margin-inline: auto; }
.cta .btn--phone { background: #fff; color: var(--ink); }
.cta .btn--phone:hover { background: var(--aqua); color: var(--ink); }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }
.cta .btn-row { justify-content: center; }


/* ---- 13. Footer ------------------------------------------------------ */

.footer {
	background: var(--wash);
	border-top: 1px solid var(--line);
	padding-block: var(--space-xl) var(--space-m);
	font-size: var(--step--1);
	color: var(--muted);
}

.footer__grid { display: grid; gap: var(--space-l); }
@media (min-width: 48rem) {
	.footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer h4 {
	font-size: var(--step--1);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: var(--space-xs);
}

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }

.footer__bottom {
	margin-top: var(--space-l);
	padding-top: var(--space-s);
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-m);
	justify-content: space-between;
	font-size: .8125rem;
}


/* ---- 14. Print ------------------------------------------------------- */

@media print {
	.header, .hero::after, .wipe::before, .btn--ghost { display: none; }
	.cta { background: none; color: #000; border: 1px solid #999; }
	.cta h2, .cta p { color: #000; }
	a[href^="tel:"]::after { content: " (" attr(href) ")"; }
	.card { break-inside: avoid; }
}


/* =========================================================================
   15. Interior pages
   ========================================================================= */

/* Page header — the hero's quieter sibling. Photo optional; when there is
   no photo it falls back to the wash so the page never looks unfinished. */

.pagehead {
	position: relative;
	isolation: isolate;
	overflow: clip;
	background: var(--ink);
	color: #fff;
	padding-block: var(--space-xl);
}

.pagehead__bg { position: absolute; inset: 0; z-index: -2; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }

.pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(96deg, rgba(12,52,100,.94), rgba(12,52,100,.80) 70%, rgba(12,52,100,.62));
}

.pagehead h1 { color: #fff; font-size: var(--step-4); margin-bottom: var(--space-xs); }
.pagehead .eyebrow { color: var(--aqua); }
.pagehead p { color: #DCE9F4; max-width: 52ch; }

/* Breadcrumb */
.crumbs {
	font-size: var(--step--1);
	color: #A9C3DC;
	margin-bottom: var(--space-s);
}
.crumbs a { color: #DCE9F4; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { padding-inline: .4rem; opacity: .6; }


/* ---- 16. Service detail rows ----------------------------------------- */
/*
   Alternating image and copy. The alternation is not decoration — it stops
   five near-identical blocks reading as a list and gives each service its
   own moment.
*/

.svc {
	display: grid;
	gap: var(--space-m);
	align-items: center;
	padding-block: var(--space-xl);
}

.svc + .svc { border-top: 1px solid var(--line); }

@media (min-width: 56rem) {
	.svc { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
	.svc:nth-child(even) .svc__media { order: -1; }
}

.svc__media {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--wash);
	box-shadow: var(--shadow-sm);
}
.svc__media img { width: 100%; display: block; }

.svc h2 { font-size: var(--step-2); margin-bottom: var(--space-xs); }

.svc ul {
	list-style: none;
	padding: 0;
	margin: var(--space-s) 0 0;
	display: grid;
	gap: .5rem;
}
.svc li {
	position: relative;
	padding-inline-start: 1.6rem;
	font-size: var(--step--1);
	color: var(--muted);
}
.svc li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .45em;
	width: .7rem;
	height: .38rem;
	border-inline-start: 2px solid var(--accent);
	border-block-end: 2px solid var(--accent);
	transform: rotate(-45deg);
}

.svc__price {
	display: inline-flex;
	align-items: baseline;
	gap: .5rem;
	margin-top: var(--space-m);
	padding: .6rem 1rem;
	background: var(--wash);
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--accent);
}
.svc__price small {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--step--1);
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .07em;
}


/* ---- 17. FAQ --------------------------------------------------------- */

.faq { margin-top: var(--space-l); border-top: 1px solid var(--line); }

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	cursor: pointer;
	list-style: none;
	padding: var(--space-s) 2.5rem var(--space-s) 0;
	position: relative;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step-0);
	color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: "";
	position: absolute;
	inset-inline-end: .5rem;
	top: 50%;
	width: .55rem; height: .55rem;
	border-inline-end: 2px solid var(--accent);
	border-block-end: 2px solid var(--accent);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq details > p {
	margin: 0 0 var(--space-s);
	color: var(--muted);
	font-size: var(--step--1);
	max-width: 68ch;
}


/* ---- 18. Contact form ------------------------------------------------ */

.form {
	display: grid;
	gap: var(--space-s);
	max-width: 34rem;
}

@media (min-width: 40rem) {
	.form { grid-template-columns: 1fr 1fr; }
	.form .form__full { grid-column: 1 / -1; }
}

.form label {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step--1);
	margin-bottom: .35rem;
	color: var(--ink);
}

.form input,
.form select,
.form textarea {
	width: 100%;
	font: inherit;
	font-size: var(--step-0);
	color: var(--ink);
	background: var(--surface);
	border: 1.5px solid var(--line);
	border-radius: 10px;
	padding: .75rem .9rem;
	transition: border-color .15s var(--ease);
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--steel); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { min-height: 8rem; resize: vertical; }

.form .hint { font-size: .8125rem; color: var(--muted); margin: .35rem 0 0; }

/* Honeypot — bots fill it, people never see it. */
.form .pot { position: absolute; left: -9999px; }


/* ---- 19. Contact rail ------------------------------------------------ */

.contact-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }

.panel {
	background: var(--wash);
	border-radius: var(--radius);
	padding: var(--space-m);
}
.panel h3 { font-size: var(--step-0); margin-bottom: .5rem; }
.panel p { font-size: var(--step--1); color: var(--muted); }
.panel + .panel { margin-top: var(--space-s); }


/* ---- 20. Town pages -------------------------------------------------- */

.two-col { display: grid; gap: var(--space-l); }
@media (min-width: 56rem) { .two-col { grid-template-columns: 1.15fr .85fr; gap: var(--space-xl); } }

.sticky-cta {
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	padding: var(--space-m);
}
.sticky-cta h3 { color: #fff; font-size: var(--step-1); margin-bottom: .5rem; }
.sticky-cta p { color: #C9D9E8; font-size: var(--step--1); }
.sticky-cta .btn--phone { background: #fff; color: var(--ink); width: 100%; margin-top: var(--space-s); }
.sticky-cta .btn--phone:hover { background: var(--aqua); }

@media (min-width: 56rem) {
	.sticky-cta { position: sticky; top: 6rem; }
}

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	padding: 0;
	margin: var(--space-s) 0 0;
}
.pill-row li {
	font-size: var(--step--1);
	background: var(--wash);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .35rem .85rem;
	color: var(--muted);
}


/* ---- 21. Gallery ----------------------------------------------------- */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: var(--space-s);
	margin-top: var(--space-l);
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: clip; background: var(--wash); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; display: block;
	transition: transform .4s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }


/* ---- 22. Form status ------------------------------------------------- */

.form__status {
	margin: var(--space-s) 0 0;
	font-size: var(--step--1);
	padding: .75rem 1rem;
	border-radius: 10px;
	display: none;
}
.form__status.is-good,
.form__status.is-bad { display: block; }

.form__status.is-good {
	background: #E6F4EC;
	color: #14532D;
	border: 1px solid #A8D5BC;
}
.form__status.is-bad {
	background: #FDECEC;
	color: #7F1D1D;
	border: 1px solid #F0B4B4;
}
.form__status:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

button:disabled { opacity: .6; cursor: progress; }


/* ---- 23. Client list on town pages ----------------------------------- */

.client-list {
	list-style: none;
	padding: 0;
	margin: var(--space-s) 0 0;
	display: grid;
	gap: .55rem;
}

.client-list li {
	position: relative;
	padding-inline-start: 1.4rem;
	font-size: var(--step-0);
	color: var(--muted);
}
.client-list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .62em;
	width: .5rem;
	height: .5rem;
	border-radius: 2px;
	background: var(--aqua);
}
.client-list strong {
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 700;
}

.proof {
	margin: var(--space-m) 0 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.proof img { width: 100%; display: block; }
.proof figcaption {
	padding: var(--space-s) var(--space-m);
	font-size: var(--step--1);
	color: var(--muted);
	border-top: 1px solid var(--line);
}


/* ---- 24. WhatsApp -----------------------------------------------------
   WhatsApp's brand green (#25D366) gives white text 1.98:1, which is
   unreadable. The darker #0E7A5F reads as WhatsApp at a glance and gives
   white 5.29:1. The recognisable part is the glyph, not the exact hex.
   ----------------------------------------------------------------------- */

:root {
	--wa: #17A34A;        /* button accents and hover borders */
	--wa-glyph: #17A34A;  /* the mark itself — 3.29:1 on white */
	--wa-deep: #0E7A5F;
}

.btn--wa {
	background: var(--surface);
	color: var(--ink);
	font-size: var(--step-1);
	padding-inline: 1.75rem;
	border-color: var(--line);
	box-shadow: var(--shadow-sm);
}
.btn--wa:hover {
	background: var(--surface);
	color: var(--ink);
	border-color: var(--wa);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* The glyph carries WhatsApp's own green. #25D366 only reaches 1.98:1 on
   white, so the icon uses #17A34A (3.29:1) — still unmistakably WhatsApp,
   but it clears the 3:1 floor for a meaningful graphic. */
.btn--wa svg { width: 1.3em; height: 1.3em; color: var(--wa-glyph); }

/* On dark backgrounds the button is already white, so only the glyph needs
   to keep its colour and the label flips to ink. */
.cta .btn--wa,
.hero .btn--wa { background: #fff; color: var(--ink); border-color: transparent; }
.cta .btn--wa:hover,
.hero .btn--wa:hover { background: var(--glass); }

/* In the header the WhatsApp button leads and the phone sits beside it as a
   quieter option. Below 900px the phone collapses to an icon so both still
   fit without wrapping. */
.header .btn { padding: .7rem 1.15rem; font-size: var(--step-0); }
.header .btn--wa { border-color: var(--wa); box-shadow: none; }
.header .btn--wa:hover { background: #F2FBF5; }
.header .btn--phone { background: transparent; color: var(--ink); box-shadow: none;
	border-color: var(--line); }
.header .btn--phone:hover { background: var(--wash); color: var(--accent);
	border-color: var(--accent); transform: none; box-shadow: none; }

.header__actions { display: flex; align-items: center; gap: .5rem; }

@media (max-width: 55.99rem) {
	.header .btn--phone span:not(.visually-hidden) { display: none; }
	.header .btn--phone { padding-inline: .8rem; }
	.header .btn--wa .label-long { display: none; }
}

@media (max-width: 26rem) {
	.header .btn--wa { padding-inline: .95rem; font-size: var(--step-0); }
}


/* ---- 25. Mobile action bar ------------------------------------------- */
/*
   Fixed to the bottom of the viewport on phones. A window cleaner is booked
   in a moment of intent, and that moment should never be more than one thumb
   away from a message.
*/

.actionbar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 200;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: .5rem;
	padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
}

.actionbar .btn {
	width: 100%;
	padding: .85rem 1rem;
	font-size: var(--step-0);
}
.actionbar .btn--wa { border-color: var(--wa); }

@media (min-width: 48rem) { .actionbar { display: none; } }

/* Stop the bar covering the last thing on the page. */
@media (max-width: 47.99rem) {
	body { padding-bottom: 4.75rem; }
}

@media print { .actionbar { display: none; } }


/* ---- 26. Family photos on About -------------------------------------- */

.family {
	display: grid;
	gap: var(--space-m);
	margin: var(--space-l) 0;
}

@media (min-width: 40rem) {
	.family { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.family figure {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--wash);
	border: 1px solid var(--line);
}
.family img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.family figcaption {
	padding: var(--space-s) var(--space-m);
	font-size: var(--step--1);
	color: var(--muted);
	border-top: 1px solid var(--line);
}


/* ---- 27. Call button ------------------------------------------------- */
/*
   The label is the number itself. "Or call 07493 130225" read like an
   apology for the phone existing.
*/

.btn--call {
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
}
.btn--call svg { width: 1.05em; height: 1.05em; }


/* ---- 28. Developer credit -------------------------------------------- */

.credit {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	text-decoration: none;
	color: var(--muted);
}
.credit img { border-radius: 7px; flex: none; }
.credit span { display: block; font-size: .75rem; line-height: 1.25; }
.credit strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .8125rem;
	color: var(--ink);
}
.credit:hover strong { color: var(--accent); }

/* Two stacked buttons in the town sidebar CTA. */
.sticky-cta .btn { width: 100%; margin-top: var(--space-s); }
.sticky-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.sticky-cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }


/* ---- 29. Town gallery ------------------------------------------------ */

.gal {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
	gap: var(--space-s);
	margin-top: var(--space-m);
}
.gal figure { margin: 0; }
.gal img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid var(--line);
	display: block;
}
.gal figcaption {
	margin-top: .45rem;
	font-size: .75rem;
	line-height: 1.3;
	color: var(--muted);
}


/* ---- 30. Cartoon portrait -------------------------------------------- */
/*
   A stand-in, not a substitute. It gives the About page a face to look at
   until there's a real photograph of Jay — people trust faces, and a cartoon
   only gets you part of the way there.
*/

.toon {
	margin: 0 0 var(--space-m);
	background: var(--wash);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.toon img { width: 100%; display: block; }
.toon figcaption {
	padding: var(--space-s) var(--space-m);
	font-size: var(--step--1);
	color: var(--muted);
	border-top: 1px solid var(--line);
}


/* ---- 31. Slider ------------------------------------------------------ */
/*
   Without JavaScript this is a plain horizontal scroller — every image is
   still reachable. The .is-enhanced class is added by the script, and only
   then does it become a one-at-a-time carousel.
*/

.slider { margin-top: var(--space-m); }

.slider__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	border-radius: var(--radius);
	border: 1px solid var(--line);
}

.slider__track { display: flex; width: 100%; }

.slider__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	scroll-snap-align: start;
	background: var(--surface);
}
.slider__slide img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}
.slider__slide figcaption {
	padding: var(--space-s) var(--space-m);
	font-size: var(--step--1);
	color: var(--muted);
	border-top: 1px solid var(--line);
	min-height: 3.4rem;
}

/* Enhanced state */
.slider.is-enhanced .slider__viewport { overflow: hidden; }
.slider.is-enhanced .slider__track {
	transition: transform .55s var(--ease);
	will-change: transform;
}

.slider__controls {
	display: flex;
	align-items: center;
	gap: var(--space-s);
	margin-top: var(--space-s);
}

.slider:not(.is-enhanced) .slider__controls { display: none; }

.slider__btn {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	flex: none;
	transition: border-color .18s var(--ease), color .18s var(--ease),
	            background-color .18s var(--ease);
}
.slider__btn:hover { border-color: var(--accent); color: var(--accent); background: var(--wash); }
.slider__btn svg { width: 1rem; height: 1rem; }

.slider__dots { display: flex; gap: .4rem; margin-inline: auto; }

.slider__dot {
	width: .5rem;
	height: .5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--line);
	cursor: pointer;
	transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.slider__dot[aria-current="true"] { background: var(--accent); transform: scale(1.35); }
.slider__dot:hover { background: var(--steel); }

@media (prefers-reduced-motion: reduce) {
	.slider.is-enhanced .slider__track { transition: none; }
}


/* ---- 32. Mobile navigation -------------------------------------------
   Below 900px the desktop nav is hidden, so without this there is simply no
   way to reach Services, Areas or About on a phone. Built on <details> so it
   works with JavaScript disabled.
   ----------------------------------------------------------------------- */

.menu { position: relative; }

.menu summary {
	list-style: none;
	cursor: pointer;
	width: 2.75rem;
	height: 2.75rem;
	display: grid;
	place-items: center;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	color: var(--ink);
	background: var(--surface);
	transition: border-color .18s var(--ease), color .18s var(--ease);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--accent); color: var(--accent); }
.menu summary svg { width: 1.35rem; height: 1.35rem; }

.menu .menu__x { display: none; }
.menu[open] .menu__bars { display: none; }
.menu[open] .menu__x { display: block; }
.menu[open] summary { border-color: var(--accent); color: var(--accent); }

.menu__panel {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + .6rem);
	min-width: 13rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: .5rem;
	z-index: 150;
}

.menu__panel nav { display: grid; }

.menu__panel a {
	display: block;
	padding: .75rem .9rem;
	border-radius: 9px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step-0);
	color: var(--ink);
	text-decoration: none;
}
.menu__panel a:hover { background: var(--wash); color: var(--accent); }
.menu__panel a[aria-current="page"] {
	background: var(--glass);
	color: var(--ink);
}

/* Only one of the two navigations is ever visible. */
@media (min-width: 75rem) { .menu { display: none; } }
@media (max-width: 74.99rem) { .nav { display: none; } }

/* Between the nav appearing and the header having real room, show WhatsApp
   only. The number is still one tap away in the action bar, the hero and
   every closing CTA. */
@media (max-width: 82rem) {
	.header .btn--phone { display: none; }
}


/* ---- 33. Header at phone widths --------------------------------------
   Below 48rem the sticky action bar already carries WhatsApp and Call, so
   repeating them in the header only causes overflow. Logo and menu only.
   ----------------------------------------------------------------------- */

@media (max-width: 47.99rem) {
	.header__actions .btn { display: none; }
	.header__inner { gap: .75rem; min-height: 5.6rem; }
	.brand__mark { width: 68px; height: 68px; }
	.brand__text { font-size: 1.875rem; }
	.brand__text span { font-size: .8125rem; letter-spacing: .06em; }
}

/* Very narrow phones: drop the wordmark, keep the badge. */
/* Between 320 and 400px the lockup stays, just a shade tighter. */
@media (max-width: 25rem) {
	.brand__text { font-size: 1.6875rem; }
	.brand__text span { font-size: .75rem; letter-spacing: .04em; }
	.brand__mark { width: 62px; height: 62px; }
	.header__inner { min-height: 5.2rem; }
}

/* Only genuinely tiny screens lose the strapline. 24rem was catching ordinary
   Android phones, which is why it disappeared on a normal handset. */
@media (max-width: 20rem) {
	.brand__text span { display: none; }
	.brand__mark { width: 56px; height: 56px; }
}


/* ---- 34. Cookie consent ----------------------------------------------
   Reject and Accept are the same size and side by side. Making rejection
   harder than acceptance is not valid consent under UK rules, and it is
   also just rude.
   ----------------------------------------------------------------------- */

.consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 300;
	background: var(--surface);
	border-top: 2px solid var(--accent);
	box-shadow: 0 -8px 40px rgba(12,52,100,.16);
	padding-block: var(--space-s);
	padding-bottom: calc(var(--space-s) + env(safe-area-inset-bottom));
}

.consent__inner {
	display: grid;
	gap: var(--space-s);
	align-items: center;
}

@media (min-width: 56rem) {
	.consent__inner { grid-template-columns: 1fr auto; gap: var(--space-l); }
}

.consent__text p { margin: 0; font-size: var(--step--1); color: var(--muted); }
.consent__text p:first-child { color: var(--ink); margin-bottom: .2rem; }
.consent__text strong { font-family: var(--font-display); font-size: var(--step-0); }

.consent__actions { display: flex; gap: .5rem; }
.consent__actions .btn { flex: 1; font-size: var(--step-0); padding: .75rem 1.5rem; }

@media (min-width: 56rem) {
	.consent__actions .btn { flex: none; }
}

/* The action bar would sit under the consent panel, so lift it while the
   banner is showing. */
body:has(.consent) .actionbar { bottom: 100%; }


/* ---- 35. Legal pages -------------------------------------------------- */

.legal { max-width: 46rem; }
.legal h2 {
	font-size: var(--step-2);
	margin-top: var(--space-l);
	padding-top: var(--space-s);
	border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: var(--step-0); margin-top: var(--space-m); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-inline-start: 1.1rem; display: grid; gap: .4rem; margin: 0 0 var(--space-s); }
.legal table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--space-s) 0 var(--space-m);
	font-size: var(--step--1);
}
.legal th, .legal td {
	text-align: left;
	padding: .65rem .75rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.legal th { font-family: var(--font-display); color: var(--ink); background: var(--wash); }
.legal td { color: var(--muted); }
.legal .updated {
	font-size: var(--step--1);
	color: var(--muted);
	padding: var(--space-s) var(--space-m);
	background: var(--wash);
	border-radius: var(--radius);
	margin-bottom: var(--space-l);
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin-top: var(--space-l);
	padding-top: var(--space-s);
	border-top: 1px solid var(--line);
	font-size: .8125rem;
}
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--accent); text-decoration: underline; }
.footer__bottom { margin-top: var(--space-s); border-top: 0; padding-top: 0; }


/* ---- 36. Hero brand line ---------------------------------------------
   The business name sits above the headline so it registers before anything
   else. Sentence case with a short aqua rule, rather than a second block of
   tracked capitals — the areas line directly beneath is already uppercase,
   and stacking two of those reads as noise.
   ----------------------------------------------------------------------- */

.hero__brand {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin: 0 0 .55rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.5rem, 1.32rem + 0.9vw, 2.25rem);
	letter-spacing: -0.02em;
	line-height: 1;
	color: #fff;
}

.hero__brand::before {
	content: "";
	flex: none;
	width: 2.25rem;
	height: 2px;
	border-radius: 2px;
	background: var(--aqua);
}

@media (min-width: 62rem) {
	.hero__brand { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.875rem); }
	.hero__brand::before { width: 4.5rem; height: 3px; }
}


/* ---- 37. Gallery ------------------------------------------------------
   CSS columns rather than a grid, so each photo keeps its own shape. A
   uniform square crop would throw away the part of a before/after that made
   it worth taking.
   ----------------------------------------------------------------------- */

.masonry {
	columns: 1;
	column-gap: var(--space-s);
	margin-top: var(--space-l);
}

@media (min-width: 40rem) { .masonry { columns: 2; } }
@media (min-width: 62rem) { .masonry { columns: 3; } }
@media (min-width: 90rem) { .masonry { columns: 4; } }

.masonry figure {
	break-inside: avoid;
	margin: 0 0 var(--space-s);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}

.masonry img { width: 100%; height: auto; display: block; }

/* No captions — the photos carry themselves and a wall of small grey text
   under every tile only slowed the eye down. Alt text is unchanged. */

/* Tighter gaps now there is no caption to separate the tiles. */
.masonry { column-gap: .75rem; }
.masonry figure { margin-bottom: .75rem; }

/* A subtle lift on hover, so the tiles still feel like objects. */
.masonry figure {
	transition: transform .25s var(--ease), box-shadow .25s var(--ease),
	            border-color .25s var(--ease);
}
.masonry figure:hover {
	transform: translateY(-3px);
	border-color: var(--aqua);
	box-shadow: var(--shadow-sm);
}
@media (prefers-reduced-motion: reduce) {
	.masonry figure:hover { transform: none; }
}

/* Jump links to each section. Scrolls rather than wraps on a phone. */
.gal-nav {
	display: flex;
	gap: .5rem;
	overflow-x: auto;
	padding-bottom: .35rem;
	margin-top: var(--space-m);
	scrollbar-width: thin;
}

.gal-nav a {
	flex: none;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step--1);
	color: var(--ink);
	text-decoration: none;
	padding: .5rem 1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	white-space: nowrap;
}
.gal-nav a:hover { border-color: var(--accent); color: var(--accent); background: var(--wash); }

/* Video sits in the masonry flow like any other tile. preload="none" means it
   costs nothing until someone presses play. */
.masonry figure.is-video { border-color: var(--accent); }
.masonry video {
	width: 100%;
	height: auto;
	display: block;
	background: var(--ink);
}
