/* Arabic glyphs inside the brand font names: the browser keeps Instrument Serif /
   Geist / JetBrains Mono for Latin and uses these faces only for Arabic characters
   (unicode-range), so every existing selector in style.css works without changes. */
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/notonaskharabic/v44/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV2mLXgzTrc.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}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400 700;font-display:swap;src:url(https://fonts.gstatic.com/s/notonaskharabic/v44/RrQKbpV-9Dd1b1OAGA6M9PkyDuVBeN2DHV2mLXgzTrc.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}
@font-face{font-family:'Geist';font-style:normal;font-weight:300;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YOW_uCRXMRrKATtYV0.woff2) format('woff2');size-adjust:108%;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}
@font-face{font-family:'Geist';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys43PW5fslBEg0.woff2) format('woff2');size-adjust:108%;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}
@font-face{font-family:'Geist';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CRXMRrKATtYV0.woff2) format('woff2');size-adjust:108%;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}
@font-face{font-family:'Geist';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCRXMRrKATtYV0.woff2) format('woff2');size-adjust:108%;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}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys43PW5fslBEg0.woff2) format('woff2');size-adjust:120%;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}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CRXMRrKATtYV0.woff2) format('woff2');size-adjust:120%;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}

/* ============================================================
   RTL / Arabic layer for /ar/ (loaded after style.css).
   Latin keeps the brand fonts; Arabic glyphs fall back to
   Noto Naskh Arabic (display) and IBM Plex Sans Arabic (body).
   ============================================================ */
:root{
  --font-display: "Instrument Serif", "Noto Naskh Arabic", "Times New Roman", serif;
  --font-sans: "Geist", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Sans Arabic", ui-monospace, monospace;
}
html[lang="ar"] body{font-family:var(--font-sans);line-height:1.8}
/* Arabic has no italic and tracking breaks joined letters */
html[lang="ar"] em,html[lang="ar"] i,html[lang="ar"] [class*="quote"],html[lang="ar"] blockquote,html[lang="ar"] .brief-step-title,html[lang="ar"] .pc-quote,html[lang="ar"] .brief-legend,html[lang="ar"] .brief-done-title em{font-style:normal !important}
html[lang="ar"] .form-left .work-title{margin-bottom:28px}
html[lang="ar"] *{font-synthesis:none}
html[lang="ar"] *{letter-spacing:0 !important}
html[lang="ar"] [class*="label"],html[lang="ar"] .eyebrow,html[lang="ar"] .dn,html[lang="ar"] .pc-num,
html[lang="ar"] .pc-role,html[lang="ar"] .pc-country,html[lang="ar"] .work-footer-label,html[lang="ar"] .sw-cat,
html[lang="ar"] .nav-links a,html[lang="ar"] .cta,html[lang="ar"] .fg label,html[lang="ar"] .kchip,
html[lang="ar"] .brief-step-label,html[lang="ar"] .promise-meta-label{text-transform:none}
/* display type needs more line height in Arabic */
html[lang="ar"] .display,html[lang="ar"] .promise-headline,html[lang="ar"] .work-title,html[lang="ar"] .dname,
html[lang="ar"] .pc-city,html[lang="ar"] .brief-done-title,html[lang="ar"] .faq-q{line-height:1.3}
html[lang="ar"] .display,html[lang="ar"] .promise-headline,html[lang="ar"] .work-title{line-height:1.22}
html[lang="ar"] .display,html[lang="ar"] .work-title,html[lang="ar"] .promise-headline,html[lang="ar"] .dname,html[lang="ar"] .pc-city{font-weight:500}
/* language switch */
.nav-lang{font-family:var(--font-mono);font-size:12px;color:var(--cream-mute);text-decoration:none;transition:color .18s ease-out;margin-inline-start:auto;margin-inline-end:22px}
.nav-lang:hover{color:var(--chartreuse)}

/* --- section fixes --- */
html[dir="rtl"] .promise-stat{direction:ltr;unicode-bidi:isolate;text-align:right}
html[dir="rtl"] .form-submit svg,html[dir="rtl"] .work-footer-link svg{transform:scaleX(-1)}
html[dir="rtl"] .wsb .wsb-card:after{background:linear-gradient(270deg,rgba(10,9,8,.88) 0%,rgba(10,9,8,.55) 45%,rgba(10,9,8,.05) 80%),linear-gradient(180deg,rgba(10,9,8,0) 50%,rgba(10,9,8,.7) 100%)}
html[dir="rtl"] .wsb .wsb-in{left:auto;right:0}
@media (max-width:640px){html[dir="rtl"] .wsb .wsb-card:after{background:linear-gradient(180deg,rgba(10,9,8,.15) 20%,rgba(10,9,8,.92) 75%)}}
html[dir="rtl"] .kselect-btn,html[dir="rtl"] .fg input,html[dir="rtl"] .fg textarea{text-align:right}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="url"],html[dir="rtl"] #bf-site,html[dir="rtl"] #bf-refs,html[dir="rtl"] #bf-scriptlink{direction:ltr;text-align:right}

/* selected work cards: icon and badge move to the start side, Latin titles keep their order */
html[dir="rtl"] .sw-meta{padding-left:calc(1rem + 56px)}
html[dir="rtl"] .sw-meta .si{right:auto;left:1rem}
html[dir="rtl"] .sw-vb{left:auto;right:14px;font-size:11px;font-weight:500;padding:5px 10px 4px}
html[dir="rtl"] .sw-name{unicode-bidi:plaintext;text-align:right;line-height:1.35}
html[dir="rtl"] .sw-cat{font-size:.8rem}
/* honeypot: off-screen to the left creates a horizontal scroll in RTL, so clip it in place */
html[dir="rtl"] .brief-hp{left:0 !important;right:auto;clip:rect(0 0 0 0);clip-path:inset(50%);opacity:0;pointer-events:none}
html[lang="ar"] .nav-links a{white-space:nowrap}
