/*
 * Self-hosted brand fonts for Superset.
 * Loaded via CUSTOM_FONT_URLS in superset_config.py, which the SPA template
 * injects as <link rel="stylesheet">. The font-family names defined here
 * ("Sharp Grotesk", "Ivar Text") are what the theme `fontFamily` token references.
 * Paths are relative to the Superset static mount: /static/assets/fonts/.
 */

/* ---------- Sharp Grotesk (UI / body) ---------- */
@font-face {
  font-family: 'Sharp Grotesk';
  src: url('/static/assets/fonts/Sharp/SharpGroteskBook-20.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sharp Grotesk';
  src: url('/static/assets/fonts/Sharp/SharpGroteskMedium-21.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sharp Grotesk';
  src: url('/static/assets/fonts/Sharp/SharpGroteskSmBold-23.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sharp Grotesk';
  src: url('/static/assets/fonts/Sharp/SharpGroteskBold-17.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Ivar Text (headlines / serif fallback) ---------- */
@font-face {
  font-family: 'Ivar Text';
  src: url('/static/assets/fonts/Ivar/IvarText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ivar Text';
  src: url('/static/assets/fonts/Ivar/IvarText-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Ivar Text';
  src: url('/static/assets/fonts/Ivar/IvarText-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ivar Text';
  src: url('/static/assets/fonts/Ivar/IvarText-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
