/* Local fonts — WOFF2-first with TTF variable fallback (no visual change while GF is still active) */

/* Merriweather — variable (normal) */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/merriweather/Merriweather-VariableFont_opsz,wdth,wght.woff2') format('woff2'),
       url('../fonts/merriweather/Merriweather-VariableFont_opsz,wdth,wght.ttf') format('truetype');
}

/* Merriweather — variable (italic) */
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/merriweather/Merriweather-Italic-VariableFont_opsz,wdth,wght.woff2') format('woff2'),
       url('../fonts/merriweather/Merriweather-Italic-VariableFont_opsz,wdth,wght.ttf') format('truetype');
}

/* Montserrat — variable (normal) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-VariableFont_wght.woff2') format('woff2'),
       url('../fonts/montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}

/* Montserrat — variable (italic) */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-Italic-VariableFont_wght.woff2') format('woff2'),
       url('../fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
}

/* Font Awesome 5 — force swap to improve FCP (AxonCreator webfonts) */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-regular-400.woff2') format('woff2'),
       url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-regular-400.woff') format('woff'),
       url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-regular-400.ttf') format('truetype');
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-solid-900.woff2') format('woff2'),
       url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-solid-900.woff') format('woff'),
       url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-solid-900.ttf') format('truetype');
}

@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-brands-400.woff2') format('woff2'),
       url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-brands-400.woff') format('woff'),
       url('/modules/axoncreator/assets/lib/font-awesome/webfonts/fa-brands-400.ttf') format('truetype');
}

/* Line Awesome — force swap to improve FCP (AxonCreator webfonts) */
@font-face {
  font-family: 'Line Awesome Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-regular-400.woff2') format('woff2'),
       url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-regular-400.woff') format('woff'),
       url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-regular-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Line Awesome Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-solid-900.woff2') format('woff2'),
       url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-solid-900.woff') format('woff'),
       url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-solid-900.ttf') format('truetype');
}

@font-face {
  font-family: 'Line Awesome Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-brands-400.woff2') format('woff2'),
       url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-brands-400.woff') format('woff'),
       url('/modules/axoncreator/assets/lib/line-awesome/fonts/la-brands-400.ttf') format('truetype');
}
