/**
 * Jost Font Family - Self-hosted (Optimized)
 * VERSION 2.0 - Typography Optimization Update
 *
 * Changes:
 * - Fixed font-weight to filename mapping
 * - Added fallback font with metric overrides for CLS reduction
 * - Maintained latin subset only for performance
 *
 * Weights: 400 (Regular), 600 (Semi-Bold)
 */

/* Jost Regular (400) - Latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('jost-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost Semi-Bold (600) - Latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('jost-600.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Jost Fallback Font - Metric Overrides for CLS Reduction */
@font-face {
  font-family: 'Jost Fallback';
  src: local('Arial'), local('Helvetica');
  ascent-override: 104%;
  descent-override: 28%;
  line-gap-override: 0%;
  size-adjust: 96.5%;
}

/* Fallback mapping for removed weights */
/* font-weight: 500 (Medium) → falls back to 400 (Regular) */
/* font-weight: 700 (Bold) → falls back to 600 (Semi-Bold) */
