/* =========================================================================
   SkillR theme fonts — SELF-HOSTED (TC-050 Sec. 5).
   No third-party egress: woff2 vendored from fontsource (jsDelivr) at build
   time; served from this origin so the strict CSP (script-src 'self') and the
   catalog's no-inline rule stay intact, and PWAs can cache fonts offline.
   Licences: Outfit (OFL), Roboto (Apache-2.0), JetBrains Mono (OFL).
   Relative url()s resolve against THIS file, so any surface that links
   themes/fonts.css gets the same paths regardless of its own location.
   ========================================================================= */

/* --- Outfit — default theme (DESIGN-SYSTEM Sec. 3.2) --- */
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/outfit-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/outfit-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/outfit-latin-700-normal.woff2') format('woff2');
}

/* --- Roboto — orange-kiss theme (M3) --- */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/roboto-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/roboto-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('fonts/roboto-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/roboto-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/roboto-latin-700-normal.woff2') format('woff2');
}

/* --- JetBrains Mono — code/mono in both themes --- */
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
}
