:root {
	--ink: #101312;
	--ink-soft: #2a302e;
	--paper: #f6f2ea;
	--white: #ffffff;
	--mist: #dcebe5;
	--teal: #0f766e;
	--teal-dark: #094b47;
	--copper: #b97432;
	--clay: #8f4e39;
	--line: rgba(16, 19, 18, 0.12);
	--shadow: 0 24px 70px rgba(16, 19, 18, 0.18);
	--radius: 8px;
	--shell: min(1180px, calc(100% - 40px));
	--header-height: 82px;
	font-size: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
	letter-spacing: 0;
}

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

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

button,
input,
textarea {
	font: inherit;
	letter-spacing: 0;
}

button {
	cursor: pointer;
}

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

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 80;
	transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled {
	background: rgba(16, 19, 18, 0.92);
	backdrop-filter: blur(18px);
	border-color: rgba(255, 255, 255, 0.1);
}

.header-inner {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--white);
	min-width: 0;
}

.brand-mark {
	width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.44);
	background: rgba(255, 255, 255, 0.08);
	font-family: Georgia, serif;
	font-size: 1.55rem;
	font-weight: 700;
	border-radius: var(--radius);
}

.brand-logo img {
	max-width: 210px;
	max-height: 58px;
	object-fit: contain;
}

.brand-copy {
	display: grid;
	gap: 1px;
	line-height: 1.05;
}

.brand-copy span {
	font-size: 1.05rem;
	font-weight: 800;
}

.brand-copy small {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.75rem;
}

.primary-nav .menu,
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 13px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.92rem;
	font-weight: 650;
	border-radius: var(--radius);
	transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
	color: var(--white);
	background: rgba(255, 255, 255, 0.11);
	transform: translateY(-1px);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	padding: 11px;
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	width: 100%;
	margin: 5px 0;
	background: var(--white);
	transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hero {
	min-height: 100svh;
	position: relative;
	display: grid;
	align-items: center;
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
	padding: 150px 0 72px;
}

.hero-bg,
.hero-shade {
	position: absolute;
	inset: 0;
}

.hero-bg {
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
	background:
		linear-gradient(90deg, rgba(16, 19, 18, 0.91) 0%, rgba(16, 19, 18, 0.62) 48%, rgba(16, 19, 18, 0.24) 100%),
		linear-gradient(180deg, rgba(16, 19, 18, 0.32), rgba(16, 19, 18, 0.82));
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
	gap: 44px;
	align-items: end;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--copper);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 820px;
	margin: 0;
	font-size: 4.45rem;
	line-height: 0.96;
	font-weight: 880;
}

.hero-lead {
	max-width: 720px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.18rem;
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: var(--radius);
	border: 1px solid transparent;
	font-weight: 800;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
	background: var(--copper);
	color: var(--white);
	box-shadow: 0 14px 32px rgba(185, 116, 50, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
	background: #a76325;
}

.button-secondary {
	border-color: rgba(255, 255, 255, 0.34);
	color: var(--white);
	background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
	background: rgba(255, 255, 255, 0.16);
}

.hero-panel {
	background: rgba(246, 242, 234, 0.92);
	color: var(--ink);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow);
	transform-style: preserve-3d;
}

.panel-kicker {
	display: block;
	color: var(--teal);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.hero-panel strong {
	display: block;
	font-size: 1.45rem;
	line-height: 1.18;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 24px;
}

.hero-stats span {
	min-height: 84px;
	display: grid;
	align-content: center;
	gap: 2px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	font-size: 0.78rem;
	color: rgba(16, 19, 18, 0.7);
}

.hero-stats b {
	display: block;
	color: var(--clay);
	font-size: 1.45rem;
	line-height: 1;
}

.section {
	padding: 108px 0;
}

.split,
.company-grid,
.contact-grid,
.reference-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
	gap: 54px;
	align-items: center;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 38px;
}

.section-copy h2,
.section-heading h2,
.page-hero h1 {
	margin: 0;
	font-size: 2.55rem;
	line-height: 1.08;
}

.section-copy p:not(.eyebrow) {
	color: rgba(16, 19, 18, 0.72);
	font-size: 1.02rem;
}

.intro-band {
	background: var(--white);
}

.image-feature {
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--ink);
}

.image-feature img {
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	transition: transform 700ms ease;
}

.image-feature:hover img {
	transform: scale(1.05);
}

.image-feature figcaption {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	padding: 12px 14px;
	color: var(--white);
	background: rgba(16, 19, 18, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	backdrop-filter: blur(14px);
	font-weight: 750;
}

.service-section {
	background: var(--mist);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.service-card {
	min-height: 260px;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--white);
	border: 1px solid rgba(15, 118, 110, 0.18);
	transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow);
	background: #fbfdfc;
}

.service-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius);
	font-weight: 850;
}

.service-card h3 {
	margin: 56px 0 10px;
	font-size: 1.25rem;
}

.service-card p {
	margin: 0;
	color: rgba(16, 19, 18, 0.68);
}

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

.project-section .section-heading h2 {
	color: var(--white);
}

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

.project-card {
	--delay: 0ms;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: #1d211f;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 240ms ease, border-color 240ms ease;
	transition-delay: var(--delay);
}

.project-card:hover {
	transform: translateY(-8px);
	border-color: rgba(185, 116, 50, 0.8);
}

.project-media {
	width: 100%;
	display: block;
	border: 0;
	padding: 0;
	background: transparent;
	overflow: hidden;
}

.project-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 640ms ease, filter 640ms ease;
}

.project-card:hover img {
	transform: scale(1.08);
	filter: saturate(1.12);
}

.project-copy {
	padding: 18px;
}

.project-copy span {
	color: var(--copper);
	font-weight: 800;
	font-size: 0.78rem;
	text-transform: uppercase;
}

.project-copy h3 {
	margin: 8px 0 8px;
	font-size: 1.18rem;
	line-height: 1.22;
}

.project-copy p {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
}

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

.reference-layout {
	align-items: start;
}

.reference-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.reference-columns > div {
	padding: 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.reference-columns h3 {
	margin: 0 0 14px;
	color: var(--teal-dark);
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.check-list li {
	position: relative;
	padding-left: 20px;
	color: rgba(16, 19, 18, 0.78);
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--copper);
}

.check-list.compact {
	gap: 8px;
	font-size: 0.92rem;
}

.gallery-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--ink);
}

.gallery-item {
	position: relative;
	min-height: 260px;
	border: 0;
	padding: 0;
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
	text-align: left;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	opacity: 0.76;
	transition: transform 700ms ease, opacity 220ms ease;
}

.gallery-item span {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	font-size: 1rem;
	font-weight: 850;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.36);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
	transform: scale(1.08);
	opacity: 0.98;
}

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

.info-stack {
	display: grid;
	gap: 12px;
}

.info-row {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 18px;
	align-items: center;
	padding: 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.info-row span {
	color: var(--teal);
	font-size: 0.82rem;
	font-weight: 850;
	text-transform: uppercase;
}

.info-row strong {
	font-size: 1.03rem;
}

.contact-section {
	background: var(--teal-dark);
	color: var(--white);
}

.contact-section .section-copy p:not(.eyebrow) {
	color: rgba(255, 255, 255, 0.72);
}

.contact-cards {
	display: grid;
	gap: 10px;
	margin-top: 28px;
}

.contact-cards a,
.contact-cards span {
	display: block;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
}

.contact-cards a:hover,
.contact-cards a:focus-visible {
	background: rgba(255, 255, 255, 0.14);
}

.contact-form {
	display: grid;
	gap: 14px;
	padding: 24px;
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

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

.contact-form span {
	font-size: 0.82rem;
	font-weight: 850;
	color: var(--teal-dark);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 13px;
	background: #fbfaf7;
	color: var(--ink);
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-alert {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--radius);
	background: #fff1df;
	color: #743b12;
}

.form-alert.success {
	background: #e2f5ea;
	color: #135533;
}

.page-hero {
	min-height: 48vh;
	display: grid;
	align-items: end;
	padding: 150px 0 70px;
	background:
		linear-gradient(90deg, rgba(16, 19, 18, 0.9), rgba(16, 19, 18, 0.72)),
		url("../img/hero-city.jpg") center / cover;
	color: var(--white);
}

.page-hero p {
	max-width: 640px;
	color: rgba(255, 255, 255, 0.78);
}

.page-content-section {
	background: var(--white);
}

.page-shell {
	max-width: 920px;
}

.page-shell h2,
.page-shell h3 {
	line-height: 1.16;
}

.page-shell a {
	color: var(--teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-shell img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.post-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}

.post-card + .post-card {
	margin-top: 18px;
}

.site-footer {
	background: #141816;
	color: var(--white);
	padding: 68px 0 26px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr;
	gap: 44px;
}

.site-footer h2 {
	margin: 0 0 16px;
	font-size: 1rem;
	color: var(--copper);
}

.site-footer p,
.footer-list,
.footer-menu a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-list,
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 9px;
}

.footer-menu {
	align-items: start;
}

.footer-list a:hover,
.footer-menu a:hover,
.footer-bottom a:hover {
	color: var(--white);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 46px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.9rem;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: none;
	place-items: center;
	padding: 34px;
	background: rgba(16, 19, 18, 0.9);
}

.lightbox.is-open {
	display: grid;
}

.lightbox img {
	max-height: 82vh;
	width: min(1040px, 100%);
	object-fit: contain;
	border-radius: var(--radius);
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.lightbox p {
	margin: 14px 0 0;
	color: var(--white);
	font-weight: 800;
	text-align: center;
}

.lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border-radius: var(--radius);
	font-size: 1.6rem;
	line-height: 1;
}

.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes heroDrift {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.09) translate3d(-1.5%, 1%, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}
}

@media (max-width: 1040px) {
	:root {
		--shell: min(100% - 32px, 920px);
	}

	.hero-grid,
	.split,
	.company-grid,
	.contact-grid,
	.reference-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero h1 {
		font-size: 3.5rem;
	}

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

	.gallery-strip,
	.reference-columns {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	:root {
		--header-height: 72px;
		--shell: min(100% - 24px, 620px);
	}

	.site-header {
		background: rgba(16, 19, 18, 0.94);
		backdrop-filter: blur(16px);
	}

	.brand-copy small {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		top: calc(100% + 1px);
		left: 12px;
		right: 12px;
		display: none;
		padding: 10px;
		background: rgba(16, 19, 18, 0.96);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		display: grid;
		gap: 4px;
	}

	.primary-nav a {
		width: 100%;
		justify-content: flex-start;
	}

	.hero {
		min-height: auto;
		padding: 120px 0 58px;
	}

	.hero-grid {
		gap: 26px;
	}

	.hero h1 {
		font-size: 2.55rem;
		line-height: 1.02;
	}

	.hero-lead {
		font-size: 1rem;
	}

	.hero-stats {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 72px 0;
	}

	.section-copy h2,
	.section-heading h2,
	.page-hero h1 {
		font-size: 2rem;
	}

	.service-grid,
	.project-grid,
	.gallery-strip,
	.reference-columns {
		grid-template-columns: 1fr;
	}

	.info-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.footer-bottom {
		display: grid;
	}
}

@media (max-width: 420px) {
	.brand-mark {
		width: 38px;
		height: 38px;
	}

	.brand-copy span {
		font-size: 0.92rem;
	}

	.hero h1 {
		font-size: 2.18rem;
	}

	.button {
		width: 100%;
	}
}
