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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + var(--space-3));
}

@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;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	padding-top: var(--header-h);
	font-family: var(--font-body);
	font-size: var(--fs-md);
	font-weight: var(--fw-regular);
	line-height: var(--lh-body);
	color: var(--color-ink);
	/* Diagonal L→R: white → subtle pink so top reads white, scroll feels soft pink */
	background: linear-gradient(90deg, var(--color-white) 0%, var(--color-bg) 100%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

body.is-drawer-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

button,
input,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

:focus {
	outline: none;
}

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

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

.u-skip {
	position: absolute;
	left: var(--space-4);
	top: -100%;
	z-index: 1000;
	padding: var(--space-2) var(--space-4);
	background: var(--color-white);
	color: var(--color-text-dark);
	font-weight: var(--fw-semibold);
}

.u-skip:focus {
	top: calc(var(--header-h) + var(--space-2));
}
