/* ==========================================================================
   ALIGNER LOUNGE — RTL overrides
   Main CSS uses logical properties, so this file stays deliberately small:
   only physical-property and directional-visual fixes belong here.
   ========================================================================== */

/* Nav underline grows from the correct edge */
html[dir="rtl"] .nav__link::after{transform-origin:right}

/* Gold hairline draws from the right */
html[dir="rtl"] .rule-draw{transform-origin:right}

/* Arabic reads better slightly looser and a touch larger */
html[dir="rtl"] body{letter-spacing:0}
html[dir="rtl"] .lead{max-width:56ch}

/* Serif italics have no Arabic equivalent. Taglines drop to the body face at
   a heavier weight rather than pretending to be an italic serif — which also
   means Amiri 400 never has to ship. */
html[dir="rtl"] em,html[dir="rtl"] i,html[dir="rtl"] blockquote,
html[dir="rtl"] .tagline,html[dir="rtl"] .hero__tagline{font-style:normal}
html[dir="rtl"] .tagline,
html[dir="rtl"] .hero__tagline,
html[dir="rtl"] blockquote{font-family:var(--f-body);font-weight:500}

/* Uppercase tracking is a Latin device; Arabic must not inherit it */
html[dir="rtl"] .eyebrow,html[dir="rtl"] .stat__label,html[dir="rtl"] .field label,
html[dir="rtl"] .site-footer h4,html[dir="rtl"] .tech-card__badge,
html[dir="rtl"] .post-card__date,html[dir="rtl"] .breadcrumbs,
html[dir="rtl"] .site-footer__keywords,html[dir="rtl"] .hero__scroll{
  text-transform:none;letter-spacing:0;
}

/* Latin brand lock-up keeps its Latin treatment inside an RTL page */
html[dir="rtl"] .brand__name,html[dir="rtl"] .brand__tag{direction:ltr;unicode-bidi:isolate}

/* Numerals, phones, emails, technology names stay LTR */
html[dir="rtl"] .ltr,
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] .stat__num{direction:ltr;unicode-bidi:isolate}

/* Arrow glyphs flip */
html[dir="rtl"] .btn .icon-arrow{scale:-1 1}
