:root {
	color-scheme: light;
	--paper: #faf9f6;
	--ink: #292b2b;
	--muted: #666966;
	--accent: #705246;
	--line: #deded6;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
a:hover { text-decoration: underline; }
a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 5px;
	border-radius: 2px;
}
::selection { background: #e6dfd4; }
.page { max-width: 920px; margin: 0 auto; padding: 0 40px; }
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 29px 0 24px;
	border-bottom: 1px solid var(--line);
}
.wordmark { font-family: Georgia, serif; font-size: 23px; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 27px; }
nav a { font-size: 13px; text-decoration: none; color: var(--muted); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 45px; padding: 60px 0 55px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin: 0 0 9px; font-size: clamp(34px, 4.5vw, 44px); line-height: 1.2; letter-spacing: -1.4px; }
.interests { color: var(--accent); font-size: 13px; line-height: 1.7; margin: 0 0 25px; }
p { margin: 0 0 16px; }
.intro-copy > p:not(.interests) { font-size: 15px; }
.portrait { width: 176px; height: auto; align-self: start; border-radius: 5px; margin-top: 5px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 23px; }
.profile-links a { font-size: 13px; text-decoration: none; }
.work-section { margin-bottom: 44px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
h2 { font-size: 25px; line-height: 1.3; margin: 0; letter-spacing: -.4px; }
.work-list { padding: 0; margin: 0; list-style: none; }
.work-list li { padding: 23px 0; border-bottom: 1px solid var(--line); }
.work-list li:last-child { border-bottom: 0; padding-bottom: 0; }
h3 { margin: 0 0 8px; font-size: 16px; font-weight: 550; line-height: 1.5; }
h3 a { color: var(--ink); text-decoration: none; }
h3 a:hover { color: var(--accent); }
h3 a span { font-size: 14px; color: var(--accent); white-space: nowrap; }
article > p { max-width: 730px; font-size: 14px; line-height: 1.7; margin-bottom: 10px; color: #515551; }
article .work-meta { font-size: 11px; color: var(--muted); margin-bottom: 0; }
.project-date { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.other-project { padding-top: 23px; }
.contact { padding: 27px 0 35px; border-top: 1px solid var(--line); }
.contact p { margin: 13px 0 9px; font-size: 14px; color: #515551; }
.contact > a { font-size: 14px; text-decoration: none; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer a { text-decoration: none; color: var(--muted); }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 8px 14px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 640px) {
	.page { padding: 0 24px; }
	.site-header { padding: 20px 0; }
	nav { gap: 18px; }
	nav a { font-size: 12px; }
	.intro { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 39px; }
	.portrait { grid-row: 1; width: 100px; height: auto; margin: 0; }
	h1 { letter-spacing: -1px; }
	.interests { max-width: 310px; margin-bottom: 21px; }
	.section-heading { align-items: start; }
	h2 { font-size: 23px; }
	.work-section { margin-bottom: 35px; }
}
@media (max-width: 360px) {
	.page { padding: 0 18px; }
	nav { gap: 13px; }
	.section-heading { flex-wrap: wrap; gap: 4px; }
}
@media print {
	body { background: white; }
	.page { max-width: none; padding: 0; }
	.site-header, footer, .skip-link { display: none; }
	.intro { padding-top: 0; }
	article { break-inside: avoid; }
}
