/*
 * Font optimizations (Phase 1) — Account4All
 *
 * Re-declares the primary "iranyekan" faces with a woff2 source first and an
 * explicit `font-display: swap`. This file is enqueued AFTER app.css (as a
 * dependency of the `app` handle), so for a given family/weight/style these
 * declarations win the cascade: the browser fetches the woff2 (smaller) and the
 * bold (800) face — which is missing font-display in app.css — no longer FOITs.
 *
 * No change is made to app.css itself. Remove this file + its enqueue in
 * includes/performance.php to fully revert.
 */

@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/iranyekanwebregularfanum.woff2) format("woff2"),
       url(../fonts/iranyekanwebregularfanum.woff) format("woff"),
       url(../fonts/iranyekanwebregularfanum.ttf) format("truetype");
}

@font-face {
  font-family: iranyekan;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/iranyekanwebextraboldfanum.woff2) format("woff2"),
       url(../fonts/iranyekanwebextraboldfanum.woff) format("woff"),
       url(../fonts/iranyekanwebextraboldfanum.ttf) format("truetype");
}
