/*
 * Azalia typography entry point.
 */

@font-face {
  font-family: 'Prata';
  src: url('../fonts/prata/Prata-Regular.woff2') format('woff2'),
       url('../fonts/prata/Prata-Regular.woff') format('woff'),
       url('../fonts/prata/Prata-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arsenal SC';
  src: url('../fonts/arsenal-sc/ArsenalSC-Regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arsenal SC';
  src: url('../fonts/arsenal-sc/ArsenalSC-Regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arsenal SC';
  src: url('../fonts/arsenal-sc/ArsenalSC-Bold-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arsenal SC';
  src: url('../fonts/arsenal-sc/ArsenalSC-Bold-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Temporary trial font (from the parmaled project) — swapped in for body
   text only, see --azalia-font-body below. Arsenal SC's @font-face rules
   above are left in place so reverting is just switching the var back. */
@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/pt-root-ui/PTRootUI-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/pt-root-ui/PTRootUI-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/pt-root-ui/PTRootUI-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/pt-root-ui/PTRootUI-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --azalia-font-body: 'PT Root UI', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --azalia-font-heading: 'Prata', Georgia, "Times New Roman", serif;
  --azalia-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --cassiopeia-font-family-body: var(--azalia-font-body);
  --cassiopeia-font-family-headings: var(--azalia-font-heading);
  --cassiopeia-font-weight-normal: 400;
  --cassiopeia-font-weight-headings: 400;
}
