/* Teagachad design tokens: the one place the site's colours, type and shapes are defined.
   Load this before any page stylesheet. See docs/design-system.md for how to use them. */

@font-face { font-family: "IBM Plex Mono"; src: url("/assets/type/plex-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;

  /* Espresso: every page sits on these. */
  --bg: #20120e;
  --bg-glass: #20120ed9;      /* stuck headers and overlays, under a backdrop blur */
  --panel: #291911;
  --panel-2: #33201a;
  --panel-3: #42281b;         /* hover and pressed panels */
  --line-soft: #3a241b;       /* header and footer rules */
  --line: #5e3d2c;
  --line-strong: #7d533d;     /* menus and controls that need a visible edge */

  /* Ink */
  --text: #fff1df;
  --muted: #d9c2a8;
  --faint: #a58a74;           /* hints and disabled labels; keep off small body text */

  /* Tea accents */
  --peach: #ffd5a7;           /* primary actions, emphasis, focus */
  --amber: #efbd89;           /* kickers, labels, the ".com" */
  --ember: #c87837;           /* deep accent: borders and glows on peach things */
  --biscuit: #b5733e;

  /* Cosmic: for anything set in space (Orbital Teapot, its shop, the biscuit satellite).
     Violet is a guest colour here. Use it for space and portals, not for ordinary buttons. */
  --space: #171424;
  --space-deep: #100f20;
  --nebula: #452d49;
  --nebula-2: #342c54;
  --violet: #b9a6f2;
  --violet-deep: #654789;
  --star: #e8e1ff;
  --signal: #c3dcb6;          /* "live" indicator dot */

  /* Type */
  --font-display: Georgia, serif;
  --font-body: system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Shape */
  --radius-xs: .45rem;
  --radius-sm: .7rem;
  --radius: .9rem;
  --radius-lg: 1.1rem;
  --radius-xl: 1.4rem;
  --radius-pill: 2rem;
  --shadow-pop: 0 .65rem 1.75rem #160a0866;
  --shadow-header: 0 .5rem 1.5rem #10080573;

  /* Layout */
  --gutter: clamp(1.25rem, 5vw, 4rem);
}
