/*
 * «الحروف المرسلة» as on asasmakeen.com/ar/about: Thmanyah's ss01 (elongated finals only) on the whole Arabic display
 * text, so every final letter that has an elongated form stretches («عـن مكيـن», «مـن نحـن»), not just the ن of «مكين».
 *
 * Kept out of ../site.css on purpose: that file is the Next build copied in and gets replaced on every copy.
 * Loaded after it by app/Views/site/layout.php, pages/not-found.php and password.php.
 * Only text set in Thmanyah: Zarid's ss01 is not the approved form.
 */
html[lang='ar'] :is(.display, .font-display, .eyebrow, .ar-display) {
  font-feature-settings: 'ss01' 1;
}

/*
 * Descriptions (multi-line paragraphs set in the display font) keep plain finals: only the word «مكين» stretches
 * there, and it does so on its own (.makeen-draw::after sets ss01 itself). Headings and taglines keep the rule above.
 *   [data-manifesto]  home "Who we are" text        [data-lit]  about intro text
 *   lg:text-[1.9rem]  about lead / intro paragraphs  faqs lead (display mt-10 … leading-[1.5])
 */
html[lang='ar'] :is([data-manifesto], [data-lit], p.display[class*='lg:text-[1.9rem]'], p.display[class*='mt-10 text-xl leading-[1.5]']) {
  font-feature-settings: normal;
}
