/* CB Sounddesign — self-hosted fonts.
   Oswald (variable 200–700) + Space Mono 400/700, latin + latin-ext subset.
   SIL Open Font License 1.1 — see /assets/fonts/OFL-*.txt
   Replaces the former @import from fonts.googleapis.com. */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;        /* variable — covers 400/500/600/700 */
  font-display: swap;
  src: url('/assets/fonts/oswald-var.woff2') format('woff2-variations'),
       url('/assets/fonts/oswald-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/spacemono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/spacemono-700.woff2') format('woff2');
}

:root {
  --font-display: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
