/* Artis interface tokens — charcoal, cream, and sage. */

:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #151714;
  --bg-glow: #1e211c;
  --surface: #1e211c;
  --surface-2: #2a2d26;
  --surface-3: #34382e;
  --line: #373c32;
  --line-strong: #505748;

  /* ink */
  --text: #f3eee5;
  --text-2: #e1ddcf;
  --dim: #b7b8aa;
  --muted: #959b8b;

  /* signal */
  --accent: #c6d3aa;
  --accent-bright: #e0e8ce;
  --accent-wash: rgba(198, 211, 170, 0.13);
  --success: #00ba7c;
  --success-bright: #62e6b1;
  --success-wash: rgba(0, 186, 124, 0.12);
  --warning: #ffd400;
  --warning-wash: rgba(255, 212, 0, 0.1);
  --danger: #f4212e;
  --danger-wash: rgba(244, 33, 46, 0.12);

  /* legacy aliases keep older BigFish panels coherent */
  --mint: var(--accent);
  --mint-bright: var(--accent-bright);
  --mint-wash: var(--accent-wash);
  --blue: var(--accent);
  --blue-wash: var(--accent-wash);
  --amber: var(--warning);
  --amber-wash: var(--warning-wash);
  --red: #f77b85;
  --red-wash: var(--danger-wash);

  /* geometry */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4.2vw, 32px);
  --stack: clamp(10px, 2vw, 14px);

  /* type */
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 15px;
  --fs-lg: 18px;
  --fs-xl: clamp(34px, 6vw, 58px);
  --tracking-tight: -0.045em;
  --tracking-wide: 0.12em;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --speed: 150ms;

  /* elevation */
  --shadow-card: none;
  --shadow-sheet: 0 -18px 60px rgba(0, 0, 0, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --speed: 0ms;
  }
}
