/* =============================================================
   KIDAB — Self-Hosted Font Declarations
   All fonts: SIL OFL 1.1 licensed, self-hosted from /fonts/
   No external requests to Google or any third party.
   
   Font inventory (Brand Guide v1.0.0):
   - Cinzel: Latin display (h1-h3)
   - Cormorant Garamond: Latin body/UI (h4+, forms, nav)
   - Amiri: Arabic display (h1-h3)
   - Noto Naskh Arabic: Arabic body/UI (h4+, forms, nav)
   - Noto Sans Cuneiform: Logo glyphs only (KI + DAB5)
   
   unicode-range prevents unnecessary font downloads:
   - English-only pages: ~285 KB (Latin fonts only)
   - Arabic pages: ~560 KB (Latin + Arabic)
   - Pages with logo glyphs: +475 KB (Cuneiform)
   ============================================================= */

/* --- Cinzel (Latin Display) --- */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Cinzel-Bold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Cinzel-ExtraBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Cormorant Garamond (Latin Body/UI) --- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Amiri (Arabic Display) --- */

@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Amiri-Bold.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

/* --- Noto Naskh Arabic (Arabic Body/UI) --- */

@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/NotoNaskhArabic-Regular.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/NotoNaskhArabic-SemiBold.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

/* --- Noto Sans Cuneiform (Logo Only) --- */
/* Contains KI and DAB5 glyphs for the Kidab logo.
   475 KB unsubsetted - candidate for subsetting to ~5 KB in future.
   unicode-range ensures this only downloads on pages with cuneiform characters. */

@font-face {
  font-family: 'Noto Sans Cuneiform';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/NotoSansCuneiform-Regular.woff2') format('woff2');
  unicode-range: U+12000-123FF, U+12400-1247F, U+12480-1254F;
}
