/*
 * OliverWyman Font Declarations - Webpack Optimized
 * Rutas compatibles con desarrollo local y producción AEM
 * Ubicación: /resources/scss/fonts.scss
 */

/* ==================== MMC Display Family ==================== */
@font-face {
  font-family: "MMC Display";
  src: url("./fonts/MMC/MMCDisplay-Regular.woff2") format("woff2"),
       url("./fonts/MMC/MMCDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MMC Display";
  src: url("./fonts/MMC/MMCDisplay-Bold.woff2") format("woff2"),
       url("./fonts/MMC/MMCDisplay-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ================= MMC Display Condensed ================= */
@font-face {
  font-family: "MMC Display Condensed";
  src: url("./fonts/MMC/MMCDisplayCd_Rg.woff2") format("woff2"),
       url("./fonts/MMC/MMCDisplayCd_Rg.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MMC Display Condensed";
  src: url("./fonts/MMC/MMCDisplayCd_Bd.woff2") format("woff2"),
       url("./fonts/MMC/MMCDisplayCd_Bd.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==================== Oswald Family ==================== */
@font-face {
  font-family: "Oswald";
  src: url("./fonts/Oswald-Regular.woff2") format("woff2"),
       url("./fonts/Oswald-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/Oswald-Medium.woff2") format("woff2"),
       url("./fonts/Oswald-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/Oswald-SemiBold.woff2") format("woff2"),
       url("./fonts/Oswald-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/Oswald-Bold.woff2") format("woff2"),
       url("./fonts/Oswald-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==================== Noto Sans JP Family ==================== */
@font-face {
  font-family: "Noto Sans JP";
  src: url("./fonts/Noto_Sans_JP/NotoSansJP-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("./fonts/Noto_Sans_JP/NotoSansJP-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("./fonts/Noto_Sans_JP/NotoSansJP-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("./fonts/Noto_Sans_JP/NotoSansJP-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("./fonts/Noto_Sans_JP/NotoSansJP-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==================== Source Sans Pro Family ==================== */
@font-face {
  font-family: "Source Sans Pro";
  src: url("./fonts/Source-Sans-Pro.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* @font-face {
  font-family: "Source Sans Pro";
  src: url("./fonts/Source-Sans-Pro-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
} */

/* @font-face {
  font-family: "Source Sans Pro";
  src: url("./fonts/Source-Sans-Pro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */

/* ==================== Noto Sans (Dual Compatibility) ==================== */
@font-face {
  font-family: "Noto Sans";
  src: url("./fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "noto-sans";
  src: url("./fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("./fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "noto-sans";
  src: url("./fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==================== Fallback System Font Stacks ==================== */
:root {
  --font-display: "MMC Display", "Oswald", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display-condensed: "MMC Display Condensed", "Oswald", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-body: "Noto Sans", "noto-sans", "Source Sans Pro", "Noto Sans JP", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-japanese: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}