/*
 * Self-hosted font faces (UIUX spec §1 "Fonts to self-host" + ROADMAP Phase 3).
 *
 * All families are Google Fonts under the SIL Open Font License 1.1 — the
 * unmodified TTFs live beside this file and each family's OFL text is in
 * ./licenses/<family>-OFL.txt. No CDN: CSP font-src stays 'self'.
 *
 * Files are the upstream TTFs (variable where upstream ships one). Italic is
 * synthesized by the browser/canvas — the designer's italic toggle is oblique
 * for these families, same as it always was for the web-safe list.
 *
 * The SAME files are copied into render/fonts/ and installed as system fonts
 * in the render sidecar image, so the print PDF uses the exact glyphs the
 * customer saw on screen (screen ↔ print parity).
 */

/* ── UI font (style.css --font-ui) ─────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Latin canvas fonts ────────────────────────────────────── */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/PlayfairDisplay-Variable.ttf') format('truetype-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('/fonts/Lora-Variable.ttf') format('truetype-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url('/fonts/Oswald-Variable.ttf') format('truetype-variations');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('/fonts/Caveat-Variable.ttf') format('truetype-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ── Devanagari + Latin canvas fonts (Hindi table stake) ───── */
@font-face {
  font-family: 'Mukta';
  src: url('/fonts/Mukta-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mukta';
  src: url('/fonts/Mukta-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mukta';
  src: url('/fonts/Mukta-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hind';
  src: url('/fonts/Hind-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hind';
  src: url('/fonts/Hind-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('/fonts/Baloo2-Variable.ttf') format('truetype-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
