@font-face{font-family:CueArabic;src:url('/assets/NotoSansArabic-Variable.ttf') format('truetype');font-display:swap;font-weight:100 900}
html[lang="ar"] body{font-family:Outfit,CueArabic,sans-serif;line-height:1.45}
html[lang="ar"] .hero-copy h1,html[lang="ar"] .section-title{letter-spacing:0;line-height:1.3}
html[lang="ar"] .goal-option{line-height:1.35}
html[lang="ar"] .demo-buffer label,html[lang="ar"] .demo-buffer>span{line-height:1.3}
/* Clock fields retain their hour:minute order inside translated RTL labels. */
.time-select,
.hero-time,
.time-ticket b {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Mirror decoration independently of readable text and the original Cue art. */
html[dir="rtl"] .demo-head > .small { right: auto; left: 62px; }
html[dir="rtl"] .demo-cup { right: auto; left: 28px; }
html[dir="rtl"] .cue-path {
  right: auto;
  left: 24px;
  transform: scaleX(-1);
}
html[dir="rtl"] .demo-buffer::before { left: auto; right: 0; }

@media (min-width: 1101px) {
  html[lang="ar"] .moments .section-title{font-size:80px;line-height:1.2}
  html[lang="ar"] .demo-note{bottom:25px}
  html[dir="rtl"] .hero-plan h2,
  html[dir="rtl"] .hero-time { transform: translateX(49px); }
  html[dir="rtl"] .demo { transform: translate(24px, -35px); }
  html[dir="rtl"] .demo-head h3 { transform: translateX(-34px); }
  html[dir="rtl"] .demo-head > .small { left: 85px; }
  html[dir="rtl"] .demo-cup { left: 25px; }
  html[dir="rtl"] .cue-path { left: 22px; }
}

@media (max-width: 1100px) {
  html[dir="rtl"] .demo-head > .small { left: 24px; }
  /* The narrow demo keeps Cue, while decorative art yields to step controls. */
  html[dir="rtl"] .demo-cup,
  html[dir="rtl"] .cue-path { display: none; }
}

@media (max-width: 760px) {
  html[dir="rtl"] .demo-head > .small { left: 38px; }
}
