/* Reset + base typography + layout primitives */
/* Space Grotesk / Inter / JetBrains Mono are loaded via Google Fonts in
   functions.php — no local @font-face needed (replaces the old
   self-hosted Archivo file, no longer referenced anywhere). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-ink);
	background: var(--color-white);
}
@media (max-width: 767px) {
	body { font-size: var(--fs-body-floor); }
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

h1, h2, h3 {
	font-family: var(--font-heading);
	font-weight: 800;
	color: var(--color-ink);
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h3); line-height: var(--lh-h3); }

.eyebrow {
	display: block;
	font-family: var(--font-label);
	font-weight: 700;
	font-size: var(--fs-eyebrow);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--color-accent);
}
.section-dark .eyebrow { color: var(--color-primary); }

/* Container */
.container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter-desktop);
}
@media (max-width: 1279px) {
	.container { padding-inline: var(--gutter-tablet); }
}
@media (max-width: 767px) {
	.container { padding-inline: var(--gutter-mobile); }
}

.section-dark {
	background: var(--color-dark);
	color: var(--color-white);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--color-white); }

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--color-ink);
	color: var(--color-white);
	padding: var(--space-12) var(--space-16);
	font-family: var(--font-heading);
	font-weight: 700;
}
.skip-link:focus {
	left: var(--space-16);
	top: var(--space-16);
}

/* Swoosh motif — one SVG path (see inc/swoosh.php); each section's own
   modifier class (alongside this one) sets size/position/rotation/fill. */
.swoosh {
	position: absolute;
	pointer-events: none;
	height: auto;
}

/* Universal focus-visible ring (buttons/links get their own in buttons.css) */
:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 2px;
}
