/* ============================================================================
   MADE BY HEMP — Self-hosted fonts  (@font-face, variable)
   File: wp-content/themes/generatepress-child/assets/mbh-fonts.css
   ----------------------------------------------------------------------------
   Three variable families, each one file (+ italic). The font-weight RANGE on
   each rule lets one file serve every weight you'll use, so any weight set in
   GeneratePress Dynamic Typography resolves from these local files — no Google.

   Paths assume this CSS sits in /assets/ next to an /assets/fonts/ folder.
   font-display:swap keeps text visible while the font loads.
   ========================================================================== */

/* ---------- Cormorant Garamond  (display / headings) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-VF.ttf") format("truetype-variations");
  font-weight: 300 700;        /* Light → Bold, all steps */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-Italic-VF.ttf") format("truetype-variations");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- DM Sans  (body / UI / buttons / nav) ----------
   DM Sans is a 2-axis variable font (opsz + wght). The optical-size axis
   auto-adjusts via font-optical-sizing (on by default). */
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-VF.ttf") format("truetype-variations");
  font-weight: 100 1000;       /* Thin → Black */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-Italic-VF.ttf") format("truetype-variations");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

/* ---------- JetBrains Mono  (eyebrows / spec labels) ---------- */
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-VF.ttf") format("truetype-variations");
  font-weight: 100 800;        /* Thin → ExtraBold */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Italic-VF.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}
