/* @import must precede every other rule in a stylesheet, so it goes first — with the
   @font-face blocks after it. Latin, script, Arabic and Qur'anic faces are all Google
   Fonts substitutions; only Khamenei.ir is a real brand binary. */
@import url("https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Courier+Prime:wght@400;700&family=Caveat:wght@600;700&family=Almarai:wght@300;400;700;800&family=Aref+Ruqaa:wght@400;700&display=swap");

/* Brand typeface: Khamenei.ir — supplied, 3 weights + a web-optimised cut. */
@font-face{font-family:"Khamenei";src:url("../assets/fonts/KhameneiIr-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Khamenei";src:url("../assets/fonts/KhameneiIr-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Khamenei";src:url("../assets/fonts/KhameneiIr-Black.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Khamenei Web";src:url("../assets/fonts/KhameneiIr-Web.ttf") format("truetype");font-weight:400 900;font-style:normal;font-display:swap}

:root{
  --font-core:"Khamenei","Khamenei Web","Segoe UI",Tahoma,sans-serif;   /* everything: headlines, UI, body */
  --font-display:"Khamenei","Khamenei Web",serif;                        /* large ceremonial type, weight 900 */
  --font-ui:"Khamenei Web","Khamenei","Segoe UI",Tahoma,sans-serif;      /* small sizes: the web-optimised cut */
  --font-quran:"Amiri","Noto Naskh Arabic",serif;                        /* Qur'anic ayat, Arabic naskh */
  --font-numeral:"Khamenei Web","Khamenei","Segoe UI",Tahoma,sans-serif;
  --font-latin:"Poppins","Segoe UI",Helvetica,sans-serif;                /* Latin-edition headlines, body, captions */
  --font-bubble:"Courier Prime","Courier New",monospace;                 /* typewriter dialogue in Latin bubbles */
  --font-script:"Caveat",cursive;                                        /* the "Leader's Story!" rail heading */
  --font-arabic:"Almarai","Amiri",sans-serif;                            /* Arabic-edition body, captions, bubbles */
  --font-arabic-display:"Aref Ruqaa","Amiri",serif;                      /* Arabic-edition display headings */
}
