/* Weiss Masonry — the stylesheet for all 14 pages. Made 2026-09-16.
   See "The new design" in README.md. */

:root {
	--slate: #26292b;
	--granite: #5b5f62;
	--ochre: #a9772f;
	--ochre-text: #8a5f1e;
	--ochre-light: #e6c98f;
	--rule: #e4e6e3;
	--mortar: #edeeec;
	--half-bat: #8c8f8b;
	--white: #ffffff;
	--lichen: #52701f;
	--lichen-dark: #435c18;

	--display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 48px);
	--content: 75rem;
	--joint: 10px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--slate);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--lichen);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--lichen-dark);
}

:focus-visible {
	outline: 3px solid var(--lichen);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

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

.wrap {
	max-width: calc(var(--content) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--mortar);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

.site-logo img {
	height: 48px;
	width: auto;
	mix-blend-mode: multiply;
}

.main-nav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	display: block;
	padding: 10px 14px;
	font-size: 16px;
	font-weight: 600;
	color: var(--slate);
	text-decoration: none;
}

.main-nav a:hover {
	color: var(--lichen);
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.burger-bar,
.burger-bar::before,
.burger-bar::after {
	position: relative;
	display: block;
	width: 26px;
	height: 2px;
	margin-inline: auto;
	background: var(--slate);
	transition: transform 0.2s ease;
}

.burger-bar::before,
.burger-bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.burger-bar::before {
	top: -8px;
}

.burger-bar::after {
	top: 8px;
}

.burger[aria-expanded="true"] .burger-bar {
	background: transparent;
}

.burger[aria-expanded="true"] .burger-bar::before {
	top: 0;
	transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger-bar::after {
	top: 0;
	transform: rotate(-45deg);
}

.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	visibility: hidden;
	opacity: 0;
	transition:
		opacity 0.25s ease,
		visibility 0s linear 0.25s;
}

.menu-overlay.is-open {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.25s ease;
}

.menu-overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(38, 41, 43, 0.4);
}

.menu-overlay-panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(360px, 90%);
	height: 100%;
	overflow-y: auto;
	padding: 76px 24px 20px;
	background: var(--white);
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

.menu-overlay.is-open .menu-overlay-panel {
	transform: none;
}

.menu-overlay ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-overlay nav a {
	display: block;
	padding: 14px 0;
	font-family: var(--display);
	font-size: 23px;
	font-weight: 700;
	color: var(--slate);
	text-decoration: none;
	border-bottom: 1px solid var(--rule);
}

/* The contact card fills the space under the links, so a call is one tap away. */
.menu-contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: auto;
	padding: 22px 20px;
	border-radius: 6px;
	background: var(--slate);
	color: var(--white);
}

.menu-contact .eyebrow {
	margin: 0;
	font-size: 12px;
}

.menu-contact a {
	color: var(--white);
}

.menu-phone {
	font-family: var(--display);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.menu-email {
	font-size: 16px;
}

.menu-contact .button {
	justify-content: center;
	margin-top: 6px;
}

.menu-meta {
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: #c4c8ca;
}

/* The phone number in the header, as text. */
.header-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 12px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--slate);
	text-decoration: none;
	white-space: nowrap;
}

.header-phone svg {
	flex: none;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--ochre);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-phone-text {
	display: flex;
	flex-direction: column;
}

.header-phone-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--granite);
}

.header-phone:hover {
	color: var(--lichen);
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, calc(100svh - 68px), 820px);
	color: var(--white);
	isolation: isolate;
}

.hero-photo {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 62%;
}

/* Two washes of slate: up from the bottom, and in from the left, where the
   text sits. The sky and the top of the steps stay clear. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			to top,
			rgba(20, 22, 23, 0.9) 0%,
			rgba(20, 22, 23, 0.62) 34%,
			rgba(20, 22, 23, 0) 68%
		),
		linear-gradient(to right, rgba(20, 22, 23, 0.62) 0%, rgba(20, 22, 23, 0.35) 35%, rgba(20, 22, 23, 0) 62%);
}

.hero-inner {
	width: 100%;
}

.hero-text {
	padding-block: 96px 72px;
	text-shadow: 0 1px 12px rgba(20, 22, 23, 0.35);
}

.hero h1 {
	max-width: 11.5em;
	font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.75rem);
}

.hero-lead {
	margin: 20px 0 0;
	font-size: clamp(18px, 1rem + 0.4vw, 22px);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	max-width: 27em;
	text-wrap: pretty;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.button {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 4px;
	font-size: 17px;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}

.button-primary {
	background: var(--lichen);
	color: var(--white);
}

.button-primary:hover {
	background: var(--lichen-dark);
	color: var(--white);
}


.button-primary {
	text-shadow: none;
}

.button-ghost {
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
	text-shadow: none;
}

.button-ghost:hover {
	background: var(--white);
	color: var(--slate);
}

.button-outline {
	color: var(--slate);
	box-shadow: inset 0 0 0 1.5px var(--slate);
}

.button-outline:hover {
	background: var(--slate);
	color: var(--white);
}

/* A small label above a heading, in the ochre of the logo. */
.eyebrow {
	display: block;
	margin: 0 0 12px;
	font-family: var(--display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ochre-text);
}

.hero .eyebrow,
.contact .eyebrow,
.menu-contact .eyebrow {
	color: var(--ochre-light);
}

.hero .eyebrow {
	margin-bottom: 18px;
	text-shadow: none;
}

/* ---------- Trust strip ---------- */

.trust {
	background: var(--mortar);
	border-bottom: 1px solid #dfe1de;
}

.trust-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 40px;
	margin: 0 auto;
	padding-block: 30px;
	list-style: none;
}

.trust-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.trust-list svg {
	flex: none;
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--lichen);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Section heads ---------- */

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 40px;
}

.section-head h2 {
	font-size: clamp(2rem, 1.3rem + 1.8vw, 2.9rem);
}

/* A gallery heading links to its service page. It keeps the heading look, and
   turns green only on hover. */
.section-head h2 a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

.section-head h2 a:hover {
	color: var(--lichen);
}

.section-head > a {
	font-weight: 700;
}

/* ---------- Services grid ---------- */

.services {
	padding-block: 96px 88px;
}

.services-page {
	padding-block: 64px;
	background: var(--mortar);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-grid li {
	display: flex;
}

.service-tile {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid #dfe1de;
	border-radius: 6px;
	background: var(--white);
	color: var(--slate);
	text-decoration: none;
}

.service-tile img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--half-bat);
	transition: transform 0.5s ease;
}

.service-tile span {
	padding: 14px 16px 16px;
	font-family: var(--display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

.service-tile:hover {
	color: var(--lichen);
}

.service-tile:hover img {
	transform: scale(1.04);
}

.service-tile-more {
	justify-content: flex-end;
	gap: 10px;
	min-height: 220px;
	padding: 24px;
	border-color: var(--slate);
	background: var(--slate);
	color: var(--white);
}

.service-tile-more span {
	padding: 0;
	font-size: 22px;
	line-height: 1.15;
}

.service-tile-more small {
	font-size: 15px;
	color: #c4c8ca;
}

.service-tile-more:hover {
	background: #33373a;
	color: var(--white);
}

/* Photograph tiles with the name on a solid bar: related services. */
.tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	color: var(--white);
	text-decoration: none;
	background: var(--slate);
}

.tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.tile-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 18px;
	background: rgba(20, 22, 23, 0.8);
	font-family: var(--display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.tile:hover {
	color: var(--white);
}

.tile:hover img {
	transform: scale(1.04);
}

/* ---------- Featured projects ---------- */

.featured {
	padding-block: 96px;
	background: var(--mortar);
	scroll-margin-top: 68px;
}

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	margin-bottom: 56px;
}

.feature-photo {
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: var(--half-bat);
}

.feature-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.feature-photo:hover img {
	transform: scale(1.02);
}

.feature-text h2 {
	font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.6rem);
}

.feature-text p {
	margin: 18px 0 0;
	font-size: 18px;
	line-height: 1.55;
	color: #3f4346;
}

.feature-text .eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ochre-text);
}

.feature-text .feature-services {
	font-size: 15px;
	color: var(--granite);
}

.feature-text a {
	display: inline-block;
	margin-top: 18px;
	font-weight: 700;
}

.project-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.project-list a {
	display: flex;
	flex-direction: column;
	color: var(--slate);
	text-decoration: none;
}

.project-list img {
	width: 100%;
	height: 300px;
	margin-bottom: 16px;
	border-radius: 6px;
	object-fit: cover;
	background: var(--half-bat);
}

.project-list .eyebrow {
	margin-bottom: 6px;
}

.project-title {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.project-list a:hover .project-title {
	color: var(--lichen);
}

/* ---------- About, and how a job goes ---------- */

.about {
	padding-block: 96px;
	scroll-margin-top: 68px;
}

.about-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 64px;
	align-items: center;
}

.about-text h2 {
	font-size: clamp(2rem, 1.3rem + 1.6vw, 2.75rem);
}

.about-text p {
	margin: 20px 0 0;
	max-width: 32em;
	font-size: 18px;
	line-height: 1.55;
	color: #3f4346;
}

.about-text .eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ochre-text);
}

.about-photo {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	object-fit: cover;
	background: var(--half-bat);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 64px 0 0;
	padding: 48px 0 0;
	border-top: 1px solid var(--rule);
	list-style: none;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	display: block;
	margin-bottom: 12px;
	font-family: var(--display);
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	color: var(--ochre);
}

.steps h3 {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.steps p {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: #3f4346;
}

/* ---------- Reviews on the homepage ---------- */

.reviews-home {
	padding-block: 88px 96px;
	background: var(--mortar);
}

.review-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 64px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.review-list figure {
	margin: 0;
}

/* A large ochre quote mark stands in for the box around each review. */
.review-list figure::before {
	content: "\201C";
	display: block;
	height: 44px;
	font-family: var(--display);
	font-size: 76px;
	font-weight: 800;
	line-height: 1;
	color: var(--ochre);
}

.review-list blockquote {
	margin: 0;
}

.review-list blockquote p {
	margin: 0;
	font-size: clamp(1.2rem, 1rem + 0.6vw, 1.4rem);
	line-height: 1.45;
	text-wrap: pretty;
}

.review-list figcaption {
	margin-top: 18px;
	font-weight: 700;
}

.review-list figcaption span {
	font-weight: 400;
	color: var(--granite);
}

/* ---------- Contact ---------- */

.contact {
	padding-block: 96px;
	background: var(--slate);
	color: var(--white);
}

.contact-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px 64px;
	align-items: end;
}

.contact h1,
.contact h2 {
	font-size: clamp(2.1rem, 1.3rem + 2vw, 3rem);
}

.contact-lead {
	margin: 18px 0 0;
	max-width: 28em;
	font-size: 18px;
	line-height: 1.55;
	color: #c4c8ca;
}

.contact a {
	color: var(--white);
}

.contact-phone {
	display: block;
	font-family: var(--display);
	font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.6rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.contact-phone:hover {
	color: #dfe7cf;
}

.contact-email {
	display: inline-block;
	margin-top: 12px;
	font-size: 21px;
}

/* A full-width Call button, on a phone only. */
.contact .contact-call {
	display: none;
}

.contact-meta {
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: #c4c8ca;
}

/* ---------- Footer ---------- */

/* Name, services, contact details and licence on every page. Local search reads
   these details, and visitors look for them here. */

.site-footer {
	padding-block: 64px 32px;
	font-size: 16px;
	color: var(--slate);
	border-top: 1px solid var(--mortar);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 0.8fr);
	gap: 40px;
}

.footer-brand img {
	width: auto;
	height: 52px;
	mix-blend-mode: multiply;
}

.footer-brand p {
	margin: 14px 0 0;
	max-width: 22em;
	color: var(--granite);
}

.footer-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col li {
	padding-block: 3px;
}

.footer-col a {
	color: var(--slate);
}

.footer-col a:hover {
	color: var(--lichen);
}

.footer-note {
	color: var(--granite);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--mortar);
	font-size: 15px;
	color: var(--granite);
}

/* ---------- Current page in the menu ---------- */

.main-nav a[aria-current="page"] {
	color: var(--lichen);
	box-shadow: inset 0 -2px 0 var(--lichen);
}

.menu-overlay a[aria-current="page"] {
	color: var(--lichen);
}

/* ---------- Inside pages: title and text ---------- */

.page-head {
	padding-block: 56px 48px;
}

.breadcrumbs {
	margin: 0 0 16px;
	font-size: 15px;
	color: var(--granite);
}

.breadcrumbs a {
	color: var(--granite);
}

.breadcrumbs a:hover {
	color: var(--lichen);
}

.page-head h1 {
	max-width: 16em;
	font-size: clamp(2.3rem, 1.2rem + 2.6vw, 3.5rem);
}

.lead {
	margin: 18px 0 0;
	max-width: 34em;
	font-size: 20px;
	line-height: 1.5;
	color: var(--granite);
}

.prose {
	max-width: 40rem;
	margin-top: 24px;
}

.prose p {
	margin: 0 0 1em;
}

.prose p:first-child {
	font-size: 20px;
	line-height: 1.5;
}

.prose p:last-child {
	margin-bottom: 0;
}

/* The phone number and email address in running text: the colour of the text,
   underlined, so they read as part of the sentence and still look tappable. */
.plain-link {
	color: inherit;
	text-decoration-color: rgba(38, 41, 43, 0.35);
}

.plain-link:hover {
	color: var(--lichen);
	text-decoration-color: currentColor;
}

/* ---------- Service pages: lead photograph, side card, related work ---------- */

.lead-photo {
	display: block;
	overflow: hidden;
	line-height: 0;
	background: var(--half-bat);
}

.lead-photo img {
	width: 100%;
	height: clamp(300px, 40vw, 540px);
	object-fit: cover;
	transition: transform 0.5s ease;
}

.lead-photo:hover img {
	transform: scale(1.02);
}

.service-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 64px;
	align-items: start;
	padding-block: 48px 72px;
}

.service-body .prose {
	margin-top: 0;
}

.service-card {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid #dfe1de;
	border-radius: 6px;
}

.service-card h2 {
	font-size: 24px;
	line-height: 1.2;
}

.service-card p {
	margin: 10px 0 0;
	font-size: 16px;
	color: var(--granite);
}

.service-card .button {
	justify-content: center;
	width: 100%;
	margin-top: 12px;
}

/* "Good for" and "Pairs with", under the text of a service page. */
.service-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	margin: 28px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--rule);
}

.service-facts dt {
	font-family: var(--display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ochre-text);
}

.service-facts dd {
	margin: 4px 0 0;
	font-size: 16px;
}

.service-card-meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 22px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--mortar);
	list-style: none;
	font-size: 15px;
}

.service-card-meta a {
	margin-left: 8px;
	font-weight: 600;
}

.related {
	padding-block: 80px;
	border-top: 1px solid var(--mortar);
}

.bond-plain {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--joint);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Photographs, on the mortar band ---------- */

.photos {
	padding-block: 64px 72px;
	background: var(--mortar);
}

.photos h2 {
	font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
}

.photos .section-head {
	margin-bottom: 24px;
}

.gallery-section + .gallery-section {
	margin-top: 72px;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--joint);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery a {
	display: block;
	overflow: hidden;
	line-height: 0;
	background: var(--half-bat);
}

.gallery img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery a:hover img {
	transform: scale(1.04);
}

/* Service pages: photographs with captions, three across, in 4:3. */
.gallery.photo-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 20px;
}

.photo-grid figure {
	margin: 0;
}

.photo-grid a {
	border-radius: 6px;
}

.gallery.photo-grid img {
	aspect-ratio: 4 / 3;
}

.photo-grid figcaption {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.45;
	color: #3f4346;
}

.more-photos {
	margin-top: 32px;
}

.more-photos summary {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1.5px var(--slate);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.more-photos summary:hover {
	background: var(--slate);
	color: var(--white);
}

.more-photos[open] summary {
	margin-bottom: 28px;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 32px 0 0;
	font-weight: 650;
}

/* Filter buttons: one service at a time, with its number of photographs. */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 22px;
	white-space: nowrap;
	background: var(--white);
	box-shadow: inset 0 0 0 1.5px var(--half-bat);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	color: var(--slate);
	cursor: pointer;
}

.filter:hover {
	color: var(--lichen);
	box-shadow: inset 0 0 0 1.5px var(--lichen);
}

.filter.is-on {
	background: var(--slate);
	color: var(--white);
	box-shadow: none;
}

.filter-count {
	font-size: 15px;
	font-weight: 400;
	color: var(--granite);
}

.filter.is-on .filter-count {
	color: #c4c8ca;
}

.shown-count {
	display: block;
	margin: 0 0 24px;
	font-size: 16px;
	color: var(--granite);
}

/* Photographs at their own shape, in columns. */
.gallery-natural {
	display: block;
	column-count: 3;
	column-gap: var(--joint);
}

.gallery-natural li {
	break-inside: avoid;
	margin-bottom: 28px;
}

.gallery-natural figure {
	margin: 0;
}

.gallery-natural img {
	width: 100%;
	height: auto;
	aspect-ratio: auto;
}

.gallery-natural figcaption {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.45;
}

/* The gallery sections are targets of the jump links; keep them clear of the
   sticky header. */
.gallery-section {
	scroll-margin-top: 96px;
}

/* ---------- Services page ---------- */

.service-more {
	padding-block: 72px;
}

.two-col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px 72px;
}

.two-col h2 {
	margin-bottom: 20px;
	font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
}

.service-list {
	columns: 2;
	column-gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-list li {
	padding: 10px 0;
	border-top: 1px solid var(--mortar);
	break-inside: avoid;
}

.concrete h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 650;
	line-height: 1.25;
}

.concrete p {
	margin: 0;
	max-width: 34em;
}

.concrete p + h3 {
	margin-top: 28px;
}

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

.reviews {
	padding-block: 0 88px;
}

.review-item {
	max-width: 46rem;
	margin: 0;
	padding-block: 40px;
	border-top: 1px solid var(--mortar);
}

.review-item blockquote {
	margin: 0;
}

.review-item blockquote p {
	margin: 0;
	font-size: clamp(1.25rem, 1rem + 0.7vw, 1.55rem);
	line-height: 1.45;
	text-wrap: pretty;
}

.review-item figcaption {
	margin-top: 20px;
	font-weight: 650;
}

.review-item figcaption span {
	font-weight: 400;
	color: var(--granite);
}

.reviews .more {
	display: inline-block;
	margin-top: 8px;
	font-weight: 650;
}

/* ---------- Page not found ---------- */

.not-found-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
	gap: 64px;
	align-items: center;
	padding-block: 72px 88px;
}

.not-found-code {
	margin: 0;
	font-size: 16px;
	font-weight: 650;
	color: var(--granite);
}

.not-found h1 {
	margin: 8px 0 0;
	font-size: clamp(2.3rem, 1.2rem + 2.6vw, 3.5rem);
}

.not-found .lead {
	margin: 16px 0 0;
}

.not-found .actions {
	margin-top: 28px;
}

.not-found-title {
	margin: 44px 0 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
}

.not-found-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 32px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.not-found-photo img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	background: var(--half-bat);
}

/* ---------- Scroll to top ---------- */

.scroll-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	background: var(--lichen);
	color: var(--white);
	box-shadow: 0 2px 8px rgba(20, 22, 23, 0.25);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s ease,
		visibility 0s linear 0.25s;
}

.scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease;
}

.scroll-top:hover {
	background: var(--lichen-dark);
	color: var(--white);
}

.scroll-top svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ---------- Lightbox ---------- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(20, 22, 23, 0.97);
}

.lightbox.is-open {
	display: flex;
	overscroll-behavior: contain;
	touch-action: pan-y pinch-zoom;
}

.lightbox img {
	display: block;
	max-width: min(var(--photo-width, 100vw), calc(100vw - 120px));
	max-height: min(var(--photo-height, 100vh), calc(100vh - 100px));
	width: auto;
	height: auto;
	object-fit: contain;
	background: var(--slate);
}

.lightbox-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 14px 70px;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	color: var(--white);
}

.lightbox button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
	color: var(--white);
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.lightbox button:hover,
.lightbox button:focus {
	opacity: 1;
}

.lightbox button:focus-visible {
	outline: 3px solid var(--white);
	outline-offset: 0;
}

.lightbox button svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lightbox-close {
	top: 8px;
	right: 8px;
}

.lightbox-prev,
.lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-prev {
	left: 8px;
}

.lightbox-next {
	right: 8px;
}

@media (max-width: 1023px) {
	.header-phone {
		display: none;
	}

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

	.gallery-natural {
		column-count: 2;
	}
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 899px) {
	.main-nav {
		display: none;
	}

	.burger {
		display: block;
	}

	.header-inner {
		height: 56px;
	}

	.site-logo img {
		height: 40px;
	}

	.hero {
		min-height: max(600px, calc(100svh - 56px));
	}

	/* The text covers the lower two-thirds on a phone. Crop off most of the sky,
	   so the house and the top wall sit in the clear part above the headline. */
	.hero-photo {
		overflow: hidden;
	}

	.hero-photo img {
		height: 128%;
		object-position: 55% 50%;
		transform: translateY(-22%);
	}

	.hero h1 {
		font-size: clamp(2.1rem, 1.2rem + 3.6vw, 2.8rem);
	}

	.hero::before {
		background: linear-gradient(
			to top,
			rgba(20, 22, 23, 0.92) 0%,
			rgba(20, 22, 23, 0.72) 45%,
			rgba(20, 22, 23, 0.1) 80%,
			rgba(20, 22, 23, 0) 100%
		);
	}

	.hero-text {
		padding-block: 72px 32px;
	}

	.trust-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding-block: 20px;
	}

	.trust-list li {
		font-size: 15px;
	}

	.trust-list svg {
		width: 24px;
		height: 24px;
	}

	.services,
	.featured,
	.about,
	.reviews-home,
	.contact {
		padding-block: 56px;
	}

	.section-head {
		margin-bottom: 28px;
	}

	.service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.service-tile span {
		padding: 10px 12px 12px;
		font-size: 15px;
	}

	.service-tile-more {
		min-height: 0;
		padding: 16px;
	}

	.service-tile-more span {
		padding: 0;
		font-size: 17px;
	}

	.service-tile-more small {
		font-size: 13px;
	}

	.tile-name {
		padding: 10px 12px;
		font-size: 16px;
	}

	.feature,
	.about-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.feature {
		margin-bottom: 40px;
	}

	.feature-text p {
		font-size: 16px;
	}

	.project-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.project-list img {
		height: 240px;
	}

	.featured .button-outline {
		display: flex;
		justify-content: center;
	}

	.about-text p {
		font-size: 16px;
	}

	.steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-top: 32px;
		padding-top: 28px;
	}

	.steps li {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 12px;
	}

	.steps li::before {
		grid-row: span 2;
		margin: 0;
		font-size: 32px;
	}

	.steps h3 {
		font-size: 19px;
	}

	.steps p {
		font-size: 15px;
	}

	.review-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.contact-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.contact-lead {
		font-size: 16px;
	}

	.contact .contact-call {
		display: flex;
		justify-content: center;
		margin-top: 20px;
	}

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

	/* The filters sit in one row that scrolls sideways, so the first photograph
	   shows on the first screen. */
	.filters {
		flex-wrap: nowrap;
		gap: 8px;
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		padding-bottom: 4px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.filters::-webkit-scrollbar {
		display: none;
	}

	.filters li {
		flex: none;
	}

	.page-head {
		padding-block: 40px 36px;
	}

	.photos {
		padding-block: 48px 56px;
	}

	.service-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-block: 28px 44px;
	}

	.service-card {
		position: static;
		padding: 24px;
	}

	.lead-photo img {
		height: clamp(220px, 56vw, 380px);
	}

	.related {
		padding-block: 56px;
	}

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

	.gallery-section + .gallery-section {
		margin-top: 56px;
	}

	.service-more {
		padding-block: 56px;
	}

	.two-col {
		grid-template-columns: minmax(0, 1fr);
	}

	.reviews {
		padding-block: 0 64px;
	}

	.not-found-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-block: 40px 56px;
	}

	.not-found-services {
		grid-template-columns: minmax(0, 1fr);
	}

	.not-found-photo img {
		height: 220px;
	}

	.services-page {
		padding-block: 32px 40px;
	}

	.contact-page {
		padding-block: 64px 72px;
	}

	.scroll-top {
		right: 16px;
		bottom: 16px;
	}
}

@media (max-width: 899px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 32px;
	}

	.site-footer {
		padding-block: 48px 28px;
	}
}

@media (max-width: 599px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

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

	/* One photograph across the screen reads better than two crops. */
	.gallery-natural {
		column-count: 1;
	}

	.gallery-natural li {
		margin-bottom: 24px;
	}

	.gallery.photo-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.service-list {
		columns: 1;
	}

	.lightbox img {
		max-width: min(var(--photo-width, 100vw), 100vw);
		max-height: min(var(--photo-height, 100dvh), calc(100dvh - 140px));
	}

	.lightbox-prev,
	.lightbox-next {
		top: auto;
		bottom: 52px;
		transform: none;
	}

	.lightbox-caption {
		padding: 12px 16px;
	}
}

@media (max-width: 420px) {
	.button {
		flex: 1 1 100%;
		justify-content: center;
	}
}

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

/* ---------- Contact page ---------- */
/* The contact band is the whole page here, so it fills the screen below the header. */

.contact-page {
	padding-block: 104px 112px;
}
