/* ==========================================================================
   Fonts — one composite family, "STH Sans".

   The design reference specifies Nista, which is not available for web use;
   it names Poppins as the substitute. Poppins has no Arabic, so it is paired
   with Readex Pro — chosen as the best fit for Arabic technical education
   (see its section below).

   Both are declared under ONE family name and split by unicode-range. The
   browser picks Poppins for Latin glyphs and Readex Pro for Arabic automatically,
   so a mixed string such as «محلل SOC» renders in both faces with no markup.

   Readex Pro © The Readex Pro Project Authors · Poppins © The Poppins Project Authors.
   Both SIL Open Font License 1.1 — see LICENSE-*.txt beside the files.
   Five files, ~44KB in total.
   ========================================================================== */

/* --- Arabic: Readex Pro -------------------------------------------------
   Readex Pro is the Arabic extension of Lexend, a family built from reading-
   proficiency research to reduce visual stress. Co-designed by Nadine
   Chahine. Open counters and generous proportions keep technical Arabic
   legible at small sizes; its geometry matches Poppins's Latin.

   Readex Pro's heaviest weight is 700, so the 700 file is declared twice:
   as 700 and again as 800. Two rules, not one "700 800" range, because the
   browser only merges faces into one composite when their descriptors are
   identical — a range here would never pair with Poppins's separate 700 and
   800 faces, and Arabic headings would fall back to a system font. The file
   downloads once; the second rule reuses it. Real bold outlines at 800 also
   avoid synthetic bolding, which smears Arabic joins. */
@font-face {
  font-family: "STH Sans";
  src: url("../fonts/readex-arabic-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "STH Sans";
  src: url("../fonts/readex-arabic-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "STH Sans";
  src: url("../fonts/readex-arabic-700.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* --- Latin: Poppins ------------------------------------------------------- */
@font-face {
  font-family: "STH Sans";
  src: url("../fonts/poppins-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "STH Sans";
  src: url("../fonts/poppins-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "STH Sans";
  src: url("../fonts/poppins-latin-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
  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;
}
