/* Base: element defaults of the design, accessibility helpers. */
html,
body {
	margin: 0;
	padding: 0;
	background: var(--page);
	color: var(--text);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
a {
	color: var(--accent-text);
	text-decoration: none;
}
a:not([class]):hover {
	color: var(--text);
}
input,
textarea,
button,
select {
	font-family: inherit;
	font-size: inherit;
}
h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1;
}
p {
	margin: 0;
	text-wrap: pretty;
}
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
figure,
blockquote,
dl,
dd {
	margin: 0;
}
img {
	max-width: 100%;
	height: auto;
}
[hidden] {
	display: none !important;
}
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.site {
	width: 100%;
	min-width: 0;
	overflow-x: clip;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 12px 18px;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
	border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
	html,
	body {
		scroll-behavior: auto;
	}
}
.nowrap {
	white-space: nowrap;
}
