/**
 * Self-Hosted Fonts
 *
 * DOWNLOAD INSTRUCTIONS:
 * 1. Go to https://gwfh.mranftl.com/fonts
 * 2. Search for each font: Inter, Space Grotesk, JetBrains Mono
 * 3. Select Modern Browsers (woff2 only)
 * 4. Download the ZIP
 * 5. Extract fonts to: /assets/fonts/[font-name]/
 *
 * File structure should be:
 * /assets/fonts/inter/inter-v12-latin-regular.woff2
 * /assets/fonts/space-grotesk/space-grotesk-v13-latin-regular.woff2
 * /assets/fonts/jetbrains-mono/jetbrains-mono-v13-latin-regular.woff2
 */

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

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

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

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

/* === SPACE GROTESK FONT === */
/* space-grotesk-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/space-grotesk/space-grotesk-v13-latin-regular.woff2') format('woff2');
}

/* space-grotesk-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/space-grotesk/space-grotesk-v13-latin-500.woff2') format('woff2');
}

/* space-grotesk-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/space-grotesk/space-grotesk-v13-latin-600.woff2') format('woff2');
}

/* space-grotesk-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/space-grotesk/space-grotesk-v13-latin-700.woff2') format('woff2');
}

/* === JETBRAINS MONO FONT === */
/* jetbrains-mono-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-v13-latin-regular.woff2') format('woff2');
}

/* jetbrains-mono-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-v13-latin-500.woff2') format('woff2');
}

/* jetbrains-mono-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/jetbrains-mono/jetbrains-mono-v13-latin-700.woff2') format('woff2');
}

/**
 * BENEFITS OF SELF-HOSTING:
 * ✅ No external requests to Google
 * ✅ Faster load times (no DNS lookup, no redirect)
 * ✅ Better privacy (no tracking)
 * ✅ font-display: swap prevents invisible text
 * ✅ Works offline/behind firewalls
 * ✅ Consistent font loading across all pages
 *
 * PERFORMANCE IMPACT:
 * - Saves 300-500ms First Contentful Paint
 * - Reduces external requests by 3
 * - Total font size: ~150KB (gzipped: ~50KB)
 */
