/* ==========================================================================
   Base — reset, typography, global element defaults
   ========================================================================== */

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

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

@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;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-text);
	background-color: var(--color-bg);
	transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--color-link);
	text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: var(--lh-heading);
	margin: 0 0 var(--space-4);
	color: var(--color-text);
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-4); color: var(--color-text-muted); }

ul, ol { padding-left: 1.25em; }

button { font-family: inherit; }

/* ---- Accent word: the italic serif emphasis seen in H1/H2 (e.g. "Excellence") ---- */
.accent-word {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	color: var(--color-brand);
	display: inline-block;
}

/* ---- Eyebrow label preceding section headings ---- */
.eyebrow {
	display: inline-block;
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-brand);
	margin-bottom: var(--space-3);
}

/* ---- Accessibility utilities ---- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-surface);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
	clip: auto !important;
	clip-path: none;
	color: var(--color-text);
	display: block;
	font-size: var(--fs-small);
	font-weight: 600;
	height: auto;
	left: var(--space-4);
	line-height: normal;
	padding: var(--space-3) var(--space-4);
	text-decoration: none;
	top: var(--space-4);
	width: auto;
	z-index: 100000;
}

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 100000;
}
