/**
 * CrowGoal — Arabic typeface.
 *
 * Thmanyah Font ("خط ثمانية") is a free Arabic typeface released by
 * Thmanyah (thmanyah.com). Its license permits use on websites and in
 * apps, but the font files are not distributed on a public CDN — you
 * request them (a free download, email required) from the official
 * page and receive the package by email:
 *
 *   https://ask.thmanyah.com/hc/en-001/articles/45993930027281
 *
 * After you receive the files, drop the woff2/woff (and ttf if you
 * want a wider fallback) into this folder as shown below and they'll
 * be picked up automatically — no other change is needed.
 *
 * Until those files are added, --cg-font-arabic falls back to
 * "Tajawal" (loaded from Google Fonts in includes/header.php), which
 * is a similar, well-tested Arabic grotesque, so the Arabic UI still
 * looks intentional and correct out of the box.
 */

@font-face {
  font-family: "Thmanyah";
  src: url("../fonts/Thmanyah-Regular.woff2") format("woff2"),
       url("../fonts/Thmanyah-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah";
  src: url("../fonts/Thmanyah-Medium.woff2") format("woff2"),
       url("../fonts/Thmanyah-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah";
  src: url("../fonts/Thmanyah-Bold.woff2") format("woff2"),
       url("../fonts/Thmanyah-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Real "Thmanyah" activates the moment its files exist in assets/fonts/;
     browsers silently skip an @font-face whose src file 404s and fall
     through to the next name in this stack. */
  --cg-font-arabic: "Thmanyah", "Tajawal", "Segoe UI", system-ui, sans-serif;
}
