/* ════════════════════════════════════════════════════════════════════════
   vendor/fonts.css  —  v320   Self-hosted web fonts

   Replaces the Google Fonts stylesheet. Written by hand rather than copied
   from fontsource so the unicode-range on the Arabic faces is explicit.

   WHY THIS MATTERS MORE THAN THE OTHER SELF-HOSTING
   Amiri and Noto Nastaliq Urdu were loaded from fonts.googleapis.com. During
   an internet shutdown, or on a first visit with no connectivity, they did not
   arrive and Urdu text fell back to a system default. For Nastaliq that is not
   a cosmetic downgrade — the script is cursive and context-dependent, and a
   non-Nastaliq fallback renders it in disconnected Naskh forms that a reader
   experiences as broken. A letterhead in Urdu was therefore only correct while
   online. Now it is correct always.

   Only the weights index.html actually requested are included, so this adds
   692KB rather than the several megabytes a full family download would.
   ════════════════════════════════════════════════════════════════════════ */
/* ── UI typeface ─────────────────────────────────────────────── */
@font-face{
  font-family:'Outfit';
  font-style:normal;
  font-weight:300;
  font-display:swap;
  src:url('fonts/outfit-latin-300-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Outfit';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/outfit-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Outfit';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('fonts/outfit-latin-500-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Outfit';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/outfit-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Outfit';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/outfit-latin-700-normal.woff2') format('woff2');
}

/* ── Serif display ───────────────────────────────────────────── */
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond';
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}

/* ── Monospace ───────────────────────────────────────────────── */
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
}

/* ── Arabic / Urdu. unicode-range keeps these out of Latin runs ── */
@font-face{
  font-family:'Amiri';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/amiri-arabic-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-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:'Amiri';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/amiri-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Noto Nastaliq Urdu';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/noto-nastaliq-urdu-arabic-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-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:'Noto Nastaliq Urdu';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/noto-nastaliq-urdu-arabic-700-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
