/*
 * TBC Theme — Self-Hosted Fonts (v1.3.8)
 *
 * Replaces the Google Fonts CDN request to eliminate external dependency
 * and potential Edge Tracking Prevention warnings.
 *
 * Font files sourced from @fontsource npm packages (open-source, SIL OFL licensed).
 * Only the latin subset and the specific weights/styles used by the theme are included.
 *
 * Families:
 *   DM Sans            — 300, 400, 500, 600  (normal)
 *   DM Serif Display   — 400 normal + 400 italic
 *   Cormorant Garamond — 400, 600, 700 italic
 *   Playfair Display   — 500, 700 normal; 400, 500 italic
 *   Great Vibes        — 400 normal
 */

/* ── DM Sans ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DM Sans';
  font-style:  normal;
  font-weight: 300;
  font-display: swap;
  src: url('dm-sans-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('dm-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url('dm-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style:  normal;
  font-weight: 600;
  font-display: swap;
  src: url('dm-sans-latin-600-normal.woff2') format('woff2');
}

/* ── DM Serif Display ────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DM Serif Display';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('dm-serif-display-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url('dm-serif-display-latin-400-italic.woff2') format('woff2');
}

/* ── Cormorant Garamond ──────────────────────────────────────────────────── */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url('cormorant-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style:  italic;
  font-weight: 600;
  font-display: swap;
  src: url('cormorant-garamond-latin-600-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style:  italic;
  font-weight: 700;
  font-display: swap;
  src: url('cormorant-garamond-latin-700-italic.woff2') format('woff2');
}

/* ── Playfair Display ────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Playfair Display';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url('playfair-display-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url('playfair-display-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url('playfair-display-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style:  italic;
  font-weight: 500;
  font-display: swap;
  src: url('playfair-display-latin-500-italic.woff2') format('woff2');
}

/* ── Great Vibes ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Great Vibes';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('great-vibes-latin-400-normal.woff2') format('woff2');
}
