/*
 * Typography: Guton for all text, self-hosted from public/fonts.
 * Load this stylesheet before any other so every page shares the same stack.
 * Guton has no italic, so nothing on the site is set in italic.
 */

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

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

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

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

@font-face {
  font-family: 'Guton';
  src: url('/fonts/Guton-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guton';
  src: url('/fonts/Guton-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: 'Guton', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html,
body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}

/* No italic face exists; keep emphasis upright rather than letting the browser fake a slant. */
em,
i:not([class]),
cite,
dfn,
var,
address,
blockquote {
  font-style: normal;
}

code,
kbd,
pre,
samp {
  font-family: var(--font-mono);
}
