/*
Fonts are served from: /fonts/...
This file contains only @font-face declarations and font-switching variables.
*/

/* -----------------------------
   Default set: IBM Plex
   (keeps current rendering)
------------------------------ */

@font-face {
  font-family: "mysans";
  src: url("/fonts/ibm-plex/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "mysans";
  src: url("/fonts/ibm-plex/IBMPlexSans-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "mysans";
  src: url("/fonts/ibm-plex/IBMPlexSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 700; /* preserves your old “Medium used as bold” behavior */
  font-display: swap;
}
@font-face {
  font-family: "mysans";
  src: url("/fonts/ibm-plex/IBMPlexSans-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "myserif";
  src: url("/fonts/ibm-plex/IBMPlexSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "myserif";
  src: url("/fonts/ibm-plex/IBMPlexSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "myserif";
  src: url("/fonts/ibm-plex/IBMPlexSerif-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 700; /* preserves your old “Medium used as bold” behavior */
  font-display: swap;
}
@font-face {
  font-family: "myserif";
  src: url("/fonts/ibm-plex/IBMPlexSerif-MediumItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "mymono";
  src: url("/fonts/ibm-plex/IBMPlexMono-Regular.ttf") format("truetype");
  font-style: normal; /* FIX: was monospace (invalid) */
  font-weight: 400;
  font-display: swap;
}

/* -----------------------------
   Optional sets you already have
   (only used when data-font changes)
------------------------------ */

/* Alegreya */
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya/Alegreya-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya";
  src: url("/fonts/alegreya/Alegreya-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya/AlegreyaSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alegreya Sans";
  src: url("/fonts/alegreya/AlegreyaSans-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* Inconsolata */
@font-face {
  font-family: "Inconsolata";
  src: url("/fonts/Inconsolata-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Libertinus */
@font-face {
  font-family: "Libertinus Serif";
  src: url("/fonts/LibertinusSerif-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Sans";
  src: url("/fonts/LibertinusSans-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* mononoki */
@font-face {
  font-family: "mononoki";
  src: url("/fonts/mononoki-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Recursive (variable, woff2) */
@font-face {
  font-family: "Recursive";
  src: url("/fonts/Recursive_VF_1.079.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 1000;
  font-display: swap;
}
