/* LANTERNFARER — Arabic (RTL) layer, loaded only on /ar/ pages, after style.css */
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:300;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-arabic-light.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-arabic-regular.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-arabic-medium.woff2") format("woff2")}
@font-face{font-family:"Amiri";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/amiri-regular.woff2") format("woff2")}

html[lang="ar"]{
  --serif:"Amiri","Cormorant Garamond",Georgia,serif;
  --sans:"IBM Plex Sans Arabic","Inter",system-ui,"Segoe UI",Tahoma,sans-serif;
}
html[lang="ar"] body{line-height:1.9}
/* Arabic letters must stay joined: no tracking, no uppercase */
html[lang="ar"] :where(body *):not(.intro-word):not(.intro-word *):not(.brand span){letter-spacing:0 !important;text-transform:none !important}
/* Arabic has no true italic: emphasis by colour only */
html[lang="ar"] em,html[lang="ar"] .manifesto .w.em,html[lang="ar"] .cell .num{font-style:normal}
/* Amiri sits lower and taller than Cormorant: open the line height of display type */
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3{line-height:1.35;font-weight:400}
html[lang="ar"] .display{line-height:1.25}
html[lang="ar"] .h2{line-height:1.3}
html[lang="ar"] .lead,html[lang="ar"] .manifesto{line-height:1.6;font-weight:400}
html[lang="ar"] .eyebrow,html[lang="ar"] .status,html[lang="ar"] .btn,html[lang="ar"] .link-arrow,html[lang="ar"] .step .k,html[lang="ar"] .pipe span,html[lang="ar"] .scroll-cue{font-size:.86rem}
@media (min-width:821px){html[lang="ar"] .nav-links a{font-size:.95rem;font-weight:400}}
/* phone: header and menu keep the exact English layout (logo left, menu button right, large menu titles) */
@media (max-width:820px){html[lang="ar"] .site-header .nav{direction:ltr}html[lang="ar"].js .nav-links{direction:rtl}}

/* direction-sensitive details */
html[lang="ar"] .skip{left:auto;right:-999px}
html[lang="ar"] .skip:focus{right:12px}
html[lang="ar"] .prose ul{padding-left:0;padding-right:1.2em}
html[lang="ar"] .nav-links a::after,html[lang="ar"] .link-arrow::after{transform-origin:right}
html[lang="ar"] .scroll-cue{right:auto;left:var(--gutter)}
html[lang="ar"] .btn svg,html[lang="ar"] .link-arrow svg,html[lang="ar"] .topics a svg{transform:scaleX(-1)}
html[lang="ar"] .btn:hover svg,html[lang="ar"] .link-arrow:hover svg{transform:scaleX(-1) translateX(4px)}
html[lang="ar"] .topics a:hover svg{transform:scaleX(-1) translateX(6px)}
html[lang="ar"] .pipe li::after{left:auto;right:0}
@media (max-width:820px){html[lang="ar"] .pipe li::before{left:auto;right:5px}}
html[lang="ar"] .reel-card.has-yt{text-align:right}
html[lang="ar"] .mail-big,html[lang="ar"] .legal span:last-child{direction:ltr;unicode-bidi:isolate}

/* hero: the portrait keeps its composition; the copy stays on the dark side of the image */
@media (min-width:821px){
  html[lang="ar"] .hero .wrap{direction:ltr}
  html[lang="ar"] .hero-copy{direction:rtl;text-align:right;width:min(100%,540px)}
}
