/**
 * Oreli Baby — web font faces (design tokens, see oreli-design-brief.md §4.2)
 *
 * Headings use a Cyrillic-capable serif (PT Serif primary, Lora fallback). Body uses Inter 400/500/600,
 * the weights the hi-fi comps load. All three families are self-hosted here: the parent Hyvä theme
 * ships no web font, so an undeclared face renders in the visitor's system font (oreli-e7b4).
 *
 * Self-hosted woff2 (web/fonts/) hold every subset in one file per weight, pulled via
 * google-webfonts-helper: PT Serif and Lora with subsets=cyrillic,latin; Inter with
 * subsets=cyrillic,cyrillic-ext,latin, because only cyrillic-ext carries the hryvnia sign ₴ that
 * every price prints. Full uk_UA coverage verified (А І і Ї Є Ґ present). All three families are
 * OFL — no licence cost. font-display: swap keeps LCP fast (PRD §5: LCP ≤ 2.0s mobile).
 *
 * Lora is the FALLBACK heading face; Google ships no Cyrillic variable Lora via gwfh, so it is
 * self-hosted as static 400 + 700 (not the variable axis). The heading faces' unicode-range covers
 * latin-1, the Cyrillic block, general punctuation (— – ’ …) and №; without the punctuation
 * range a heading's dash or apostrophe falls through to Georgia. Inter declares no unicode-range: it
 * is the only body face, so the browser always needs its file, and every glyph in it may serve.
 *
 * Wired into <head> via Magento_Theme/layout/default_head_blocks.xml (<css src="css/fonts.css"/>).
 * The checkout renders under Magento/luma and declares the same faces in
 * Oreli_Checkout::css/checkout-fonts.css — change both together.
 */

/* Inter — body face (Cyrillic + Latin + ₴, by Rasmus Andersson) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-v20-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-v20-cyrillic_cyrillic-ext_latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-v20-cyrillic_cyrillic-ext_latin-600.woff2') format('woff2');
}

/* PT Serif — primary heading face (Cyrillic + Latin, by ParaType) */
@font-face {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/pt-serif-v19-cyrillic_latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0400-04FF, U+2000-206F, U+2116; /* latin-1, cyrillic, punctuation, № */
}
@font-face {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/pt-serif-v19-cyrillic_latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0400-04FF, U+2000-206F, U+2116;
}

/* Lora — fallback heading face (Cyrillic + Latin), self-hosted static 400 + 700 */
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora-v37-cyrillic_latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0400-04FF, U+2000-206F, U+2116;
}
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lora-v37-cyrillic_latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0400-04FF, U+2000-206F, U+2116;
}
