/*
 * Premium Plumbers: site styles. Plain CSS, no build step.
 *
 * Concept: flow and return. Two pipes run through every heating system, flow
 * (red) and return (blue). They are also the two colours of the firm's logo.
 * The pair leaves the boiler photo in the hero, turns down the left of the page
 * as a riser, and each section heading tees off it. Everything else is square,
 * level and plain, like their pipework.
 *
 * The layout follows the firm's old site, which the owner likes: the van
 * behind a navy wash, the makers' logos, review cards, the navy three steps
 * band, the figures, a wall of job photos. The pipes are what is new.
 *
 * Order: tokens, base, type, layout, the run, buttons and links, header, menu,
 * hero, brand logos, reviews, steps, why, statement, services, recent work,
 * price and finance, areas, questions, quote form, footer, inner pages, call
 * bar, WhatsApp button, motion.
 */

/* ------------------------------------------------------------------ tokens */

@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

/* Arial resized to Schibsted's proportions, so the swap does not move the page. */
@font-face {
	font-family: "Schibsted Fallback";
	src: local("Arial"), local("Helvetica Neue");
	size-adjust: 101%;
	ascent-override: 96%;
	descent-override: 26%;
	line-gap-override: 0%;
}

:root {
	/*
	 * The colours of the firm's old site, which the owner likes: its navy, its
	 * blue and its red. Red is the flow pipe and the main button; blue is the
	 * return pipe.
	 */
	--flow: #da0a16;
	--flow-dark: #b50812;
	--navy: #02213d;
	--blue: #063e70;
	--blue-bright: #0a5598;
	--return: #063e70;

	/* Neutrals tinted towards the navy. */
	--blue-900: #02213d;
	--blue-300: #9ec5ec;
	--ink: #13263a;
	--ink-2: #48586a;
	--line: #dde4ec;
	--line-strong: #b4c0cd;
	--page: #fff;
	--tint: #f2f6fa;
	--on-dark: #dbe6f2;
	--on-dark-2: #b3c6da;
	--line-dark: rgb(255 255 255 / 0.2);
	--gold: #f4b400;

	--focus: oklch(0.6 0.19 255);
	--error: oklch(0.5 0.2 27);
	--ok: oklch(0.5 0.13 150);

	--font: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;

	--gutter: clamp(20px, 5vw, 72px);
	--max: 1320px;
	--rail: 0px;
	--radius: 10px;
	--pipe: 3px;
	--header-h: 64px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* The left edge of the content column, measured from the edge of a full-width block. */
	--edge: calc((100% - min(100% - 2 * var(--gutter), var(--max))) / 2);
}

@media (min-width: 1000px) {
	:root {
		--rail: 76px;
		--header-h: 80px;
	}
}

/* ------------------------------------------------------------------ base */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

html.menu-locked {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--font);
	font-size: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
	line-height: 1.58;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

img, svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	touch-action: manipulation;
}

@media (hover: hover) {
	a:hover {
		text-decoration-thickness: 2px;
	}
}

button, input, textarea, select {
	font: inherit;
	color: inherit;
	touch-action: manipulation;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	border-radius: 2px;
}

[hidden] {
	display: none !important;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--return);
	color: #fff;
	font-weight: 650;
	border-radius: var(--radius);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

/* ------------------------------------------------------------------ type */

.title,
.statement__text,
.hero__title,
.phero__title {
	color: var(--navy);
	font-weight: 800;
	letter-spacing: -0.033em;
	line-height: 1.02;
	text-wrap: balance;
}

.title {
	font-size: clamp(1.875rem, 1.3rem + 2.5vw, 3.25rem);
}

.subtitle {
	color: var(--navy);
	font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem);
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-bottom: 12px;
}

.lead {
	font-size: clamp(1.125rem, 1.06rem + 0.35vw, 1.3125rem);
	line-height: 1.5;
	max-width: 46ch;
	text-wrap: pretty;
}

.lead + .lead {
	margin-top: 1em;
}

.small {
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--ink-2);
}

.tel {
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

p {
	text-wrap: pretty;
}

/* ------------------------------------------------------------------ layout */

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

.sec {
	padding-block: clamp(64px, 9vw, 128px);
}

.sec--tint {
	background: var(--tint);
}

.sec__inner {
	padding-left: var(--rail);
}

.sec__head {
	margin-bottom: clamp(32px, 5vw, 64px);
}

.sec__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
}

.sec__intro {
	margin-top: 16px;
	max-width: 50ch;
	color: var(--ink-2);
	font-size: clamp(1.0625rem, 1.02rem + 0.25vw, 1.1875rem);
}

.sec__foot {
	margin-top: 40px;
}

.frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--tint);
}

.frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.frame--45 {
	aspect-ratio: 4 / 5;
}

.frame--32 {
	aspect-ratio: 3 / 2;
}

.frame--43 {
	aspect-ratio: 4 / 3;
}

figcaption {
	margin-top: 10px;
	font-size: 0.875rem;
	color: var(--ink-2);
}

/* ------------------------------------------------------------------ the run */

/* The riser: flow on the left, return on the right, down the edge of the content. */
.run {
	position: relative;
}

.run__riser {
	display: none;
}

@media (min-width: 1000px) {
	.run__riser {
		display: block;
		position: absolute;
		z-index: 1;
		top: 0;
		bottom: 0;
		left: var(--edge);
		width: 12px;
		background: linear-gradient(90deg, var(--flow) 0 3px, transparent 3px 9px, var(--return) 9px 12px);
		pointer-events: none;
	}
}

/* Navy and blue bands sit over the riser and carry their own stretch of it, with the return pipe lightened. */
.sec--dark {
	position: relative;
	z-index: 2;
	background: var(--navy);
	color: #fff;
}

.sec--blue {
	background: var(--blue);
}

.sec--dark .title {
	color: #fff;
}

.sec--dark .sec__intro {
	color: var(--on-dark);
}

.sec--dark .link,
.sec--dark .link__arrow {
	color: #fff;
}

.sec--dark .branch__return {
	background: var(--blue-300);
	color: var(--blue-300);
}

@media (min-width: 1000px) {
	.sec--dark::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: var(--edge);
		width: 12px;
		background: linear-gradient(90deg, var(--flow) 0 3px, transparent 3px 9px, var(--blue-300) 9px 12px);
		pointer-events: none;
	}
}

/* The branch that feeds a heading. On phones it comes in from the edge of the screen, above the heading. */
.has-branch {
	position: relative;
}

.branch {
	display: block;
	position: relative;
	width: calc(var(--gutter) + 44px);
	height: 12px;
	margin: 0 0 22px calc(-1 * var(--gutter));
}

.branch__flow,
.branch__return {
	position: absolute;
	left: 0;
	right: 0;
	height: var(--pipe);
}

.branch__flow {
	top: 0;
	background: var(--flow);
	color: var(--flow);
}

.branch__return {
	top: 9px;
	background: var(--return);
	color: var(--return);
}

/*
 * The two pipes finish in a swept loop beside the heading, flow turning into
 * return, so they read as a finished run and not as two lines that stop short.
 */
.branch__flow::after,
.branch__return::after {
	content: "";
	position: absolute;
	left: 100%;
	width: 6px;
	height: 6px;
	border: 0 solid currentColor;
	border-right-width: var(--pipe);
}

.branch__flow::after {
	top: 0;
	border-top-width: var(--pipe);
	border-top-right-radius: 6px;
}

.branch__return::after {
	bottom: 0;
	border-bottom-width: var(--pipe);
	border-bottom-right-radius: 6px;
}

.chev {
	position: absolute;
	top: 50%;
	width: 9px;
	height: 11px;
	margin-top: -5.5px;
}

/* The direction marks sit along each pipe, staggered, not on its end. */
.branch__flow .chev {
	left: 58%;
}

.branch__return .chev {
	left: 24%;
}

.chev--back {
	rotate: 180deg;
}

@media (min-width: 1000px) {
	.branch {
		position: absolute;
		left: calc(-1 * var(--rail));
		top: 0.42em;
		top: calc(0.5lh - 6px);
		width: calc(var(--rail) - 20px);
		margin: 0;
	}

	/* Each line tees off its own pipe in the riser. */
	.branch__flow {
		left: 3px;
	}

	.branch__return {
		left: 12px;
	}
}

/* ------------------------------------------------------------------ buttons and links */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 26px;
	border: 0;
	border-radius: 12px;
	background: var(--flow);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 150ms ease-in-out, transform 150ms ease-in-out;
}

@media (hover: hover) {
	.btn:hover {
		background: var(--flow-dark);
	}
}

.btn:active {
	transform: translateY(1px);
}

.btn--small {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 0.9375rem;
}

.btn--lg {
	min-height: 58px;
	padding: 0 28px;
	border-radius: 14px;
	font-size: 1.125rem;
}

.btn .icon {
	width: 20px;
	height: 20px;
}

.btn--blue {
	background: var(--blue);
	box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.3);
}

.btn--navy {
	background: var(--navy);
}

@media (hover: hover) {
	.btn--blue:hover,
	.btn--navy:hover {
		background: var(--blue-bright);
	}
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	cursor: pointer;
}

.link__arrow {
	width: 20px;
	height: 20px;
	flex: none;
	color: var(--flow);
	transition: transform 240ms var(--ease);
}

@media (hover: hover) {
	.link:hover .link__arrow,
	a:hover > .link .link__arrow {
		transform: translateX(4px);
	}
}

.link--strong {
	font-size: 1.125rem;
	font-variant-numeric: tabular-nums;
}

.stars {
	display: inline-flex;
	gap: 2px;
	color: var(--gold);
}

.stars__star {
	width: 17px;
	height: 17px;
}

.ticks {
	display: grid;
	gap: 10px;
}

.ticks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ticks .icon {
	margin-top: 0.2em;
	color: var(--flow);
}

/* ------------------------------------------------------------------ header */

.site-header {
	position: fixed;
	z-index: 50;
	inset: 0 0 auto;
	color: var(--ink);
	transition: transform 240ms var(--ease), background-color 150ms ease-in-out, color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

/* --header-bg is set by the script to the real colour of the section under the bar. */
.site-header.is-solid {
	background: var(--header-bg, var(--page));
	box-shadow: 0 1px 0 var(--line);
}

.menu-open .site-header {
	background: var(--page);
	box-shadow: 0 1px 0 var(--line);
}

.site-header[data-theme="dark"] {
	color: #fff;
}

.site-header[data-theme="dark"].is-solid {
	background: var(--header-bg, var(--blue-900));
	box-shadow: 0 1px 0 var(--line-dark);
}

.menu-open .site-header[data-theme="dark"] {
	background: var(--page);
	color: var(--ink);
	box-shadow: 0 1px 0 var(--line);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(100% - 2 * var(--gutter), var(--max));
	height: var(--header-h);
	margin-inline: auto;
}

.logo {
	display: block;
	flex: none;
	text-decoration: none;
}

.logo__img {
	width: auto;
	height: 42px;
}

.logo__img--white {
	display: none;
}

.site-header[data-theme="dark"] .logo__img--main {
	display: none;
}

.site-header[data-theme="dark"] .logo__img--white {
	display: block;
}

.menu-open .site-header .logo__img--main {
	display: block;
}

.menu-open .site-header .logo__img--white {
	display: none;
}

.logo__text {
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.site-nav {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.site-header__call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 4px;
	font-size: 1rem;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-decoration: none;
}

.site-header__call .icon {
	color: var(--flow);
}

.site-header[data-theme="dark"] .site-header__call .icon {
	color: currentColor;
}

.site-header__quote {
	display: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid currentColor;
	border-radius: var(--radius);
	font-size: 0.9375rem;
	font-weight: 650;
	text-decoration: none;
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: inline;
}

@media (min-width: 1100px) {
	.logo__img {
		height: 52px;
	}

	.site-nav {
		display: block;
		margin-left: auto;
	}

	.site-nav ul {
		display: flex;
		gap: 28px;
	}

	.site-nav a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-size: 0.9375rem;
		font-weight: 600;
		text-decoration: none;
	}

	.site-nav a:hover,
	.site-nav a[aria-current="page"] {
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}

	.site-header__actions {
		gap: 20px;
		margin-left: 12px;
	}

	.site-header__quote {
		display: inline-flex;
	}

	.menu-toggle {
		display: none;
	}
}

/* ------------------------------------------------------------------ menu (phones and tablets) */

.menu {
	position: fixed;
	inset: var(--header-h) 0 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--page);
	color: var(--ink);
	visibility: hidden;
	opacity: 0;
	transition: opacity 150ms ease-in-out, visibility 0s 150ms;
}

.menu-open .menu {
	visibility: visible;
	opacity: 1;
	transition: opacity 150ms ease-in-out;
}

.menu__inner {
	display: grid;
	gap: 32px;
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
	padding-block: 24px 48px;
}

.menu__pages {
	display: grid;
	border-top: 1px solid var(--line);
}

.menu__pages a {
	display: flex;
	align-items: center;
	min-height: 56px;
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.menu__services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px 32px;
}

.menu__label {
	margin-bottom: 6px;
	color: var(--ink-2);
	font-size: 0.875rem;
	font-weight: 600;
}

.menu__group a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
	text-decoration: none;
}

.menu__foot {
	display: grid;
	justify-items: start;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.menu__call {
	font-size: 1.375rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.menu__hours {
	color: var(--ink-2);
	font-size: 0.9375rem;
}

@media (min-width: 1100px) {
	.menu {
		display: none;
	}
}

/* ------------------------------------------------------------------ hero */

/* The firm's van behind a navy wash, as on their old site, with the words on the clear side of the photo. */
.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: min(100svh, 760px);
	padding-top: var(--header-h);
	overflow: hidden;
	background: var(--navy);
	color: #fff;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% 60%;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(2 33 61 / 0.82) 0%, rgb(2 33 61 / 0.7) 50%, rgb(2 33 61 / 0.94) 100%);
}

.hero__inner {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 28px;
	padding-block: 28px 28px;
}

.hero__copy {
	align-self: center;
	max-width: 760px;
}

.hero__title {
	color: #fff;
	font-size: clamp(2.25rem, 1.15rem + 4.7vw, 4.5rem);
	line-height: 0.98;
}

.hero__text {
	max-width: 48ch;
	margin-top: 18px;
	color: var(--on-dark);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
	line-height: 1.45;
}

.hero__proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: 18px;
	font-size: 1rem;
	font-weight: 650;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.hero__call {
	font-size: 1.0625rem;
}

.hero__call .tel {
	font-size: 1.25rem;
	color: var(--navy);
}

.facts {
	display: grid;
	border-top: 1px solid var(--line-dark);
}

.facts__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 8px 0;
	border-bottom: 1px solid var(--line-dark);
	font-size: 0.9375rem;
	font-weight: 650;
}

.facts__item .icon {
	color: var(--blue-300);
}

.facts__logo {
	width: 30px;
	height: auto;
	flex: none;
	border-radius: 3px;
}

.hero__run {
	display: none;
}

@media (max-width: 599px) {
	.hero__actions .btn {
		width: 100%;
	}
}

@media (min-width: 1000px) {
	.hero__bg::after {
		background:
			linear-gradient(90deg, rgb(2 33 61 / 0.95) 0%, rgb(2 33 61 / 0.86) 36%, rgb(2 33 61 / 0.42) 68%, rgb(2 33 61 / 0.3) 100%),
			linear-gradient(0deg, rgb(2 33 61 / 0.92) 0%, rgb(2 33 61 / 0) 34%);
	}

	.hero__inner {
		gap: 40px;
		padding-block: 40px 96px;
	}

	.hero__copy {
		padding-left: var(--rail);
	}

	.facts {
		grid-auto-flow: column;
		grid-auto-columns: max-content;
		gap: 0 40px;
		margin-left: var(--rail);
		border-top: 0;
	}

	.facts__item {
		border-bottom: 0;
	}

	/* The pipes: in from the right along the foot of the photo, then down into the riser. */
	.hero__run {
		display: block;
		position: absolute;
		right: 0;
		bottom: 0;
		left: var(--edge);
		height: 64px;
	}

	.pipe {
		position: absolute;
	}

	.pipe::before,
	.pipe::after {
		content: "";
		position: absolute;
		border: 0 solid;
	}

	.pipe--a {
		top: 12px;
		right: 0;
		left: 44px;
		height: 12px;
		background: linear-gradient(180deg, var(--flow) 0 3px, transparent 3px 9px, var(--blue-300) 9px 12px);
	}

	.pipe--b {
		top: 12px;
		bottom: 0;
		left: 0;
		width: 44px;
	}

	.pipe--b::before {
		inset: 0;
		border-top-width: var(--pipe);
		border-left-width: var(--pipe);
		border-color: var(--flow);
		border-top-left-radius: 28px;
	}

	.pipe--b::after {
		inset: 9px 0 0 9px;
		border-top-width: var(--pipe);
		border-left-width: var(--pipe);
		border-color: var(--blue-300);
		border-top-left-radius: 19px;
	}

	.pipe--a .chev {
		margin-top: 0;
	}

	.chev--flow {
		top: -4px;
		color: var(--flow);
		rotate: 180deg;
	}

	.chev--return {
		top: 5px;
		color: var(--blue-300);
	}

	.chev--1 { left: 16%; }
	.chev--2 { left: 44%; }
	.chev--5 { left: 72%; }
	.chev--3 { left: 30%; }
	.chev--4 { left: 58%; }
	.chev--6 { left: 86%; }
}

/* ------------------------------------------------------------------ brand logos */

.brands {
	padding-block: 20px;
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.brands__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.brands__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px 16px;
	align-items: center;
}

.brands__list img {
	width: 100%;
	max-width: 190px;
	margin-inline: auto;
	mix-blend-mode: multiply;
}

@media (min-width: 900px) {
	.brands {
		padding-block: 26px;
	}

	.brands__list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ------------------------------------------------------------------ reviews */

.kicker {
	margin-bottom: 6px;
	color: var(--ink-2);
	font-weight: 650;
}

.score {
	display: flex;
	align-items: center;
	gap: 14px;
}

.score__num {
	color: var(--blue);
	font-size: clamp(3rem, 2.4rem + 2.4vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.score__text {
	display: grid;
	gap: 6px;
	font-size: 0.9375rem;
	font-weight: 650;
	line-height: 1.3;
}

.rcards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(86%, 360px);
	gap: 16px;
	margin-inline: -6px;
	padding: 6px 6px 18px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--line-strong) transparent;
}

.rcard {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 1px 2px rgb(2 33 61 / 0.06), 0 10px 26px -14px rgb(2 33 61 / 0.22);
	scroll-snap-align: start;
}

.rcard__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rcard__avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-weight: 800;
}

.rcard__who {
	display: grid;
	line-height: 1.25;
}

.rcard__name {
	font-weight: 750;
}

.rcard__by {
	color: var(--ink-2);
	font-size: 0.8125rem;
}

.rcard__text p {
	display: -webkit-box;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.5;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	-webkit-box-orient: vertical;
}

.rcards-nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.rcards-nav__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1.5px solid var(--line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	cursor: pointer;
	transition: background-color 150ms ease-in-out, color 150ms ease-in-out, border-color 150ms ease-in-out;
}

.rcards-nav__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

@media (hover: hover) {
	.rcards-nav__btn:not(:disabled):hover {
		border-color: var(--navy);
		background: var(--navy);
		color: #fff;
	}
}

.icon--flip {
	rotate: 180deg;
}

.sec__foot--row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	margin-top: 20px;
}

/* ------------------------------------------------------------------ the three steps (navy band) */

.steps {
	display: grid;
	gap: 18px;
}

.step {
	position: relative;
	padding: 26px 26px 28px;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
}

.step__num {
	display: block;
	color: var(--blue);
	font-size: 3.25rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.step__title {
	margin-top: 10px;
	color: var(--flow);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.step p {
	margin-top: 8px;
	color: var(--ink-2);
}

/* The flow pipe from one card to the next. */
.step__pipe {
	position: absolute;
	top: 100%;
	left: 44px;
	width: var(--pipe);
	height: 18px;
	background: var(--flow);
	color: var(--flow);
}

.step__pipe .chev {
	top: 50%;
	left: 50%;
	margin: -5.5px 0 0 -4.5px;
	rotate: 90deg;
}

.stepsband__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
	margin-top: 32px;
}

@media (min-width: 900px) {
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px;
	}

	.step__pipe {
		top: 52px;
		left: 100%;
		width: 32px;
		height: var(--pipe);
	}

	.step__pipe .chev {
		rotate: none;
	}
}

/* ------------------------------------------------------------------ why choose us and the figures */

.why__grid {
	display: grid;
	gap: 32px;
}

.acc--boxed {
	display: grid;
	gap: 10px;
	margin-top: 24px;
	border-top: 0;
}

.acc--boxed .acc__item {
	padding-inline: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.acc--boxed .acc__item summary {
	min-height: 58px;
	color: var(--blue);
}

.acc--boxed .acc__body {
	padding-bottom: 18px;
}

.stats {
	display: grid;
	gap: 28px;
	margin-top: clamp(40px, 6vw, 80px);
	padding-top: clamp(32px, 4vw, 56px);
	border-top: 1px solid var(--line);
}

.stat {
	display: grid;
	justify-items: center;
	gap: 6px;
	text-align: center;
}

.stat__num {
	color: var(--blue);
	font-size: clamp(3.5rem, 2.3rem + 4.6vw, 5.75rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.95;
}

.stat__label {
	color: var(--flow);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	font-weight: 750;
}

@media (min-width: 900px) {
	.why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(40px, 5vw, 80px);
		align-items: center;
	}

	.stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.stat + .stat {
		border-left: 1px solid var(--line);
	}
}

/* ------------------------------------------------------------------ statement (blue band) */

.statement__grid {
	display: grid;
	gap: 40px;
}

.statement__text {
	max-width: 15ch;
	color: #fff;
	font-size: clamp(2.125rem, 1.1rem + 4vw, 4rem);
	line-height: 0.99;
	letter-spacing: -0.04em;
}

.statement .lead {
	max-width: 52ch;
	margin-top: 24px;
	color: var(--on-dark);
}

.statement .lead + .lead {
	margin-top: 1em;
}

.statement__cta {
	margin-top: 28px;
}

.statement figcaption {
	color: var(--on-dark-2);
}

@media (min-width: 900px) {
	.statement__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(40px, 6vw, 96px);
		align-items: center;
	}
}

/* ------------------------------------------------------------------ services (boilers first) */

/* Boilers are the main work, so the Boilers group is a large panel and every other group a card. */
.lead-panel {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 1px 2px rgb(2 33 61 / 0.06), 0 22px 44px -26px rgb(2 33 61 / 0.4);
}

.lead-panel__photo {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

.lead-panel__body {
	display: grid;
	align-content: center;
	gap: 6px;
	padding: clamp(22px, 3.4vw, 48px);
}

.lead-panel__name {
	color: var(--navy);
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1;
}

.lead-panel__text {
	max-width: 44ch;
	margin-top: 6px;
	color: var(--ink-2);
}

.lead-list {
	margin-top: 14px;
	border-top: 2px solid var(--navy);
}

.lead-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.lead-item__name {
	color: var(--navy);
	font-size: 1.3125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.lead-item__text {
	grid-column: 1;
	color: var(--ink-2);
	font-size: 1rem;
}

.lead-item__arrow {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	width: 22px;
	height: 22px;
	color: var(--flow);
	transition: transform 240ms var(--ease);
}

@media (hover: hover) {
	.lead-item:hover .lead-item__name {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 0.18em;
	}

	.lead-item:hover .lead-item__arrow {
		transform: translateX(4px);
	}
}

.lead-panel__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 22px;
}

.lead-panel__fact {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.lead-panel__fact .icon {
	color: var(--flow);
}

@media (max-width: 599px) {
	.lead-panel__cta .btn {
		width: 100%;
	}
}

@media (min-width: 900px) {
	.lead-panel {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	.lead-panel__photo {
		aspect-ratio: auto;
		min-height: 100%;
	}
}

.more-title {
	margin-top: clamp(40px, 5vw, 72px);
	color: var(--navy);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.gcards {
	display: grid;
	gap: 20px;
	margin-top: 20px;
}

.gcard {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.gcard .frame {
	border-radius: 0;
}

.frame--art {
	display: grid;
	place-items: center;
	background: var(--navy);
	color: var(--blue-300);
}

.frame__icon {
	position: static;
	width: 38%;
	max-width: 120px;
	height: auto;
	aspect-ratio: 1;
}

.gcard__body {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 20px 22px 22px;
}

.gcard__name {
	color: var(--navy);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.gcard__text {
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.gcard__links {
	margin-top: 10px;
	border-top: 1px solid var(--line);
}

.gcard__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	border-bottom: 1px solid var(--line);
	font-weight: 700;
	text-decoration: none;
}

.gcard__chev {
	width: 9px;
	height: 11px;
	flex: none;
	color: var(--flow);
	transition: transform 240ms var(--ease);
}

@media (hover: hover) {
	.gcard__links a:hover span {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 0.18em;
	}

	.gcard__links a:hover .gcard__chev {
		transform: translateX(4px);
	}
}

@media (min-width: 600px) {
	.gcards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.gcards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ------------------------------------------------------------------ recent work (photo wall) */

.wall {
	columns: 2;
	column-gap: 10px;
}

.wall__item {
	position: relative;
	overflow: hidden;
	margin-bottom: 10px;
	border-radius: var(--radius);
	background: var(--tint);
	break-inside: avoid;
}

.wall__item img {
	width: 100%;
	height: auto;
}

.wall__link {
	display: block;
	position: relative;
	color: #fff;
	text-decoration: none;
}

.wall__cap {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	position: absolute;
	inset: auto 0 0;
	padding: 40px 14px 12px;
	background: linear-gradient(0deg, rgb(2 33 61 / 0.9), rgb(2 33 61 / 0));
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.25;
}

.wall__cap .icon {
	width: 18px;
	height: 18px;
	transition: transform 240ms var(--ease);
}

@media (hover: hover) {
	.wall__link:hover .icon {
		transform: translateX(3px);
	}
}

@media (min-width: 600px) {
	.wall {
		columns: 3;
		column-gap: 12px;
	}

	.wall__item {
		margin-bottom: 12px;
	}
}

@media (min-width: 1000px) {
	.wall {
		columns: 4;
	}
}

/* ------------------------------------------------------------------ price and finance */

.money {
	display: grid;
	gap: 32px;
}

.money__col--card {
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.money .ticks {
	margin-top: 20px;
}

.terms {
	margin-top: 20px;
	border-top: 1px solid var(--line);
}

.terms li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.125rem;
	font-weight: 750;
}

.terms__chev {
	width: 9px;
	height: 11px;
	flex: none;
	color: var(--flow);
}

.money .small {
	margin-top: 16px;
}

.money__cta {
	margin-top: 24px;
}

@media (min-width: 900px) {
	.money {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(40px, 5vw, 80px);
		align-items: start;
	}
}

/* ------------------------------------------------------------------ areas */

.areas__grid {
	display: grid;
	gap: 32px;
}

.feats {
	display: grid;
	gap: 22px;
	margin-top: 28px;
}

.feat {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.feat__icon {
	width: 24px;
	height: 24px;
	flex: none;
	margin-top: 1px;
	color: var(--blue);
}

.feat__title {
	color: var(--flow);
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.2;
}

.feat p {
	margin-top: 4px;
	color: var(--ink-2);
	font-size: 1rem;
}

.towns {
	columns: 2;
	column-gap: 28px;
	border-top: 2px solid var(--navy);
}

.towns li {
	break-inside: avoid;
	border-bottom: 1px solid var(--line);
}

.towns a,
.towns span {
	display: flex;
	align-items: center;
	min-height: 46px;
	font-weight: 600;
	text-decoration: none;
}

.towns__base a,
.towns__base span,
.towns a[aria-current="page"] {
	color: var(--blue);
	font-weight: 800;
}

@media (hover: hover) {
	.towns a:hover {
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}
}

@media (min-width: 600px) {
	.towns {
		columns: 3;
	}

	.feats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.areas__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
		gap: clamp(48px, 6vw, 96px);
		align-items: start;
	}
}

/* ------------------------------------------------------------------ questions */

.faq__grid {
	display: grid;
	gap: 32px;
}

.faq__side .link {
	margin-top: 12px;
}

.acc {
	border-top: 2px solid var(--navy);
}

.acc__item {
	border-bottom: 1px solid var(--line-strong);
}

.acc__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 14px 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.acc__item summary::-webkit-details-marker {
	display: none;
}

.acc__icon {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--flow);
	transition: transform 240ms var(--ease);
}

.acc__item[open] .acc__icon {
	transform: rotate(45deg);
}

.acc__body {
	max-width: 62ch;
	padding-bottom: 24px;
	color: var(--ink-2);
}

@media (min-width: 900px) {
	.faq__grid {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: clamp(48px, 6vw, 96px);
		align-items: start;
	}

	.faq__side {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

/* ------------------------------------------------------------------ quote form: where the run ends */

.quote {
	position: relative;
	z-index: 2;
	padding-block: clamp(64px, 9vw, 128px);
	background: var(--blue);
	color: #fff;
}

.quote .title {
	color: #fff;
}

.quote__grid {
	display: grid;
	gap: 40px;
}

.quote .lead {
	margin-top: 16px;
	color: var(--on-dark);
}

.quote .ticks {
	margin-top: 24px;
}

.quote .ticks .icon,
.quote .link__arrow {
	color: var(--blue-300);
}

.quote__direct {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 28px;
	margin-top: 24px;
}

.quote__review {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--line-dark);
}

.quote__review blockquote p {
	font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.28;
}

.quote__review blockquote p::before {
	content: "\201C";
}

.quote__review blockquote p::after {
	content: "\201D";
}

.quote__review figcaption {
	margin-top: 12px;
	color: var(--on-dark-2);
	font-size: 0.9375rem;
}

.quote__form {
	padding: clamp(20px, 4vw, 40px);
	border-radius: var(--radius);
	background: var(--page);
	color: var(--ink);
}

.field {
	display: grid;
	gap: 6px;
	margin-bottom: 18px;
}

.field label {
	font-size: 0.9375rem;
	font-weight: 700;
}

.field__opt {
	color: var(--ink-2);
	font-weight: 400;
}

.field input,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.4;
}

.field textarea {
	resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
	border-color: var(--navy);
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.field.is-invalid input,
.field.is-invalid textarea {
	border-color: var(--error);
}

.field-row {
	display: grid;
	gap: 0 16px;
}

.field-hint {
	color: var(--ink-2);
	font-size: 0.875rem;
}

.field-error {
	color: var(--error);
	font-size: 0.875rem;
	font-weight: 650;
}

.form-error {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-left: 3px solid var(--error);
	background: oklch(0.96 0.03 27);
	font-weight: 650;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-note {
	margin-top: 14px;
	color: var(--ink-2);
	font-size: 0.875rem;
}

.form-success {
	display: grid;
	gap: 12px;
}

.form-success__icon {
	width: 44px;
	height: 44px;
	color: var(--ok);
}

.form-success .title {
	color: var(--navy);
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}

.form-success .lead {
	color: var(--ink);
}

@media (min-width: 560px) {
	.field-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.quote__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(48px, 6vw, 96px);
		align-items: start;
		padding-left: var(--rail);
	}

	/* The riser's last few centimetres, capped off inside the panel. */
	.quote::before,
	.quote::after {
		content: "";
		position: absolute;
		top: 0;
		width: var(--pipe);
		height: 56px;
		border-radius: 0 0 2px 2px;
	}

	.quote::before {
		left: var(--edge);
		background: var(--flow);
	}

	.quote::after {
		left: calc(var(--edge) + 9px);
		background: var(--blue-300);
	}
}

/* ------------------------------------------------------------------ footer */

.site-footer {
	padding-block: clamp(56px, 7vw, 96px) calc(32px + 76px);
	background: var(--blue-900);
	color: var(--on-dark-2);
	font-size: 1rem;
}

.site-footer a {
	text-decoration: none;
}

@media (hover: hover) {
	.site-footer a:hover {
		color: #fff;
		text-decoration: underline;
	}
}

.foot {
	display: grid;
	gap: 40px;
}

.foot__logo {
	display: inline-block;
}

.foot__logo .logo__img {
	height: 64px;
}

.foot__brand p {
	max-width: 36ch;
	margin-top: 20px;
}

.foot__title {
	margin-bottom: 14px;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
}

.foot ul {
	display: grid;
	gap: 2px;
}

.foot li > a,
.foot li > address,
.foot li:not(:has(a, address)) {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

.foot__split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 24px;
	align-items: start;
}

.foot__phone {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.foot__email {
	overflow-wrap: anywhere;
}

.foot__legal {
	display: grid;
	gap: 24px;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line-dark);
}

.foot__gas {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-weight: 650;
	line-height: 1.3;
}

.foot__gas a {
	text-decoration: underline;
}

.foot__gas-logo {
	width: 48px;
	height: auto;
	flex: none;
	border-radius: 2px;
}

.foot__small {
	display: grid;
	gap: 10px;
	max-width: 96ch;
	font-size: 0.8125rem;
	line-height: 1.55;
}

.foot__sig {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 32px;
	font-size: 0.875rem;
}

.foot__sig a {
	text-decoration: underline;
}

@media (min-width: 700px) {
	.foot {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.site-footer {
		padding-bottom: 32px;
	}

	.foot__legal {
		grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
		gap: 48px;
		align-items: start;
	}
}

@media (min-width: 1100px) {
	.foot {
		grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 3.2fr);
		gap: 48px;
	}
}

/* ------------------------------------------------------------------ inner pages */

.phero {
	padding-top: calc(var(--header-h) + clamp(20px, 5vw, 72px));
	padding-bottom: clamp(40px, 6vw, 80px);
}

.phero__grid {
	display: grid;
	gap: 28px;
}

.phero__title {
	max-width: 18ch;
	font-size: clamp(2.125rem, 1.3rem + 3.6vw, 4rem);
	line-height: 1;
}

.phero__intro {
	max-width: 50ch;
	margin-top: 20px;
	color: var(--ink-2);
	font-size: clamp(1.125rem, 1.06rem + 0.35vw, 1.3125rem);
	line-height: 1.5;
}

@media (min-width: 1000px) {
	.phero__copy {
		padding-left: var(--rail);
	}

	.phero--photo .phero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 48px;
		align-items: center;
	}
}

.body__grid {
	display: grid;
	gap: 48px;
}

.body--plain {
	padding-top: 0;
}

.side {
	display: grid;
	gap: 24px;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--tint);
}

.side__pull {
	color: var(--navy);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.side__cta {
	display: grid;
	gap: 8px;
	justify-items: start;
}

.side .ticks {
	font-size: 1rem;
}

@media (min-width: 1000px) {
	.body__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		gap: clamp(48px, 6vw, 88px);
		align-items: start;
	}

	.side {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.prose {
	max-width: 68ch;
}

.prose--job {
	max-width: 76ch;
}

.prose > * + * {
	margin-top: 1.05em;
}

.prose h2 {
	margin-top: 1.9em;
	color: var(--navy);
	font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
	text-wrap: balance;
}

.prose > h2:first-child {
	margin-top: 0;
}

.prose h3 {
	margin-top: 1.6em;
	color: var(--navy);
	font-size: 1.25rem;
	font-weight: 750;
	line-height: 1.2;
}

.prose a {
	color: var(--navy);
	font-weight: 650;
}

.prose ul,
.prose ol {
	display: grid;
	gap: 0.5em;
}

.prose ul > li {
	position: relative;
	padding-left: 28px;
}

.prose ul > li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 14px;
	height: var(--pipe);
	background: var(--flow);
}

.prose ol {
	counter-reset: step;
}

.prose ol > li {
	position: relative;
	padding-left: 40px;
	counter-increment: step;
}

.prose ol > li::before {
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	color: var(--flow);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.prose figure img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.prose .pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-block: 1.8em;
}

.prose .pair > * {
	margin: 0;
}

.prose .pair img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.prose .pair img[src*="thermal"] {
	aspect-ratio: 4 / 3;
}

.details {
	border-top: 2px solid var(--navy);
}

.details > div {
	display: grid;
	grid-template-columns: 7em minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.details dt {
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.details dd {
	font-weight: 650;
	overflow-wrap: anywhere;
}

.review-list {
	border-top: 2px solid var(--navy);
}

.review {
	display: grid;
	gap: 12px;
	padding-block: 28px;
	border-bottom: 1px solid var(--line-strong);
	break-inside: avoid;
}

.review blockquote > * + * {
	margin-top: 0.8em;
}

.review__by {
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.review__name {
	color: var(--ink);
	font-weight: 700;
}

@media (min-width: 900px) {
	.review-list {
		columns: 2;
		column-gap: clamp(40px, 5vw, 72px);
		border-top: 0;
	}

	.review {
		border-top: 2px solid var(--navy);
		border-bottom: 0;
		margin-bottom: 24px;
	}
}

.shots {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 16px;
}

.shot__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.shot__cap {
	margin-top: 10px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
}

.shot__link .shot__cap {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (min-width: 600px) {
	.shots {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 24px;
	}
}

@media (min-width: 1000px) {
	.shots {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.filters__btn {
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: transparent;
	font-size: 0.9375rem;
	font-weight: 650;
	cursor: pointer;
	transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
}

.filters__btn[aria-pressed="true"] {
	border-color: var(--navy);
	background: var(--return);
	color: #fff;
}

.joblist {
	border-top: 2px solid var(--navy);
}

.jobrow {
	display: grid;
	gap: 20px;
	padding-block: 28px;
	border-bottom: 1px solid var(--line-strong);
	color: inherit;
	text-decoration: none;
}

.jobrow .job__type {
	margin-top: 0;
}

@media (min-width: 800px) {
	.jobrow {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 40px;
		align-items: center;
	}
}

/* ------------------------------------------------------------------ call bar (phones) */

.callbar {
	position: fixed;
	z-index: 40;
	inset: auto 0 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--page);
	box-shadow: 0 -1px 0 var(--line);
	transform: translateY(110%);
	transition: transform 240ms var(--ease);
}

.callbar.is-shown {
	transform: none;
}

.callbar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 60px;
	border-left: 1px solid var(--line);
	color: var(--navy);
	font-size: 1rem;
	font-weight: 750;
	text-decoration: none;
}

.callbar a:first-child {
	border-left: 0;
}

.callbar .icon {
	color: var(--flow);
}

.callbar .callbar__quote {
	border-left: 0;
	background: var(--flow);
	color: #fff;
}

@media (min-width: 1000px) {
	.callbar {
		display: none;
	}
}

/* ------------------------------------------------------------------ WhatsApp button (wide screens) */

.wa-float {
	display: none;
}

@media (min-width: 1000px) {
	.wa-float {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		position: fixed;
		z-index: 40;
		right: 20px;
		bottom: 20px;
		min-height: 48px;
		padding: 0 18px;
		border-radius: 999px;
		background: #fff;
		color: var(--navy);
		font-size: 0.9375rem;
		font-weight: 750;
		text-decoration: none;
		box-shadow: 0 1px 2px rgb(2 33 61 / 0.12), 0 12px 28px -10px rgb(2 33 61 / 0.4);
		transition: transform 240ms var(--ease), opacity 150ms ease-in-out;
	}

	.js .wa-float:not(.is-shown) {
		opacity: 0;
		transform: translateY(12px);
		pointer-events: none;
	}

	.wa-float .icon {
		color: #1a9f4b;
	}
}

/* ------------------------------------------------------------------ motion */

/* One designed moment: the pipes draw from the photo to the riser as the page opens. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
	.pipe--a {
		animation: draw-a 900ms var(--ease) 250ms both;
	}

	.pipe--b {
		animation: draw-b 320ms linear 1050ms both;
	}
}

@keyframes draw-a {
	from { clip-path: inset(0 0 0 100%); }
	to { clip-path: inset(0 0 0 0); }
}

@keyframes draw-b {
	from { clip-path: inset(0 0 100% 0); }
	to { clip-path: inset(0 0 0 0); }
}

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

@media print {
	.site-header,
	.callbar,
	.menu,
	.run__riser {
		display: none !important;
	}
}
