:root {
	color-scheme: light;
	--ink: #171717;
	--muted: #5c5c5c;
	--paper: #fbfaf7;
	--panel: #ffffff;
	--line: #ded8ce;
	--accent: #b6402d;
	--accent-dark: #7e2d21;
	--shadow: 0 24px 80px rgba(43, 34, 24, 0.12);
	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--paper);
	color: var(--ink);
}

body {
	margin: 0;
	min-height: 100vh;
	font-size: 18px;
	line-height: 1.6;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(90deg, rgba(23, 23, 23, 0.045) 1px, transparent 1px),
		linear-gradient(180deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--accent-dark);
}

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

.page-shell {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 48px 0 36px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
	gap: clamp(32px, 6vw, 76px);
	align-items: center;
	min-height: min(760px, calc(100vh - 80px));
	padding-bottom: 28px;
}

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

.eyebrow {
	margin: 0 0 16px;
	color: var(--accent-dark);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 820px;
	margin-bottom: 24px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3.25rem, 10vw, 7.6rem);
	line-height: 0.92;
	font-weight: 500;
	letter-spacing: 0;
}

.lede {
	max-width: 640px;
	margin-bottom: 30px;
	color: var(--muted);
	font-size: clamp(1.12rem, 2vw, 1.36rem);
	line-height: 1.55;
}

.profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.profile-links a,
.site-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 8px 28px rgba(43, 34, 24, 0.08);
	font-weight: 750;
	text-decoration: none;
}

.profile-links a:first-child {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.profile-links a:first-child:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: #fff;
}

.hero-image {
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--panel);
	transform: rotate(1.5deg);
}

.hero-image picture {
	display: block;
}

.hero-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.section {
	display: grid;
	grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 64px);
	padding: 54px 0;
	border-top: 1px solid var(--line);
}

.section-heading h2 {
	margin-bottom: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0;
}

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

.focus-grid article {
	min-height: 220px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.7);
}

.focus-grid h3 {
	margin-bottom: 12px;
	font-size: 1.05rem;
	line-height: 1.2;
}

.focus-grid p,
.proof-list {
	color: var(--muted);
}

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

.project-card {
	display: flex;
	min-height: 260px;
	flex-direction: column;
	justify-content: space-between;
	gap: 22px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.74);
	box-shadow: 0 14px 40px rgba(43, 34, 24, 0.06);
}

.project-card h3 {
	margin-bottom: 12px;
	font-size: 1.16rem;
	line-height: 1.18;
}

.project-card p {
	margin-bottom: 0;
	color: var(--muted);
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.project-tags li {
	padding: 4px 9px;
	border: 1px solid rgba(126, 45, 33, 0.22);
	border-radius: 999px;
	color: var(--accent-dark);
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1.2;
}

.project-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.project-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	font-size: 0.92rem;
	font-weight: 750;
	text-decoration: none;
}

.project-links a:first-child {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.project-links a:first-child:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: #fff;
}

.proof-list {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(1.12rem, 2vw, 1.35rem);
	line-height: 1.5;
}

.proof-list li {
	padding-left: 22px;
	border-left: 3px solid var(--accent);
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	padding: 32px 0 48px;
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.site-footer p {
	margin: 0;
}

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

	.page-shell {
		width: min(100% - 28px, 680px);
		padding-top: 24px;
	}

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

	.hero {
		min-height: 0;
		gap: 28px;
	}

	.hero-image {
		max-width: 420px;
		transform: none;
	}

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

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

	.focus-grid article {
		min-height: 0;
	}

	.project-card {
		min-height: 0;
	}

	.site-footer {
		width: min(100% - 28px, 680px);
		align-items: flex-start;
		flex-direction: column;
	}
}
