/**
 * AOH Online Archive — self-hosted webfonts.
 *
 * Enqueued by the theme as handle `aoh-archive-fonts` (functions.php, templates squad).
 * Owned by: styling squad.
 *
 * Typeface: Atkinson Hyperlegible (SIL Open Font License 1.1), designed by the
 * Braille Institute specifically to maximize legibility for readers with low
 * vision — a deliberate fit for an older, scholarly, screen-reader-using
 * genealogy/archive audience (spec §5, §14). Files are vendored locally under
 * assets/fonts/ (see OFL.txt in that folder for the license text). No CDN,
 * no Google Fonts <link>, no external network request at runtime — this
 * satisfies the "self-hosted fonts only" WCAG/ops requirement and keeps the
 * site working even if a CDN is ever blocked or offline.
 *
 * `font-display: swap` avoids invisible text during load (a WCAG-friendly
 * choice) while `unicode-range` is intentionally omitted — the family covers
 * Latin + the punctuation used throughout (en dashes in era ranges, etc.)
 * and subsetting is not worth the added build tooling for ~259 records.
 */

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/AtkinsonHyperlegible-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/AtkinsonHyperlegible-BoldItalic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/*
 * The font-family stacks themselves are defined once as custom properties in
 * main.css so they cascade to the whole document without duplicating
 * fallback lists in two files:
 *   --aoh-font-sans   Atkinson Hyperlegible (this file) leads, for body copy
 *                     and UI chrome — the low-vision-optimized choice.
 *   --aoh-font-serif  System serif stack (Iowan/Palatino/Georgia) per the
 *                     approved design — used for headings, ledes, and
 *                     scholarly prose. No @font-face needed; system fonts.
 *   --aoh-font-mono   System monospace stack — accession numbers, counts,
 *                     citation text.
 */
