/*
  Local font-face definitions extracted from:
  styles/hpe-generic-v3.d053f41d172e.css

  Goal: keep the SAME font-family names that the official HPE bundle uses,
  but point all sources to local files under ../fonts/.

  Notes:
  - The original bundle sometimes uses remote + local fallback sources.
    Here we use local only.
  - This file assumes your project structure:
      styles/hpe-fonts.css
      fonts/<font-files>
*/

/* =====================
   MetricHPEXS (typo4)
   ===================== */

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXSThin-Regular.woff2") format("woff2"),
       url("../fonts/MetricHPEXSThin-Regular.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXSLight-Regular.woff2") format("woff2"),
       url("../fonts/MetricHPEXSLight-Regular.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXS-Regular.woff2") format("woff2"),
       url("../fonts/MetricHPEXS-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXSMedium-Regular.woff2") format("woff2"),
       url("../fonts/MetricHPEXSMedium-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXSSemibold-Regular.woff2") format("woff2"),
       url("../fonts/MetricHPEXSSemibold-Regular.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXS-Bold.woff2") format("woff2"),
       url("../fonts/MetricHPEXS-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPEXS";
  src: url("../fonts/MetricHPEXSBlack-Regular.woff2") format("woff2"),
       url("../fonts/MetricHPEXSBlack-Regular.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

/* =====================
   Metric “named faces”
   ===================== */

@font-face {
  font-family: "Metric Light";
  src: url("../fonts/Metric-Light.woff2") format("woff2"),
       url("../fonts/Metric-Light.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "Metric Regular";
  src: url("../fonts/Metric-Regular.woff2") format("woff2"),
       url("../fonts/Metric-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "Metric Medium";
  src: url("../fonts/Metric-Medium.woff2") format("woff2"),
       url("../fonts/Metric-Medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "Metric Semibold";
  src: url("../fonts/Metric-SemiBold.woff2") format("woff2"),
       url("../fonts/Metric-SemiBold.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

/* Official bundle maps Metric Bold + MetricHPE Black to MetricHPE-Web-* */
@font-face {
  font-family: "Metric Bold";
  src: url("../fonts/MetricHPE-Web-Bold.woff2") format("woff2"),
       url("../fonts/MetricHPE-Web-Bold.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "MetricHPE Black";
  src: url("../fonts/MetricHPE-Web-Black.woff2") format("woff2"),
       url("../fonts/MetricHPE-Web-Black.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

/* =====================
   Simple Regular
   ===================== */

@font-face {
  font-family: "Simple Regular";
  src: url("../fonts/HPESimpleWeb-Regular.woff2") format("woff2"),
       url("../fonts/HPESimpleWeb-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====================
   HPEGraphik (typo5)
   ===================== */

@font-face {
  font-family: "HPEGraphik";
  /* Fallback mapping:
     Official bundle uses HPEGraphik-Thin-Web (100). Closest file in repo: Extralight.
  */
  src: url("../fonts/HPEGraphik-Extralight-Web.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  /* Fallback mapping:
     Official bundle uses HPEGraphik-Light-Web (300). Closest file in repo: Extralight.
  */
  src: url("../fonts/HPEGraphik-Extralight-Web.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  src: url("../fonts/HPEGraphik-Regular-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  src: url("../fonts/HPEGraphik-Medium-Web.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  src: url("../fonts/HPEGraphik-Semibold-Web.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  src: url("../fonts/HPEGraphik-Bold-Web.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  /* Fallback mapping:
     Official bundle uses HPEGraphik-Black-Web (900). Closest file in repo: Bold.
  */
  src: url("../fonts/HPEGraphik-Bold-Web.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  /* Fallback mapping:
     Official bundle uses HPEGraphikXXCondensed-Light-Web (300, stretch 75%).
     Closest file in repo: XXCondensed Extralight.
  */
  src: url("../fonts/HPEGraphikXXCondensed-Extralight-Web.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-stretch: 75%;
  font-display: swap;
}

@font-face {
  font-family: "HPEGraphik";
  src: url("../fonts/HPEGraphikXXCondensed-Bold-Web.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-stretch: 75%;
  font-display: swap;
}

/* =====================
   HPE Glyphicons
   ===================== */

@font-face {
  font-family: "hpe-glyphicons";
  /* woff2-only (your repo currently has only .woff2) */
  src: url("../fonts/hpe-glyphicons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*
  Font substitution notes:
  - MetricHPE Black   -> MetricHPE-Web-Black (CORRECTED)
  - Simple Regular    -> HPESimpleWeb-Regular (CORRECTED)
  - Graphik Thin/Light-> HPEGraphik-Extralight-Web (CORRECTED)
  - Graphik Black     -> HPEGraphik-Bold-Web (CORRECTED)
  - XXCondensed Light -> HPEGraphikXXCondensed-Extralight-Web (CORRECTED)
  - Glyphicons        -> woff2-only (CORRECTED PATH)
*/
