/* Arabic and Hebrew: language fonts and right-to-left layout. Latin names and numbers keep the brand fonts. */
html[lang="ar"]{--serif:"Cormorant Garamond","Amiri",Georgia,serif;--sans:"Montserrat","IBM Plex Sans Arabic",system-ui,sans-serif}
html[lang="he"]{--serif:"Cormorant Garamond","Frank Ruhl Libre",Georgia,serif;--sans:"Montserrat","Heebo",system-ui,sans-serif}
/* Arabic letters join, so letter-spacing breaks words; Hebrew takes very little. */
html[lang="ar"] body *{letter-spacing:0!important}
html[lang="he"] .eyebrow,html[lang="he"] .label,html[lang="he"] .btn{letter-spacing:.04em}
html[lang="ar"] body{line-height:1.85}
html[lang="ar"] .h2,html[lang="ar"] .phero__title,html[lang="ar"] .hero__title{line-height:1.35}
html[lang="he"] .h2,html[lang="he"] .phero__title{line-height:1.15}
html[lang="ar"] em,html[lang="he"] em{font-style:normal}

/* Layout mirroring. */
[dir="rtl"] .nav{margin-left:0;margin-right:auto}
[dir="rtl"] .link svg,[dir="rtl"] .btn svg,[dir="rtl"] .nl-panel__cta svg,[dir="rtl"] .nl-card svg,[dir="rtl"] .arrow{transform:scaleX(-1)}
[dir="rtl"] .faq summary,[dir="rtl"] .lead,[dir="rtl"] .prose{text-align:right}

/* Pieces that move sideways stay left-to-right as a track; their text reads right-to-left. */
[dir="rtl"] .inv__stage,[dir="rtl"] .names,[dir="rtl"] .names__row,[dir="rtl"] .foot-cta,[dir="rtl"] .interlude__row,[dir="rtl"] .hscroll,[dir="rtl"] [data-marquee],[dir="rtl"] .foot-word{direction:ltr}
[dir="rtl"] .inv__copy,[dir="rtl"] .hpanel,[dir="rtl"] .nl-panel,[dir="rtl"] .hscroll .nl-strip__intro,[dir="rtl"] [data-marquee]>*{direction:rtl}
[dir="rtl"] .inv__script{direction:rtl}
[dir="rtl"] a[href^="tel:"],[dir="rtl"] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate}
[dir="rtl"] [dir="auto"]:dir(ltr){text-align:right}
html[lang="he"] body *{letter-spacing:min(.03em,1px)!important}
