/* Arabic (RTL) overrides, loaded after each page's own styles. */
:root {
  --display: "IBM Plex Sans Arabic", "Schibsted Grotesk", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Sans Arabic", "Geist Mono", "Segoe UI", sans-serif;
  --ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
body { font-family: var(--display); line-height: 1.85; }
* { letter-spacing: 0 !important; }          /* letter-spacing breaks Arabic joining */
.numeral { font-family: "Geist Mono", monospace; }
.navend .lang { font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif; }

/* Arabic needs more line height than the tight Latin headings */
.name { line-height: 1.15; top: 37%; }
.role { line-height: 1.35; }
.intro h2, .contact h2, .case-head h1, .case-head h3, .service h3, .head h1, .next strong, .cta-end .big, .done h2, main > h1 { line-height: 1.3 !important; }
.proof b, .tile h3, .steps h3, .pack h4 { line-height: 1.3; }

/* mirrored positions */
.role { right: auto; left: var(--gutter); }
.socials { left: auto; right: var(--gutter); }
.hero-photo { left: 46%; }
.intro .sub { margin-right: auto; margin-left: clamp(0px, 14vw, 220px); }
.proof .cell { padding: 28px 0 30px 20px; }
.proof .cell + .cell { padding-right: 20px; border-left: 0; border-right: 1px solid var(--line); }
.case-head .meta { text-align: left; }
.case-body dt { padding-right: 0; padding-left: 24px; }
.pack + .pack { border-left: 0; border-right: 1px solid var(--line); }
.pack li { padding-left: 0; padding-right: 16px; }
.pack li::before { left: auto; right: 0; }
.pack .price small { margin-right: 0; margin-left: 8px; }
.steps li { padding: 22px 0 30px 24px; }
.tile .cat { text-align: left; }
.tile .arrow { right: auto; left: 14px; }
.ticker { direction: ltr; }                  /* keeps the marquee loop seamless */
select { background-position: 20px 55%, 15px 55%; padding-right: 14px; padding-left: 40px; }
.hp { left: auto; right: -9999px; }
input[type="tel"], input[type="email"] { direction: ltr; text-align: right; }

@media (max-width: 900px) {
  .intro .sub { margin-left: 0; }
  .proof .cell:nth-child(3) { padding-right: 0; border-right: 0; }
  .pack + .pack { border-right: 0; }
}
@media (max-width: 640px) {
  .hero-photo { left: 40%; }
  .role { left: auto; right: var(--gutter); }
  .name { top: 46%; line-height: 1.1; }
  .case-head .meta { text-align: right; }
}
