/* Hebrew follows the same visual system, with reading order and controls mirrored. */
html[dir="rtl"] body{font-family:Inter,Arial,sans-serif}
html[dir="rtl"] .skip{left:auto;right:0;transform:translateY(-110%)}
html[dir="rtl"] .skip:focus{transform:none}
html[dir="rtl"] :is(h1,h2,h3,h4,p,a,button,label,select,input,textarea,.rebrand-eyebrow){font-family:Inter,Arial,sans-serif;letter-spacing:normal}
html[dir="rtl"] .rebrand-hero--cinema .rebrand-hero-grid{text-align:right}
html[dir="rtl"] .rebrand-hero--cinema h1{font-size:clamp(60px,6.5vw,88px);line-height:1.15;letter-spacing:-.02em}
html[dir="rtl"] .rebrand-hero-film::after{background:linear-gradient(270deg,rgba(10,10,10,.83) 0%,rgba(10,10,10,.65) 35%,rgba(10,10,10,.06) 80%),linear-gradient(0deg,rgba(10,10,10,.75),transparent 45%)}
html[dir="rtl"] .lang-menu{right:auto;left:0}
html[dir="rtl"] .nav-lang.lang-dd .lang-menu a[aria-current="page"]::before{margin-left:0;margin-right:auto}
html[dir="rtl"] .nav-lang.lang-dd .lang-menu a{direction:ltr}
html[dir="rtl"] .nav-lang.lang-dd .lang-menu a[lang="he"]{direction:rtl}
html[dir="rtl"] .arr{transform:scaleX(-1)}
html[dir="rtl"] :is(input,textarea){text-align:start}
html[dir="rtl"] :is(a[href^="mailto:"],a[href^="tel:"],input[type="email"],bdi){unicode-bidi:isolate}
html[dir="rtl"] .rebrand-contact-direct{align-items:flex-start}
/* The cookie card sits at the reading end of the line: bottom left on wider Hebrew screens. Phones keep it full width. */
@media(min-width:621px){html[dir="rtl"] .cookie-banner{right:auto;left:24px}}
@media(min-width:621px) and (max-height:500px){html[dir="rtl"] .cookie-banner{left:12px}}
@media(max-width:880px){
 html[dir="rtl"] .nav-links a::after{content:"←"}
 html[dir="rtl"] .appearance-control{margin-left:0;margin-right:auto}
}
@media(max-width:600px){
 html[dir="rtl"] .rebrand-hero--cinema h1{font-size:clamp(38px,10.5vw,58px);line-height:1.2}
 html[dir="rtl"] .rebrand-hero-film::after{background:linear-gradient(0deg,rgba(10,10,10,.93),rgba(10,10,10,.58) 65%,rgba(10,10,10,.15))}
 html[dir="rtl"] .rebrand-hero--cinema .rebrand-hero-bottom>*{text-align:right!important}
}

/* Strip under the hero: first item at the right edge, last item at the left. */
html[dir="rtl"] .rebrand-hero-bottom>*:last-child{text-align:left}
/* Home: module index, arrows point up and to the left. */
html[dir="rtl"] .home-modules a:hover .home-module-go,html[dir="rtl"] .home-modules a:focus-visible .home-module-go{transform:translate(-2px,-2px)}
html[dir="rtl"] .home-module-name>bdi>span{color:var(--brand-muted)}
html[dir="rtl"] .home-chain-n{direction:ltr;unicode-bidi:isolate;text-align:right}
/* Text links: a Latin name in <bdi> stays inside one label (the link's flex gap is for the arrow only), and the arrow nudges up and to the left. */
html[dir="rtl"] :is(.rebrand-link,.rebrand-button)>bdi{display:contents}
html[dir="rtl"] .rebrand-link:hover span{transform:translate(-2px,-2px)}
/* Films, tracking boxes and record labels are drawn in the film's own left-to-right frame and never mirror. */
html[dir="rtl"] .vision-overlay{direction:ltr}
html[dir="rtl"] .vision-record{direction:rtl;text-align:right}
html[dir="rtl"] .vision-record span{font-family:Inter,Arial,sans-serif;letter-spacing:0}
/* Vision steps and cards: a Latin name or record number (Ancilor Logistics, DN-0417) never splits across two lines. */
html[dir="rtl"] :is(.vision-step,.vision-setting) :is(p,dd)>bdi{white-space:nowrap}
@media(prefers-reduced-motion:reduce){html[dir="rtl"] .home-modules a:hover .home-module-go{transform:none}}
