:root {
	--bg: #ffffff;
	--surface: #f5f5f2;
	--card: #ffffff;
	--text: #18181a;
	--muted: #5a5a60;
	--line: #e3e3de;
	--accent: #dd3333;
	--accent-ink: #c22a2a;
	--radius: 8px;
	--font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #111113;
		--surface: #18181b;
		--card: #1f1f23;
		--text: #ececee;
		--muted: #a6a6ad;
		--line: #2d2d33;
		--accent: #ff5c5c;
		--accent-ink: #ff7a7a;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
}

a {
	color: var(--accent-ink);
	text-underline-offset: 2px;
}

a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px;
}

.topbar {
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 56px;
}

.topbar__name {
	font-weight: 700;
}

.topbar__link {
	color: var(--text);
}

.hero {
	padding: 88px 0 72px;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--accent-ink);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

h1 {
	max-width: 860px;
	margin: 0 0 24px;
	font-size: clamp(30px, 5vw, 50px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

h2 {
	margin: 0 0 24px;
	font-size: clamp(24px, 3.2vw, 32px);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.lede {
	max-width: 700px;
	margin: 0 0 28px;
	font-size: 20px;
	line-height: 1.5;
}

.roles {
	margin: -12px 0 28px;
	color: var(--muted);
	font-size: 15px;
}

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

.button {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.button--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
}

.button:hover {
	opacity: 0.9;
}

.section {
	padding: 64px 0;
}

.section--sample {
	padding-top: 0;
}

.sample {
	display: block;
	max-width: 760px;
	padding: 24px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.sample:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.sample__kicker {
	display: block;
	margin-bottom: 6px;
	color: var(--accent-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sample__title {
	display: block;
	margin-bottom: 8px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

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

.sample__cta {
	display: inline-block;
	margin-top: 12px;
	color: var(--accent-ink);
	font-weight: 500;
}

.sample__cta::after {
	content: " \2192";
}

a[target="_blank"]::after {
	content: "\2197";
	content: "\2197" / "";
	display: inline-block;
	margin-left: 3px;
	font-size: 0.85em;
}

@media (prefers-reduced-motion: reduce) {
	.sample {
		transition: none;
	}

	.sample:hover {
		transform: none;
	}
}

.section--alt {
	background: var(--surface);
}

.section__sub {
	max-width: 700px;
	margin: -12px 0 24px;
	color: var(--muted);
}

.work {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.work li {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 3.5em;
	gap: 16px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.work__name {
	font-weight: 700;
}

.work__what {
	color: var(--muted);
	font-size: 15px;
}

.work__year {
	text-align: right;
	color: var(--muted);
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

.footer {
	padding: 28px 0 40px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.footer a {
	color: var(--muted);
}

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

	.hero {
		padding: 56px 0 48px;
	}

	.lede {
		font-size: 18px;
	}

	.work li {
		grid-template-columns: minmax(0, 1fr) 3.5em;
		gap: 4px 12px;
	}

	.work__what {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.section {
		padding: 44px 0;
	}
}
