/*
 * Assistant (OFL) — a clean humanist Hebrew+Latin sans; the app's default
 * typeface (drives --font-sans and --font-display in _global.css). Self-hosted
 * variable woff2 (weight 300–700), split by script so a page pulls only the
 * subset it needs. Propshaft rewrites these url()s to digested paths at build;
 * the leading slash resolves from the asset root (fonts live in app/assets/fonts,
 * a separate load path), so this file works wherever it sits under stylesheets/.
 */

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/assistant-hebrew-21e553f1.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: "Assistant";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/assistant-latin-a49ba701.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;
}

/* Assistant has no Arabic, so Noto Sans Arabic (OFL, variable 300–700) fills that script under the
   same family name. Its range leaves out the punctuation the faces above already cover. */
@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/noto-sans-arabic-202219d7.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Nor Cyrillic: Noto Sans (OFL, variable 300–700) fills Russian the same way. */
@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/noto-sans-cyrillic-585bc615.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
