/* ════════════════════════════════════════════════════════════
   الطباعة العربية — خط ثمانية
   يُحمَّل بعد كل ملفات CSS ليضبط العربية دون المساس بالتخطيط.
   ════════════════════════════════════════════════════════════ */

/* التباعد يفكّ اتصال الحروف العربية؛ صفر للعربية، وتباعد للأسماء اللاتينية فقط. */
[dir="rtl"] :where(
  p, span, a, button, li, dl, dt, dd, em, small, strong, label,
  h1, h2, h3, h4, h5, h6, figcaption, blockquote, td, th, code, time
) {
  letter-spacing: normal !important;
}

[dir="rtl"] .brand__word {
  letter-spacing: 0.16em !important;
}

/* «NEXUS» بخط ثمانية أعرض من الخط اللاتيني الأصلي، فتكبيرات
   الشاشات الصغيرة (26vw/27vw) تُخرجه من الحاوية. نعيده إلى
   سلّم المقاس الأساسي 20vw مع حدّ أدنى أصغر. */
[dir="rtl"] .footer__word {
  font-size: clamp(3.6rem, 20vw, 19rem);
  letter-spacing: 0.02em !important;
}

/* التناسق الرقمي لكل الأعداد والساعة والإحداثيات. */
body {
  font-variant-numeric: tabular-nums;
}

/* العربية تحتاج هواءً رأسيًا أكثر من اللاتينية في العناوين الضخمة. */
.hero__title {
  line-height: 1.02;
}

.hero__line {
  padding-block-end: 0.16em;
  margin-block-end: -0.16em;
}

.section-head__title,
.monolith__title,
.manifesto__title {
  line-height: 1.04;
}

.work__title {
  line-height: 1.08;
}

.work-dialog__title {
  line-height: 1.06;
}

.threshold__title {
  line-height: 0.98;
}

.world__quote blockquote {
  line-height: 1.16;
}

/* السرد بخط النصوص، والتسميات بخط الواجهة. */
.hero__lede,
.section-head__lead,
.world__note,
.work__desc,
.work-dialog__desc,
.monolith__copy > p,
.manifesto__lead,
.invite-dialog__copy,
.credits__lead,
.world__quote blockquote {
  font-family: var(--font-text);
}

/* التمييز بلا مائل: لون نحاسي ووزن أخف. */
.hero__title em,
.section-head__title em,
.monolith__title em,
.manifesto__title em,
.invite-dialog__title em,
.credits__title em {
  font-style: normal;
  font-weight: 300;
}

.hero__motto,
.threshold__arrive,
.threshold__title span:last-child,
.monolith__legend em {
  font-style: normal;
}
