/**
 * Inter — self-hosted (no fonts.googleapis.com / fonts.gstatic.com).
 *
 * Files: /wp-content/themes/enjoynow/assets/fonts/
 *   InterVariable.woff2, inter-400…700.woff2, Inter-LICENSE.txt
 *
 * CLS: metric-matched fallback + size-adjust so swap does not reflow text.
 * Paths are absolute from site root.
 */

/* Arial metrics tuned to Inter — used until Inter loads (or if it fails). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("sans-serif");
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
  size-adjust: 107.64%;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("/wp-content/themes/enjoynow/assets/fonts/InterVariable.woff2") format("woff2");
}

/* Legacy: no variable-font support */
@supports not (font-variation-settings: normal) {
  @font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url("/wp-content/themes/enjoynow/assets/fonts/inter-400.woff2") format("woff2");
  }
  @font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: optional;
    src: url("/wp-content/themes/enjoynow/assets/fonts/inter-500.woff2") format("woff2");
  }
  @font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: optional;
    src: url("/wp-content/themes/enjoynow/assets/fonts/inter-600.woff2") format("woff2");
  }
  @font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url("/wp-content/themes/enjoynow/assets/fonts/inter-700.woff2") format("woff2");
  }
}
