/* Self-hosted fonts — Latin subset.
   Replaces fonts.googleapis.com to remove the third-party DNS+TLS round trip
   on cold load. font-display:swap matches what the Google Fonts CSS ships
   so render isn't blocked while the file downloads. Same families used
   throughout admin, portal, and login pages. */

/* DM Sans — variable font, single file covers 400/500/600/700 */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-variable.woff2') format('woff2-variations');
}

/* DM Mono — 400 + 500 */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-mono-500.woff2') format('woff2');
}

/* Orelega One — display serif, 400 only */
@font-face {
  font-family: 'Orelega One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/orelega-one-400.woff2') format('woff2');
}

/* Dancing Script — cursive script, used for typed e-signatures on the
   contract signing page AND the admin master-signature setup. Replaced
   Great Vibes (May 2026) — Dancing Script is more legible at signature
   size and reads more like a real handwritten signature.

   We're serving the WEIGHT 500 woff2 here but declaring it as weight
   400 so every existing canvas/CSS reference (which all request the
   default weight 400) continues to work without modification. Reason:
   the user wanted the signature a tiny bit thicker than the regular
   weight, and serving the 500 file under the 400 declaration is the
   minimum-touch way to bump the rendered thickness everywhere. The
   filename (dancing-script-500.woff2) is the source of truth for
   what's actually being served. */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dancing-script-500.woff2') format('woff2');
}
