/* =========================================================
   Meridian Advisory — Local Font Face Declarations
   =========================================================
   Self-hosted WOFF2 files replace Google Fonts requests.
   Keep this file small and dependency-free so it can load before style.css.

   Active font system (as of 2026-05-29):
     Display (EN/FR): Playfair Display  400 / 400i / 700
     Body    (EN/FR): Inter             400 / 500 / 600
     Arabic UI/body:  IBM Plex Sans Arabic  400 / 500 / 600

   Legacy fonts kept:
     Montserrat — still embedded in logo SVG text nodes
     Open Sans  — retained during transition; remove after full QA
     Amiri / Noto Kufi Arabic — retained only for compatibility, not active UI
*/

/* ── Material Symbols (icons) ─────────────────────────────────────────────── */

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('./material-symbols-outlined.woff2') format('woff2');
  font-style: normal;
  font-weight: normal;
  font-display: block;
}

/* ── Playfair Display (EN/FR display) ─────────────────────────────────────── */

@font-face {
  font-family: "Playfair Display";
  src: url("playfair-display-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("playfair-display-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("playfair-display-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ── Inter (EN/FR body) ───────────────────────────────────────────────────── */

@font-face {
  font-family: "Inter";
  src: url("inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("inter-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

/* ── Amiri (AR display / headings) ───────────────────────────────────────── */

@font-face {
  font-family: "Amiri";
  src: url("amiri-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Amiri";
  src: url("amiri-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ── IBM Plex Sans Arabic (AR body) ──────────────────────────────────────── */

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("ibm-plex-sans-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("ibm-plex-sans-arabic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("ibm-plex-sans-arabic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* ── Legacy fonts (kept for backward compatibility) ──────────────────────── */

@font-face {
  font-family: "Open Sans";
  src: url("open-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("open-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("open-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("open-sans-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("montserrat-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("montserrat-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("noto-kufi-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("noto-kufi-arabic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("noto-kufi-arabic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("noto-kufi-arabic-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("noto-kufi-arabic-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
