:root {
	--ink: #121814;
	--muted: #5a635c;
	--paper: #eef2ee;
	--paper-deep: #e2e8e2;
	--copper: #b24d2c;
	--copper-hot: #d0623a;
	--cyan: #5fc2ff;
	--cyan-deep: #3aa6e8;
	--field: #163028;
	--field-deep: #0f221c;
	--line: #cfd8d1;
	--radius: .22rem;
	--sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--shadow-soft: 0 22px 56px rgba(12, 20, 17, .16);
	--header-h: 5.5rem;
	color-scheme: light;
}

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

html {
	scroll-behavior: smooth;
}

body {
	position: relative;
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background:
		radial-gradient(1100px 480px at 8% -8%, rgba(178, 77, 44, .07), transparent 55%),
		radial-gradient(900px 420px at 96% 4%, rgba(22, 48, 40, .09), transparent 52%),
		#f5f7f4;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: .35;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
	background-size: 180px 180px;
	mix-blend-mode: multiply;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3 {
	font-family: var(--serif);
	font-weight: 560;
	line-height: 1.06;
	letter-spacing: -0.032em;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

a {
	color: var(--copper);
}

:focus-visible {
	outline: 2px solid #e7a15a;
	outline-offset: 3px;
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 40;
	padding: .5rem 1rem;
	background: #fff;
	color: #000;
}

.skip:focus {
	top: 1rem;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	color: var(--ink);
	background: rgba(245, 247, 244, .78);
	border-bottom: 1px solid rgba(18, 24, 20, .08);
	backdrop-filter: blur(18px) saturate(1.15);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
	transition:
		background .35s var(--ease),
		border-color .35s var(--ease),
		box-shadow .35s var(--ease);
}

.site-header::before {
	content: "";
	display: block;
	height: 2px;
	background: linear-gradient(90deg, var(--copper-hot), var(--cyan) 42%, transparent 78%);
}

.site-header.is-scrolled {
	background: rgba(245, 247, 244, .94);
	border-bottom-color: rgba(178, 77, 44, .2);
	box-shadow: 0 16px 40px rgba(12, 20, 17, .12);
}

.bar,
.wrap {
	width: min(1120px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: .65rem 1.65rem;
	padding: .55rem 0 .6rem;
	min-height: var(--header-h);
}

.logo {
	display: flex;
	align-items: center;
	line-height: 0;
	padding: .2rem .35rem .2rem 0;
}

.logo img {
	display: block;
	width: auto;
	height: 56px;
	max-width: 56px;
	aspect-ratio: 1;
	object-fit: contain;
	object-position: center;
	box-shadow: 0 8px 22px rgba(12, 20, 17, .14);
	transition: transform .4s var(--ease), box-shadow .35s ease;
}

.logo:hover img {
	transform: scale(1.04);
	box-shadow: 0 12px 28px rgba(12, 20, 17, .18);
}

.site-nav ul {
	display: flex;
	gap: .35rem 1.35rem;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
}

.site-nav a {
	position: relative;
	color: var(--ink);
	font-size: 1.18rem;
	font-weight: 650;
	letter-spacing: .015em;
	text-decoration: none;
	white-space: nowrap;
	transition: color .25s ease;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -.22rem;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--copper), var(--cyan));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ease);
}

.site-nav a:hover {
	color: var(--copper-hot);
}

.site-nav a:hover::after {
	transform: scaleX(1);
}

.kicker {
	margin: 0 0 .85rem;
	color: var(--copper);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	:root {
		--header-h: 6.85rem;
	}

	.bar {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"logo phone"
			"nav nav";
		gap: .45rem 1rem;
		padding: .45rem 0 .55rem;
	}

	.logo { grid-area: logo; }
	.phone-chip { grid-area: phone; }
	.site-nav {
		grid-area: nav;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.site-nav::-webkit-scrollbar {
		display: none;
	}

	.site-nav ul {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: .35rem 1.1rem;
		width: max-content;
		padding-bottom: .15rem;
	}

	.site-nav a {
		font-size: 1.05rem;
	}
}

@media (min-width: 901px) {
	:root {
		--header-h: 5.65rem;
	}

	.logo img {
		height: 64px;
		max-width: 64px;
	}

	.site-nav a {
		font-size: 1.22rem;
		letter-spacing: .02em;
	}
}

@media (max-width: 420px) {
	.logo img {
		height: 48px;
		max-width: 48px;
	}

	.site-nav a {
		font-size: .98rem;
	}

	.phone-chip span {
		display: none;
	}

	.phone-chip {
		padding: .42rem .75rem;
	}
}
