/* =========================================================================
   tokens.css — fonts, palette, type scale, shape, layout
   Everything visual starts here. Change a value, the whole site follows.
   ========================================================================= */

/* ---------- fonts (self-hosted, latin subset) ---------------------------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-700-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- palette ------------------------------------------------------ */
:root {
  color-scheme: dark;

  /* gold — the single accent of the whole site */
  --gold-100: #fff7e0;
  --gold-200: #ffeab4;
  --gold-300: #f7d78c;
  --gold-400: #e9bb54;
  --gold-500: #d4a017;
  --gold-600: #a97c11;
  --gold-700: #6f520b;

  /* black */
  --ink-950: #040404;
  --ink-900: #0a0a0b;
  --ink-800: #101012;
  --ink-700: #17171a;

  /* white / greys */
  --fg: #f7f7f5;
  --muted: #a8a49b;
  --dim: #726e67;

  /* lines & tints */
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-gold: rgba(212, 160, 23, 0.24);
  --line-gold-strong: rgba(212, 160, 23, 0.5);
  --tint-gold: rgba(212, 160, 23, 0.1);

  /* type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-display: "Chakra Petch", var(--font-sans);

  /* shape */
  --r-sm: 0.65rem;
  --r-md: 0.9rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;

  /* layout */
  --page: 72rem;
  --gutter: 1.25rem;
  --header-h: 4rem;

  /* effects */
  --shadow-gold: 0 14px 44px -10px rgba(212, 160, 23, 0.55);
  --shadow-gold-soft: 0 10px 34px -10px rgba(212, 160, 23, 0.45);
}
