/* Advent Cabinet tokens. Every file designs to these; no new colours, radii or shadows. */
@font-face { font-family: "Caprasimo"; src: url("../fonts/caprasimo.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  /* paper and felt */
  --paper: #f4ecdf;        /* page */
  --paper-2: #eadfcb;      /* second sheet */
  --kraft: #c9a57a;        /* brown paper, cabinet wood light */
  --wood: #8a5a3b;         /* cabinet */
  --wood-dark: #5e3a25;
  --pine: #1f4d3a;         /* main green */
  --pine-2: #2f6b50;
  --berry: #b2332e;        /* main red */
  --berry-2: #d4574a;
  --gold: #c99a3b;         /* brass pulls, lights */
  --ink: #2a2420;          /* text */
  --ink-2: #5b4f45;        /* quiet text */
  --night: #1c2433;        /* evening sky, footer */
  --snow: #fffaf2;

  /* type */
  --display: "Caprasimo", Georgia, serif; /* one weight; display sizes only */
  --sans: "Atkinson", system-ui, sans-serif;

  /* space: 4px base */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* shape */
  --r-sm: 4px;   /* tags, labels */
  --r-md: 10px;  /* drawers, cards */
  /* cut-paper shadow: a short hard edge plus a soft lift */
  --lift: 0 1px 0 rgb(42 36 32 / .18), 0 6px 14px -6px rgb(42 36 32 / .35);
  --lift-hi: 0 2px 0 rgb(42 36 32 / .18), 0 14px 26px -10px rgb(42 36 32 / .45);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); /* literal: felt and springs overshoot; use only on physical objects */
  --boil: steps(1);        /* stop-motion: swap frames, never tween */
  --fps12: 83ms;           /* one frame at 12 fps */
}
