/**
 * Seedling v2.0 — Self-hosted @font-face declarations
 *
 * Fonts are served from /fonts/ (frontend/public/fonts/) to avoid
 * external CDN dependencies. All declarations use font-display: swap
 * so text remains visible during font loading.
 *
 * Font families:
 *   - Playfair Display: headings h1-h3, hero numbers, wordmark (700, 800, italic 400)
 *   - DM Sans: body copy, UI labels, buttons, nav (300, 400, 500, 600)
 *   - DM Mono: money values, IDs, OCR scores, code (400, 500)
 */

/* ==============================
   Playfair Display
   ============================== */

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/PlayfairDisplay-Italic.woff2') format('woff2');
}

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

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/PlayfairDisplay-ExtraBold.woff2') format('woff2');
}

/* ==============================
   DM Sans (Variable font)
   ============================== */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/DMSans-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSans-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/DMSans-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/DMSans-Variable.woff2') format('woff2');
}

/* ==============================
   DM Mono
   ============================== */

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

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