/*
 * Arabic Font Declarations — Ultranos
 *
 * Self-hosted Noto Arabic fonts for offline-first RTL support.
 * font-display: swap prevents FOIT (Flash of Invisible Text).
 * unicode-range enables browser-level subsetting so these fonts
 * are only downloaded when Arabic characters are present.
 */

/* ══════════════════════════════════════════════════════════════
   Noto Sans Arabic — UI text (body, labels, buttons)
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
  src: url('/fonts/NotoSansArabic-Regular.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 501 600;
  font-display: swap;
  src: url('/fonts/NotoSansArabic-Medium.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 601 900;
  font-display: swap;
  src: url('/fonts/NotoSansArabic-Bold.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* ══════════════════════════════════════════════
   Noto Kufi Arabic — variable font (wght 100–900), the RTL UI face.
   The former "-Regular"/"-Bold" files are byte-identical copies of this
   one variable woff2; declaring the full wght range lets font-weight
   500/600 interpolate to true weights instead of snapping 600 → Bold 700
   (which read far too heavy for small UI headings).
   ══════════════════════════════════════════════ */

@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/NotoKufiArabic-Regular.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
