/*
 * Kernow Coast Creative — editorial industrial theme
 * All site-specific styling lives here.
 */

/* Keep article featured images proportional at every viewport width. */
.single-post .wp-post-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

:root {
	--ink: #171815;
	--ink-soft: #343630;
	--paper: #f3f0e8;
	--paper-deep: #e7e1d5;
	--white: #fffdf8;
	--accent: #d6552d;
	--line: rgba(23, 24, 21, 0.18);
	--line-light: rgba(255, 253, 248, 0.22);
	--display: "Syne", "Arial Black", sans-serif;
	--body: "IBM Plex Sans", Arial, sans-serif;
	--shell: min(1320px, calc(100vw - 72px));
	--shell-wide: min(1500px, calc(100vw - 32px));
	--header-height: 88px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

::selection {
	background: var(--accent);
	color: var(--white);
}

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

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: square;
	stroke-linejoin: miter;
	stroke-width: 1.6;
}

.shell {
	width: var(--shell);
	margin-inline: auto;
}

.shell-wide {
	width: var(--shell-wide);
	margin-inline: auto;
}

.section-pad {
	padding-block: clamp(96px, 11vw, 176px);
}

.skip-link {
	position: fixed;
	z-index: 9999;
	top: 16px;
	left: 16px;
	padding: 12px 18px;
	background: var(--white);
	color: var(--ink);
	transform: translateY(-150%);
	transition: transform .2s ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	height: var(--header-height);
	border-bottom: 1px solid transparent;
	background: rgba(243, 240, 232, .94);
	backdrop-filter: blur(18px);
	transition: border-color .25s ease, height .25s ease;
}

.site-header.is-scrolled {
	border-color: var(--line);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 13px;
}

.brand-monogram {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	background: var(--ink);
	color: var(--white);
	font-family: var(--display);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

.brand-name {
	font-family: var(--display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.01em;
	text-transform: uppercase;
}

.brand-logo .custom-logo-link {
	display: block;
}

.brand-logo img {
	width: auto;
	max-width: 220px;
	height: 48px;
	object-fit: contain;
	object-position: left center;
}

.primary-navigation {
	display: flex;
	align-items: center;
	gap: clamp(22px, 2.7vw, 44px);
	font-size: 14px;
	font-weight: 500;
}

.primary-navigation > a:not(.nav-cta) {
	position: relative;
	padding-block: 10px;
}

.primary-navigation > a:not(.nav-cta)::after {
	position: absolute;
	right: 0;
	bottom: 5px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .35s var(--ease);
}

.primary-navigation > a:not(.nav-cta):hover::after,
.primary-navigation > a:not(.nav-cta):focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 13px 18px;
	background: var(--ink);
	color: var(--white);
	transition: background .25s ease, color .25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
	background: var(--accent);
}

.nav-cta svg {
	width: 20px;
	height: 20px;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
}

.site-main {
	overflow: clip;
}

.hero {
	padding-top: clamp(64px, 8vw, 120px);
}

.hero-copy {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.eyebrow,
.section-index,
.section-note {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
}

.eyebrow::before {
	width: 28px;
	height: 1px;
	background: currentColor;
	content: "";
}

.eyebrow span {
	color: var(--accent);
}

.display-heading {
	max-width: 1180px;
	margin: 46px 0 58px;
	font-family: var(--display);
	font-size: clamp(60px, 9.2vw, 148px);
	font-weight: 600;
	letter-spacing: -.065em;
	line-height: .86;
	text-wrap: balance;
}

.hero-lower {
	display: grid;
	grid-template-columns: minmax(0, 630px) auto;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-left: min(20vw, 260px);
	padding-bottom: 54px;
}

.hero-lower > p {
	margin: 0;
	font-size: clamp(19px, 2vw, 27px);
	line-height: 1.38;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding-bottom: 8px;
	border-bottom: 1px solid currentColor;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.text-link svg {
	width: 20px;
	height: 20px;
	transition: transform .3s var(--ease);
}

.text-link:hover svg {
	transform: translateY(5px);
}

.hero-image-wrap {
	position: relative;
}

.hero-image {
	position: relative;
	height: min(72vw, 920px);
	min-height: 560px;
	margin: 0;
	overflow: hidden;
	background: var(--ink-soft);
}

.cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ease);
}

.hero-image .cover-image {
	object-position: center 52%;
}

.hero-image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .48));
	content: "";
	pointer-events: none;
}

.image-caption {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 20px;
	padding: 24px 30px;
	border-top: 1px solid rgba(255, 255, 255, .4);
	color: var(--white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.intro-section {
	border-bottom: 1px solid var(--line);
}

.intro-grid {
	display: grid;
	grid-template-columns: minmax(120px, 1fr) minmax(0, 2.35fr);
	gap: 48px;
}

.section-index {
	color: var(--ink-soft);
}

.section-heading {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(48px, 6.7vw, 104px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: .94;
	text-wrap: balance;
}

.section-heading em,
.contact-heading em {
	color: var(--accent);
	font-family: var(--body);
	font-weight: 400;
}

.intro-copy {
	max-width: 820px;
	margin: 64px 0 0;
	font-size: clamp(20px, 2.25vw, 31px);
	line-height: 1.45;
}

.services-section {
	padding-top: clamp(90px, 9vw, 144px);
}

.section-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--ink);
}

.section-note {
	max-width: 360px;
	color: var(--ink-soft);
	font-weight: 500;
	line-height: 1.5;
	text-align: right;
}

.service-row {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) 48px;
	align-items: start;
	gap: clamp(24px, 4vw, 72px);
	padding: clamp(42px, 5vw, 72px) 0;
	border-bottom: 1px solid var(--line);
	transition: color .25s ease, padding-inline .35s var(--ease);
}

.service-row:hover {
	padding-right: 20px;
	padding-left: 20px;
	color: var(--accent);
}

.service-number {
	margin: 12px 0 0;
	font-size: 12px;
	font-weight: 600;
}

.service-row h3 {
	margin: 0 0 18px;
	font-family: var(--display);
	font-size: clamp(32px, 4.2vw, 64px);
	font-weight: 600;
	letter-spacing: -.045em;
	line-height: 1;
}

.service-row p:last-child {
	max-width: 710px;
	margin: 0;
	color: var(--ink-soft);
	font-size: 17px;
	transition: color .25s ease;
}

.service-row:hover p:last-child {
	color: var(--ink);
}

.service-row > svg {
	width: 48px;
	height: 48px;
	margin-top: 4px;
	transition: transform .35s var(--ease);
}

.service-row:hover > svg {
	transform: translateX(8px);
}

.work-section {
	background: var(--ink);
	color: var(--white);
}

.work-heading-row {
	display: grid;
	grid-template-columns: 1fr minmax(260px, 390px);
	align-items: end;
	gap: 48px;
	margin-bottom: clamp(70px, 9vw, 130px);
}

.work-section .section-index,
.section-index-light {
	color: rgba(255, 253, 248, .62);
}

.work-section .section-heading {
	margin-top: 32px;
}

.work-note {
	color: rgba(255, 253, 248, .68);
	text-align: left;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 64px);
	align-items: start;
}

.project-card {
	grid-column: span 7;
}

.project-card:nth-child(2) {
	grid-column: span 5;
	margin-top: clamp(80px, 12vw, 170px);
}

.project-card:nth-child(3) {
	grid-column: 6 / span 7;
	margin-top: 12px;
}

.project-card a {
	display: block;
}

.project-image {
	position: relative;
	height: clamp(360px, 43vw, 650px);
	overflow: hidden;
	background: #2a2b27;
}

.project-card-tall .project-image {
	height: clamp(480px, 55vw, 760px);
}

.project-card:hover .cover-image {
	transform: scale(1.035);
}

.project-arrow {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	background: var(--white);
	color: var(--ink);
	transition: background .25s ease, color .25s ease;
}

.project-card:hover .project-arrow {
	background: var(--accent);
	color: var(--white);
}

.project-arrow svg {
	width: 20px;
	height: 20px;
}

.project-meta {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 20px;
	font-size: 13px;
}

.project-meta p {
	margin: 0;
}

.project-meta p:first-child {
	font-family: var(--display);
	font-size: 17px;
	font-weight: 600;
}

.project-meta p:first-child span {
	margin-right: 15px;
	color: rgba(255, 253, 248, .48);
	font-family: var(--body);
	font-size: 11px;
}

.project-meta p:last-child {
	color: rgba(255, 253, 248, .55);
	text-align: right;
}

.process-section {
	background: var(--paper-deep);
}

.process-grid {
	display: grid;
	grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
	gap: clamp(70px, 10vw, 160px);
	align-items: start;
}

.process-sticky {
	position: sticky;
	top: calc(var(--header-height) + 40px);
}

.process-sticky .section-heading {
	margin-top: 42px;
	font-size: clamp(46px, 5.1vw, 76px);
}

.process-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.process-list li {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: 24px;
	padding: 38px 0 46px;
	border-top: 1px solid var(--line);
}

.process-list li:last-child {
	border-bottom: 1px solid var(--line);
}

.process-list > li > span {
	padding-top: 7px;
	font-size: 12px;
	font-weight: 600;
}

.process-list h3 {
	margin: 0 0 10px;
	font-family: var(--display);
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 600;
	letter-spacing: -.035em;
}

.process-list p {
	max-width: 610px;
	margin: 0;
	color: var(--ink-soft);
}

.material-section {
	padding: 16px;
	background: var(--paper-deep);
}

.material-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
	min-height: 700px;
	background: var(--accent);
	color: var(--white);
}

.material-copy {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(48px, 7vw, 110px);
}

.eyebrow-light {
	color: rgba(255, 253, 248, .72);
}

.material-copy h2 {
	max-width: 760px;
	margin: auto 0 54px;
	font-family: var(--display);
	font-size: clamp(48px, 6.6vw, 102px);
	font-weight: 600;
	letter-spacing: -.06em;
	line-height: .92;
}

.material-copy > p:last-child {
	max-width: 620px;
	margin: 0;
	font-size: 20px;
}

.material-detail {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-left: 1px solid rgba(255, 255, 255, .34);
}

.material-detail span {
	display: grid;
	place-items: center;
	border-right: 1px solid rgba(255, 255, 255, .34);
	border-bottom: 1px solid rgba(255, 255, 255, .34);
	font-family: var(--display);
	font-size: clamp(24px, 3vw, 48px);
	font-weight: 600;
}

.material-detail span:nth-child(even) {
	border-right: 0;
}

.material-detail span:nth-child(n+3) {
	border-bottom: 0;
}

.contact-section {
	background: #10110f;
	color: var(--white);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
	gap: clamp(70px, 10vw, 170px);
}

.contact-heading {
	margin: 44px 0 38px;
	font-family: var(--display);
	font-size: clamp(54px, 7vw, 108px);
	font-weight: 600;
	letter-spacing: -.06em;
	line-height: .9;
}

.contact-intro {
	max-width: 550px;
	margin: 0;
	color: rgba(255, 253, 248, .66);
	font-size: 19px;
}

.contact-form {
	display: grid;
	gap: 29px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.contact-form label {
	display: grid;
	gap: 9px;
}

.contact-form label > span {
	color: rgba(255, 253, 248, .68);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgba(255, 253, 248, .34);
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: var(--white);
	transition: border-color .2s ease;
}

.contact-form input,
.contact-form select {
	height: 52px;
}

.contact-form select {
	padding-inline: 0;
	color-scheme: light;
}

.contact-form textarea {
	min-height: 130px;
	padding-block: 12px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--accent);
}

.submit-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: 10px;
	padding: 20px 22px;
	border: 0;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	font-family: var(--display);
	font-weight: 600;
	transition: background .25s ease, color .25s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
	background: var(--accent);
	color: var(--white);
}

.submit-button svg {
	width: 24px;
	height: 24px;
}

.honeypot {
	position: absolute;
	left: -9999px;
}

.form-notice {
	margin-bottom: 28px;
	padding: 18px 20px;
	border-left: 3px solid var(--accent);
	background: rgba(255, 255, 255, .08);
}

.form-success {
	border-color: #79b58a;
}

.site-footer {
	padding-top: clamp(74px, 8vw, 126px);
	background: #10110f;
	color: var(--white);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 80px;
	padding-bottom: 90px;
}

.footer-statement {
	max-width: 720px;
	margin: 38px 0 0;
	font-family: var(--display);
	font-size: clamp(36px, 4.6vw, 70px);
	font-weight: 600;
	letter-spacing: -.05em;
	line-height: .98;
}

.footer-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-content: end;
}

.footer-meta p,
.footer-meta a {
	display: block;
	margin: 0 0 8px;
	color: rgba(255, 253, 248, .68);
}

.footer-meta a:hover {
	color: var(--accent);
}

.footer-label {
	color: var(--white) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding-block: 24px 34px;
	border-top: 1px solid var(--line-light);
	color: rgba(255, 253, 248, .5);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .07em;
}

.footer-bottom p {
	margin: 0;
}

.footer-links {
	display: flex;
	gap: 26px;
}

.footer-links a:hover {
	color: var(--white);
}

.page-hero {
	padding-bottom: 70px;
	border-bottom: 1px solid var(--line);
}

.content-shell {
	max-width: 980px;
}

.page-title {
	margin: 42px 0 0;
	font-family: var(--display);
	font-size: clamp(64px, 9vw, 130px);
	font-weight: 600;
	letter-spacing: -.06em;
	line-height: .9;
}

.page-content {
	padding-top: 80px;
}

.prose {
	font-size: 19px;
}

.prose > * {
	max-width: 760px;
}

.prose h2,
.prose h3 {
	margin-top: 2em;
	font-family: var(--display);
	letter-spacing: -.035em;
}

.prose img,
.prose .alignwide,
.prose .alignfull {
	max-width: 100%;
}

.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 {
	transition-delay: .1s !important;
}

.reveal-delay-2 {
	transition-delay: .2s !important;
}

.reveal-delay-3 {
	transition-delay: .3s !important;
}

@media (max-width: 1024px) {
	:root {
		--shell: min(100% - 48px, 1320px);
	}

	.hero-lower {
		margin-left: 12vw;
	}

	.service-row {
		grid-template-columns: 48px minmax(0, 1fr) 40px;
		gap: 30px;
	}

	.work-heading-row,
	.process-grid,
	.contact-grid {
		gap: 64px;
	}

	.material-panel {
		min-height: 600px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-meta {
		max-width: 520px;
	}
}

@media (max-width: 820px) {
	:root {
		--header-height: 72px;
		--shell: calc(100vw - 36px);
		--shell-wide: calc(100vw - 20px);
	}

	.site-header {
		height: var(--header-height);
	}

	.brand-monogram {
		width: 36px;
		height: 36px;
		font-size: 20px;
	}

	.brand-name {
		font-size: 12px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-navigation {
		position: fixed;
		inset: var(--header-height) 0 auto;
		display: grid;
		align-content: start;
		gap: 0;
		height: calc(100dvh - var(--header-height));
		padding: 34px 18px;
		background: var(--paper);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-16px);
		transition: opacity .25s ease, transform .35s var(--ease);
	}

	.primary-navigation.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.primary-navigation > a {
		padding: 22px 4px !important;
		border-bottom: 1px solid var(--line);
		font-family: var(--display);
		font-size: 28px;
	}

	.primary-navigation > a::after {
		display: none;
	}

	.primary-navigation .nav-cta {
		justify-content: space-between;
		margin-top: 18px;
		padding-inline: 20px !important;
		color: var(--white);
	}

	.display-heading {
		margin-block: 38px 48px;
		font-size: clamp(54px, 16vw, 92px);
		line-height: .9;
	}

	.hero-lower {
		grid-template-columns: 1fr;
		align-items: start;
		margin-left: 0;
	}

	.hero-image {
		height: 78vh;
		min-height: 540px;
		max-height: 760px;
	}

	.image-caption {
		grid-template-columns: 40px 1fr;
		padding: 18px;
	}

	.image-caption span:last-child {
		display: none;
	}

	.intro-grid {
		grid-template-columns: 1fr;
	}

	.section-topline {
		align-items: flex-start;
	}

	.service-row {
		grid-template-columns: 38px 1fr;
	}

	.service-row > svg {
		display: none;
	}

	.service-row:hover {
		padding-inline: 0;
		color: inherit;
	}

	.service-row:hover p:last-child {
		color: var(--ink-soft);
	}

	.work-heading-row,
	.process-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.work-note {
		max-width: 530px;
	}

	.project-card,
	.project-card:nth-child(2),
	.project-card:nth-child(3) {
		grid-column: 1 / -1;
		margin-top: 0;
	}

	.project-card + .project-card {
		margin-top: 36px;
	}

	.project-card-tall .project-image,
	.project-image {
		height: min(112vw, 680px);
	}

	.process-sticky {
		position: static;
	}

	.material-panel {
		grid-template-columns: 1fr;
	}

	.material-copy {
		min-height: 610px;
	}

	.material-detail {
		min-height: 370px;
		border-top: 1px solid rgba(255, 255, 255, .34);
		border-left: 0;
	}

	.contact-grid {
		gap: 70px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.section-pad {
		padding-block: 88px;
	}

	.hero {
		padding-top: 54px;
	}

	.hero-lower > p {
		font-size: 19px;
	}

	.hero-image {
		min-height: 490px;
	}

	.intro-copy {
		margin-top: 40px;
		font-size: 19px;
	}

	.section-topline {
		display: grid;
	}

	.section-note {
		text-align: left;
	}

	.service-row {
		grid-template-columns: 28px 1fr;
		gap: 16px;
	}

	.service-row h3 {
		font-size: 31px;
	}

	.work-heading-row {
		margin-bottom: 62px;
	}

	.project-meta {
		display: grid;
		gap: 5px;
	}

	.project-meta p:last-child {
		text-align: left;
	}

	.material-section {
		padding: 8px;
	}

	.material-copy {
		min-height: 570px;
		padding: 38px 28px;
	}

	.material-copy > p:last-child {
		font-size: 17px;
	}

	.form-row,
	.footer-meta {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		padding-bottom: 60px;
	}

	.footer-bottom {
		display: grid;
	}

	.footer-links {
		flex-wrap: wrap;
	}
}

.project-hero {
	padding-bottom: 80px;
}

.project-title-row {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
	align-items: end;
	gap: 70px;
	margin-top: 44px;
}

.project-title-row h1,
.archive-hero h1 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(64px, 9vw, 138px);
	font-weight: 600;
	letter-spacing: -.065em;
	line-height: .88;
}

.project-title-row > p {
	margin: 0 0 10px;
	color: var(--ink-soft);
	font-size: 19px;
}

.single-project-hero-image {
	height: min(72vw, 980px);
	min-height: 560px;
	overflow: hidden;
	background: var(--ink-soft);
}

.project-body-grid {
	display: grid;
	grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
	gap: clamp(70px, 11vw, 180px);
	align-items: start;
}

.project-facts {
	margin: 0;
	border-top: 1px solid var(--line);
}

.project-facts > div {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 18px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.project-facts dt {
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.project-facts dd {
	margin: 0;
}

.project-copy {
	font-size: clamp(19px, 2.1vw, 28px);
	line-height: 1.48;
}

.project-copy > * {
	max-width: 760px;
}

.project-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	padding-bottom: 16px;
}

.project-gallery figure {
	min-height: 480px;
	margin: 0;
	overflow: hidden;
	background: var(--paper-deep);
}

.project-gallery figure:nth-child(3n) {
	grid-column: 1 / -1;
}

.project-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-next {
	background: var(--accent);
	color: var(--white);
}

.project-next .section-index {
	color: rgba(255, 255, 255, .7);
}

.project-next a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-top: 38px;
	padding-top: 34px;
	border-top: 1px solid rgba(255, 255, 255, .45);
	font-family: var(--display);
	font-size: clamp(42px, 7vw, 108px);
	font-weight: 600;
	letter-spacing: -.055em;
	line-height: 1;
}

.project-next svg {
	flex: 0 0 auto;
	width: clamp(48px, 7vw, 90px);
	height: clamp(48px, 7vw, 90px);
	transition: transform .35s var(--ease);
}

.project-next a:hover svg {
	transform: translateX(12px);
}

.archive-hero {
	padding-bottom: 90px;
	border-bottom: 1px solid var(--line);
}

.archive-hero h1 {
	margin-top: 46px;
}

.archive-hero h1 em {
	color: var(--accent);
	font-family: var(--body);
	font-weight: 400;
}

.archive-hero > .shell > p:last-child {
	max-width: 650px;
	margin: 54px 0 0 auto;
	font-size: 20px;
}

.archive-projects {
	background: var(--ink);
	color: var(--white);
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(60px, 8vw, 120px) clamp(32px, 5vw, 72px);
}

.archive-project-card:nth-child(even) {
	margin-top: 120px;
}

.archive-project-card .project-image {
	height: clamp(430px, 48vw, 720px);
}

.pagination {
	margin-top: 100px;
	color: var(--white);
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--line-light);
}

.pagination .current,
.pagination a:hover {
	background: var(--white);
	color: var(--ink);
}

@media (max-width: 820px) {
	.project-title-row,
	.project-body-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.single-project-hero-image {
		height: 75vh;
		min-height: 520px;
	}

	.project-gallery,
	.archive-grid {
		grid-template-columns: 1fr;
	}

	.project-gallery figure:nth-child(3n) {
		grid-column: auto;
	}

	.archive-project-card:nth-child(even) {
		margin-top: 0;
	}
}

@media (max-width: 560px) {
	.project-gallery figure {
		min-height: 380px;
	}

	.project-next a {
		align-items: end;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

/*
 * Friendly homepage refresh.
 * A warmer, more conventional structure inspired by the straightforward
 * character of the original Kernow Coast Carpentry site.
 */

:root {
	--ink: #21332d;
	--ink-soft: #53625d;
	--paper: #fbfaf6;
	--paper-deep: #eee9df;
	--white: #ffffff;
	--accent: #dd6841;
	--accent-dark: #b94726;
	--green: #213f35;
	--green-dark: #172e27;
	--line: rgba(33, 51, 45, .16);
	--line-light: rgba(255, 255, 255, .2);
	--display: "DM Sans", Arial, sans-serif;
	--body: "DM Sans", Arial, sans-serif;
	--warm-serif: "Newsreader", Georgia, serif;
	--shell: min(1180px, calc(100vw - 64px));
	--shell-wide: min(1440px, calc(100vw - 32px));
	--header-height: 82px;
}

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
}

.friendly-header {
	height: var(--header-height);
	border-bottom: 1px solid rgba(33, 51, 45, .1);
	background: rgba(251, 250, 246, .97);
}

.friendly-brand {
	min-width: 170px;
}

.brand-image,
.brand-logo {
	display: block;
}

.brand-image img,
.brand-logo img {
	width: auto;
	max-width: 220px;
	height: 52px;
	object-fit: contain;
	object-position: left center;
}

.friendly-navigation {
	gap: clamp(20px, 2.4vw, 34px);
	color: var(--ink);
	font-size: 15px;
}

.friendly-navigation > a:not(.friendly-nav-cta) {
	font-weight: 500;
}

.friendly-nav-cta {
	padding: 11px 17px;
	border-radius: 4px;
	background: var(--accent);
	color: var(--white);
}

.friendly-nav-cta:hover,
.friendly-nav-cta:focus-visible {
	background: var(--accent-dark);
}

.home-hero {
	padding-top: clamp(46px, 5.5vw, 84px);
	background: var(--paper);
}

.home-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
	gap: clamp(48px, 7vw, 96px);
	align-items: center;
}

.home-hero-copy {
	padding-block: 30px;
}

.friendly-kicker {
	margin: 0 0 20px;
	color: var(--accent-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.home-hero h1 {
	max-width: 720px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(49px, 6.1vw, 78px);
	font-weight: 650;
	letter-spacing: -.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.home-hero-intro {
	max-width: 650px;
	margin: 30px 0 0;
	color: var(--ink-soft);
	font-size: clamp(19px, 1.8vw, 23px);
	line-height: 1.5;
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 38px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 21px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
	background: var(--accent-dark);
}

.button-secondary {
	border-color: var(--line);
	background: transparent;
	color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
	border-color: var(--green);
	background: var(--green);
	color: var(--white);
}

.home-hero-photo {
	position: relative;
	height: clamp(500px, 56vw, 680px);
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	background: var(--paper-deep);
	box-shadow: 0 20px 55px rgba(33, 51, 45, .13);
}

.home-hero-photo .cover-image {
	object-position: center;
}

.home-hero-photo figcaption {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 8px 11px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .92);
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
}

.workshop-points {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(50px, 6vw, 84px);
	border-radius: 5px 5px 0 0;
	background: var(--green);
	color: var(--white);
}

.workshop-points span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 14px 20px;
	border-right: 1px solid rgba(255, 255, 255, .15);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.workshop-points span:last-child {
	border-right: 0;
}

.friendly-section {
	padding-block: clamp(88px, 10vw, 140px);
}

.home-about {
	background: var(--white);
}

.home-about-grid {
	display: grid;
	grid-template-columns: minmax(280px, .83fr) minmax(0, 1.17fr);
	gap: clamp(60px, 10vw, 150px);
	align-items: start;
}

.home-about h2,
.friendly-section-heading h2,
.rough-idea-section h2,
.contact-friendly h2 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(40px, 4.8vw, 62px);
	font-weight: 650;
	letter-spacing: -.04em;
	line-height: 1.06;
	text-wrap: balance;
}

.home-about-copy .lead {
	margin: 0;
	color: var(--ink);
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.5;
}

.home-about-copy > p:not(.lead) {
	max-width: 680px;
	margin: 28px 0 0;
	color: var(--ink-soft);
}

.friendly-text-link {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin-top: 28px;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	color: var(--accent-dark);
	font-weight: 700;
}

.friendly-text-link span {
	transition: transform .2s ease;
}

.friendly-text-link:hover span {
	transform: translateX(4px);
}

.services-friendly {
	background: var(--paper-deep);
}

.friendly-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 390px);
	gap: 50px;
	align-items: end;
	margin-bottom: 52px;
}

.friendly-section-heading > p {
	margin: 0 0 7px;
	color: var(--ink-soft);
	font-size: 18px;
}

.friendly-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.friendly-service-card {
	display: flex;
	flex-direction: column;
	min-height: 440px;
	padding: clamp(28px, 3vw, 40px);
	border: 1px solid rgba(33, 51, 45, .12);
	border-radius: 6px;
	background: var(--white);
	box-shadow: 0 8px 25px rgba(33, 51, 45, .05);
	transition: transform .25s ease, box-shadow .25s ease;
}

.friendly-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 35px rgba(33, 51, 45, .1);
}

.service-card-icon {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	margin-bottom: 42px;
	border-radius: 50%;
	background: #f8e5dc;
	color: var(--accent-dark);
}

.service-card-icon svg {
	width: 32px;
	height: 32px;
	stroke-width: 1.5;
}

.friendly-service-card h3 {
	margin: 0 0 17px;
	font-family: var(--display);
	font-size: 29px;
	font-weight: 650;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.friendly-service-card p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 16px;
}

.friendly-service-card a {
	margin-top: auto;
	padding-top: 28px;
	color: var(--accent-dark);
	font-size: 14px;
	font-weight: 700;
}

.work-friendly {
	background: var(--paper);
}

.friendly-project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.friendly-project-card {
	overflow: hidden;
	border-radius: 6px;
	background: var(--white);
	box-shadow: 0 8px 28px rgba(33, 51, 45, .08);
}

.friendly-project-card a {
	display: block;
}

.friendly-project-image {
	height: 340px;
	overflow: hidden;
	background: var(--paper-deep);
}

.trade-cutting-visual {
	position: relative;
	display: grid;
	height: 100%;
	place-content: center;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%) 0 0 / 42px 42px,
		linear-gradient(315deg, rgba(255,255,255,.05) 25%, transparent 25%) 0 0 / 42px 42px,
		var(--ink);
	color: var(--white);
	text-align: center;
}

.trade-cutting-visual::after {
	position: absolute;
	inset: 24px;
	border: 1px solid rgba(255,255,255,.24);
	content: '';
}

.trade-cutting-visual strong,
.trade-cutting-visual span {
	position: relative;
	z-index: 1;
	display: block;
}

.trade-cutting-visual strong {
	font-family: var(--display);
	font-size: clamp(62px, 7vw, 92px);
	font-weight: 600;
	letter-spacing: -.05em;
	line-height: .9;
}

.trade-cutting-visual span {
	margin-top: 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.friendly-project-card:hover .cover-image {
	transform: scale(1.035);
}

.friendly-project-copy {
	padding: 25px 26px 28px;
}

.friendly-project-copy p {
	margin: 0 0 7px;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.friendly-project-copy h3 {
	margin: 0 0 15px;
	font-family: var(--display);
	font-size: 25px;
	font-weight: 650;
	letter-spacing: -.025em;
	line-height: 1.2;
}

.friendly-project-copy span {
	color: var(--ink-soft);
	font-size: 13px;
	font-weight: 600;
}

.rough-idea-section {
	background: var(--white);
}

.rough-idea-grid {
	display: grid;
	grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr);
	gap: clamp(60px, 9vw, 130px);
	align-items: center;
}

.rough-idea-mark {
	display: grid;
	min-height: 390px;
	place-items: center;
	border-radius: 6px;
	background: var(--accent);
	color: var(--white);
}

.rough-idea-mark svg {
	width: min(58%, 230px);
	stroke-width: 3;
}

.rough-idea-section p:not(.friendly-kicker) {
	max-width: 690px;
	margin: 26px 0 32px;
	color: var(--ink-soft);
	font-size: 19px;
}

.process-friendly {
	background: var(--paper-deep);
}

.friendly-process-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 55px 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.friendly-process-list li {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 20px;
	padding: 35px 38px 40px 0;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.friendly-process-list li:nth-child(even) {
	padding-right: 0;
	padding-left: 38px;
	border-right: 0;
}

.friendly-process-list li > span {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.friendly-process-list h3 {
	margin: 2px 0 9px;
	font-family: var(--display);
	font-size: 24px;
	font-weight: 650;
	letter-spacing: -.02em;
}

.friendly-process-list p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 16px;
}

.contact-friendly {
	background: var(--green);
	color: var(--white);
}

.contact-friendly-grid {
	display: grid;
	grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
	gap: clamp(60px, 9vw, 130px);
	align-items: start;
}

.friendly-kicker-light {
	color: #f1a486;
}

.contact-friendly-copy > p:not(.friendly-kicker) {
	max-width: 550px;
	margin: 28px 0 0;
	color: rgba(255, 255, 255, .75);
	font-size: 19px;
}

.contact-direct {
	display: grid;
	gap: 4px;
	margin-top: 46px;
}

.contact-direct span {
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.contact-direct a {
	font-family: var(--display);
	font-size: 30px;
	font-weight: 650;
}

.friendly-form-panel {
	padding: clamp(28px, 4vw, 48px);
	border-radius: 6px;
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
}

.friendly-contact-form {
	gap: 23px;
}

.friendly-contact-form label > span {
	color: var(--ink-soft);
	font-size: 12px;
}

.friendly-contact-form input,
.friendly-contact-form select,
.friendly-contact-form textarea {
	border-bottom-color: rgba(33, 51, 45, .25);
	color: var(--ink);
}

.friendly-contact-form input:focus,
.friendly-contact-form select:focus,
.friendly-contact-form textarea:focus {
	border-bottom-color: var(--accent);
}

.friendly-contact-form select {
	background: transparent;
}

.friendly-contact-form select option {
	color: var(--ink);
	background: var(--white);
}

.friendly-contact-form input[type="file"] {
	height: auto;
	padding: 12px 0;
	border-bottom: 0;
	font-size: 14px;
}

.friendly-contact-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 9px 12px;
	border: 1px solid rgba(33, 51, 45, .2);
	border-radius: 3px;
	background: var(--sand);
	color: var(--ink);
	font: inherit;
	cursor: pointer;
}

.file-upload-field small {
	color: var(--ink-soft);
	font-size: 12px;
	line-height: 1.5;
}

.friendly-submit {
	border-radius: 4px;
	background: var(--accent);
	color: var(--white);
	font-family: var(--body);
}

.friendly-submit:hover,
.friendly-submit:focus-visible {
	background: var(--accent-dark);
}

.friendly-footer {
	padding-top: 80px;
	background: var(--green-dark);
	color: var(--white);
}

.friendly-footer-main {
	display: grid;
	grid-template-columns: 1.4fr .8fr .8fr;
	gap: 70px;
	padding-bottom: 70px;
}

.footer-logo img {
	width: auto;
	max-width: 240px;
	height: 62px;
	object-fit: contain;
	object-position: left center;
	filter: brightness(0) invert(1);
}

.footer-brand > p {
	max-width: 430px;
	margin: 25px 0 0;
	color: rgba(255, 255, 255, .67);
}

.friendly-footer-column h2 {
	margin: 0 0 20px;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.friendly-footer-column p,
.friendly-footer-column a {
	display: block;
	margin: 0 0 7px;
	color: rgba(255, 255, 255, .7);
}

.friendly-footer-column a:hover {
	color: #f1a486;
}

.friendly-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding-block: 25px 32px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	color: rgba(255, 255, 255, .5);
	font-size: 13px;
}

.friendly-footer-bottom p {
	margin: 0;
}

.friendly-footer-bottom > div {
	display: flex;
	gap: 24px;
}

.friendly-footer-bottom a:hover {
	color: var(--white);
}

/* Bring internal templates into the warmer visual system. */
.page-title,
.project-title-row h1,
.archive-hero h1 {
	font-size: clamp(52px, 7vw, 96px);
	letter-spacing: -.045em;
	line-height: .98;
}

.project-next {
	background: var(--accent);
}

.archive-projects {
	background: var(--green-dark);
}

@media (max-width: 1024px) {
	:root {
		--shell: min(100% - 48px, 1180px);
	}

	.home-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
		gap: 45px;
	}

	.friendly-service-card {
		min-height: 480px;
		padding: 28px;
	}

	.friendly-project-image {
		height: 290px;
	}

	.contact-friendly-grid {
		gap: 60px;
	}

	.friendly-footer-main {
		grid-template-columns: 1.2fr .8fr .8fr;
		gap: 45px;
	}
}

@media (max-width: 820px) {
	:root {
		--shell: calc(100vw - 36px);
	}

	.brand-image img,
	.brand-logo img {
		max-width: 170px;
		height: 44px;
	}

	.friendly-navigation {
		background: var(--paper);
	}

	.friendly-navigation > a {
		font-family: var(--body);
		font-size: 24px;
	}

	.friendly-navigation .friendly-nav-cta {
		color: var(--white);
	}

	.home-hero-grid,
	.home-about-grid,
	.rough-idea-grid,
	.contact-friendly-grid {
		grid-template-columns: 1fr;
	}

	.home-hero-copy {
		padding-bottom: 0;
	}

	.home-hero h1 {
		font-size: clamp(48px, 12vw, 72px);
	}

	.home-hero-photo {
		height: min(110vw, 680px);
	}

	.workshop-points {
		grid-template-columns: repeat(2, 1fr);
	}

	.workshop-points span:nth-child(2) {
		border-right: 0;
	}

	.workshop-points span:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, .15);
	}

	.friendly-section-heading {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.friendly-section-heading > p {
		max-width: 560px;
	}

	.friendly-service-grid,
	.friendly-project-grid {
		grid-template-columns: 1fr;
	}

	.friendly-service-card {
		min-height: 0;
	}

	.friendly-service-card a {
		margin-top: 30px;
	}

	.friendly-project-image {
		height: min(75vw, 520px);
	}

	.rough-idea-mark {
		min-height: 330px;
	}

	.friendly-process-list {
		grid-template-columns: 1fr;
	}

	.friendly-process-list li,
	.friendly-process-list li:nth-child(even) {
		padding: 30px 0;
		border-right: 0;
	}

	.friendly-footer-main {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.friendly-section {
		padding-block: 76px;
	}

	.home-hero {
		padding-top: 40px;
	}

	.home-hero h1 {
		font-size: 46px;
	}

	.home-hero-intro {
		font-size: 18px;
	}

	.home-hero-actions {
		display: grid;
	}

	.button {
		width: 100%;
	}

	.workshop-points {
		width: 100%;
		margin-top: 48px;
	}

	.workshop-points span {
		min-height: 64px;
		padding: 11px;
		font-size: 12px;
	}

	.home-about h2,
	.friendly-section-heading h2,
	.rough-idea-section h2,
	.contact-friendly h2 {
		font-size: 38px;
	}

	.service-card-icon {
		margin-bottom: 30px;
	}

	.friendly-project-image {
		height: 310px;
	}

	.rough-idea-mark {
		min-height: 270px;
	}

	.friendly-process-list li {
		grid-template-columns: 42px 1fr;
		gap: 14px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.friendly-form-panel {
		padding: 28px 22px;
	}

	.friendly-footer-main {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.footer-brand {
		grid-column: auto;
	}

	.friendly-footer-bottom {
		display: grid;
	}

	.friendly-footer-bottom > div {
		flex-wrap: wrap;
	}
}

/* Commercial service, about, contact and case-study pages. */
.commercial-hero {
	padding-block: clamp(88px, 10vw, 145px);
	background: var(--paper);
}

.commercial-hero-copy {
	max-width: 1040px;
}

.commercial-hero h1 {
	max-width: 1000px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(54px, 7.2vw, 94px);
	font-weight: 650;
	letter-spacing: -.05em;
	line-height: .98;
	text-wrap: balance;
}

.commercial-hero-copy > p:not(.friendly-kicker) {
	max-width: 780px;
	margin: 32px 0 0;
	color: var(--ink-soft);
	font-size: clamp(20px, 2vw, 25px);
	line-height: 1.5;
}

.commercial-hero .button {
	margin-top: 34px;
}

.commercial-hero-image {
	height: clamp(520px, 68vw, 860px);
	overflow: hidden;
	background: var(--paper-deep);
}

.commercial-page-section {
	padding-block: clamp(88px, 10vw, 140px);
	background: var(--white);
}

.commercial-content-grid {
	display: grid;
	grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
	gap: clamp(70px, 11vw, 160px);
	align-items: start;
}

.commercial-content-grid > aside {
	position: sticky;
	top: calc(var(--header-height) + 40px);
}

.commercial-content-grid > aside > p:last-child {
	margin: 0;
	color: var(--ink-soft);
	font-size: 17px;
}

.commercial-aside ul {
	margin: 25px 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.commercial-aside li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: 15px;
}

.commercial-prose {
	font-size: 18px;
}

.commercial-prose > * {
	max-width: 760px;
}

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

.commercial-prose h2 {
	margin: 2.1em 0 .65em;
	font-family: var(--display);
	font-size: clamp(31px, 3.5vw, 46px);
	font-weight: 650;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.commercial-prose p,
.commercial-prose li {
	color: var(--ink-soft);
}

.commercial-prose ul {
	margin: 24px 0 38px;
	padding-left: 22px;
}

.commercial-prose li {
	margin-bottom: 9px;
	padding-left: 5px;
}

.case-facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-block: 28px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.case-facts > div {
	display: grid;
	gap: 6px;
	padding: 8px 24px;
	border-right: 1px solid var(--line);
}

.case-facts > div:first-child {
	padding-left: 0;
}

.case-facts > div:last-child {
	border-right: 0;
}

.case-facts span {
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.case-facts strong {
	font-size: 17px;
}

.case-body-section {
	padding-top: 35px;
}

.case-image-section {
	padding: 16px;
	background: var(--paper-deep);
}

.case-image-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
	min-height: 640px;
}

.case-image-grid figure {
	margin: 0;
	overflow: hidden;
	background: var(--ink);
}

.case-image-grid figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-quote-panel {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(40px, 5vw, 72px);
	background: var(--accent);
	color: var(--white);
}

.case-quote-panel blockquote {
	margin: auto 0 0;
	font-family: var(--warm-serif);
	font-size: clamp(32px, 3.4vw, 52px);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: 1.1;
}

.case-gallery-section {
	padding: 16px 16px clamp(80px, 9vw, 120px);
	background: var(--paper-deep);
}

.case-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
}

.case-gallery figure {
	margin: 0;
	overflow: hidden;
	background: var(--white);
}

.case-gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.case-gallery figcaption {
	padding: 14px 4px 4px;
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.related-services {
	padding-block: clamp(75px, 8vw, 110px);
	background: var(--paper-deep);
}

.related-service-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-top: 28px;
}

.related-service-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 100px;
	padding: 24px 28px;
	border-radius: 5px;
	background: var(--white);
	font-weight: 650;
	transition: transform .2s ease, box-shadow .2s ease;
}

.related-service-links a:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(33, 51, 45, .08);
}

.related-service-links strong {
	color: var(--accent);
	font-size: 24px;
}

.commercial-cta {
	padding-block: clamp(80px, 9vw, 125px);
	background: var(--green);
	color: var(--white);
}

.commercial-cta-inner {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 60px;
}

.commercial-cta h2 {
	max-width: 820px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(42px, 5.2vw, 68px);
	font-weight: 650;
	letter-spacing: -.045em;
	line-height: 1.04;
}

.button-light {
	flex: 0 0 auto;
	background: var(--white);
	color: var(--green);
}

.button-light:hover,
.button-light:focus-visible {
	background: var(--accent);
	color: var(--white);
}

.service-overview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.service-overview-card {
	display: flex;
	flex-direction: column;
	min-height: 430px;
	padding: 36px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--paper);
	transition: transform .2s ease, box-shadow .2s ease;
}

.service-overview-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 34px rgba(33, 51, 45, .08);
}

.service-overview-card h2 {
	margin: 0 0 22px;
	font-family: var(--display);
	font-size: 31px;
	font-weight: 650;
	letter-spacing: -.03em;
	line-height: 1.12;
}

.service-overview-card > p:not(.friendly-kicker) {
	margin: 0;
	color: var(--ink-soft);
}

.service-overview-card > span {
	margin-top: auto;
	padding-top: 30px;
	color: var(--accent-dark);
	font-size: 14px;
	font-weight: 700;
}

.about-hero-image .cover-image {
	object-position: center;
}

.contact-page-hero {
	padding-bottom: 85px;
	background: var(--paper-deep);
}

.contact-page-section {
	background: var(--paper-deep);
}

.contact-page-details h2 {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(38px, 4.5vw, 58px);
	font-weight: 650;
	letter-spacing: -.04em;
	line-height: 1.06;
}

.contact-page-details > p {
	max-width: 540px;
	margin: 25px 0 0;
	color: var(--ink-soft);
	font-size: 18px;
}

.contact-page-details dl {
	margin: 45px 0 0;
	border-top: 1px solid var(--line);
}

.contact-page-details dl > div {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 20px;
	padding: 17px 0;
	border-bottom: 1px solid var(--line);
}

.contact-page-details dt {
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.contact-page-details dd {
	margin: 0;
	font-weight: 600;
}

@media (max-width: 900px) {
	.commercial-content-grid,
	.case-image-grid {
		grid-template-columns: 1fr;
	}

	.commercial-content-grid > aside {
		position: static;
	}

	.case-image-grid figure {
		min-height: 560px;
	}

	.case-quote-panel {
		min-height: 430px;
	}

	.case-facts {
		grid-template-columns: repeat(2, 1fr);
	}

	.case-facts > div:nth-child(2) {
		border-right: 0;
	}

	.case-facts > div:nth-child(-n+2) {
		border-bottom: 1px solid var(--line);
	}

	.service-overview-grid {
		grid-template-columns: 1fr;
	}

	.service-overview-card {
		min-height: 0;
	}

	.service-overview-card > span {
		margin-top: 35px;
	}
}

@media (max-width: 700px) {
	.commercial-hero {
		padding-block: 72px;
	}

	.commercial-hero h1 {
		font-size: 48px;
	}

	.commercial-hero-image {
		width: calc(100vw - 20px);
		height: 68vh;
		min-height: 480px;
	}

	.case-facts {
		grid-template-columns: 1fr;
	}

	.case-facts > div,
	.case-facts > div:first-child {
		padding: 16px 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.case-facts > div:last-child {
		border-bottom: 0;
	}

	.related-service-links {
		grid-template-columns: 1fr;
	}

	.commercial-cta-inner {
		display: grid;
	}

	.commercial-cta .button {
		width: 100%;
	}

	.case-image-section {
		padding: 8px;
	}

	.case-image-grid figure {
		min-height: 430px;
	}

	.contact-page-details dl > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

.not-found-page {
	min-height: 68vh;
	display: flex;
	align-items: center;
}

.search-page-hero {
	padding-bottom: 80px;
	border-bottom: 1px solid var(--line);
}

.search-results-wrap {
	max-width: 900px;
}

.search-results-list {
	display: grid;
	gap: 18px;
}

.search-result-card {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--paper);
}

.search-result-card h2 {
	margin: 0 0 14px;
	font-family: var(--display);
	font-size: 31px;
	font-weight: 650;
	letter-spacing: -.03em;
}

.search-result-card > div {
	color: var(--ink-soft);
}

.search-result-card .friendly-text-link {
	margin-top: 18px;
}

.search-empty h2 {
	margin: 0;
	font-family: var(--display);
	font-size: 42px;
	letter-spacing: -.035em;
}

.search-empty p {
	margin: 15px 0 28px;
	color: var(--ink-soft);
}
