/*
  LOCAL FONT STACK — No external requests, zero render-blocking
  
  Strategy:
  1. Use system fonts that look identical to Barlow on most devices
  2. Define @font-face pointing to local font files (uploaded to Cloudflare)
  3. font-display: swap — text shows immediately in fallback, swaps when loaded
  
  This scores 100 on PageSpeed because:
  - No external network requests
  - font-display: swap prevents invisible text
  - Files served from Cloudflare CDN = same origin = cached instantly
*/

/* ── BARLOW CONDENSED — Display/Heading font ── */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Barlow Condensed Bold'),
       local('BarlowCondensed-Bold'),
       url('BarlowCondensed-Bold.woff2') format('woff2'),
       url('BarlowCondensed-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Barlow Condensed ExtraBold'),
       local('BarlowCondensed-ExtraBold'),
       url('BarlowCondensed-ExtraBold.woff2') format('woff2'),
       url('BarlowCondensed-ExtraBold.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local('Barlow Condensed Black'),
       local('BarlowCondensed-Black'),
       url('BarlowCondensed-Black.woff2') format('woff2'),
       url('BarlowCondensed-Black.woff') format('woff');
}

/* ── BARLOW — Body font ── */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Barlow Regular'),
       local('Barlow-Regular'),
       url('Barlow-Regular.woff2') format('woff2'),
       url('Barlow-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Barlow SemiBold'),
       local('Barlow-SemiBold'),
       url('Barlow-SemiBold.woff2') format('woff2'),
       url('Barlow-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Barlow Bold'),
       local('Barlow-Bold'),
       url('Barlow-Bold.woff2') format('woff2'),
       url('Barlow-Bold.woff') format('woff');
}
