:root {
	--ink: #171b1f;
	--muted: #5b6670;
	--paper: #f7f8f5;
	--line: #d9ded9;
	--line-strong: #9da79f;
	--accent: #286a72;
	--accent-dark: #173f45;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--paper);
	color: var(--ink);
	/*font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;*/
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.55;
}

body {
	margin: 0;
	padding: 0;
	background:
		linear-gradient(90deg, rgba(23, 27, 31, 0.035) 1px, transparent 1px),
		linear-gradient(180deg, rgba(23, 27, 31, 0.035) 1px, transparent 1px),
		var(--paper);
	background-size: 44px 44px;
}

a {
	color: var(--accent);
	text-decoration-color: rgba(40, 106, 114, 0.15);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover,
a:focus {
	color: var(--accent-dark);
	text-decoration-color: var(--accent-dark);
}

a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

img {
	border: 1px solid rgba(23, 27, 31, 0.18);
}

figcaption {
	font-style: italic;
	color: var(--muted);
}

header,
footer {
	margin: 0 auto;
	font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	padding-right: clamp(1rem, 4vw, 4rem);
	padding-left: clamp(1rem, 4vw, 4rem);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 1), transparent 50%);
}

header {
	padding-top: clamp(1rem, 2.5vw, 4rem);
	padding-bottom: clamp(1rem, 2.5vw, 4rem);
	border-bottom: 1px solid var(--line-strong);
}

header > h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 4vw, 8rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 0.9;
}

header > p {
	margin: 1.25rem 0 0;
	color: var(--muted);
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	line-height: 1.45;
}

footer {
	padding-top: 1.5rem;
	padding-bottom: 2rem;
	color: var(--muted);
	font-size: 0.9rem;
	border-top: 1px solid var(--line-strong);
}

