/* ============================================================
   Qatra Bio, Self-hosted fonts
   Latin: Cormorant Garamond (display) + Inter (body)
   Arabic: Amiri (display) + Cairo (body)
   ============================================================ */

/* --- Cormorant Garamond (Latin display) --- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500i.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-700.woff2") format("woff2");
}

/* --- Inter (Latin body) --- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
}

/* Arabic-script faces own only the Arabic ranges, so Latin runs inside
   Arabic text fall through to the aliased Inter/Cormorant faces below
   (instead of system-ui). */
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/amiri-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/amiri-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}

/* --- Cairo (Arabic body) --- */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/cairo-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cairo-600.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/cairo-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0660-0669;
}

/* --- Latin aliases for Arabic families (Latin runs in Arabic UI) --- */
@font-face { /* Cairo body Latin -> Inter */
  font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20BF, U+2122;
}
@font-face {
  font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20BF, U+2122;
}
@font-face {
  font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20BF, U+2122;
}
@font-face { /* Amiri display Latin -> Cormorant (keeps the brand wordmark serif) */
  font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/cormorant-500.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20BF, U+2122;
}
@font-face {
  font-family: "Amiri"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/cormorant-700.woff2") format("woff2");
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20BF, U+2122;
}
