/**
 * Font Optimization CSS
 * This file contains optimizations for font loading to reduce CLS
 */

/* Font display swap to improve perceived performance */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lato Regular'), local('Lato-Regular');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Lato Bold'), local('Lato-Bold');
}

@font-face {
  font-family: 'Quattrocento Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Quattrocento Sans'), local('QuattrocentoSans-Regular');
}

@font-face {
  font-family: 'Quattrocento Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Quattrocento Sans Bold'), local('QuattrocentoSans-Bold');
}

/* Font fallback system with similar metrics to reduce CLS */
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quattrocento Sans', Georgia, 'Times New Roman', Times, serif;
}