/*
 * Birzia (Omer Zofy): display face for HEBREW h1/h2 on the public marketing surfaces
 * (`(home)`, `(marketing)`, `pricing`). English headings, h3 and below, the dashboard and every
 * number stay on their existing faces. See src/fonts/README.md.
 *
 * Plain @font-face on purpose, NOT next/font/local. This family needs `size-adjust` and the
 * metric overrides, which next/font passes through `declarations`; the Turbopack dev server
 * dropped them silently (the emitted @font-face carried none) while the webpack production build
 * would have kept them, so dev and prod would have disagreed. The woff2 is still vendored, so the
 * build still touches no network.
 *
 * Why the adjustments exist: an unadjusted Birzia pushed headings down.
 *  - Its Hebrew runs ~5% wider than Rubik's at the same size (1264 vs 1202px for one heading line
 *    at 50px / 800), so headings that fit a line in Rubik wrapped to an extra one. `size-adjust`
 *    brings the width back to Rubik's.
 *  - Its vertical metrics (hhea 1000/-200 plus a 200 line gap) make `line-height: normal` 1.4em
 *    against Rubik's 1.185em. The overrides copy Rubik's 935/-250/0, so a Birzia line occupies the
 *    box the Rubik one did and its baseline sits at the same height.
 *
 * `unicode-range` limits it to Hebrew letters, points, punctuation and the shekel sign. Birzia
 * draws Latin lowercase as capitals, so a Latin word inside a Hebrew heading would turn into
 * capitals ("Brainerce" -> "BRAINERCE", and the brand guide forbids re-typesetting the wordmark).
 * Outside the range, Latin and digits fall through to Rubik, exactly as they did before Birzia.
 *
 * Weight ranges map the weights the heading rules ask for (700/800) onto Bold instead of letting
 * 800 round up to Black. Glyphs outside the range, or missing from it (Birzia has ~184 in all: no
 * curly quotes, no em dash), fall through to the rest of the font-family stack, which always
 * carries Rubik after it.
 */
@font-face {
  font-family: 'Birzia';
  src: url(/_next/static/media/Birzia-Medium.db05ae85.woff2) format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA;
  size-adjust: 95%;
  ascent-override: 93.5%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Birzia';
  src: url(/_next/static/media/Birzia-Bold.39e76213.woff2) format('woff2');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA;
  size-adjust: 95%;
  ascent-override: 93.5%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Birzia';
  src: url(/_next/static/media/Birzia-Black.b4b1c448.woff2) format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA;
  size-adjust: 95%;
  ascent-override: 93.5%;
  descent-override: 25%;
  line-gap-override: 0%;
}

