/*
  Sabai Deep — self-hosted fonts
  All fonts are licensed under the SIL Open Font License (OFL).
  Inter — Rasmus Andersson
  Fraunces — Undercase Type
  Newsreader — Production Type
  Space Grotesk — Florian Karsten
  JetBrains Mono — JetBrains
*/

/* ----- Inter (static) ----- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./inter-700.woff2') format('woff2');
}
/* Inter 300 falls back to 400 with synthesized lighter weight if needed;
   for true 300 we'd add another file. The hero in 001/002 uses 300 — keep it readable */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./inter-400.woff2') format('woff2');
}

/* ----- Fraunces (variable) ----- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fraunces-variable.woff2') format('woff2-variations'),
       url('./fraunces-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fraunces-variable-italic.woff2') format('woff2-variations'),
       url('./fraunces-variable-italic.woff2') format('woff2');
}

/* ----- Newsreader (variable) ----- */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('./newsreader-variable.woff2') format('woff2-variations'),
       url('./newsreader-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('./newsreader-variable-italic.woff2') format('woff2-variations'),
       url('./newsreader-variable-italic.woff2') format('woff2');
}

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

/* ----- JetBrains Mono (variable) ----- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('./jetbrains-mono-variable.woff2') format('woff2-variations'),
       url('./jetbrains-mono-variable.woff2') format('woff2');
}
