/* Send a Cracker: the shared tokens. art.css and app.css both build on these; change them here only.
   Fonts are self-hosted, SIL Open Font License (README.md, "Fonts"). */
@font-face { font-family: "Fraunces"; src: url(/fonts/display.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/display-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/text.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/type.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/type-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* The palette from the brief. Never pure black or white. */
  --holly: #1f4d3a;        /* the tablecloth */
  --holly-deep: #163a2b;   /* the weave's shadow threads */
  --holly-light: #2c6650;  /* the weave's lit threads */
  --cranberry: #b3263b;
  --cranberry-deep: #8c1b2d;
  --cream: #f4ead6;
  --cream-2: #e9dcc2;      /* cream in shadow, card edges */
  --newsprint: #ece5d3;    /* joke slips */
  --candle: #ffcf7a;
  --ink: #241c17;
  --ink-soft: #5b4d41;     /* secondary text on cream */
  --brass: #b98a3c;
  --gold-foil: linear-gradient(115deg, #7a5a14 0%, #c9972e 22%, #f6dc8c 40%, #fff3c4 48%, #e2b24e 58%, #9a7220 78%, #d9ad4c 100%);

  /* Type. Display: Fraunces (soft, heavy). Text: Figtree. Jokes: Courier Prime. */
  --display: "Fraunces", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --type: "Courier Prime", "Courier New", monospace;

  /* Motion: things have weight. Never linear. */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);

  --radius: 14px;
  --tap: 44px;
}
