/* Takoneen Arabic typography trial — Alexandria, variable 100–900.
   Only linked for the Arabic locale; omit the link with ?arabic-font=classic.
   Local upstream font: Google Fonts / Alexandria project, SIL OFL 1.1. */
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/alexandria-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html[lang="ar"] {
  --font-body: "Alexandria", Tahoma, Arial, sans-serif;
  --font-serif: "Alexandria", Tahoma, Arial, sans-serif;
}
html[lang="ar"] body { font-family: var(--font-body); font-weight: 400; }
html[lang="ar"] :is(button,input,select,textarea) { font-family: var(--font-body); }
html[lang="ar"] :is(h1,h2,h3) { letter-spacing: normal; }
html[lang="ar"] :is(.btn,.pill,.cart-btn,.auth-outline) {
  font-weight: 600;
  letter-spacing: normal;
}
/* An editorial, medium-weight headline instead of a heavy block of text.
   Keep the two existing hero lines and allow room for Arabic descenders. */
html[lang="ar"] body[data-page="home"] .hero.rawaa-video-hero .hero__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.45vw, 4.1rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  text-shadow: 0 2px 18px #2a15204d;
}
html[lang="ar"] body[data-page="home"] .hero__title em {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}
html[lang="ar"] body[data-page="home"] .hero__title .line {
  padding-block: .04em .16em;
  margin-bottom: -.08em;
}
html[lang="ar"] body[data-page="home"] .hero.rawaa-video-hero .hero__sub {
  font-weight: 400;
  font-size: clamp(.9rem, 1.12vw, 1.02rem);
  line-height: 1.9;
  max-width: 100%;
}
html[lang="ar"] .rawaa-intro-tagline {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.8;
}
html[lang="ar"] .footer__copyright { letter-spacing: normal; }
html[lang="ar"] .auth-card .auth-card__heading--branded h1 {
  font-size: clamp(1rem, 2.3vw, 1.9rem);
  font-size: clamp(.88rem, 10cqi, 1.9rem);
  font-weight: 500;
  white-space: nowrap;
}
html[lang="ar"] .nav__links { font-weight: 500; }
@media (min-width: 821px) and (max-width: 1100px) {
  html[lang="ar"] .nav__links { font-size: .77rem; gap: 2px; }
  html[lang="ar"] .nav__links a { padding-inline: 6px; }
}
@media (min-width: 821px) and (max-height: 660px) {
  html[lang="ar"] body[data-page="home"] .hero.rawaa-video-hero .hero__title {
    font-size: clamp(1.9rem, 3.15vw, 3.55rem);
  }
}
@media (max-width: 820px) {
  html[lang="ar"] body[data-page="home"] .hero.rawaa-video-hero .hero__title {
    font-size: clamp(1.7rem, 6.8vw, 3rem);
    line-height: 1.36;
  }
  html[lang="ar"] body[data-page="home"] .hero.rawaa-video-hero .hero__sub {
    font-size: .88rem;
    line-height: 1.8;
  }
}
@media (max-width: 380px) {
  html[lang="ar"] body[data-page="home"] .hero.rawaa-video-hero .hero__title {
    font-size: clamp(1.5rem, 6.8vw, 1.85rem);
  }
}
