/* HEKAYA brand fonts (pack 07_Source — SIL OFL).
   Latin UI: Poppins · Arabic UI: Tajawal. Loaded on top of the Noto fallbacks. */

/* Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/brand/Poppins-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/brand/Poppins-Medium.ttf) format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/brand/Poppins-Bold.ttf) format('truetype');
}

/* Tajawal */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/brand/Tajawal-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/brand/Tajawal-Medium.ttf) format('truetype');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/brand/Tajawal-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/fonts/brand/Tajawal-ExtraBold.ttf) format('truetype');
}

/* Arabic surfaces get Tajawal first; everything else keeps Poppins first. */
:root {
  --hekaya-type-latin: 'Poppins', 'Noto Sans', sans-serif;
  --hekaya-type-arabic: 'Tajawal', 'Noto Sans Arabic', 'Poppins', sans-serif;
}
html[lang='ar'] body,
html[dir='rtl'] body {
  font-family: var(--hekaya-type-arabic);
}
body {
  font-family: var(--hekaya-type-latin);
}
