/*
 * Self-hosted webfonts for findyourpersonality.ai
 *
 * Cormorant Garamond — serif used for headings, pull-quotes, the banner logo,
 * and any italic display text. Weights: 400 regular + italic, 600 SemiBold +
 * italic, 700 Bold.
 *
 * DM Sans — sans-serif used for body copy, UI labels, and quiz buttons.
 * Weights: 300 Light, 400 Regular, 500 Medium, 600 SemiBold.
 *
 * WOFF2 files live at assets/fonts/ relative to the document root on the
 * server. To replace these with newer files, drop the WOFF2 into this folder
 * with the same filename and re-upload — no other code needs to change.
 *
 * font-display: swap means the browser shows a fallback (serif/sans-serif)
 * while the WOFF2 loads, then swaps in the real font. Avoids a blank-text
 * flash and keeps the page interactive even before fonts arrive.
 */

/* ── Cormorant Garamond ─────────────────────────────────────────────── */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('CormorantGaramond-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('CormorantGaramond-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('CormorantGaramond-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('CormorantGaramond-SemiBoldItalic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('CormorantGaramond-Bold.woff2') format('woff2');
}

/* ── DM Sans ────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('DMSans-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('DMSans-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('DMSans-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('DMSans-SemiBold.woff2') format('woff2');
}
