/* Reset, typography defaults, links, headings. */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
}

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

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.15;
	color: var(--navy);
	margin: 0 0 var(--space-2);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); letter-spacing: 0.06em; }

p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }

ul, ol { margin: 0 0 var(--space-2); padding-left: 1.2em; }

strong { font-weight: 700; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--navy);
	color: var(--white);
	padding: 0.6em 1em;
	z-index: 100;
}
.skip-link:focus { left: 0; color: var(--white); }

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