/* Christchurch Scaffolding – main stylesheet. Mobile first. Breakpoints: 700px, 1024px, 1200px. */

:root {
	--accent: #a4161a;
	--accent-dark: #8a0303;
	--accent-deep: #4e0707;
	--dark: #0f1318;
	--darker: #0a0d11;
	--tint: #f4f1f1;
	--ink: #14181d;
	--body: #4a4f56;
	--muted: #6a6f76;
	--line: #e4e1e1;
	--white: #ffffff;
	--font-head: 'Manrope', 'Avenir Next', system-ui, sans-serif;
	--font-body: 'Nunito Sans', 'Avenir Next', system-ui, sans-serif;
	--container: 1240px;
	--gutter: 16px;
	--section-y: 64px;
	--radius: 3px;
	--shadow: 0 18px 40px rgb(15 19 24 / 0.1);
	--edge: max(var(--gutter), calc((100vw - var(--container)) / 2));

	@media (min-width: 700px) {
		--gutter: 24px;
	}

	@media (min-width: 1600px) {
		--container: 1400px;
		--gutter: 32px;
	}

	@media (min-width: 1900px) {
		--container: 1520px;
	}

	@media (min-width: 2400px) {
		--container: 1640px;
	}

	@media (min-width: 1024px) {
		--section-y: 104px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 16px;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

h1,
h2,
h3 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.15;
	color: var(--ink);
	margin: 0;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

a {
	color: var(--ink);
	transition: color 0.2s;

	&:hover {
		color: var(--accent);
	}
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

input,
select,
textarea,
button {
	font: inherit;
}

.icon {
	flex: none;
	display: block;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--white);
	padding: 12px 16px;

	&:focus {
		left: 8px;
		top: 8px;
	}
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px 28px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;

	.icon {
		transition: transform 0.2s;
	}

	&:hover .icon--arrow-right {
		transform: translateX(4px);
	}

	&.btn--accent {
		background: var(--accent);
		color: var(--white);

		&:hover {
			background: var(--dark);
			color: var(--white);
		}
	}

	&.btn--dark {
		background: var(--dark);
		color: var(--white);

		&:hover {
			background: var(--accent);
			color: var(--white);
		}
	}

	&.btn--light {
		background: var(--white);
		color: var(--accent);

		&:hover {
			background: var(--dark);
			color: var(--white);
		}
	}

	&.btn--ghost {
		border-color: rgb(255 255 255 / 0.7);
		color: var(--white);

		&:hover {
			background: var(--white);
			border-color: var(--white);
			color: var(--ink);
		}
	}
}

/* Section heading: accent label with dash marks, then the title */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);

	&::before {
		content: '';
		width: 30px;
		height: 9px;
		flex: none;
		background:
			linear-gradient(var(--accent), var(--accent)) left top / 100% 2px no-repeat,
			linear-gradient(var(--accent), var(--accent)) left bottom / 60% 2px no-repeat;
	}

	&.eyebrow--light {
		color: #ff8a8d;

		&::before {
			background:
				linear-gradient(#ff8a8d, #ff8a8d) left top / 100% 2px no-repeat,
				linear-gradient(#ff8a8d, #ff8a8d) left bottom / 60% 2px no-repeat;
		}
	}
}

.section-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 36px;

	@media (min-width: 1024px) {
		margin-bottom: 52px;
	}

	.section-head__text {
		max-width: 640px;
		color: var(--body);
	}

	&.section-head--center {
		align-items: center;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		max-width: 760px;

		.eyebrow::after {
			content: '';
			width: 30px;
			height: 9px;
			flex: none;
			background:
				linear-gradient(var(--accent), var(--accent)) right top / 100% 2px no-repeat,
				linear-gradient(var(--accent), var(--accent)) right bottom / 60% 2px no-repeat;
		}
	}

	&.section-head--light {
		.section-title {
			color: var(--white);
		}

		.eyebrow {
			color: #ff8a8d;

			&::before {
				background:
					linear-gradient(#ff8a8d, #ff8a8d) left top / 100% 2px no-repeat,
					linear-gradient(#ff8a8d, #ff8a8d) left bottom / 60% 2px no-repeat;
			}
		}
	}
}

.section-title {
	font-size: clamp(30px, 4vw, 46px);
}

.section {
	padding-top: var(--section-y);
	padding-bottom: var(--section-y);

	&.section--tint {
		background: var(--tint);
	}
}

/* Header */
.site-header {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: stretch;
	background: var(--white);
	box-shadow: 0 2px 18px rgb(15 19 24 / 0.08);

	@media (min-width: 1200px) {
		background: linear-gradient(var(--dark) 0 48px, var(--white) 48px);
	}

	.site-header__brand {
		position: relative;
		display: flex;
		align-items: center;
		gap: 12px;
		flex: none;
		padding: 12px 40px 12px var(--gutter);
		background: var(--accent);
		color: var(--white);
		text-decoration: none;
		clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);

		@media (min-width: 1200px) {
			padding: 16px 70px 16px var(--edge);
			clip-path: polygon(0 0, 100% 0, calc(100% - 48px) 100%, 0 100%);
		}

		&:hover {
			color: var(--white);
		}

		.logo-mark {
			width: 34px;
			height: 34px;

			@media (min-width: 1200px) {
				width: 46px;
				height: 46px;
			}

			rect {
				fill: var(--white);
			}

			path {
				stroke: var(--accent);
			}
		}
	}

	.site-header__brand-text {
		display: flex;
		flex-direction: column;
		line-height: 1.1;
	}

	.site-header__name {
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 16px;

		@media (min-width: 1200px) {
			font-size: 22px;
		}
	}

	.site-header__tag {
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		opacity: 0.85;
		margin-top: 4px;

		@media (min-width: 1200px) {
			font-size: 12px;
		}
	}

	.site-header__main {
		flex: 1;
		min-width: 0;
		display: flex;
		flex-direction: column;
	}

	.topbar {
		display: none;

		@media (min-width: 1200px) {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 24px;
			height: 48px;
			padding: 0 var(--edge) 0 12px;
			color: #d6d8db;
			font-size: 15px;
		}

		.icon {
			color: #ff6b70;
		}

		a,
		li,
		.topbar__note {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			color: #d6d8db;
			text-decoration: none;
		}

		a:hover {
			color: var(--white);
		}
	}

	.topbar__list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;

		li + li {
			margin-left: 22px;
			padding-left: 22px;
			border-left: 1px solid rgb(255 255 255 / 0.18);
		}
	}

	.navbar {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 16px;
		padding: 0 var(--gutter) 0 8px;
		min-height: 64px;

		@media (min-width: 1200px) {
			justify-content: flex-start;
			gap: 28px;
			min-height: 86px;
			padding: 0 var(--edge) 0 12px;
		}
	}

	.nav-toggle {
		width: 48px;
		height: 48px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--tint);
		border: 0;
		border-radius: var(--radius);
		color: var(--ink);
		cursor: pointer;

		@media (min-width: 1200px) {
			display: none;
		}
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		padding: 8px var(--gutter) 16px;
		box-shadow: var(--shadow);

		&.is-open {
			display: block;
		}

		@media (min-width: 1200px) {
			display: block;
			position: static;
			margin-right: auto;
			padding: 0 0 0 16px;
			box-shadow: none;
			background: transparent;
		}
	}

	.site-nav__list {
		list-style: none;
		margin: 0;
		padding: 0;

		@media (min-width: 1200px) {
			display: flex;
			gap: 24px;
		}

		@media (min-width: 1500px) {
			gap: 34px;
		}

		a {
			display: flex;
			align-items: center;
			min-height: 48px;
			font-family: var(--font-head);
			font-weight: 800;
			font-size: 15px;
			letter-spacing: 0.03em;
			text-transform: uppercase;
			text-decoration: none;
			white-space: nowrap;
			color: var(--ink);
			border-bottom: 1px solid var(--line);

			@media (min-width: 1200px) {
				position: relative;
				min-height: 86px;
				border-bottom: 0;

				&::after {
					content: '';
					position: absolute;
					left: 0;
					right: 0;
					bottom: 22px;
					height: 2px;
					background: var(--accent);
					transform: scaleX(0);
					transition: transform 0.2s;
				}

				&:hover::after {
					transform: scaleX(1);
				}
			}

			&:hover {
				color: var(--accent);
			}
		}

		.menu-item-type-post_type.current-menu-item > a,
		.current-page-ancestor > a {
			color: var(--accent);

			&::after {
				transform: scaleX(1);
			}
		}
	}

	.navbar__call {
		display: none;

		@media (min-width: 1760px) {
			display: inline-flex;
			align-items: center;
			gap: 12px;
			font-family: var(--font-head);
			font-weight: 800;
			font-size: 17px;
			text-decoration: none;
			white-space: nowrap;
		}

		small {
			display: block;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: 13px;
			color: var(--muted);
		}
	}

	.navbar__call-icon {
		width: 46px;
		height: 46px;
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--tint);
		color: var(--accent);
	}

	.navbar__quote {
		display: none;

		@media (min-width: 700px) {
			display: inline-flex;
		}

		@media (min-width: 1200px) {
			min-height: 58px;
		}
	}
}

.call-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	background: var(--dark);
	color: var(--white);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;

	.icon {
		color: #ff6b70;
	}

	&:hover {
		color: var(--white);
		background: var(--accent);
	}

	@media (min-width: 1200px) {
		display: none;
	}
}

/* Shared dark hero shapes */
.hero__shape {
	position: absolute;
	pointer-events: none;

	&.hero__shape--one {
		inset: 0 auto 0 0;
		width: 100%;
		background: linear-gradient(100deg, rgb(10 13 17 / 0.92) 0%, rgb(10 13 17 / 0.82) 55%, rgb(10 13 17 / 0.25) 100%);

		@media (min-width: 1024px) {
			width: min(100%, calc(var(--edge) + 1080px));
			clip-path: polygon(0 0, 72% 0, 100% 100%, 0 100%);
		}
	}

	&.hero__shape--two {
		display: none;

		@media (min-width: 1024px) {
			display: block;
			top: 0;
			bottom: 0;
			left: calc(var(--edge) + 1000px);
			width: 10px;
			background: var(--accent);
			transform: skewX(16deg);
			opacity: 0.9;
		}
	}
}

/* Homepage hero */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--dark);
	color: var(--white);

	.hero__image {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: rgb(10 13 17 / 0.35);

		@media (min-width: 1024px) {
			background: rgb(10 13 17 / 0.15);
		}
	}

	.hero__shape {
		z-index: 1;
	}

	/* Centred text: an even dark wash replaces the angled overlay. */
	.hero__shape--one {
		width: 100%;
		clip-path: none;
		background: radial-gradient(ellipse at center, rgb(10 13 17 / 0.82) 0%, rgb(10 13 17 / 0.66) 55%, rgb(10 13 17 / 0.45) 100%);
	}

	.hero__shape--two {
		display: none;
	}

	.eyebrow::after {
		content: '';
		width: 30px;
		height: 9px;
		flex: none;
		background:
			linear-gradient(#ff8a8d, #ff8a8d) right top / 100% 2px no-repeat,
			linear-gradient(#ff8a8d, #ff8a8d) right bottom / 60% 2px no-repeat;
	}

	.hero__inner {
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 18px;
		padding-top: 72px;
		padding-bottom: 120px;

		@media (min-width: 1024px) {
			gap: 24px;
			padding-top: 150px;
			padding-bottom: 190px;
		}
	}

	.hero__title {
		color: var(--white);
		font-size: clamp(38px, 6vw, 76px);
		line-height: 1.05;
		max-width: 1240px;
		text-wrap: balance;
	}

	.hero__text {
		font-size: 17px;
		max-width: 860px;
		text-wrap: balance;
		color: #e5e7ea;

		@media (min-width: 1024px) {
			font-size: 19px;
		}
	}

	.hero__actions {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px;
		margin-top: 8px;
	}

	.hero__call {
		display: none;

		@media (min-width: 700px) {
			display: inline-flex;
		}
	}
}

/* Fact tiles over the hero edge */
.facts {
	position: relative;
	z-index: 3;
	margin-top: -64px;

	@media (min-width: 1024px) {
		margin-top: -82px;
	}

	.facts__list {
		list-style: none;
		margin: 0;
		padding: 8px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		background: var(--white);
		border-bottom: 4px solid var(--accent);
		box-shadow: 0 24px 60px rgb(15 19 24 / 0.16), 0 4px 14px rgb(15 19 24 / 0.06);

		@media (min-width: 1024px) {
			grid-template-columns: repeat(4, minmax(0, 1fr));
			padding: 12px 8px;
		}
	}

	.fact {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 18px 14px;

		/* Thin dividers between tiles: a column line and a row line on phones. */
		&:nth-child(2n) {
			border-left: 1px solid var(--line);
		}

		&:nth-child(n + 3) {
			border-top: 1px solid var(--line);
		}

		@media (min-width: 700px) {
			flex-direction: row;
			align-items: center;
			gap: 16px;
			padding: 24px 22px;
		}

		@media (min-width: 1024px) {
			&:nth-child(n + 3) {
				border-top: 0;
			}

			& + .fact {
				border-left: 1px solid var(--line);
			}
		}
	}

	.fact__icon {
		width: 56px;
		height: 56px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--tint);
		color: var(--accent);
		border-radius: var(--radius);
	}

	.fact__body {
		display: flex;
		flex-direction: column;
		line-height: 1.35;
	}

	.fact__value {
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 19px;
		color: var(--ink);

		@media (min-width: 700px) {
			font-size: 21px;
		}
	}

	.fact__label {
		font-size: 14px;
		color: var(--muted);
	}
}

/* Service cards */
.services {
	padding-top: calc(var(--section-y) - 8px);

	.services__grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 48px 28px;

		@media (min-width: 700px) {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		@media (min-width: 1024px) {
			grid-template-columns: repeat(3, minmax(0, 1fr));
			gap: 56px 30px;
		}
	}
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;

	.service-card__media {
		display: block;
		height: 230px;
		overflow: hidden;
		background: var(--tint);

		@media (min-width: 1024px) {
			height: 260px;
		}

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform 0.5s ease;
		}
	}

	.service-card__panel {
		position: relative;
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin: -70px 18px 0;
		padding: 56px 26px 24px;
		background-color: var(--tint);
		background-image: radial-gradient(rgb(164 22 26 / 0.16) 1.2px, transparent 1.5px);
		background-size: 12px 12px;
		transition: background-color 0.3s, box-shadow 0.3s;

		&::before {
			content: '';
			position: absolute;
			inset: 0;
			background: linear-gradient(215deg, transparent 0 18%, var(--tint) 46%);
			pointer-events: none;
			transition: background 0.3s;
		}

		> * {
			position: relative;
		}
	}

	.service-card__badge {
		position: absolute;
		top: -36px;
		left: 26px;
		width: 72px;
		height: 72px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding-top: 10px;
		background: var(--accent);
		color: var(--white);
		clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
		transition: background-color 0.3s;
	}

	.service-card__title {
		font-size: 22px;

		a {
			text-decoration: none;
		}
	}

	.service-card__text {
		color: var(--body);
		font-size: 15.5px;
		line-height: 1.6;
	}

	.service-card__more {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		margin-top: auto;
		padding-top: 16px;
		border-top: 1px solid #dcd6d6;
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 14px;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		text-decoration: none;
		color: var(--accent);

		&:hover {
			color: var(--dark);
		}
	}

}

/* About + how a job runs */
.about {
	.about__inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;

		@media (min-width: 1024px) {
			grid-template-columns: 1.05fr 1fr;
			gap: 64px;
			align-items: center;
		}
	}

	.about__copy {
		display: flex;
		flex-direction: column;
		gap: 18px;

		.section-head {
			margin-bottom: 4px;
		}

		> p {
			color: var(--body);
			font-size: 17px;
		}
	}

	.about__call {
		display: inline-flex;
		align-items: center;
		gap: 14px;
		margin-top: 10px;
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 22px;
		text-decoration: none;
		color: var(--ink);

		small {
			display: block;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: 14px;
			color: var(--muted);
		}
	}

	.about__call-icon {
		width: 58px;
		height: 58px;
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--accent);
		color: var(--white);
		box-shadow: 0 0 0 8px rgb(164 22 26 / 0.12);
	}

	.about__steps {
		position: relative;
		overflow: hidden;
		padding: 34px 24px;
		background: var(--dark);
		color: #d6d8db;

		@media (min-width: 700px) {
			padding: 48px 44px;
		}

		&::before {
			content: '';
			position: absolute;
			top: 0;
			right: 0;
			width: 120px;
			height: 120px;
			background: var(--accent);
			clip-path: polygon(0 0, 100% 0, 100% 100%);
		}

		&::after {
			content: '';
			position: absolute;
			inset: 0;
			background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 14px);
			pointer-events: none;
		}
	}

	.about__steps-title {
		position: relative;
		color: var(--white);
		font-size: 28px;
		margin-bottom: 26px;
	}

	.steps {
		position: relative;
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.step {
		display: flex;
		gap: 18px;
		align-items: flex-start;
	}

	.step__num {
		width: 50px;
		height: 50px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--accent);
		color: var(--white);
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 18px;
	}

	.step__body {
		line-height: 1.55;

		strong {
			display: block;
			color: var(--white);
			font-family: var(--font-head);
			font-size: 18px;
			margin-bottom: 2px;
		}
	}

	.about__note {
		position: relative;
		margin-top: 26px;
		padding-top: 18px;
		border-top: 1px solid rgb(255 255 255 / 0.14);
		font-size: 14.5px;
		color: #b9bcc0;
	}
}

/* Recent jobs */
.projects {
	.projects__head {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-end;
		gap: 20px;
		margin-bottom: 36px;

		@media (min-width: 1024px) {
			margin-bottom: 52px;
		}

		.section-head {
			margin-bottom: 0;
		}
	}

	.projects__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 170px;
		gap: 12px;

		@media (min-width: 1024px) {
			grid-template-columns: 2fr 1fr;
			grid-auto-rows: 260px;
			gap: 20px;
		}
	}

	.project-tile {
		position: relative;
		margin: 0;
		overflow: hidden;
		background: #d9dad6;

		&:first-child {
			grid-column: 1 / -1;
			min-height: 240px;

			@media (min-width: 1024px) {
				grid-column: 1;
				grid-row: 1 / 3;
			}
		}

		&::after {
			content: '';
			position: absolute;
			inset: 0;
			background: linear-gradient(transparent 50%, rgb(10 13 17 / 0.75));
		}

		.project-tile__image {
			position: absolute;
			inset: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform 0.5s ease;
		}

		&:hover .project-tile__image {
			transform: scale(1.05);
		}

		.project-tile__label {
			position: absolute;
			left: 0;
			bottom: 0;
			z-index: 1;
			padding: 10px 16px;
			background: var(--accent);
			color: var(--white);
			font-family: var(--font-head);
			font-weight: 800;
			font-size: 14px;

			@media (min-width: 1024px) {
				padding: 14px 22px;
				font-size: 16px;
			}
		}
	}
}

/* FAQ accordion */
.faq {
	.faq__inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;
	}

	&.faq--has-image .faq__inner {
		@media (min-width: 1024px) {
			grid-template-columns: 1.2fr 1fr;
			gap: 64px;
			align-items: stretch;
		}
	}

	.faq__list {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	.faq__more {
		margin-top: 22px;
		font-weight: 700;
		color: var(--ink);

		a {
			color: var(--accent);
		}
	}

	.faq__media {
		display: none;

		@media (min-width: 1024px) {
			display: block;
			position: relative;

			&::before {
				content: '';
				position: absolute;
				top: -18px;
				right: -18px;
				width: 55%;
				height: 55%;
				background: var(--accent);
			}

			img {
				position: relative;
				width: 100%;
				height: 100%;
				min-height: 460px;
				object-fit: cover;
			}
		}
	}
}

.faq__item,
.wp-block-details {
	background: var(--tint);
	border-left: 3px solid transparent;
	transition: border-color 0.2s, background-color 0.2s;

	summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 18px 20px;
		cursor: pointer;
		list-style: none;
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 17px;
		color: var(--ink);

		&::-webkit-details-marker {
			display: none;
		}

		@media (min-width: 700px) {
			padding: 20px 24px;
			font-size: 18px;
		}
	}

	p {
		margin: 0;
		padding: 0 20px 20px;
		color: var(--body);

		@media (min-width: 700px) {
			padding: 0 24px 22px;
		}
	}

	&[open] {
		background: var(--white);
		border-left-color: var(--accent);
		box-shadow: var(--shadow);
	}
}

.faq__toggle {
	width: 34px;
	height: 34px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--white);
	color: var(--accent);
	transition: transform 0.2s, background-color 0.2s, color 0.2s;

	[open] & {
		transform: rotate(45deg);
		background: var(--accent);
		color: var(--white);
	}
}

/* Areas band */
.areas {
	position: relative;
	overflow: hidden;
	background: var(--accent);
	color: var(--white);
	padding: 44px 0;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 34%;
		background: var(--accent-dark);
		clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
	}

	.areas__inner {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;

		@media (min-width: 1024px) {
			flex-direction: row;
			align-items: center;
			gap: 32px;
		}
	}

	.areas__icon {
		width: 70px;
		height: 70px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 2px solid rgb(255 255 255 / 0.5);
		border-radius: 50%;
	}

	.areas__copy {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.areas__title {
		color: var(--white);
		font-size: 28px;
	}

	.areas__text {
		color: #f6dfe0;
		max-width: 760px;
	}

	.btn {
		flex: none;
	}
}

/* Quote */
.quote {
	position: relative;
	background-color: var(--dark);
	background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 16px);
	color: #d6d8db;

	.quote__inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;

		@media (min-width: 1024px) {
			grid-template-columns: 1fr 1.25fr;
			gap: 64px;
			align-items: center;
		}
	}

	.quote__intro .section-head {
		margin-bottom: 18px;
	}

	.quote__lead {
		font-size: 17px;
		color: #c4c7cb;
	}

	.quote__contacts {
		list-style: none;
		margin: 30px 0 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 18px;

		li {
			display: flex;
			align-items: center;
			gap: 16px;
			font-family: var(--font-head);
			font-weight: 800;
			font-size: 18px;
			color: var(--white);
		}

		small {
			display: block;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: 13.5px;
			color: #9ea2a7;
		}

		a {
			color: var(--white);
			text-decoration: none;

			&:hover {
				color: #ff8a8d;
			}
		}
	}

	.quote__icon {
		width: 54px;
		height: 54px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--accent);
		color: var(--white);
	}
}

.quote-form {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin: 0;
	padding: 30px 20px;
	background: var(--accent);
	color: var(--white);

	@media (min-width: 700px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		padding: 44px 40px;
	}

	&::before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		width: 90px;
		height: 90px;
		background: var(--accent-dark);
		clip-path: polygon(0 0, 100% 0, 100% 100%);
	}

	.quote-form__title {
		position: relative;
		grid-column: 1 / -1;
		color: var(--white);
		font-size: 26px;
		margin-bottom: 4px;
	}

	.field {
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 6px;
		margin: 0;
		font-size: 14.5px;
		font-weight: 700;

		&.field--full {
			grid-column: 1 / -1;
		}
	}

	input,
	textarea {
		width: 100%;
		background: var(--white);
		border: 0;
		border-radius: var(--radius);
		padding: 14px 14px;
		color: var(--ink);
		font-size: 16px;

		&:focus-visible {
			outline: 3px solid var(--dark);
			outline-offset: 0;
		}
	}

	textarea {
		resize: vertical;
	}

	.quote-form__submit {
		width: 100%;

		@media (min-width: 700px) {
			width: auto;
			align-self: flex-start;
		}

		&:hover {
			background: var(--white);
			color: var(--accent);
		}
	}

	.quote-form__hp {
		position: absolute;
		left: -9999px;
		width: 1px;
		height: 1px;
		overflow: hidden;
	}

	.quote-form__notice {
		position: relative;
		grid-column: 1 / -1;
		margin: 0;
		padding: 14px 16px;
		background: var(--white);
		color: var(--ink);
		border-radius: var(--radius);
		font-weight: 700;
	}
}

/* Footer */
.site-footer {
	background: var(--darker);
	color: #a9adb2;
	font-size: 15.5px;

	.site-footer__top {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;
		padding-top: 64px;
		padding-bottom: 56px;

		@media (min-width: 700px) {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		@media (min-width: 1024px) {
			grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
			gap: 48px;
			padding-top: 88px;
			padding-bottom: 72px;
		}
	}

	.site-footer__about {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.site-footer__brand {
		display: inline-flex;
		align-items: center;
		gap: 12px;
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 22px;
		color: var(--white);
		text-decoration: none;

		.logo-mark {
			color: var(--accent);
		}

		&:hover {
			color: var(--white);
		}
	}

	.site-footer__title {
		position: relative;
		color: var(--white);
		font-size: 21px;
		padding-bottom: 14px;
		margin-bottom: 22px;

		&::after {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			width: 44px;
			height: 3px;
			background: var(--accent);
		}
	}

	.site-footer__links {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 4px;

		a {
			display: inline-flex;
			align-items: center;
			gap: 10px;
			min-height: 36px;
			color: #c4c7cb;
			text-decoration: none;

			&::before {
				content: '';
				width: 7px;
				height: 7px;
				flex: none;
				background: var(--accent);
				transform: rotate(45deg);
			}

			&:hover {
				color: var(--white);
			}
		}
	}

	.site-footer__contact {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 14px;

		li {
			display: flex;
			align-items: flex-start;
			gap: 12px;
		}

		.icon {
			color: #ff6b70;
			margin-top: 2px;
		}

		a {
			color: #c4c7cb;
			text-decoration: none;

			&:hover {
				color: var(--white);
			}
		}
	}

	.site-footer__bottom {
		background: #06080b;
		padding: 20px 0;
		font-size: 14.5px;
		text-align: center;
	}
}

/* Service page banner */
.service-hero {
	position: relative;
	overflow: hidden;
	background: var(--dark);
	color: var(--white);

	.service-hero__image {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: rgb(10 13 17 / 0.45);

		@media (min-width: 1024px) {
			background: rgb(10 13 17 / 0.2);
		}
	}

	.hero__shape {
		z-index: 1;
	}

	.service-hero__inner {
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding-top: 48px;
		padding-bottom: 64px;

		@media (min-width: 1024px) {
			padding-top: 80px;
			padding-bottom: 104px;
		}
	}

	.service-hero__badge {
		width: 68px;
		height: 68px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding-top: 10px;
		background: var(--accent);
		color: var(--white);
		clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
	}

	.service-hero__title {
		color: var(--white);
		font-size: clamp(34px, 5vw, 60px);
		max-width: 760px;
	}

	.service-hero__text {
		font-size: 17px;
		max-width: 620px;
		color: #e5e7ea;

		@media (min-width: 1024px) {
			font-size: 18px;
		}
	}

	.service-hero__actions {
		display: flex;
		flex-wrap: wrap;
		gap: 14px;
		margin-top: 6px;
	}
}

.breadcrumb {
	font-size: 14px;
	font-weight: 700;
	color: #c4c7cb;

	ol {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	li + li::before {
		content: '/';
		margin-right: 8px;
		color: #ff6b70;
	}

	a {
		color: #e5e7ea;
		text-decoration: none;

		&:hover {
			color: var(--white);
			text-decoration: underline;
		}
	}
}

/* Generic page banner */
.page-header {
	position: relative;
	overflow: hidden;
	background-color: var(--dark);
	background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.03) 0 2px, transparent 2px 16px);
	padding: 56px 0;

	@media (min-width: 1024px) {
		padding: 88px 0;
	}

	&::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 28%;
		background: var(--accent);
		clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
	}

	.page-header__title {
		position: relative;
		z-index: 1;
		color: var(--white);
		font-size: clamp(34px, 5vw, 56px);
	}
}

/* Block content (service pages and plain pages) */
.entry-content {
	padding-top: var(--section-y);
	padding-bottom: var(--section-y);

	> * {
		max-width: var(--container);
		margin-left: auto;
		margin-right: auto;
		padding-left: var(--gutter);
		padding-right: var(--gutter);
	}

	> * + * {
		margin-top: 24px;
	}

	h2 {
		font-size: clamp(26px, 3vw, 36px);
		margin-bottom: 18px;
	}

	ul {
		list-style: none;
		margin: 0;
		padding: 0;

		li {
			position: relative;
			padding-left: 34px;
			line-height: 1.55;
			color: var(--body);

			&::before {
				content: '';
				position: absolute;
				left: 0;
				top: 3px;
				width: 20px;
				height: 20px;
				background: var(--accent);
				clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 28%, 86% 14%, 38% 72%);
			}
		}

		li + li {
			margin-top: 12px;
		}
	}

	/* Two-column "What's included / Good for" row */
	.wp-block-columns {
		display: grid;
		grid-template-columns: 1fr;
		gap: 36px;

		@media (min-width: 1024px) {
			grid-template-columns: 1.3fr 1fr;
			gap: 56px;
			align-items: start;
		}

		.wp-block-column {
			min-width: 0;
		}
	}

	.is-style-card {
		position: relative;
		overflow: hidden;
		padding: 32px 24px;
		background: var(--dark);

		@media (min-width: 700px) {
			padding: 40px 36px;
		}

		&::before {
			content: '';
			position: absolute;
			top: 0;
			right: 0;
			width: 90px;
			height: 90px;
			background: var(--accent);
			clip-path: polygon(0 0, 100% 0, 100% 100%);
		}

		h2 {
			position: relative;
			color: var(--white);
			font-size: 26px;
		}

		li {
			color: #d6d8db;

			&::before {
				background: #ff6b70;
			}
		}
	}

	/* Full-width tinted band (FAQs) */
	.content-band {
		max-width: none;
		margin-top: var(--section-y);
		margin-bottom: calc(var(--section-y) * -1);
		padding: var(--section-y) var(--gutter);
		background: var(--tint);

		> * {
			max-width: 860px;
			margin-left: auto;
			margin-right: auto;
		}

		> * + * {
			margin-top: 14px;
		}

		h2 {
			margin-bottom: 26px;
		}
	}

	.wp-block-details {
		background: var(--white);

		summary::after {
			content: '+';
			width: 34px;
			height: 34px;
			flex: none;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			background: var(--tint);
			color: var(--accent);
			font-size: 22px;
			font-weight: 700;
			transition: transform 0.2s, background-color 0.2s, color 0.2s;
		}

		&[open] summary::after {
			transform: rotate(45deg);
			background: var(--accent);
			color: var(--white);
		}
	}

	.post-summary + .post-summary {
		margin-top: 32px;
	}
}

/* Other services */
.other-services {
	.other-services__list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: grid;
		grid-template-columns: 1fr;
		gap: 14px;

		@media (min-width: 700px) {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		@media (min-width: 1024px) {
			grid-template-columns: repeat(3, minmax(0, 1fr));
			gap: 20px;
		}
	}
}

.mini-card {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	padding: 18px 20px;
	background: var(--white);
	border-bottom: 3px solid transparent;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;

	.mini-card__icon {
		width: 56px;
		height: 56px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding-top: 8px;
		background: var(--accent);
		color: var(--white);
		clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%);
	}

	.mini-card__title {
		flex: 1;
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 18px;
		color: var(--ink);
	}

	.mini-card__arrow {
		color: var(--accent);
	}

	&:hover {
		border-bottom-color: var(--accent);
		box-shadow: var(--shadow);

		.mini-card__title {
			color: var(--accent);
		}
	}
}

/* Closing banner on inner pages */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--accent);
	color: var(--white);
	padding: 52px 0;

	@media (min-width: 1024px) {
		padding: 64px 0;
	}

	&::before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 40%;
		background: var(--dark);
		clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
		opacity: 0.92;
	}

	.cta-band__inner {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		gap: 24px;
	}

	.cta-band__copy {
		display: flex;
		flex-direction: column;
		gap: 8px;
		max-width: 680px;
	}

	.cta-band__title {
		color: var(--white);
		font-size: clamp(26px, 3.4vw, 40px);
	}

	.cta-band__text {
		color: #f6dfe0;
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Pop-up quote form */
html:has(.quote-modal[open]) {
	overflow: hidden;
}

.quote-modal {
	width: min(980px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;

	&::backdrop {
		background: rgb(10 13 17 / 0.72);
		backdrop-filter: blur(3px);
	}

	&[open] {
		animation: quote-modal-in 0.25s ease-out;
	}

	.quote-modal__inner {
		position: relative;
		display: grid;
		grid-template-columns: 1fr;
		max-height: calc(100dvh - 24px);
		overflow-y: auto;
		box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);

		@media (min-width: 860px) {
			grid-template-columns: 300px 1fr;
		}
	}

	.quote-modal__close-form {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		margin: 0;
	}

	.quote-modal__close {
		width: 48px;
		height: 48px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: var(--dark);
		color: var(--white);
		border: 0;
		cursor: pointer;
		transition: background-color 0.2s;

		&:hover {
			background: var(--white);
			color: var(--accent);
		}
	}

	.quote-modal__aside {
		position: relative;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 26px 64px 22px 22px;
		background-color: var(--dark);
		background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.03) 0 2px, transparent 2px 14px);
		color: #c4c7cb;

		@media (min-width: 860px) {
			justify-content: flex-end;
			padding: 40px 30px;
		}

		&::before {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100px;
			height: 100px;
			background: var(--accent);
			clip-path: polygon(0 0, 0 100%, 100% 100%);
			opacity: 0.85;

			@media (max-width: 859px) {
				display: none;
			}
		}

		> * {
			position: relative;
		}
	}

	.quote-modal__lead {
		font-size: 15.5px;

		@media (max-width: 859px) {
			display: none;
		}
	}

	.quote-modal__phone {
		display: inline-flex;
		align-items: center;
		gap: 12px;
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 19px;
		color: var(--white);
		text-decoration: none;

		@media (min-width: 860px) {
			margin-bottom: 70px;
		}

		.icon {
			width: 44px;
			height: 44px;
			padding: 11px;
			background: var(--accent);
		}

		small {
			display: block;
			font-family: var(--font-body);
			font-weight: 600;
			font-size: 13px;
			color: #9ea2a7;
		}

		&:hover {
			color: #ff8a8d;
		}
	}

	.quote-form {
		padding-top: 30px;

		@media (min-width: 860px) {
			padding: 44px 40px 40px;
		}

		&::before {
			display: none;
		}
	}
}

@keyframes quote-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

/* FAQ with contact form on the right: both columns run the same height */
.faq.faq--has-form {
	.faq__inner {
		@media (min-width: 1024px) {
			grid-template-columns: 1.15fr 1fr;
			align-items: stretch;
		}
	}

	.faq__main {
		display: flex;
		flex-direction: column;

		.faq__list {
			margin-bottom: 22px;
		}
	}

	.faq__form {
		display: flex;

		.quote-form {
			flex: 1;
			box-shadow: 0 24px 60px rgb(15 19 24 / 0.16);

			@media (min-width: 700px) {
				padding: 36px 32px;
			}

			/* The message row takes up any spare height so the card ends level with the FAQ. */
			@media (min-width: 1024px) {
				grid-template-rows: auto auto auto auto 1fr auto;

				&:has(.quote-form__notice) {
					grid-template-rows: auto auto auto auto auto 1fr auto;
				}

				.field--message {
					display: flex;
					flex-direction: column;

					textarea {
						flex: 1;
						min-height: 120px;
					}
				}
			}
		}
	}
}

/* Call panel under the FAQ */
.faq__call {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 18px;
	margin-top: 22px;
	padding: 22px;
	background-color: var(--dark);
	background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.03) 0 2px, transparent 2px 14px);
	color: #c4c7cb;

	@media (min-width: 1024px) {
		margin-top: auto;
		padding: 24px 26px;
	}

	.faq__call-icon {
		width: 58px;
		height: 58px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: var(--accent);
		color: var(--white);
		box-shadow: 0 0 0 7px rgb(164 22 26 / 0.25);
	}

	.faq__call-copy {
		flex: 1 1 180px;
		min-width: 0;
	}

	.faq__call-title {
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 19px;
		color: var(--white);
	}

	.faq__call-text {
		font-size: 14.5px;
	}

	.faq__call-btn {
		flex: 1 1 auto;

		@media (min-width: 700px) {
			flex: none;
		}

		&:hover {
			background: var(--white);
			color: var(--accent);
		}
	}
}

.quote-form .quote-form__intro {
	position: relative;
	grid-column: 1 / -1;
	margin-top: -6px;
	color: #f6dfe0;
	font-size: 15.5px;
}

/* About: points, actions, and both columns the same height */
.about {
	.about__inner {
		@media (min-width: 1024px) {
			align-items: stretch;
		}
	}

	/* Credentials as a plain spec sheet: rule-separated rows, name then detail. */
	.about__points {
		margin: 8px 0 0;
		border-bottom: 1px solid var(--line);
	}

	.about__point {
		display: grid;
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 14px 0;
		border-top: 1px solid var(--line);

		@media (min-width: 700px) {
			grid-template-columns: 250px 1fr;
			gap: 24px;
			align-items: baseline;
		}

		dt {
			display: flex;
			align-items: baseline;
			gap: 12px;
			font-family: var(--font-head);
			font-weight: 800;
			font-size: 17px;
			color: var(--ink);
		}

		dd {
			margin: 0;
			font-size: 15.5px;
			line-height: 1.55;
			color: var(--body);

			@media (max-width: 699px) {
				padding-left: 34px;
			}
		}
	}

	.about__point-num {
		flex: none;
		width: 22px;
		font-size: 13px;
		font-weight: 800;
		letter-spacing: 0.04em;
		color: var(--accent);
	}

	.about__actions {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 18px 28px;
		margin-top: 10px;

		.about__call {
			margin-top: 0;
		}
	}

	.about__steps {
		display: flex;
		flex-direction: column;
		justify-content: center;

		.steps {
			flex: 1;
			justify-content: space-between;
			margin-bottom: 0;
		}
	}
}

/* ---------- Service page: banner + main column + sticky sidebar ---------- */
.btn.btn--outline-dark {
	border-color: var(--dark);
	color: var(--ink);

	&:hover {
		background: var(--dark);
		color: var(--white);
	}
}

/* Shorter banner: title and breadcrumb only */
.service-hero {
	.service-hero__inner {
		gap: 16px;

		@media (min-width: 1024px) {
			padding-top: 96px;
			padding-bottom: 104px;
		}
	}

	.breadcrumb {
		margin-top: 4px;
		padding: 10px 16px;
		background: rgb(10 13 17 / 0.55);
		border-left: 3px solid var(--accent);
	}
}

.service-layout {
	.service-layout__inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 48px;

		@media (min-width: 1024px) {
			grid-template-columns: minmax(0, 1fr) 360px;
			gap: 56px;
			align-items: start;
		}

		@media (min-width: 1600px) {
			grid-template-columns: minmax(0, 1fr) 400px;
			gap: 72px;
		}
	}
}

.service-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 48px;

	@media (min-width: 1024px) {
		gap: 64px;
	}

	.section-head {
		margin-bottom: 20px;
	}

	.service-main__media {
		position: relative;
		margin: 0;

		img {
			width: 100%;
			height: 260px;
			object-fit: cover;

			@media (min-width: 700px) {
				height: 420px;
			}

			@media (min-width: 1024px) {
				height: 480px;
			}
		}
	}

	.service-main__tag {
		position: absolute;
		left: 0;
		bottom: 0;
		display: inline-flex;
		align-items: center;
		gap: 10px;
		padding: 14px 20px;
		background: var(--accent);
		color: var(--white);
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 14px;

		@media (min-width: 700px) {
			font-size: 16px;
			padding: 16px 24px;
		}
	}

	.service-main__overview {
		display: flex;
		flex-direction: column;
		gap: 16px;

		.section-head {
			margin-bottom: 4px;
		}
	}

	.service-main__lead {
		font-size: 18px;
		line-height: 1.7;
		color: var(--body);
	}

	.service-main__actions {
		display: flex;
		flex-wrap: wrap;
		gap: 14px;
		margin-top: 6px;
	}
}

/* Page content blocks inside the main column (not full width) */
.entry-content.service-body {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 48px;

	@media (min-width: 1024px) {
		gap: 64px;
	}

	> * {
		max-width: none;
		margin: 0;
		padding-left: 0;
		padding-right: 0;
	}

	> * + * {
		margin-top: 0;
	}

	/* What's included (light) beside Good for (dark) */
	.wp-block-columns {
		gap: 24px;

		@media (min-width: 1200px) {
			grid-template-columns: 1fr 1fr;
			align-items: stretch;
		}

		.wp-block-column:first-child {
			padding: 32px 24px;
			border: 1px solid var(--line);
			border-top: 4px solid var(--accent);

			@media (min-width: 700px) {
				padding: 40px 36px;
			}
		}

		h2 {
			font-size: 26px;
		}
	}

	.content-band {
		margin: 0;
		padding: 0;
		background: none;

		> * {
			max-width: none;
		}

		h2 {
			margin-bottom: 20px;
		}

		.wp-block-details {
			background: var(--tint);

			&[open] {
				background: var(--white);
			}
		}
	}
}

/* How a job runs: four steps in a row on wide screens */
.service-steps {
	.service-steps__list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		border-top: 1px solid var(--line);

		@media (min-width: 700px) {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		@media (min-width: 1200px) {
			grid-template-columns: repeat(4, minmax(0, 1fr));
		}
	}

	.service-step {
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 26px 22px 26px 0;
		border-bottom: 1px solid var(--line);

		@media (min-width: 700px) {
			padding: 30px 26px 30px 0;
		}
	}

	.service-step__num {
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 44px;
		line-height: 1;
		color: transparent;
		-webkit-text-stroke: 1.5px var(--accent);
	}

	.service-step__title {
		font-family: var(--font-head);
		font-size: 18px;
		color: var(--ink);
	}

	.service-step__text {
		font-size: 15px;
		line-height: 1.55;
		color: var(--body);
	}
}

/* Sidebar */
.service-sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;

	@media (min-width: 1024px) {
		position: sticky;
		top: 24px;
	}
}

.side-box {
	.side-box__title {
		position: relative;
		font-size: 22px;
		padding-bottom: 14px;
		margin-bottom: 18px;

		&::after {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			width: 44px;
			height: 3px;
			background: var(--accent);
		}
	}
}

.side-services {
	padding: 28px 24px;
	background: var(--tint);

	ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 56px;
		padding: 0 18px;
		background: var(--white);
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 16px;
		color: var(--ink);
		text-decoration: none;
		transition: background-color 0.2s, color 0.2s;

		.icon {
			color: var(--accent);
			transition: transform 0.2s, color 0.2s;
		}

		&:hover {
			color: var(--accent);

			.icon {
				transform: translateX(4px);
			}
		}

		&.is-current {
			background: var(--accent);
			color: var(--white);

			.icon {
				color: var(--white);
			}
		}
	}
}

.side-contact {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 34px 28px;
	background-color: var(--dark);
	background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.03) 0 2px, transparent 2px 14px);
	color: #c4c7cb;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		width: 90px;
		height: 90px;
		background: var(--accent);
		clip-path: polygon(0 0, 100% 0, 100% 100%);
	}

	> * {
		position: relative;
	}

	.side-contact__icon {
		width: 62px;
		height: 62px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: var(--accent);
		color: var(--white);
		box-shadow: 0 0 0 8px rgb(164 22 26 / 0.25);
		margin-bottom: 6px;
	}

	.side-contact__title {
		color: var(--white);
		font-size: 22px;
	}

	.side-contact__phone {
		width: 100%;
		font-size: 19px;
		margin-top: 6px;
	}

	.side-contact__meta {
		list-style: none;
		margin: 6px 0 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 10px;
		font-size: 14.5px;

		li {
			display: flex;
			gap: 10px;
			align-items: flex-start;
		}

		.icon {
			color: #ff6b70;
			margin-top: 2px;
		}
	}
}

.side-quote {
	padding: 28px 24px;
	border: 1px solid var(--line);
	border-top: 4px solid var(--accent);

	p {
		margin-bottom: 18px;
		color: var(--body);
	}

	.btn {
		width: 100%;
	}
}

/* Related service cards */
.services--related {
	.services__grid {
		@media (min-width: 1024px) {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
	}

	.service-card__panel {
		background-color: var(--white);

		&::before {
			background: linear-gradient(215deg, transparent 0 18%, var(--white) 46%);
		}
	}
}

/* Order in the main column: photo, overview, included / good for, job steps, FAQs. */
.service-main {
	.entry-content.service-body {
		display: contents;
	}

	.service-steps {
		order: 1;
	}

	.content-band {
		order: 2;
	}
}

/* Card dots: faint grey dots across the whole panel, and a red patch of dots that follows the mouse */
.service-card {
	.service-card__panel {
		/* Base grey dots over the whole panel (no corner fade). */
		background-image: radial-gradient(rgb(164 22 26 / 0.14) 1.2px, transparent 1.5px);
		background-size: 12px 12px;
		background-position: 0 0;

		/* Own stacking context, so the dot layer can never sit above the text. */
		isolation: isolate;

		&::before {
			display: none;
		}

		.service-card__title,
		.service-card__text,
		.service-card__more {
			position: relative;
			z-index: 1;
			/* A thin halo in the panel colour keeps dots off the letters. */
			text-shadow:
				0 0 1px var(--tint),
				0 0 3px var(--tint),
				0 0 5px var(--tint),
				0 0 8px var(--tint),
				0 0 10px var(--tint);
		}

		.service-card__badge {
			z-index: 1;
		}

		/* Red dots, only visible in a circle round the cursor (--mx / --my set by main.js). */
		&::after {
			content: '';
			position: absolute;
			inset: 0;
			z-index: -1;
			pointer-events: none;
			background-image: radial-gradient(rgb(164 22 26 / 0.55) 1.4px, transparent 1.7px);
			background-size: 12px 12px;
			-webkit-mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 0%, rgb(0 0 0 / 0.6) 45%, transparent 100%);
			mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 0%, rgb(0 0 0 / 0.6) 45%, transparent 100%);
			opacity: 0;
			transition: opacity 0.3s ease;
		}
	}

	&:hover .service-card__panel::after {
		opacity: 1;
	}
}

.services--related .service-card .service-card__panel {
	.service-card__title,
	.service-card__text,
	.service-card__more {
		text-shadow:
			0 0 1px var(--white),
			0 0 3px var(--white),
			0 0 5px var(--white),
			0 0 8px var(--white),
			0 0 10px var(--white);
	}
}

/* ---------- Services dropdown in the main menu ---------- */
.site-header .site-nav__list {
	> li {
		position: relative;
	}

	/* Small chevron after "Services" */
	.menu-item-has-children > a::before {
		content: '';
		order: 2;
		width: 10px;
		height: 10px;
		margin-left: 8px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: transform 0.2s;

		@media (max-width: 1199px) {
			display: none;
		}
	}

	.sub-menu {
		list-style: none;
		margin: 0;
		padding: 0 0 6px 16px;

		a {
			min-height: 44px;
			font-family: var(--font-head);
			font-weight: 700;
			font-size: 15px;
			letter-spacing: 0;
			text-transform: none;
			color: var(--body);

			&::after {
				display: none;
			}

			&:hover {
				color: var(--accent);
			}
		}

		.current-menu-item > a {
			color: var(--accent);
		}
	}

	@media (min-width: 1200px) {
		.menu-item-has-children:hover > a::before,
		.menu-item-has-children:focus-within > a::before {
			transform: rotate(180deg);
		}

		.sub-menu {
			position: absolute;
			top: 100%;
			left: -24px;
			z-index: 30;
			min-width: 290px;
			padding: 10px 0;
			background: var(--white);
			border-top: 3px solid var(--accent);
			box-shadow: 0 22px 50px rgb(15 19 24 / 0.16);
			opacity: 0;
			visibility: hidden;
			transform: translateY(10px);
			transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;

			li + li {
				border-top: 1px solid var(--line);
			}

			a {
				min-height: 50px;
				padding: 0 24px;
				transition: color 0.2s, background-color 0.2s, padding-left 0.2s;

				&:hover,
				&:focus-visible {
					background: var(--tint);
					padding-left: 30px;
				}
			}

			.current-menu-item > a {
				background: var(--tint);
				box-shadow: inset 3px 0 0 var(--accent);
			}
		}

		.menu-item-has-children:hover > .sub-menu,
		.menu-item-has-children:focus-within > .sub-menu {
			opacity: 1;
			visibility: visible;
			transform: translateY(0);
			transition: opacity 0.2s, transform 0.2s, visibility 0s;
		}
	}
}

/* What's included (plain text) and Good for (job-type tags). No boxes, ticks or red borders. */
.entry-content.service-body .wp-block-columns.service-scope,
.service-main .wp-block-columns.service-scope {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding: 36px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);

	@media (min-width: 1200px) {
		grid-template-columns: 1.5fr 1fr;
		gap: 56px;
		align-items: start;
	}

	.wp-block-column,
	.wp-block-column:first-child {
		padding: 0;
		border: 0;
		background: none;

		&::before {
			display: none;
		}
	}

	h2 {
		font-size: 26px;
		margin-bottom: 14px;
	}

	h3 {
		font-size: 15px;
		font-weight: 800;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--muted);
		margin-bottom: 14px;
	}

	p {
		font-size: 17px;
		line-height: 1.75;
		color: var(--body);
	}
}

.entry-content ul.service-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;

	li {
		margin: 0;
		padding: 9px 14px;
		background: var(--tint);
		font-family: var(--font-head);
		font-weight: 700;
		font-size: 14.5px;
		line-height: 1.3;
		color: var(--ink);

		&::before {
			display: none;
		}
	}

	li + li {
		margin-top: 0;
	}
}

/* What's included / Good for: dark hatched panel, readable text, outlined tags */
.entry-content.service-body .wp-block-columns.service-scope,
.service-main .wp-block-columns.service-scope {
	position: relative;
	overflow: hidden;
	gap: 32px;
	padding: 36px 24px;
	border: 0;
	background-color: var(--dark);
	background-image:
		repeating-linear-gradient(135deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 15px),
		radial-gradient(circle at 100% 100%, rgb(164 22 26 / 0.35), transparent 55%);

	@media (min-width: 700px) {
		padding: 48px 44px;
	}

	@media (min-width: 1200px) {
		grid-template-columns: 1.45fr 1fr;
		gap: 0;
		padding: 54px 0;

		.wp-block-column:first-child {
			padding: 0 48px;
		}

		.wp-block-column.service-scope__good {
			padding: 0 44px;
			border-left: 1px solid rgb(255 255 255 / 0.14);
		}
	}

	h2 {
		color: var(--white);
		font-size: clamp(26px, 2.4vw, 32px);
		margin-bottom: 18px;
	}

	h3 {
		color: #ff8a8d;
		margin-bottom: 18px;
	}

	p {
		font-size: 18px;
		line-height: 1.75;
		color: #d6d8db;
	}
}

.entry-content .service-scope ul.service-tags {
	gap: 10px;

	li {
		padding: 10px 16px;
		background: transparent;
		border: 1px solid rgb(255 255 255 / 0.28);
		color: var(--white);
		transition: background-color 0.2s, border-color 0.2s;

		&:hover {
			background: var(--accent);
			border-color: var(--accent);
		}
	}
}

/* Good for sits under the paragraph, full width, so the tags flow in rows */
.entry-content.service-body .wp-block-columns.service-scope,
.service-main .wp-block-columns.service-scope {
	grid-template-columns: 1fr;
	gap: 0;

	@media (min-width: 700px) {
		padding: 50px 48px;
	}

	@media (min-width: 1200px) {
		grid-template-columns: 1fr;
		padding: 56px 56px 50px;

		.wp-block-column:first-child {
			padding: 0;
		}

		.wp-block-column.service-scope__good {
			padding: 0;
			border-left: 0;
		}
	}

	p {
		max-width: 760px;
	}

	.wp-block-column.service-scope__good {
		margin-top: 30px;
		padding-top: 26px;
		border-top: 1px solid rgb(255 255 255 / 0.14);
	}
}

/* "Good for" as a sentence under the divider */
.service-main .wp-block-columns.service-scope p.service-scope__fit {
	color: var(--white);
}

/* ---------- Service cards, own design: angled photo, job number, View service footer ---------- */
.services__grid {
	counter-reset: svc;
}

.service-card {
	--card-bg: var(--tint);
	counter-increment: svc;
	background: var(--card-bg);

	/* Photo with a braced (angled) bottom edge; the card colour shows through the cut */
	.service-card__media {
		height: 240px;
		clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);

		@media (min-width: 1024px) {
			height: 270px;
		}
	}

	.service-card__panel {
		margin: 0;
		padding: 26px 26px 22px;
		gap: 10px;
		background-color: var(--card-bg);
		box-shadow: none;

		@media (min-width: 1024px) {
			padding: 28px 30px 24px;
		}

		/* Job number, half over the photo */
		&::before {
			display: block;
			content: attr(data-num);
			position: absolute;
			inset: auto;
			top: -58px;
			right: 22px;
			z-index: 2;
			width: auto;
			height: auto;
			background: none;
			font-family: var(--font-head);
			font-weight: 800;
			font-size: 64px;
			line-height: 1;
			letter-spacing: -0.02em;
			color: var(--accent);
			-webkit-text-stroke: 7px var(--card-bg);
			paint-order: stroke fill;
			pointer-events: none;
		}

		.service-card__title,
		.service-card__text,
		.service-card__more {
			text-shadow:
				0 0 1px var(--card-bg),
				0 0 3px var(--card-bg),
				0 0 5px var(--card-bg),
				0 0 8px var(--card-bg),
				0 0 10px var(--card-bg);
		}
	}

	.service-card__title {
		font-size: 22px;
		padding-right: 70px;
	}

	.service-card__more {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-top: auto;
		padding-top: 16px;
		border-top: 1px solid #dcd6d6;
		font-size: 13.5px;
		letter-spacing: 0.06em;
		color: var(--ink);

		&:hover {
			color: var(--accent);
		}
	}

	.service-card__go {
		width: 42px;
		height: 42px;
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 1.5px solid var(--accent);
		border-radius: 50%;
		color: var(--accent);
		transition: background-color 0.25s, color 0.25s, transform 0.25s;
	}

	&:hover .service-card__go,
	.service-card__more:focus-visible .service-card__go {
		background: var(--accent);
		color: var(--white);
		transform: rotate(-45deg);
	}
}

/* Cards on a tinted section use white */
.services--related .service-card {
	--card-bg: var(--white);
}
