:root {
	--dark-text: #2a3439;
	--text: #667077;
	--light-text: #94a3b8;
	--cream: #faf7f2;
	--cream2: #f0eae1;
	--accent: #d9a05b;
	--white: #fff;
	--offwhite: #e2e8f0;
	--black: #1e252b;
	--max: 1280px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--dark-text);
	font-family: "Geist", Arial, Helvetica, sans-serif;
	line-height: 1.6;
}

h1,
h2,
h3,
.brand-name,
.footer-title {
	font-family: "Young Serif", Georgia, "Times New Roman", serif;
	font-weight: 400;
	margin: 0 0 18px;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.5rem, 4vw, 4.4rem);
}

h2 {
	font-size: clamp(1.6rem, 2vw, 3rem);
}

h3 {
	font-size: 1.3rem;
}

p {
	margin: 0 0 18px;
	color: var(--text);
}

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

.container {
	width: min(var(--max), calc(100% - 48px));
	margin: auto;
}

.site-header {
	height: 82px;
	background: var(--cream);
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 20;
}

.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

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

.logo {
	width: 42px;
	height: 42px;
}

.brand-name {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.brand-sub {
	display: block;
	font-size: 0.58rem;
	font-weight: 600;
	color: var(--accent);
	margin-top: 3px;
}

nav ul {
	display: flex;
	gap: 34px;
	align-items: center;
	list-style: none;
}

nav a {
	font-size: 0.92rem;
	font-weight: 500;
	margin: 29px 0 24px;
	position: relative;
	transition: color 0.2s;
}

nav a.active,
nav a:hover,
nav a:focus-within {
	color: var(--accent);
}

nav a::after {
	content: "";
	position: absolute;
	background: var(--accent);
	height: 2px;
	inset: 110% 100% 0 0;
	transition: inset 0.2s;
}

nav a.active::after,
nav a:hover::after,
nav a:focus-within::after {
	inset: 110% 0 0 0;
}

.menu-buttons {
	display: none;
	border: 0;
	background: none;
	font-size: 1.5rem;
}

.eyebrow {
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 14px;
}

.eyebrow:before {
	content: "";
	display: inline-block;
	width: 30px;
	height: 2px;
	background: var(--accent);
	vertical-align: middle;
	margin-right: 10px;
}

.hero {
	min-height: 560px;
	display: flex;
	align-items: center;
	color: var(--white);
	position: relative;
	overflow: hidden;
}

.hero img,
.page-banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	z-index: -2;
}

.hero:before,
.page-banner:before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--black);
	opacity: 0.8;
	z-index: -1;
}

.hero p,
.page-banner p {
	color: var(--offwhite);
	max-width: 590px;
}

.btn {
	display: inline-block;
	background: var(--accent);
	padding: 13px 28px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.9rem;
	transition: scale 0.2s;
	transform-origin: 0 100%;
}

.btn p {
	color: var(--black);
	margin: 0;
	position: relative;
}

.hero .btn:hover,
.hero .btn:focus-within {
	scale: 1.1;
}

.hero .btn p::after {
	content: "";
	position: absolute;
	background: var(--black);
	height: 2px;
	inset: 90% 100% 0 0;
	transition: inset 0.2s;
}

.hero .btn:hover p::after {
	inset: 90% 0 0 0;
}

.section {
	padding: 78px 0;
}

.alt {
	background: var(--cream2);
}

.center {
	text-align: center;
}

.center p {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.intro {
	padding: 96px 0;
}

.project-card,
.before-after,
.quote,
.service-card,
.value-card,
.contact-card,
.form-card,
.qr-card,
.stats,
.owner-grid img {
	background: var(--white);
	border: 1px solid #2a343925;
	border-radius: 10px;
	box-shadow: 4px 4px 8px #1e252b0f;
}

.project-card {
	padding: 1rem;
}

.project-card img,
.ba-grid img {
	width: 100%;
	aspect-ratio: 4/3;
	border-radius: 6px;
	object-fit: cover;
	object-position: 50% 30%;
}

.project-card p {
	margin: 8px 0 0;
	font-family: "Young Serif", Georgia, "Times New Roman", serif;
	color: var(--dark-text);
}

a.project-card p {
	text-decoration: underline;
}

.grid {
	display: grid;
	gap: 24px;
}

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

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

.before-after {
	padding: 14px;
}

.ba-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ba-grid img {
	min-height: 180px;
	aspect-ratio: 3/4;
}

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

.quotes div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}

.quote {
	padding: 26px;
	margin: 0;
}

.cta {
	background: var(--black);
	color: var(--white);
	text-align: center;
	padding: 64px 0;
}

.cta p {
	color: var(--light-text);
}

.cta-contact {
	display: flex;
	justify-content: center;
	gap: 40px;
	font-weight: 600;
}

.cta-contact div {
	display: flex;
	gap: 12px;
	align-items: center;
}

.cta img {
	height: 1.2em;
}

footer {
	background: var(--black);
	color: var(--white);
	padding: 62px 0 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 60px;
}

.footer-title {
	font-size: 1.6rem;
	margin-bottom: 12px;
}

footer .smaller {
	color: var(--light-text);
}

footer p,
footer a {
	font-size: 14px;
	color: var(--white);
}

.footer-label {
	font-size: 0.9rem;
	color: var(--accent);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.no-margin {
	margin: 0;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

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

.footer-bottom {
	border-top: 1px solid #334048;
	margin-top: 45px;
	padding-top: 25px;
	display: flex;
	justify-content: space-between;
}

/* Other pages */

.page-banner {
	color: var(--white);
	min-height: 380px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.page-banner h1 {
	font-size: 3.3rem;
}

.about-banner img {
	object-position: 50% 53%;
}

.grid-2-skew {
	grid-template-columns: 3fr 2fr;
	gap: clamp(4rem, 8vw, 10rem);
}

.areas {
	background: var(--cream2);
	border: 1px solid #2a343925;
	border-radius: 10px;
	padding: 28px;
}

.areas p {
	font-size: 14px;
}

.areas ul {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}

.areas li {
	font-weight: 700;
	margin: 8px 0;
}

.areas li:before {
	content: url(images/pin.svg);
	color: var(--accent);
	margin-right: 10px;
}

.full-image {
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
}

.full-image img {
	border-radius: 1rem;
	aspect-ratio: 5/6;
}

#photo2 {
	object-position: top;
}

#special {
	margin: 48px auto;
	max-width: 900px;
}

#special a {
	text-decoration: underline;
}

.value-card {
	padding: 30px;
	text-align: left;
}

.icon-circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--cream2);
	display: grid;
	place-items: center;
}

.value-card h3 {
	padding-top: 20px;
}

.smaller-header {
	font-size: clamp(1.5rem, 2.6vw, 3rem);
}

.owner-grid {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 64px;
	align-items: start;
}

.owner-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 50% 20%;
}

.owner-name {
	text-align: center;
	margin-top: 16px;
}

.owner-name h3 {
	margin-bottom: 3px;
}

.owner-name small {
	color: var(--accent);
	font-weight: 700;
}

.stats {
	background: var(--cream2);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 28px 10px;
}

.stats div {
	text-align: center;
}

.stats strong {
	display: block;
	font: 700 2rem Georgia;
}

.service-card {
	display: grid;
	grid-template-columns: 310px 1fr;
	gap: 34px;
	padding: 16px;
	align-items: center;
}

.service-card img {
	min-height: 205px;
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 4px;
}

.service-num {
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--accent);
}

.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
}

.contact-card {
	padding: 22px;
	margin: 16px 0;
	display: flex;
	gap: 18px;
	align-items: center;
}

.contact-card strong {
	display: block;
}

.social-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-card {
	padding: 36px;
}

.form-card label {
	display: block;
	font-weight: 700;
	margin: 14px 0 7px;
}

.form-card input,
.form-card textarea {
	width: 100%;
	padding: 14px;
	border: 1px solid #d7d2ca;
	border-radius: 6px;
	background: #f8f5f0;
	font: inherit;
}

.form-card textarea {
	min-height: 120px;
	resize: vertical;
}

.form-card button {
	width: 100%;
	border: 0;
	margin-top: 22px;
	cursor: pointer;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag {
	background: var(--white);
	border-radius: 5px;
	padding: 7px 13px;
	font-weight: 700;
	font-size: 0.86rem;
}

.qr-card {
	padding: 24px;
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 24px;
	align-items: center;
	margin-top: 34px;
}
.qr-card img {
	width: 100%;
}

.stack {
	display: grid;
	gap: 24px;
}

.spacer-top {
	margin-top: 42px;
}

@media (max-width: 800px) {
	.container {
		width: min(100% - 40px, var(--max));
	}

	.menu-buttons {
		display: block;
	}

	.menu-buttons .close-btn {
		display: none;
	}

	.menu-buttons.open .close-btn {
		display: block;
	}

	.menu-buttons.open .open-btn {
		display: none;
	}

	nav {
		display: none;
		position: absolute;
		top: 82px;
		left: 0;
		right: 0;
		background: var(--cream);
		padding: 15px 25px;
		gap: 0;
		box-shadow: 0 17px 12px 4px #1e252b6b;
	}

	nav ul {
		flex-direction: column;
		gap: 0;
		padding: 0;
		margin: auto;
	}

	nav.open {
		display: block;
	}

	nav li {
		padding: 12px;
	}

	nav a {
		width: 100%;
		text-align: center;
	}

	.grid-2,
	.grid-2-skew,
	.grid-3,
	.contact-layout,
	.owner-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.grid-2-skew {
		gap: 0;
	}

	.no-padding {
		padding: 20px 0;
	}

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

	.hero {
		min-height: 480px;
	}

	.page-banner {
		min-height: 250px;
	}

	.stats {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.owner-grid {
		gap: 32px;
	}

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

	footer {
		text-align: center;
	}

	footer p,
	footer a {
		font-size: inherit;
	}

	.social-links {
		justify-content: center;
	}

	.footer-bottom {
		display: block;
	}

	.cta-contact {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.cta img:last-of-type {
		padding-left: 0;
	}

	.qr-card {
		grid-template-columns: 90px 1fr;
	}

	.qr-placeholder {
		height: 90px;
	}
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.gallery-item {
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 9px;
	background: #d9d4cc;
	border: 1px solid #e2ddd6;
	cursor: zoom-in;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.gallery-item:hover img {
	transform: scale(1.04);
}
.gallery-empty {
	padding: 50px 20px;
	text-align: center;
	background: #fff;
	border: 1px dashed #bbb;
	border-radius: 9px;
	color: var(--text);
}
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10, 16, 20, 0.92);
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 40px;
}
.lightbox[hidden] {
	display: none;
}
.lightbox-image {
	max-width: min(1100px, 90vw);
	max-height: 86vh;
	object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	font-size: 1.5rem;
	cursor: pointer;
}
.lightbox-close {
	top: 22px;
	right: 24px;
}
.lightbox-prev {
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox-next {
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.owner-photo-placeholder {
	background: #d9d4cc;
}
@media (max-width: 800px) {
	.values-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	.lightbox {
		padding: 20px;
	}
	.lightbox-prev {
		left: 10px;
	}
	.lightbox-next {
		right: 10px;
	}
}
