@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/HostGrotesk-Latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Kode Mono";
  src: url("../fonts/kode-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f3ecdf;   --paper-2: #e9e0cf;   --rule: rgb(28 26 23 / 14%);
  --ink: #1c1a17;     --ink-2: #6b645a;
  --cat: #e4572e;     --dog: #c98a1b;       --infant: #3f7fbf;
  --rival: #4a4e9e;   --ok: #2f7d5b;        --warn: #b3261e;
  --signal: var(--cat);
  --font-display: "Host Grotesk", system-ui, sans-serif;
  --font-mono: "Kode Mono", ui-monospace, monospace;
  --step--1: 0.8125rem; --step-0: 1rem; --step-1: 1.375rem;
  --step-2: 2rem; --step-3: clamp(2.25rem, 5vw, 4.5rem);
  --ease-out: cubic-bezier(.2,.8,.2,1); --ease-spring: cubic-bezier(.3,1.6,.5,1);
  --dur-1: 120ms; --dur-2: 240ms; --dur-3: 480ms;
}
body[data-species="dog"]    { --signal: var(--dog); }
body[data-species="infant"] { --signal: var(--infant); }

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font: var(--step-0)/1.5 var(--font-display);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
