@font-face {
	font-family: 'NaNSerfText';
	src: url('/assets/fonts/nan-serf-b-text-regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NaNSerfText';
	src: url('/assets/fonts/nan-serf-b-text-italic.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'NaNSerfText';
	src: url('/assets/fonts/nan-serf-b-text-bold.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NaNSerfDisplay';
	src: url('/assets/fonts/nan-serf-b-display-bold.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NaNSerfHeadline';
	src: url('/assets/fonts/nan-serf-b-headline-semibold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NaNSerfMicro';
	src: url('/assets/fonts/nan-serf-b-micro-regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'PaperMono';
	src: url('/assets/fonts/paper-mono.woff2') format('woff2');
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--serif: 'NaNSerfText', Georgia, serif;
	--display: 'NaNSerfDisplay', 'NaNSerfText', Georgia, serif;
	--micro: 'NaNSerfMicro', 'NaNSerfText', Georgia, serif;
	--mono: 'PaperMono', ui-monospace, Menlo, monospace;
}

body {
	font-family: var(--serif);
	font-size: 16px;
	line-height: 1.5;
	font-feature-settings: 'kern', 'liga';
	background-color: #fffaf3;
	color: #111;
}

a,
a:visited {
	color: #002fa7;
}

img,
video {
	max-width: 100%;
}

.site-header {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 40px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	font-size: 15px;
	line-height: 1.4;
}

.site-header .site-name,
h2.name {
	font-family: 'NaNSerfHeadline', var(--serif);
	font-weight: 600;
	color: #111;
	text-decoration: none;
}

.site-header nav a {
	margin-left: 18px;
	color: #444;
	text-decoration: none;
}

.site-header nav a:first-child {
	margin-left: 0;
}

.site-header nav a:hover,
.site-header .site-name:hover {
	color: #002fa7;
	text-decoration: underline;
}

.site-header nav a[aria-current="page"] {
	color: #002fa7;
}

@media (max-width: 768px) {
	.site-header {
		padding: 16px 20px 0;
	}
}

h1,
h2 {
	font-family: var(--display);
	font-weight: bold;
	letter-spacing: -0.01em;
}

h3,
h4,
h5,
h6 {
	font-family: var(--serif);
	font-weight: bold;
}

html body .site-header nav,
html body .group-title,
html body .subtitle,
html body .caption,
html body .image-caption,
html body .work-item p,
html body .project-links,
html body .photo p,
html body .source {
	font-family: var(--mono);
	font-size: 12.5px;
	letter-spacing: 0.01em;
}

html body .site-header nav {
	font-size: 13px;
}

html body .subtitle {
	font-size: 14px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4 {
	line-height: 1.2;
}

code,
pre,
kbd {
	font-family: var(--mono);
	font-size: 0.9em;
}
