:root {
	--paper: #f5f4ef;
	--ink: #17241f;
	--muted: #64716b;
	--green: #b7ee73;
	--line: #dce0d8;
	--mono: 'DM Mono', monospace;
	--sans: 'DM Sans', sans-serif;
	--display: 'Manrope', sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
	outline: 2px solid #477844;
	outline-offset: 5px;
}

.page-width {
	width: min(1120px, calc(100% - 96px));
	margin-inline: auto;
}

.site-header {
	height: 82px;
	padding: 0 max(48px, calc((100% - 1120px) / 2));
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(23, 36, 31, .09);
}

.wordmark {
	font: 800 24px/1 var(--display);
	letter-spacing: -2px;
}

.wordmark span {
	color: #759b46;
}

.site-header nav {
	display: flex;
	align-items: center;
	gap: 34px;
	font-size: 13px;
	font-weight: 600;
}

.site-header nav > a:not(.nav-contact) {
	color: #56625c;
	transition: color .2s ease;
}

.site-header nav > a:not(.nav-contact):hover,
.text-link:hover {
	color: #608539;
}

.nav-contact {
	padding: 11px 16px;
	border: 1px solid #cbd1c7;
	border-radius: 999px;
	transition: background .2s ease, border-color .2s ease;
}

.nav-contact:hover {
	background: var(--green);
	border-color: var(--green);
}

.nav-contact span {
	margin-left: 9px;
}

.hero {
	min-height: 624px;
	padding-top: 102px;
	padding-bottom: 88px;
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	align-items: center;
	gap: 28px;
}

.hero-copy {
	position: relative;
	z-index: 1;
	padding-bottom: 14px;
}

.eyebrow {
	margin: 0 0 27px;
	font: 500 10px/1.5 var(--mono);
	letter-spacing: .12em;
	color: #62726a;
}

.status-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 7px 1px 0;
	border-radius: 50%;
	background: #76a944;
	box-shadow: 0 0 0 4px rgba(118, 169, 68, .14);
}

.hero h1 {
	margin: 0;
	font: 700 clamp(46px, 5.2vw, 68px)/1.08 var(--display);
	letter-spacing: -.065em;
}

.hero h1 span,
.section-heading h2 span {
	color: #72816e;
}

.hero-intro {
	max-width: 470px;
	margin: 24px 0 0;
	color: #64716b;
	font-size: 16px;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 25px;
	margin-top: 30px;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 17px;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	transition: transform .2s ease, background .2s ease;
}

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

.button-dark {
	background: var(--ink);
	color: white;
}

.button-dark:hover {
	background: #314238;
}

.button-dark span {
	color: var(--green);
	font-size: 16px;
}

.text-link {
	font-size: 12px;
	font-weight: 700;
	transition: color .2s ease;
}

.text-link span {
	margin-left: 7px;
}

.hero-location {
	margin-top: 48px;
	color: #77827c;
	font: 400 10px var(--mono);
	letter-spacing: .03em;
}

.location-mark {
	margin-right: 5px;
	color: #719646;
	font-size: 16px;
	vertical-align: -1px;
}

.map-playground {
	justify-self: end;
	width: min(100%, 480px);
	overflow: hidden;
	padding: 24px;
	border: 1px solid #e0e6da;
	border-radius: 26px;
	background: #f9faf5;
	box-shadow: 0 18px 55px rgba(48, 69, 48, .08);
}

.map-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.map-kicker {
	margin: 0 0 6px;
	color: #718471;
	font: 500 9px var(--mono);
	letter-spacing: .09em;
}

.map-kicker-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 5px;
	border-radius: 50%;
	background: #9ac874;
}

.map-header h2 {
	margin: 0;
	font: 700 22px var(--display);
	letter-spacing: -.05em;
}

.map-header h2 span {
	color: #759b46;
}

.map-header-icon {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: #e9f1df;
	color: #597e3d;
	font-size: 20px;
}

.map-instructions {
	margin: 11px 0 16px;
	color: #5e6f61;
	font-size: 12px;
	line-height: 1.6;
}

.map-visual {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	background: #e9eee2;
}

.map-visual:focus-within {
	outline: 2px solid #477844;
	outline-offset: 3px;
}

.map-canvas {
	display: block;
	width: 100%;
	aspect-ratio: 1.5;
	cursor: crosshair;
	touch-action: manipulation;
}

.map-radius {
	fill: rgba(165, 208, 124, .26);
	stroke: #80ae65;
	stroke-width: 2;
	stroke-dasharray: 6 6;
	pointer-events: none;
	transition: r .7s cubic-bezier(.2, 1.4, .4, 1);
}

.map-place {
	pointer-events: none;
	opacity: .55;
	transition: opacity .2s ease;
}

.map-place.is-nearby {
	opacity: 1;
}

.map-place circle {
	fill: #fffdf6;
	stroke: #c3d1ba;
	stroke-width: 2;
}

.map-place.is-nearby circle {
	stroke: #86ad6d;
}

.map-place text {
	fill: #557a49;
	font: 700 15px var(--sans);
	text-anchor: middle;
}

.map-origin {
	pointer-events: none;
}

.map-origin-halo {
	fill: rgba(48, 96, 59, .18);
}

.map-origin-dot {
	fill: #345f3d;
	stroke: white;
	stroke-width: 1;
}

.map-scale {
	pointer-events: none;
}

.map-scale path {
	fill: none;
	stroke: #53675b;
	stroke-width: 1.5;
}

.map-scale text {
	fill: #53675b;
	font: 10px var(--mono);
	text-anchor: middle;
}

.map-scale text:first-of-type {
	text-anchor: start;
}

.map-scale text:last-of-type {
	text-anchor: end;
}

.map-hint {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 250, .88);
	color: #5f7560;
	font: 500 8px var(--mono);
	letter-spacing: .06em;
	pointer-events: none;
}

.map-hint span {
	margin-left: 4px;
	color: #638e50;
}

.map-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 14px;
	color: #5e6f61;
	font-size: 10px;
}

.map-legend span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.map-legend-line {
	width: 17px;
	border-top: 2px solid;
}

.map-legend-rail {
	color: #53675b;
}

.map-legend-road {
	color: #b8aa91;
}

.map-legend-river {
	color: #91bdb4;
}

.map-legend b {
	display: inline-grid;
	width: 17px;
	height: 17px;
	place-items: center;
	border: 1px solid #c3d1ba;
	border-radius: 50%;
	background: #fffdf6;
	color: #557a49;
	font-size: 10px;
}

.map-controls {
	padding-top: 17px;
}

.map-control-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 700;
}

.map-control-heading output {
	color: #50763f;
	font: 500 11px var(--mono);
}

.map-controls input[type="range"] {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	height: 28px;
	margin: 8px 0 0;
	background: transparent;
	cursor: pointer;
}

.map-controls input[type="range"]::-webkit-slider-runnable-track {
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(to right, #82ac69 var(--slider-progress, 0%), #dce7d7 var(--slider-progress, 0%));
}

.map-controls input[type="range"]::-moz-range-track {
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(to right, #82ac69 var(--slider-progress, 0%), #dce7d7 var(--slider-progress, 0%));
}

.map-controls input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	margin-top: -7.5px;
	border: 3px solid #f9faf5;
	border-radius: 50%;
	background: #638e50;
	box-shadow: 0 2px 8px rgba(48, 96, 59, .25);
	transition: transform .6s cubic-bezier(.2, 1.7, .4, 1), box-shadow .3s ease;
}

.map-controls input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 3px solid #f9faf5;
	border-radius: 50%;
	background: #638e50;
	box-shadow: 0 2px 8px rgba(48, 96, 59, .25);
	transition: transform .6s cubic-bezier(.2, 1.7, .4, 1), box-shadow .3s ease;
}

.map-controls input[type="range"]:active::-webkit-slider-thumb {
	transform: scale(1.3);
	box-shadow: 0 4px 14px rgba(48, 96, 59, .3);
}

.map-controls input[type="range"]:active::-moz-range-thumb {
	transform: scale(1.3);
	box-shadow: 0 4px 14px rgba(48, 96, 59, .3);
}

.map-controls input:focus-visible {
	outline: 2px solid #477844;
	outline-offset: 3px;
	border-radius: 999px;
}

.map-range-labels {
	display: flex;
	justify-content: space-between;
	color: #8a998b;
	font: 400 9px var(--mono);
}

.map-controls input:disabled {
	cursor: not-allowed;
	opacity: .6;
}

.map-result {
	margin: 13px 0 0;
	color: #385d3c;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
}

.map-note {
	margin: 5px 0 0;
	color: #748278;
	font-size: 10px;
	line-height: 1.5;
}

.hero-index {
	position: absolute;
	right: 0;
	bottom: 35px;
	color: #859089;
	font: 400 8px var(--mono);
	letter-spacing: .12em;
}

.intro-section {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 80px;
	padding-top: 106px;
	padding-bottom: 112px;
	border-top: 1px solid var(--line);
}

.section-heading .eyebrow {
	margin-bottom: 24px;
}

.section-heading h2,
.contact-section h2 {
	margin: 0;
	font: 700 clamp(32px, 4vw, 44px)/1.17 var(--display);
	letter-spacing: -.055em;
}

.intro-content {
	max-width: 540px;
	padding-top: 15px;
}

.intro-content p {
	margin: 0 0 17px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.9;
}

.intro-content .lead {
	margin-bottom: 19px;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.65;
}

.expertise-section {
	padding: 100px 0 110px;
	background: #e9eee5;
}

.section-heading-wide {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 46px;
}

.section-aside {
	max-width: 270px;
	margin: 0 3px 4px 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.7;
}

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

.expertise-card {
	min-height: 276px;
	padding: 23px 23px 21px;
	border: 1px solid #d5ddd1;
	border-radius: 22px;
	background: rgba(255, 255, 255, .47);
	transition: transform .2s ease, box-shadow .2s ease;
}

.expertise-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(32, 54, 38, .08);
}

.card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.card-number {
	color: #819087;
	font: 400 10px var(--mono);
}

.card-symbol {
	display: grid;
	width: 37px;
	height: 37px;
	place-items: center;
	border-radius: 50%;
	background: #dce8d3;
	color: #536f3c;
	font: 500 15px var(--mono);
}

.card-symbol-map {
	font: 400 23px var(--sans);
}

.expertise-card h3 {
	margin: 24px 0 10px;
	font: 700 18px var(--display);
	letter-spacing: -.04em;
}

.expertise-card > p {
	min-height: 65px;
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.75;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.tag-list li {
	padding: 6px 8px;
	border: 1px solid #d6ddd1;
	border-radius: 999px;
	color: #657369;
	font: 400 8px var(--mono);
}

.experience-section {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 80px;
	padding-top: 110px;
	padding-bottom: 118px;
}

.experience-content {
	padding-top: 10px;
}

.experience-entry {
	position: relative;
	display: grid;
	grid-template-columns: 20px 1fr auto;
	gap: 16px;
	padding-bottom: 29px;
}

.experience-entry + .experience-entry {
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.experience-marker {
	position: relative;
}

.experience-marker::after {
	position: absolute;
	top: 10px;
	bottom: -58px;
	left: 5px;
	width: 1px;
	background: #cdd5c9;
	content: '';
}

.experience-entry:last-of-type .experience-marker::after {
	display: none;
}

.experience-marker span {
	position: relative;
	z-index: 1;
	display: block;
	width: 11px;
	height: 11px;
	margin-top: 4px;
	border: 2px solid #718c56;
	border-radius: 50%;
	background: var(--paper);
}

.experience-entry-secondary .experience-marker span {
	border-color: #a7b2a5;
}

.experience-kicker {
	margin: 0 0 9px;
	color: #718274;
	font: 400 9px var(--mono);
	letter-spacing: .1em;
}

.experience-entry h3 {
	margin: 0 0 7px;
	font: 700 17px var(--display);
	letter-spacing: -.035em;
}

.experience-summary {
	margin: 0 0 12px !important;
	color: #41544a !important;
	font-size: 11px !important;
	font-weight: 600;
}

.experience-entry div > p:last-child {
	max-width: 450px;
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.8;
}

.experience-arrow {
	color: #89968c;
	font-size: 15px;
}

.experience-note {
	margin: 0 0 0 36px;
	color: #79837d;
	font-size: 10px;
	line-height: 1.7;
}

.experience-note a {
	color: #42633e;
	font-weight: 700;
}

.contact-section {
	padding: 81px 0 86px;
	background: var(--ink);
	color: var(--paper);
}

.contact-inner {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
}

.contact-section .eyebrow {
	margin-bottom: 20px;
	color: #afc0ad;
}

.contact-section h2 {
	font-size: clamp(36px, 4vw, 48px);
}

.contact-section h2 + p {
	margin: 17px 0 0;
	color: #aeb8b0;
	font-size: 12px;
	line-height: 1.8;
}

.contact-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 17px;
	padding-bottom: 4px;
}

.contact-email {
	padding-bottom: 9px;
	border-bottom: 1px solid #536159;
	font-size: 16px;
	font-weight: 600;
	transition: color .2s ease;
}

.contact-email:hover,
.contact-social:hover {
	color: var(--green);
}

.contact-email span,
.contact-social span {
	margin-left: 8px;
	color: var(--green);
}

.contact-social {
	color: #c0c9c1;
	font-size: 11px;
	transition: color .2s ease;
}

.site-footer {
	min-height: 77px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.footer-mark {
	font-size: 19px;
}

.site-footer p {
	margin: 0;
	color: #89938c;
	font-size: 9px;
}

@media (max-width: 800px) {
	.page-width {
		width: min(100% - 56px, 620px);
	}

	.site-header {
		height: 72px;
		padding-inline: 28px;
	}

	.site-header nav {
		gap: 19px;
		font-size: 12px;
	}

	.hero {
		min-height: initial;
		grid-template-columns: 1fr;
		gap: 10px;
		padding-top: 90px;
		padding-bottom: 78px;
	}

	.hero h1 {
		font-size: clamp(43px, 7vw, 58px);
	}

	.map-playground {
		justify-self: center;
		width: min(100%, 480px);
		margin-top: 32px;
	}

	.intro-section,
	.experience-section {
		grid-template-columns: .8fr 1.2fr;
		gap: 40px;
	}

	.expertise-grid {
		gap: 10px;
	}

	.expertise-card {
		padding-inline: 16px;
	}

	.expertise-card h3 {
		font-size: 16px;
	}
}

@media (max-width: 600px) {
	.page-width {
		width: calc(100% - 40px);
	}

	.site-header {
		height: 66px;
		padding-inline: 20px;
	}

	.site-header nav {
		gap: 15px;
		font-size: 10px;
	}

	.site-header nav a:nth-child(3) {
		display: none;
	}

	.nav-contact {
		padding: 9px 10px;
	}

	.nav-contact span {
		margin-left: 3px;
	}

	.hero {
		grid-template-columns: 1fr;
		padding-top: 67px;
		padding-bottom: 69px;
	}

	.hero-copy {
		padding: 0;
	}

	.hero .eyebrow {
		margin-bottom: 22px;
	}

	.hero h1 {
		font-size: clamp(43px, 12vw, 61px);
	}

	.hero-intro {
		max-width: 400px;
		margin-top: 20px;
		font-size: 14px;
	}

	.hero-actions {
		margin-top: 24px;
	}

	.hero-location {
		margin-top: 27px;
	}

	.map-playground {
		justify-self: center;
		width: min(100%, 410px);
		margin-top: 38px;
	}

	.hero-index {
		bottom: 24px;
		font-size: 7px;
	}

	.intro-section,
	.experience-section {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 75px;
		padding-bottom: 78px;
	}

	.section-heading h2 {
		font-size: 37px;
	}

	.intro-content {
		padding-top: 0;
	}

	.intro-content .lead {
		font-size: 16px;
	}

	.expertise-section {
		padding: 76px 0 80px;
	}

	.section-heading-wide {
		display: block;
		margin-bottom: 30px;
	}

	.section-aside {
		margin-top: 16px;
	}

	.expertise-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.expertise-card {
		min-height: initial;
		padding: 20px;
	}

	.expertise-card h3 {
		margin-top: 18px;
	}

	.expertise-card > p {
		min-height: initial;
	}

	.experience-content {
		padding-top: 0;
	}

	.contact-section {
		padding: 68px 0 70px;
	}

	.contact-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 38px;
	}

	.contact-section h2 {
		font-size: 41px;
	}

	.site-footer {
		min-height: 72px;
		flex-wrap: wrap;
		padding-top: 17px;
		padding-bottom: 17px;
	}

	.site-footer p:nth-of-type(1) {
		display: none;
	}
}

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

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