/* ═══════════════════════════════════════════════════════════
   Thmanyah Sans (ثمانية سانس) — Primary Brand Typography
   Complete Hierarchy: 300, 400, 500, 600, 700, 800, 900
   Formats: WOFF2 (Modern, Fast) + OpenType (Fallback)
   ═══════════════════════════════════════════════════════════ */

/* Light — 300 */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Light.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular — 400 */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Regular.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium — 500 */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Medium.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Semi-Bold — 600 (Mapped to Medium/Bold for sharp vector rendering) */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Bold.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold — 700 */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Bold.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Extra Bold — 800 (Mapped to Black for authoritative editorial impact) */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Black.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black — 900 */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyah/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────────────────────
   Compatibility Aliases:
   Map 'Almarai' to Thmanyah Sans so that any legacy rules,
   cached sheets or dynamic styles use Thmanyah Sans seamlessly.
   ───────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Light.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Regular.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Medium.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Bold.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Bold.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Black.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Almarai';
  src: url('../fonts/thmanyah/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyah/thmanyahsans-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
