/*
 * Open Sans — bundled locally.
 *
 * Enqueued by COMOS_SR_Fonts ONLY when every file below and OFL.txt are
 * present. If any is missing this file is never loaded and tokens.css keeps
 * Arial, so the interface degrades to a working state rather than to a face the
 * browser cannot fetch.
 *
 * These are VARIABLE fonts: one file per subset covers the whole 400–700 range
 * the interface uses, which is why there are two files rather than six. The
 * declared range is exactly the range in use — claiming more than the file
 * carries would let the browser synthesise a weight instead of rendering one.
 *
 * Two subsets, not ten. Hebrew is the interface language; Latin covers digits,
 * "COMOS", and the occasional English term. The other eight Google serves are
 * bytes on a phone connection for glyphs nobody here types.
 *
 * font-display: swap — text is readable immediately in the fallback face and
 * reflows when Open Sans arrives. The alternative on a slow connection is a
 * blank block of text.
 *
 * Licence: SIL Open Font License 1.1 — assets/fonts/OFL.txt, as distributed by
 * the Open Sans project.
 *
 * Created by Eli Toyster | ToysterMedia
 */

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400 700;
	font-stretch: normal;
	font-display: swap;
	src: url('../fonts/open-sans-hebrew.woff2') format('woff2');
	unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400 700;
	font-stretch: normal;
	font-display: swap;
	src: url('../fonts/open-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Overrides the fallback declared in tokens.css. Loaded after it, and only when
   the files above are genuinely on disk. */
:root {
	--csr-font: 'Open Sans', Arial, sans-serif;
}
