/*
  Self-hosted fonts for the Shaul Halfon site.
  Replaces the two Google Fonts network origins (fonts.googleapis.com,
  fonts.gstatic.com) with local woff2 files under assets/fonts/.

  Families and weights shipped (verified by grepping site/assets/css/*.css
  for every font-weight actually used with each font-family variable —
  no unused weight is included):
    Suez One          400            (display; single-weight font, this is the only cut Google ships)
    Frank Ruhl Libre  400, 500       (serif / ledes)
    Heebo             400,500,600,700,800  (sans / body + UI)
    Amatic SC         700            (handwritten notes)

  Each family is split into a "hebrew" and a "latin" unicode-range file so a
  Latin-only reader (and the English version of the site) never downloads the
  Hebrew glyph subset, and a Hebrew reader never pays for the Latin-only
  ligature/accent glyphs beyond what Hebrew pages also need for numerals and
  English proper nouns. Google serves Heebo and Frank Ruhl Libre as variable
  (wght-axis) files for the Hebrew and Latin subsets: the SAME physical file
  covers every weight of that family/subset, so several @font-face rules
  below intentionally share one src url — that is correct, not a mistake,
  and it is why the byte total below is smaller than 5 (or 2) separate
  static files per family would cost.

  Sourced straight from Google Fonts' own CDN (fonts.gstatic.com) via the
  css2 API with a modern desktop Chrome user-agent, so these are byte-for-
  byte the same files Google would otherwise have served at request time —
  only self-hosted now. License: SIL Open Font License 1.1 for all four
  families, full text alongside these files in OFL.txt.
*/

/* Suez One — display, weight 400 only (the family has no other cut) */
@font-face {
  font-family: 'Suez One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/suez-one-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Suez One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/suez-one-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Frank Ruhl Libre — serif / ledes, weights 400 and 500 (variable file covers both) */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/frank-ruhl-libre-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/frank-ruhl-libre-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/frank-ruhl-libre-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, 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: 500;
  font-display: swap;
  src: url('../fonts/frank-ruhl-libre-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Heebo — sans / body + UI, weights 400,500,600,700,800 (one variable file per subset covers all five) */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/heebo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Amatic SC — handwritten notes, weight 700 only */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amatic-sc-hebrew.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F, U+20AA, U+25CC;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amatic-sc-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
