/**
 * ESLS Font Faces — three self-hosted Variable WOFF2 fonts.
 *
 * Files in /assets/fonts/. No Google Fonts CDN reference anywhere.
 * Each @font-face uses font-display: swap.
 *
 * @package esls-institutional-content
 * @version 0.1.0
 */

/* Fraunces — display (uses opsz + wght variable axes from the upstream googlefonts/fraunces font.
   Original source ships a 4-axis font (SOFT, WONK, opsz, wght); we name the woff2 by the two
   axes we actually drive from CSS.) */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces[opsz,wght].woff2') format('woff2-variations'),
       url('../fonts/Fraunces[opsz,wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Source Sans 3 — body */
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3[wght].woff2') format('woff2-variations'),
       url('../fonts/SourceSans3[wght].woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* JetBrains Mono — technical */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono[wght].woff2') format('woff2-variations'),
       url('../fonts/JetBrainsMono[wght].woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
