/*
 * EDS Italic Variable Fonts
 *
 * This stylesheet provides @font-face declarations for Inter, Commit Mono, and Equinor,
 * with x-height alignment to Inter.
 *
 * - Use this file if you need italic font support in EDS.
 * - Upright (non-italic) fonts are provided in eds-uprights-vf.css.
 * - Equinor font is included for x-height-aligned usage in EDS only. For legacy or non-aligned use, import the original Equinor font files.
 *
 * X-height alignment is achieved using the size-adjust descriptor.
 *
 * The Equinor font included in this stylesheet is to be used by Equinor ASA and its subsidiaries and appointed suppliers only.
 * The Equinor font is protected under domestic and international trademark and copyright law.
 * You are prohibited from modifying, reverse engineering, duplicating, or distributing the Equinor font software.
 *
 * Contact the EDS Core Team <fg_eds@equinor.com> for more information.
 *
 * Inter: © 2020 The Inter Project Authors (SIL Open Font License 1.1)
 * Commit Mono: © Eigil Nikolajsen (SIL Open Font License 1.1)
 *
 * © 2025 Equinor ASA
 */

@font-face {
  font-family: Inter;
  src: local("😊"),
    url(https://cdn.eds.equinor.com/font/Inter-italic.var.woff2)
      format("woff2-variations"),
    url(https://cdn.eds.equinor.com/font/Inter-Italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 1 999;
  font-display: fallback;
}

@font-face {
  font-family: CommitMono;
  src: local("😊"),
    url(https://cdn.eds.equinor.com/font/CommitMonoV143-VF.woff2)
      format("woff2-variations");
  font-style: italic;
  font-weight: 1 999;
  font-display: fallback;
  size-adjust: 101%; /* Match Inter italic x-height */
}

@font-face {
  font-family: Equinor;
  src: local("😊"),
    url(https://cdn.eds.equinor.com/font/EquinorVariable-Italic-VF.woff2)
      format("woff2-variations"),
    url(https://cdn.eds.equinor.com/font/EquinorVariable-Italic-VF.woff)
      format("woff-variations"),
    url(https://cdn.eds.equinor.com/font/Equinor-Italic.woff) format("woff");
  font-style: italic;
  font-weight: 1 999;
  font-display: fallback;
  size-adjust: 112.5%; /* Match Inter italic x-height */
}
