/*
 * CraftBook Custom Theme V1 — Local Fonts
 * Fonts are served from your own server for GDPR compliance and performance.
 * Font files must be placed in /craftbook-custom-theme/assets/fonts/
 *
 * Download instructions are included in the Phase 7 deployment guide.
 * Font source: Google Fonts (open source, OFL licence)
 */

/* =============================================================================
   PLAYFAIR DISPLAY — Heading Font
   Weights used: 400 (Regular), 700 (Bold), 900 (Black)
   Styles: Normal, Italic
   ============================================================================= */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;    /* Shows fallback font immediately, swaps when loaded */
}

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

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

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

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* =============================================================================
   INTER — Body & UI Font
   Weights used: 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold)
   Style: Normal only
   ============================================================================= */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v13-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v13-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v13-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v13-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
