/* Siliconcordat / Moissanite Labs — design tokens (Direction A: Carbon–Silicon Cut)
   Same house as Weft (Moissanite Labs), a different room: a crystal chamber, not a loom.
   Dark only for v1. Text is always a flat colour; gradients live on surfaces and atmosphere only.
   Fonts are self-hosted from assets/fonts (SIL OFL 1.1). Paths are relative to this file. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-opsz.woff2") format("woff2-variations"),
       url("/assets/fonts/source-serif-4-opsz.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0908;          /* warmer mineral void — NOT Weft #060a12 */
  --bg-2: #100e0c;
  --surface: #161310;
  --surface-2: #1d1915;
  --ink: #ece6db;         /* warm paper — NOT Weft frost #e2f1f8 */
  --ink-2: #c4bdb0;
  --muted: #8a8378;
  --line: #2a2520;
  --line-2: #3d352c;
  --carbon: #c4844a;      /* warm ember */
  --carbon-deep: #8a5a32;
  --carbon-soft: rgb(196 132 74 / 0.14);
  --silicon: #9db0c4;     /* cool silver-ice, NOT Weft aqua */
  --silicon-deep: #6a7d92;
  --silicon-soft: rgb(157 176 196 / 0.14);
  --fire: #e6d2a8;        /* moissanite caustic / champagne — NOT Weft gold #d4af37 */
  --fire-strong: #f3e6c6;
  --focus: #e6d2a8;
  --link: #d4b48a;
  --link-hover: #f3e6c6;
  --weft-link: #7fcbe3;   /* ONLY when pointing at Weft */
  --weft-bg: #060a12;
  --weft-surface: #0b1825;
  --weft-ink: #e2f1f8;
  --font-display: "Source Serif 4", "Source Serif Pro", "Times New Roman", Times, serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 48px);
  --max-landing: 1280px;
  --max-ml: 1120px;
  --max-prose: 40rem;
  --radius: 2px;          /* cut/facet — NOT Weft 10px */
  --radius-lg: 4px;

  /* Derived (not brand primitives; safe to tune) */
  --header-h: 64px;
  --ease-film: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-ui: 180ms;
  --dur-door: 520ms;
  --dur-caustic: 36s;
  color-scheme: dark;
}
