/* ============================================================
   Medlyn — self-hosted webfonts (DPDP-friendly, no Google CDN)
   English (latin) subset only. Loaded BEFORE medlyn.css.
   ============================================================ */

/* ---------- Exo 2 (display) ---------- */
@font-face{
  font-family:'Exo 2';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('../fonts/exo2-500.woff2') format('woff2');
}
@font-face{
  font-family:'Exo 2';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('../fonts/exo2-600.woff2') format('woff2');
}
@font-face{
  font-family:'Exo 2';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('../fonts/exo2-700.woff2') format('woff2');
}
@font-face{
  font-family:'Exo 2';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url('../fonts/exo2-800.woff2') format('woff2');
}

/* ---------- Montserrat (body) ---------- */
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('../fonts/montserrat-400.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('../fonts/montserrat-500.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('../fonts/montserrat-600.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('../fonts/montserrat-700.woff2') format('woff2');
}

/* ---------- Metric-matched fallbacks ----------
   Adjust a local system font (Arial / Arial-substitute) so the
   pre-swap frame has near-identical box metrics -> no reflow /
   no visible jump when the real woff2 finishes loading.
   Override values are the figures next/font (fontkit) derives for
   these exact families measured against Arial. */
@font-face{
  font-family:'Exo 2 Fallback';
  src:local('Arial');
  ascent-override:96.76%;
  descent-override:19.47%;
  line-gap-override:0.00%;
  size-adjust:103.25%;
}
@font-face{
  font-family:'Montserrat Fallback';
  src:local('Arial');
  ascent-override:85.28%;
  descent-override:22.11%;
  line-gap-override:0.00%;
  size-adjust:113.51%;
}
