:root {
	--ink: #14211d;
	--forest: #17362f;
	--forest-light: #285448;
	--paper: #f1eee6;
	--white: #fffdf8;
	--signal: #d5ff4f;
	--muted: #66716d;
	--line: rgba(20, 33, 29, 0.18);
	--max: 1240px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	transform: translateY(-200%);
	padding: 10px 14px;
	background: var(--signal);
	color: var(--ink);
	font-weight: 700;
}

.skip-link:focus {
	transform: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: rgba(241, 238, 230, 0.93);
	backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
	width: min(var(--max), calc(100% - 64px));
	margin: 0 auto;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	gap: 32px;
}

.brand {
	display: inline-flex;
	align-items: baseline;
	gap: 13px;
	text-decoration: none;
}

.brand-name,
.footer-brand {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.brand-domain {
	color: var(--muted);
	font-family: Consolas, "SFMono-Regular", monospace;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
}

.site-nav a {
	font-size: 0.82rem;
	font-weight: 650;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.site-nav .nav-contact {
	padding: 9px 15px;
	border: 1px solid var(--ink);
	border-radius: 999px;
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
	background: var(--ink);
	color: var(--white);
	text-decoration: none;
}

.hero {
	position: relative;
	min-height: min(760px, calc(100vh - 82px));
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero::before {
	position: absolute;
	inset: 0 0 0 54%;
	content: "";
	opacity: 0.72;
	background-image:
		linear-gradient(rgba(20, 33, 29, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(20, 33, 29, 0.12) 1px, transparent 1px),
		linear-gradient(135deg, transparent 49.7%, rgba(20, 33, 29, 0.12) 50%, transparent 50.3%);
	background-size: 48px 48px, 48px 48px, 192px 192px;
	border-left: 1px solid var(--line);
}

.hero::after {
	position: absolute;
	right: clamp(5%, 11vw, 15%);
	top: 22%;
	width: clamp(190px, 27vw, 390px);
	aspect-ratio: 1;
	content: "";
	border: 1px solid var(--ink);
	border-radius: 50% 50% 0 50%;
	transform: rotate(45deg);
	box-shadow: 42px 42px 0 var(--signal);
}

.hero-inner,
.section-inner {
	position: relative;
	z-index: 1;
	width: min(var(--max), calc(100% - 64px));
	margin: 0 auto;
}

.hero-inner {
	display: grid;
	align-content: center;
	min-height: inherit;
	padding: 90px 0;
}

.hero-copy {
	max-width: 750px;
}

.eyebrow,
.section-kicker,
.service-number {
	margin: 0 0 22px;
	font-family: Consolas, "SFMono-Regular", monospace;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 740px;
	margin: 0;
	font-size: clamp(3.5rem, 8.2vw, 7.5rem);
	font-weight: 750;
	letter-spacing: -0.067em;
	line-height: 0.91;
}

.hero-lead {
	max-width: 650px;
	margin: 38px 0 0;
	font-size: clamp(1.1rem, 2vw, 1.38rem);
	line-height: 1.5;
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 19px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
	background: var(--forest-light);
	border-color: var(--forest-light);
}

.button-secondary:hover,
.button-secondary:focus-visible {
	background: var(--signal);
}

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

.intro-grid {
	display: grid;
	grid-template-columns: 0.8fr 2fr;
	gap: 80px;
	padding: 86px 0;
}

.intro-band .section-kicker {
	color: var(--signal);
}

.intro-copy {
	max-width: 900px;
	margin: 0;
	font-size: clamp(1.6rem, 3.5vw, 3rem);
	font-weight: 520;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.services,
.experience,
.about {
	padding: 120px 0;
}

.section-heading {
	display: grid;
	grid-template-columns: 0.8fr 2fr;
	gap: 80px;
	align-items: start;
	margin-bottom: 72px;
}

.section-heading h2,
.about h2,
.contact h2 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 5.2rem);
	font-weight: 720;
	letter-spacing: -0.06em;
	line-height: 0.98;
}

.section-heading p:last-child {
	max-width: 650px;
	margin: 24px 0 0;
	color: var(--muted);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.service-card {
	min-height: 390px;
	padding: 30px;
	border-right: 1px solid var(--ink);
}

.service-card:last-child {
	border-right: 0;
}

.service-number {
	display: block;
	color: var(--muted);
}

.service-card h3 {
	max-width: 280px;
	margin: 100px 0 22px;
	font-size: clamp(1.55rem, 3vw, 2.25rem);
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.service-card p {
	max-width: 340px;
	margin: 0;
	color: var(--muted);
}

.experience {
	background: var(--white);
}

.experience-grid {
	display: grid;
	grid-template-columns: 1.1fr 1.9fr;
	gap: 100px;
	align-items: start;
}

.experience-statement {
	position: sticky;
	top: 130px;
}

.experience-statement strong {
	display: block;
	font-size: clamp(4.8rem, 9vw, 8rem);
	font-weight: 760;
	letter-spacing: -0.08em;
	line-height: 0.85;
}

.experience-statement span {
	display: block;
	max-width: 310px;
	margin-top: 24px;
	font-size: 1.15rem;
}

.experience-list {
	border-top: 1px solid var(--line);
}

.experience-item {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 24px;
	padding: 30px 0;
	border-bottom: 1px solid var(--line);
}

.experience-item span {
	font-family: Consolas, "SFMono-Regular", monospace;
	font-size: 0.68rem;
	font-weight: 700;
}

.experience-item h3 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	letter-spacing: -0.025em;
}

.experience-item p {
	max-width: 600px;
	margin: 0;
	color: var(--muted);
}

.about-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 110px;
	align-items: end;
}

.about-copy {
	max-width: 520px;
}

.about-copy p {
	margin: 0 0 20px;
	color: var(--muted);
}

.about-copy .text-link {
	display: inline-block;
	margin-top: 16px;
	font-weight: 700;
	text-underline-offset: 5px;
}

.contact {
	position: relative;
	overflow: hidden;
	padding: 110px 0;
	background: var(--forest);
	color: var(--white);
}

.contact::after {
	position: absolute;
	right: -100px;
	bottom: -170px;
	width: 460px;
	aspect-ratio: 1;
	content: "";
	border: 70px solid var(--signal);
	border-radius: 50%;
	opacity: 0.92;
}

.contact-content {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.5fr 0.5fr;
	gap: 70px;
	align-items: end;
}

.contact .section-kicker {
	color: var(--signal);
}

.contact p {
	max-width: 620px;
	margin: 28px 0 0;
	color: rgba(255, 253, 248, 0.75);
}

.contact-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.contact-links a {
	font-size: 1.08rem;
	font-weight: 700;
	text-decoration-color: var(--signal);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.site-footer {
	background: var(--ink);
	color: var(--white);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 42px;
	padding: 56px 0 34px;
}

.footer-brand {
	text-decoration: none;
}

.footer-inner p {
	margin: 10px 0 0;
	color: rgba(255, 253, 248, 0.55);
	font-size: 0.82rem;
}

.footer-links {
	display: flex;
	gap: 24px;
	font-size: 0.82rem;
}

.footer-links a {
	text-decoration: none;
}

.footer-meta {
	grid-column: 1 / -1;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.inner-page {
	min-height: 70vh;
}

.text-page {
	width: min(820px, calc(100% - 48px));
	margin: 0 auto;
	padding: 100px 0 130px;
}

.text-page h1 {
	margin: 0 0 50px;
	font-size: clamp(3rem, 7vw, 6rem);
	letter-spacing: -0.06em;
	line-height: 0.95;
}

.text-page h2 {
	margin: 50px 0 15px;
	font-size: 1.5rem;
	letter-spacing: -0.025em;
}

.text-page p,
.text-page li {
	color: #4f5a56;
}

.text-page a {
	font-weight: 650;
	text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--signal);
	outline-offset: 4px;
}

@media (max-width: 900px) {
	.header-inner,
	.hero-inner,
	.section-inner,
	.footer-inner {
		width: min(100% - 40px, var(--max));
	}

	.site-nav {
		gap: 18px;
	}

	.site-nav a:not(.nav-contact) {
		display: none;
	}

	.hero {
		min-height: 720px;
	}

	.hero::before {
		inset: 42% 0 0 20%;
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.hero::after {
		right: 11%;
		top: auto;
		bottom: 10%;
		width: 190px;
		box-shadow: 24px 24px 0 var(--signal);
	}

	.hero-inner {
		align-content: start;
		padding-top: 100px;
	}

	.intro-grid,
	.section-heading,
	.experience-grid,
	.about-grid,
	.contact-content {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.services,
	.experience,
	.about {
		padding: 90px 0;
	}

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

	.service-card {
		display: grid;
		grid-template-columns: 54px 0.7fr 1fr;
		gap: 20px;
		align-items: start;
		min-height: 0;
		padding: 30px 0;
		border-right: 0;
		border-bottom: 1px solid var(--ink);
	}

	.service-card:last-child {
		border-bottom: 0;
	}

	.service-card h3 {
		margin: 0;
	}

	.experience-statement {
		position: static;
	}

	.about-copy {
		max-width: 650px;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.header-inner {
		min-height: 70px;
	}

	.brand-domain {
		display: none;
	}

	.hero {
		min-height: 680px;
	}

	.hero-inner {
		padding-top: 72px;
	}

	.hero h1 {
		font-size: clamp(3.2rem, 16vw, 5rem);
	}

	.hero-lead {
		margin-top: 26px;
		font-size: 1.02rem;
	}

	.hero::after {
		right: 14%;
		bottom: 7%;
		width: 145px;
	}

	.intro-grid {
		padding: 66px 0;
	}

	.services,
	.experience,
	.about {
		padding: 72px 0;
	}

	.section-heading {
		margin-bottom: 46px;
	}

	.service-card {
		display: block;
		padding: 28px 0 34px;
	}

	.service-card h3 {
		margin: 30px 0 16px;
	}

	.experience-item {
		grid-template-columns: 38px 1fr;
		gap: 14px;
	}

	.contact {
		padding: 80px 0 140px;
	}

	.contact::after {
		right: -80px;
		bottom: -120px;
		width: 280px;
		border-width: 45px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.footer-links {
		flex-wrap: wrap;
	}

	.footer-meta {
		grid-column: auto;
	}
}

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