/* ============================================================
   Roky — @font-face declarations
   Display:  Civane Norm — Light (300) + Demi (600), licensed webfonts
   Body/UI:  Switzer (uploaded OTF)
   Mono:     JetBrains Mono (self-hosted woff2)
   All faces self-hosted; no external font CDNs.
   ============================================================ */

/* --- Civane Norm (display) ---------------------------------
   Two real weights: Light 300 (default headline) + Demi 600
   (the single emphasised word). Weight does the emphasis — never
   colour, never a font-swap. font-synthesis disabled so the
   browser never fakes an intermediate weight. */
@font-face {
  font-family: 'Civane Norm';
  src: url('../assets/fonts/CivaneNorm-Light.woff2') format('woff2'),
       url('../assets/fonts/CivaneNorm-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Civane Norm';
  src: url('../assets/fonts/CivaneNorm-Demi.woff2') format('woff2'),
       url('../assets/fonts/CivaneNorm-Demi.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Switzer (body + UI) ----------------------------------- */
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/Switzer-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- JetBrains Mono (technical labels / units / fig-numbers) - */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../assets/fonts/JetBrainsMono-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Never let the browser synthesise the Civane Demi emphasis. */
:root { font-synthesis: none; }
