/* ============================================================
   Base — reset, typography, elements
   ============================================================ */

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

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

body {
	font-family: var(--font-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.5;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

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

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select, button { font-family: inherit; }

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

/* The hidden attribute must always win over component display rules
   (filters + load-more toggle it via JS). */
[hidden] { display: none !important; }

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

/* ---- Display headings (Figtree) ---- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	color: var(--rose);
}

/* Section heading — the recurring uppercase display title */
.h-display,
.section__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-h2);
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rose);
}

.lead {
	font-family: var(--font-body);
	font-size: var(--fs-lead);
	line-height: 1.25;
}

.text-rich p { margin-bottom: 1em; }
.text-rich p:last-child { margin-bottom: 0; }
.text-rich a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.text-rich h2, .text-rich h3, .text-rich h4 { margin: 1.4em 0 0.5em; }
.text-rich ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.text-rich ol { list-style: decimal; padding-left: 1.25em; margin-bottom: 1em; }
.text-rich li { margin-bottom: 0.35em; }

/* ---- Inline icon wrapper ---- */
.icon { display: inline-flex; width: 1.5rem; height: 1.5rem; }
.icon svg { width: 100%; height: 100%; display: block; }

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--rose); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
