html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

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

body {
	margin: 0;
	background: var(--ww-color-cream);
	color: var(--ww-color-ink);
	font-family: var(--ww-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: var(--ww-font-body);
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
p,
figure {
	margin-block-start: 0;
}

h1,
h2,
h3 {
	color: var(--ww-color-ink);
	font-family: var(--ww-font-display);
	font-weight: 600;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.75rem, 5.4vw, 4.8rem);
	line-height: 0.98;
}

h2 {
	font-size: clamp(2.25rem, 4.4vw, 4rem);
	line-height: 1.04;
}

h3 {
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	line-height: 1.15;
}

p,
li {
	max-width: 72ch;
}

a {
	color: var(--ww-color-coral-dark);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ww-color-coral-deep);
}

::selection {
	background: var(--ww-color-coral-dark);
	color: var(--ww-color-white);
}

* {
	scrollbar-color: var(--ww-color-coral) var(--ww-color-cream-2);
	scrollbar-width: thin;
}

*::-webkit-scrollbar {
	width: 0.7rem;
}

*::-webkit-scrollbar-track {
	background: var(--ww-color-cream-2);
}

*::-webkit-scrollbar-thumb {
	border: 0.16rem solid var(--ww-color-cream-2);
	border-radius: var(--ww-radius-pill);
	background: var(--ww-color-coral);
}

:focus-visible {
	outline: 3px solid var(--ww-color-ink);
	outline-offset: 4px;
}

.site.grid-container {
	width: 100%;
	max-width: none;
	background: transparent;
}

.site-content {
	display: block;
	padding: 0;
}

.ww-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.7rem 1rem;
	background: var(--ww-color-ink);
	color: var(--ww-color-white);
	font-weight: 700;
	transform: translateY(-180%);
}

.ww-skip-link:focus {
	color: var(--ww-color-white);
	transform: translateY(0);
}

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

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