/* Cooper Hewitt: resolved by unifont from the `fontsource` provider.
 * https://unifont.dev/fonts/Cooper%20Hewitt
 */

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-100-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 100;
  font-style: normal;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-800-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
  font-style: normal;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-100-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 100;
  font-style: italic;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-400-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: italic;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-700-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: italic;
}

/* latin */
@font-face {
  font-family: "Cooper Hewitt preview";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/cooper-hewitt@latest/latin-800-italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 800;
  font-style: italic;
}

:root {
  --font-cooper-hewitt-preview: "Cooper Hewitt preview", "Cooper Hewitt preview fallback", sans-serif;
}

/* Metric-matched fallback, so text does not reflow when the real font lands. */
@font-face {
  font-family: "Cooper Hewitt preview fallback";
  src: local("Arial"), local("Arimo"), local("Liberation Sans"), local("DejaVu Sans"), local("Helvetica");
  size-adjust: 100%;
  ascent-override: 102.9785%;
  descent-override: 22.5586%;
  line-gap-override: 0%;
}
