/* ============================================================================
 * Self-hosted fonts for EventKal.
 *
 * Replaces the Google Fonts CDN (privacy: Google no longer sees visitor IPs;
 * security: enables SRI, removes a third-party origin from CSP).
 *
 * Source: Google Fonts CSS for
 *   family=Noto+Sans+Hebrew:wght@300;400;500;600;700
 *   family=Playfair+Display:ital,wght@0,400;0,600;1,400
 *
 * Subsets shipped (96 KB total, browser fetches only what each page needs):
 *   - Noto Sans Hebrew: Hebrew block (U+0590-05FF + Hebrew presentation forms)
 *   - Noto Sans Hebrew: Latin fallback (digits, punctuation, English chars)
 *   - Playfair Display: Latin roman
 *   - Playfair Display: Latin italic
 *
 * Both font families are released under the SIL Open Font License 1.1.
 * See ./LICENSE in this directory.
 * ============================================================================ */

/* ─────── Noto Sans Hebrew — Hebrew subset ─────── */
@font-face {
  font-family: 'Noto Sans Hebrew';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./noto-sans-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* ─────── Noto Sans Hebrew — Latin fallback subset ─────── */
@font-face {
  font-family: 'Noto Sans Hebrew';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./noto-sans-hebrew-latin.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;
}

/* ─────── Playfair Display — Latin roman (weights 400 + 600) ─────── */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./playfair-display.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;
}

/* ─────── Playfair Display — Latin italic (weight 400) ─────── */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('./playfair-display-italic.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;
}

/* ─────── Display faces for the design explorations (designs/*) ───────
 * Source: Google Fonts CSS for family=Karantina:wght@400;700&family=Frank+Ruhl+Libre:wght@500;700
 * Both SIL Open Font License 1.1. Only loaded by pages that use them. */
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('./karantina-400.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('./karantina-400-latin.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: 'Karantina'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('./karantina-700.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Karantina'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('./karantina-700-latin.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: 'Frank Ruhl Libre'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('./frank-ruhl-libre.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Frank Ruhl Libre'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('./frank-ruhl-libre-latin.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; }
