/* -------------  IA Writer Quattro S ------------- */
@font-face {
  font-family: "IAWriterQuattroS";
  src: url("../fonts/iAWriterQuattroS-Regular.woff2") format("woff2"),
    url("../fonts/iAWriterQuattroS-Regular.woff") format("woff"),
    url("../fonts/iAWriterQuattroS-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IAWriterQuattroS";
  src: url("../fonts/iAWriterQuattroS-Bold.woff2") format("woff2"),
    url("../fonts/iAWriterQuattroS-Bold.woff") format("woff"),
    url("../fonts/iAWriterQuattroS-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* …repeat for Light 300 and Italic 400 */
@font-face {
  font-family: "IAWriterQuattroS";
  src: url("../fonts/iAWriterQuattroS-Light.woff2") format("woff2"),
    url("../fonts/iAWriterQuattroS-Light.woff") format("woff"),
    url("../fonts/iAWriterQuattroS-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IAWriterQuattroS";
  src: url("../fonts/iAWriterQuattroS-Italic.woff2") format("woff2"),
    url("../fonts/iAWriterQuattroS-Italic.woff") format("woff"),
    url("../fonts/iAWriterQuattroS-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IAWriterQuattroS";
  src: url("../fonts/iAWriterQuattroS-BoldItalic.woff2") format("woff2"),
    url("../fonts/iAWriterQuattroS-BoldItalic.woff") format("woff"),
    url("../fonts/iAWriterQuattroS-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* -------------  Chivo (PP Agrandir alternative) ------------- */
@font-face {
  font-family: "Chivo";
  src: url("../fonts/Chivo-Variable.woff2") format("woff2");
  font-weight: 100 900; /* variable axis range */
  font-style: normal;
  font-display: swap;
}

/* -------------  Zed Plex Mono ------------- */
@font-face {
  font-family: "ZedPlexMono";
  src: url("../fonts/ZedPlexMono-Regular.woff2") format("woff2"),
    url("../fonts/ZedPlexMono-Regular.woff") format("woff"),
    url("../fonts/ZedPlexMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -------------  Tell Material which font goes where ------------- */
:root {
  --md-text-font: "IAWriterQuattroS", sans-serif; /* body */
  --md-code-font: "ZedPlexMono", monospace; /* code & pre */
}
/* Override heading styles only */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-family: "Chivo", sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
}
