/* ════════════════════════════════════════════════════════════
   BY MAHMOUD — Arabic embedded fonts
   SF Arabic (the dare)  +  Doran (the whisper)
   Load BEFORE ar-system.css.
   ════════════════════════════════════════════════════════════ */

/* ── SF Arabic — the DARE register ──────────────────────────
   Apple's Arabic system face. Modern, geometric, neutral.
   Arabic counterpart to PP Neue Montreal. Single .ttf carries
   all weights via font-weight synthesis fallback; declared at
   multiple weights so the browser picks the right metric. */
@font-face {
  font-family: 'SF Arabic';
  src: url('assets/fonts/ar/SF-Arabic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ── Doran — the WHISPER + VERDICT registers ────────────────
   Editorial Arabic with classical Naskh-rooted shaping and a
   full weight range. Replaces Editorial Old in the inversion.

   Doran VF (variable) carries the whole weight axis in a single
   .woff2 file — load that first. The static .otf files are
   fallbacks for browsers without variable-font support. */
@font-face {
  font-family: 'Doran';
  src: url('assets/fonts/ar/Doran-VF.woff2') format('woff2-variations'),
       url('assets/fonts/ar/Doran-VF.woff2') format('woff2'),
       url('assets/fonts/ar/Doran-VF.woff')  format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Static Doran fallbacks — only used if the VF fails to load.
   Keep these registered so the cascade has solid fallbacks per weight. */
@font-face {
  font-family: 'Doran Static';
  src: url('assets/fonts/ar/Doran-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran Static';
  src: url('assets/fonts/ar/Doran-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran Static';
  src: url('assets/fonts/ar/Doran-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran Static';
  src: url('assets/fonts/ar/Doran-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran Static';
  src: url('assets/fonts/ar/Doran-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran Static';
  src: url('assets/fonts/ar/Doran-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
