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

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: var(--lh-normal);
	color: var(--color-cream);
	background: var(--color-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:not([class]) { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
	border-radius: 2px;
}

[id] { scroll-margin-top: calc(var(--header-height) + var(--space-lg)); }

.tsch-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.tsch-skip-link {
	position: absolute;
	left: var(--space-md);
	top: -100px;
	z-index: 200;
	padding: var(--space-sm) var(--space-md);
	background: var(--color-primary);
	color: var(--color-ink);
	font-weight: var(--weight-semibold);
	border-radius: var(--radius-sm);
	transition: top var(--transition-fast);
}
.tsch-skip-link:focus { top: var(--space-md); }
