/* ─────────────────────────────────────────────────────────────────────────
   Ravi FaNum — the platform's typeface, self-hosted.

   One file, linked by all three surfaces (public site, admin SPA, investor
   SPA), so there is a single place a weight is declared and the browser
   caches one copy across the whole product. It lives in public/ and is
   referenced by absolute URL rather than imported through Vite: the public
   site has no build step on the cPanel target, and hashing the same eight
   files into the SPA bundles would only duplicate them.

   `FaNum` means the ASCII digits 0–9 are *drawn* as Persian numerals — the
   glyph for "0" is the small ۰ dot, not a Latin oval. This is presentation
   only: the underlying characters are still U+0030–U+0039, so copy, paste,
   form input, and anything that parses the DOM keep seeing Latin digits.
   `.num` (which sets `direction: ltr`) therefore still does the right thing
   for grouped money like 900,000,000.

   `font-display: swap` — text must be readable while the face loads; a
   flash of fallback beats a flash of nothing on a slow Iranian connection.
   ───────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* The family ships Black and ExtraBlack; mapped to 800/900 so the design
   system's `font-weight: 800` headings resolve to Black rather than being
   synthesised from Bold. */
@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-Black.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ravi FaNum';
  src: url('/fonts/RaviFaNum-ExtraBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
