:root {
	--color-bg: #f4f6f1;
	--color-surface: #ffffff;
	--color-surface-muted: #e8ede4;
	--color-text: #20251f;
	--color-muted: #5c675b;
	--color-line: #cbd3c7;
	--color-accent: #619c2f;
	--color-accent-dark: #355f18;
	--color-header: rgba(244, 246, 241, 0.94);
	--radius: 6px;
	--content: 1180px;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: "Segoe UI", "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(32, 37, 31, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 37, 31, 0.025) 1px, transparent 1px);
	background-size: 32px 32px;
	z-index: -1;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

button,
input,
textarea {
	font: inherit;
}

button,
.button {
	transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out);
}

button:active,
.button:active {
	transform: scale(0.97);
}

:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.65rem 1rem;
	background: var(--color-text);
	color: var(--color-surface);
	transform: translateY(-160%);
	z-index: 50;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--color-header);
	border-bottom: 1px solid transparent;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
	border-color: var(--color-line);
	box-shadow: 0 8px 24px rgba(32, 37, 31, 0.08);
}

.nav-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(calc(100% - 2rem), var(--content));
	height: 72px;
	margin: 0 auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.98rem;
	font-weight: 750;
	letter-spacing: 0;
	text-decoration: none;
}

.brand img {
	width: 76px;
	height: 38px;
	object-fit: contain;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.site-nav a {
	font-size: 0.92rem;
	font-weight: 650;
	text-decoration: none;
}

.site-nav a:not(.button):hover {
	color: var(--color-accent-dark);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
	color: var(--color-text);
	cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	content: "";
}

.nav-toggle-lines::before {
	transform: translateY(-6px);
}

.nav-toggle-lines::after {
	transform: translateY(4px);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.7rem 1.15rem;
	border: 1px solid var(--color-text);
	border-radius: var(--radius);
	background: var(--color-text);
	color: var(--color-surface);
	font-size: 0.94rem;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.button:hover {
	border-color: var(--color-accent-dark);
	background: var(--color-accent-dark);
}

.button--accent {
	border-color: var(--color-accent-dark);
	background: var(--color-accent-dark);
	color: #ffffff;
}

.button--ghost {
	background: transparent;
	color: var(--color-text);
}

.button--ghost:hover {
	color: #ffffff;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	align-items: stretch;
	width: min(calc(100% - 2rem), var(--content));
	min-height: calc(100dvh - 72px);
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 5rem) 0;
	gap: clamp(2rem, 6vw, 5rem);
}

.hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.eyebrow {
	margin: 0 0 1rem;
	color: var(--color-accent-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin-top: 0;
	font-weight: 780;
	letter-spacing: 0;
	line-height: 1.08;
}

h1 {
	max-width: 12ch;
	margin-bottom: 1.25rem;
	font-size: clamp(2.7rem, 6vw, 5.8rem);
}

h2 {
	max-width: 17ch;
	margin-bottom: 1.2rem;
	font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero__lead {
	max-width: 43ch;
	margin: 0 0 1.75rem;
	color: var(--color-muted);
	font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.hero__actions,
.contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero__media {
	position: relative;
	min-height: 500px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-surface-muted);
}

.hero__media > img:first-child {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__mark {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	width: 122px;
	height: auto;
	padding: 0.6rem;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.92);
	object-fit: contain;
}

.trust-bar {
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
	background: var(--color-surface);
}

.trust-bar__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: min(calc(100% - 2rem), var(--content));
	margin: 0 auto;
}

.trust-item {
	padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
	border-right: 1px solid var(--color-line);
}

.trust-item:first-child {
	padding-left: 0;
}

.trust-item:last-child {
	border-right: 0;
}

.trust-item strong,
.trust-item span {
	display: block;
}

.trust-item span {
	margin-top: 0.15rem;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.section {
	padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section--surface {
	background: var(--color-surface);
}

.section--muted {
	background: var(--color-surface-muted);
}

.section__inner {
	width: min(calc(100% - 2rem), var(--content));
	margin: 0 auto;
}

.section__intro {
	max-width: 62ch;
	margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section__intro p,
.service p,
.project p,
.about-copy p,
.legal-shell p,
.legal-shell li {
	color: var(--color-muted);
}

.services-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr 1fr;
	gap: 1px;
	background: var(--color-line);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	overflow: hidden;
}

.service {
	min-height: 230px;
	padding: clamp(1.5rem, 3vw, 2.4rem);
	background: var(--color-surface);
}

.service--accent {
	background: var(--color-accent-dark);
	color: #ffffff;
}

.service--accent p {
	color: #e4eddc;
}

.service--wide {
	grid-column: span 2;
}

.service__number {
	display: block;
	margin-bottom: 3rem;
	color: var(--color-accent);
	font-size: 0.78rem;
	font-weight: 800;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1.25rem;
}

.project {
	grid-column: span 5;
	margin: 0 0 1.5rem;
}

.project:nth-child(2),
.project:nth-child(3) {
	grid-column: span 7;
}

.project__image {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-surface-muted);
}

.project__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 500ms var(--ease-out);
}

.project figcaption {
	padding-top: 1rem;
}

.project h3,
.project p {
	margin-bottom: 0.45rem;
}

.project p {
	margin-top: 0;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 7vw, 6rem);
}

.about-grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

.process {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 2rem;
	border-top: 1px solid var(--color-line);
}

.process div {
	padding: 1.25rem 1.25rem 0 0;
}

.process strong,
.process span {
	display: block;
}

.process span {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.72fr 1.28fr;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.contact-details {
	position: sticky;
	top: 104px;
	align-self: start;
}

.contact-list {
	display: grid;
	gap: 0.8rem;
	margin: 2rem 0;
}

.contact-list a {
	font-weight: 700;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
}

.field {
	display: grid;
	gap: 0.4rem;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-size: 0.9rem;
	font-weight: 700;
}

.field input,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.85rem;
	border: 1px solid #8e998c;
	border-radius: var(--radius);
	background: #ffffff;
	color: #20251f;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--color-accent-dark);
	outline: 3px solid rgba(97, 156, 47, 0.25);
}

.field-hint {
	color: var(--color-muted);
	font-size: 0.8rem;
}

.honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-status {
	display: none;
	grid-column: 1 / -1;
	margin: 0;
	padding: 0.8rem 1rem;
	border-left: 4px solid var(--color-accent-dark);
	background: var(--color-surface-muted);
}

.form-status.is-visible {
	display: block;
}

.form-status.is-error {
	border-color: #a13c31;
	background: #f5e5e2;
	color: #6f211a;
}

.form-consent {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--color-muted);
	font-size: 0.82rem;
}

.site-footer {
	padding: 3rem 0 1.5rem;
	background: #242924;
	color: #f1f4ee;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.8fr;
	width: min(calc(100% - 2rem), var(--content));
	margin: 0 auto;
	gap: 2rem;
}

.footer-brand img {
	width: 110px;
	height: auto;
	margin-bottom: 1rem;
	padding: 0.45rem;
	border-radius: var(--radius);
	background: #ffffff;
}

.footer-column h2 {
	margin-bottom: 0.8rem;
	font-size: 1rem;
}

.footer-column a,
.footer-column span {
	display: block;
	margin-bottom: 0.45rem;
	color: #d2dacd;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	width: min(calc(100% - 2rem), var(--content));
	margin: 2.5rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid #465045;
	color: #b9c3b5;
	font-size: 0.84rem;
}

.done-it-link {
	font-weight: 700;
}

.legal-hero {
	padding: clamp(3.5rem, 8vw, 6rem) 0 2rem;
}

.legal-hero h1 {
	max-width: none;
	font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.legal-shell {
	width: min(calc(100% - 2rem), 860px);
	margin: 0 auto;
	padding-bottom: 6rem;
}

.legal-shell h2 {
	max-width: none;
	margin-top: 3rem;
	font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-shell h3 {
	margin-top: 2rem;
	font-size: 1.2rem;
}

.legal-shell address {
	font-style: normal;
}

.reveal {
	opacity: 1;
	transform: none;
}

.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
	.project__image:hover img {
		transform: scale(1.035);
	}
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		display: none;
		align-items: stretch;
		padding: 1rem;
		border-bottom: 1px solid var(--color-line);
		background: var(--color-bg);
		box-shadow: 0 12px 20px rgba(32, 37, 31, 0.08);
	}

	.site-nav.is-open {
		display: grid;
	}

	.site-nav a:not(.button) {
		padding: 0.65rem 0;
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 3rem;
	}

	.hero__media {
		min-height: 420px;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.service--wide {
		grid-column: auto;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-details {
		position: static;
	}
}

@media (max-width: 680px) {
	.brand span {
		display: none;
	}

	h1 {
		font-size: clamp(2.6rem, 14vw, 4.3rem);
	}

	.hero__media {
		min-height: 350px;
	}

	.trust-bar__inner,
	.services-grid,
	.about-grid,
	.process,
	.contact-form,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.trust-item,
	.trust-item:first-child {
		padding: 1rem 0;
		border-right: 0;
		border-bottom: 1px solid var(--color-line);
	}

	.trust-item:last-child {
		border-bottom: 0;
	}

	.project,
	.project:nth-child(2),
	.project:nth-child(3) {
		grid-column: 1 / -1;
	}

	.field--full {
		grid-column: auto;
	}

	.site-footer,
	.footer-column,
	.footer-brand {
		text-align: center;
	}

	.footer-brand img {
		margin-right: auto;
		margin-left: auto;
	}

	.footer-column--secondary {
		display: none;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
		text-align: center;
	}

	@media (prefers-reduced-motion: no-preference) {
		.done-it-link {
			animation: done-it-pulse 2.8s ease-in-out infinite;
		}
	}
}

@keyframes done-it-pulse {
	0%, 100% {
		color: #f1f4ee;
		text-shadow: none;
	}
	50% {
		color: #b8e58f;
		text-shadow: 0 0 10px rgba(97, 156, 47, 0.65);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}

	.done-it-link {
		color: #b8e58f;
		text-decoration: underline;
	}
}