/*
 * Self-hosted @font-face declarations — the "engraved star-atlas" pairing (DESIGN.md §4).
 *   Cormorant Garamond 600/700 + 600 italic — display / plate titles / hero pull-line
 *   IBM Plex Sans 400/500/600 — body & UI
 *   IBM Plex Mono 400/500 — the "instrument readout" (PCF refs, ranks, EPOCH datestamp)
 * All three are OFL; woff2 latin subsets sit beside this file. No npm dependency.
 *
 * This file lives in public/ and is loaded via <link> (BaseLayout), so it is served
 * VERBATIM — Vite never rewrites it. The url()s are therefore RELATIVE to this file's own
 * URL (…/business-model-almanac/fonts/fonts.css), which resolves the base path automatically:
 * no base is hardcoded and the build stays warning-free. font-display: swap paints text in the
 * metrically-close fallback immediately, then swaps (protects LCP/CLS, no invisible text).
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./cormorant-garamond-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./cormorant-garamond-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('./cormorant-garamond-600-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./ibm-plex-sans-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./ibm-plex-sans-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./ibm-plex-sans-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./ibm-plex-mono-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./ibm-plex-mono-500-normal.woff2') format('woff2');
}
