/* Self-hosted fonts with metric overrides to eliminate CLS */

/* Poppins Regular (400) - Primary UI font */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
  /* Metric overrides to match fallback font exactly */
  size-adjust: 107%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 10%;
}

/* Poppins SemiBold (600) - Headings */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2') format('woff2');
  /* Metric overrides to match fallback font exactly */
  size-adjust: 107%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 10%;
}

/* Lora Regular (400) - Body text */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('https://fonts.gstatic.com/s/lora/v32/nwpTtKukO1B8klgH0Q.woff2') format('woff2');
  /* Metric overrides to match Georgia fallback */
  size-adjust: 102%;
  ascent-override: 90%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* Critical font preload - only for hero text (Poppins 600) */
@media (min-width: 1px) {
  body::before {
    content: '';
    display: none;
    font-family: 'Poppins';
    font-weight: 600;
  }
}