/**
 * Custom Ukrainian typefaces used by the v2 design.
 *
 * Sources supplied as OTF and converted to WOFF2 (see tools/README-fonts.md):
 *   HOLOS-Bold.woff2      7 KB    titles
 *   Avdira-Regular.woff2  121 KB  body
 *   Avdira-Bold.woff2     56 KB   body, bold
 *
 * WOFF2 only, deliberately — every browser that can run this theme supports
 * it, and listing woff/ttf URLs we don't actually ship would just cost a
 * failed request per face. Cormorant Garamond / Inter stay in the CSS font
 * stacks (enqueued from Google Fonts in functions.php) as the fallback while
 * these load, and for the few glyphs HOLOS lacks.
 */

/* HOLOS exists ONLY in Bold. Declaring it across the 400-700 range means the
 * browser uses this real file for every weight the theme asks for, instead of
 * synthesising a fake face — `h1`-`h4` and `.hero-stat-num` ask for 700,
 * while `.pano-label` and `.loc-photo-card .ph-label` ask for 400. */
@font-face {
	font-family: 'HOLOS';
	src: url('../fonts/HOLOS-Bold.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* NAMU 1400 — Polish titles only.
 *
 * HOLOS has no Polish letters at all, so on /pl/ a heading rendered as HOLOS
 * with two or three letters dropped in from Cormorant mid-word. NAMU carries
 * Latin, Cyrillic and Greek; this is the 1400 cut, the century of the castle.
 * Which headings use it is decided by --font-title in style.css.
 *
 * Declared across 100-900 for the same reason HOLOS is: the family ships one
 * file per era, each with its own usWeightClass (1400 declares itself 100), so
 * without the range the browser would synthesise a fake bold for the theme's
 * font-weight: 700 headings instead of using the real face.
 *
 * Nothing downloads it unless a Polish page is being read — a @font-face is
 * only fetched when something on the page actually uses the family.
 *
 * CC BY-ND 4.0: the file is the designer's, unchanged, and must stay that way —
 * no subsetting. See NAMU-LICENSE.txt beside it. */
@font-face {
	font-family: 'NAMU 1400';
	src: url('../fonts/NAMU-1400.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Avdira';
	src: url('../fonts/Avdira-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Avdira';
	src: url('../fonts/Avdira-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
