/* Heebo, self-hosted. Source: Google Fonts v28 (OFL 1.1, see /assets/fonts/heebo/OFL.txt).
   Variable font (wght 100-900): one file per subset covers every weight (400/500/600/700/800 used on public pages).
   Metrics for the fallback (computed from the font files, see handoff note):
     Heebo upm 2048, hhea ascent 2146, descent 862, lineGap 0 (typo = win = hhea)
     Arial upm 2048; Heebo/Arial mean advance on real Hebrew page text = 0.982
     size-adjust 98.2% ; ascent 2146/2048/0.982 = 106.7% ; descent 862/2048/0.982 = 42.9% ; line-gap 0% */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 800; /* Google CSS previously served 400-800 only: weight 300 (.lead) clamps to 400 exactly as before (Y7 visual parity) */
  font-display: swap;
  src: url('/assets/fonts/heebo/heebo-hebrew-var.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: 'Heebo';
  font-style: normal;
  font-weight: 400 800; /* Google CSS previously served 400-800 only: weight 300 (.lead) clamps to 400 exactly as before (Y7 visual parity) */
  font-display: swap;
  src: url('/assets/fonts/heebo/heebo-latin-var.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;
}
/* Metric-matched fallback so the swap to Heebo does not reflow text (CLS).
   Per-weight size-adjust (Y7, 2026-10): the original single 98.2% was a mean over all weights, but measured on the real
   page text (canvas measureText, Heebo vs Arial/Liberation) Heebo is 0.97x at 300, 1.00x at 400, 1.01x at 500 and
   1.09-1.12x at 600-800 of the 98.2% fallback, so bold headings gained a line on swap and shifted the whole hero.
   size-adjust = 98.2% x measured ratio; ascent/descent overrides are divided by size-adjust (Heebo ascent 2146/2048,
   descent 862/2048 of the em), line-gap 0. Re-measure if the font files or the page text change materially. */
@font-face {
  font-family: 'Heebo Fallback';
  font-style: normal;
  font-weight: 100 349;
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  size-adjust: 95.4%;
  ascent-override: 109.8%;
  descent-override: 44.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Heebo Fallback';
  font-style: normal;
  font-weight: 350 449;
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  size-adjust: 97.8%;
  ascent-override: 107.1%;
  descent-override: 43.0%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Heebo Fallback';
  font-style: normal;
  font-weight: 450 549;
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  size-adjust: 99.4%;
  ascent-override: 105.4%;
  descent-override: 42.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Heebo Fallback';
  font-style: normal;
  font-weight: 550 649;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  size-adjust: 106.7%;
  ascent-override: 98.2%;
  descent-override: 39.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Heebo Fallback';
  font-style: normal;
  font-weight: 650 749;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  size-adjust: 108.5%;
  ascent-override: 96.6%;
  descent-override: 38.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Heebo Fallback';
  font-style: normal;
  font-weight: 750 900;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  size-adjust: 110.3%;
  ascent-override: 95.0%;
  descent-override: 38.2%;
  line-gap-override: 0%;
}
