/* Self-Hosted Fonts for 360 Fire Prevention */

/* Inter - Primary Sans-Serif Font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/inter/inter-v18-latin-300.woff2') format('woff2'),
       url('./fonts/inter/inter-v18-latin-300.ttf') format('truetype');
}

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

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

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

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

/* Merriweather - Primary Serif Font */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/merriweather/merriweather-v30-latin-400.woff2') format('woff2');
}

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

/* Caveat - Handwritten Font for Secondary Headings */
/* Note: Caveat only has weights 400 and 700 available from Google Fonts */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/caveat/caveat-v18-latin-400.woff2') format('woff2'),
       url('./fonts/caveat/caveat-v18-latin-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/caveat/caveat-v18-latin-700.woff2') format('woff2'),
       url('./fonts/caveat/caveat-v18-latin-700.ttf') format('truetype');
}

/* Fallback: Use weight 400 for 500 and 600 requests */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/caveat/caveat-v18-latin-400.woff2') format('woff2'),
       url('./fonts/caveat/caveat-v18-latin-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/caveat/caveat-v18-latin-400.woff2') format('woff2'),
       url('./fonts/caveat/caveat-v18-latin-400.ttf') format('truetype');
}
