/* Atelier ATTN. - Arabic (/ar/) web fonts, self-hosted. Loaded after the hashed _astro CSS; that file is not edited.
   Noto Kufi Arabic (variable 300-700) for body + headings, El Messiri (variable 400-700) for the accent words.
   Both are SIL OFL 1.1 (Google Fonts). Arabic subset only: Latin keeps coming from Be Vietnam Pro / Noto Serif Display.
   Config (Viet Anh, set E): heading weight 400, body line-height 1.8, accent weight 500 at 1.04em. */

@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:300 700;font-display:swap;
  src:url(/fonts/ar/NotoKufiArabic-arabic-var.woff2) format("woff2");
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:"El Messiri";font-style:normal;font-weight:400 700;font-display:swap;
  src:url(/fonts/ar/ElMessiri-arabic-var.woff2) format("woff2");
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}

/* Be Vietnam Pro stays first (its @font-face is Latin-only), so Latin text is unchanged and Arabic falls through to Kufi. */
html[dir=rtl][lang]{
  --f-sans:"Be Vietnam Pro","Noto Kufi Arabic",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-serif:"Noto Serif Display","El Messiri","Noto Kufi Arabic",Georgia,serif;
  --fd-em-w:500;--fd-em-size:1.04em}

/* Accent words: Arabic has no italic, so use El Messiri upright. */
html[dir=rtl][lang] :is(h1 em,.h2 em,.big em,.prose h2 em,.prose .wp-block-heading em,.bs__aa em,.ts blockquote .q,.spot-quote .q){
  font-family:var(--f-serif);font-style:normal;font-weight:500;font-size:1.04em}

/* Hard-coded font names in the built CSS */
html[dir=rtl][lang] .langsel__list span[lang^=ar]{font-family:var(--f-sans)}
html[dir=rtl][lang] .attn-chat{font-family:var(--f-sans)}

/* Heading weight 400 */
html[dir=rtl][lang] :is(h1,h2,h3,h4,.h2,.big,.t-lg,.t-md,.faq summary,.qa-row h4,.works p,.wall b,.ind__row,.expl__h,.rel__t,.tq blockquote,.ts blockquote,.spot-quote blockquote,.prose h2){font-weight:400}

/* Body line-height 1.8 */
html[dir=rtl][lang] :is(body,p,li,.lead,.prose,.prose p){line-height:1.8}
