@font-face {
	font-family: "WTTW Oswald";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/oswald-latin-400.woff2") format("woff2");
}

@font-face {
	font-family: "WTTW Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/lato-latin-400.woff2") format("woff2");
}

@font-face {
	font-family: "WTTW Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/lato-latin-700.woff2") format("woff2");
}

:root {
	--wttw-paper: #f8f6f1;
	--wttw-paper-deep: #eee8dc;
	--wttw-white: #fff;
	--wttw-ink: #202a2f;
	--wttw-ink-soft: #536168;
	--wttw-sky: #a9c9d6;
	--wttw-sky-light: #dcebef;
	--wttw-sky-deep: #5e8799;
	--wttw-sand: #d7ad79;
	--wttw-sand-dark: #855323;
	--wttw-coral: #dd5d47;
	--wttw-coral-text: #a83f2e;
	--wttw-line: rgba(32, 42, 47, 0.2);
	--wttw-font-display: "WTTW Oswald", "Arial Narrow", sans-serif;
	--wttw-font-body: "WTTW Lato", system-ui, sans-serif;
	--wttw-font-marker: "Marker Felt", "Segoe Print", "Bradley Hand", cursive;
	--wttw-shell: min(90rem, calc(100vw - 3rem));
	--wttw-reading: 72ch;
	--wttw-radius: 0;
	--wttw-shadow: 0 18px 44px rgba(32, 42, 47, 0.13);
	--wttw-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--wttw-fast: 180ms;
	--wttw-medium: 520ms;
	--wttw-space-1: clamp(0.5rem, 0.45rem + 0.2vw, 0.75rem);
	--wttw-space-2: clamp(0.875rem, 0.75rem + 0.45vw, 1.25rem);
	--wttw-space-3: clamp(1.25rem, 1rem + 0.8vw, 2rem);
	--wttw-space-4: clamp(2rem, 1.5rem + 1.6vw, 3.5rem);
	--wttw-space-5: clamp(3rem, 2rem + 3vw, 6rem);
	--wttw-space-6: clamp(4.5rem, 3rem + 5vw, 9rem);
}

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

html {
	scroll-behavior: smooth;
}

body.wttw-site {
	margin: 0;
	background: var(--wttw-paper);
	color: var(--wttw-ink);
	font-family: var(--wttw-font-body);
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.wttw-site img,
body.wttw-site svg {
	display: block;
	max-width: 100%;
}

body.wttw-site a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

body.wttw-site button,
body.wttw-site input {
	font: inherit;
}

body.wttw-site :focus-visible {
	outline: 3px solid var(--wttw-coral);
	outline-offset: 4px;
}

.wttw-shell {
	width: var(--wttw-shell);
	margin-inline: auto;
}

.wttw-skip-link {
	position: fixed;
	z-index: 9999;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.75rem 1rem;
	background: var(--wttw-ink);
	color: var(--wttw-white);
	transform: translateY(-180%);
	transition: transform var(--wttw-fast) var(--wttw-ease);
}

.wttw-skip-link:focus {
	transform: translateY(0);
}

@media (max-width: 700px) {
	:root {
		--wttw-shell: calc(100vw - 2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
