{
  "$schema_note": "Source of truth for design values. Mirrors index.html :root + glim.js MOOD/THEMES. Pack 0.1.0-brand.",
  "meta": {
    "product": "Glim",
    "commit": "731c7de1c5ccbfdd2ac3f672c780477a8bf3587d",
    "sources": ["index.html:root", "guides/styles.css:root", "glim.js:MOOD", "glim.js:THEMES"]
  },
  "color": {
    "bg": { "hex": "#06070b", "meaning": "Canvas", "never": "Replace with pure #000 as brand black", "contrastOnBg": null },
    "bg2": { "hex": "#0a0c12", "meaning": "Secondary wash" },
    "panel": { "hex": "#0e1119", "meaning": "Raised surface" },
    "panel2": { "hex": "#11151f", "meaning": "Elevated panel / bubble" },
    "ink": { "hex": "#eef1f7", "meaning": "Primary text", "contrastOnBg": 17.8 },
    "dim": { "hex": "#9aa4b6", "meaning": "Secondary text", "contrastOnBg": 8.02 },
    "faint": { "hex": "#7a8496", "meaning": "Meta labels and secondary chrome", "contrastOnBg": 5.34, "aaNormalText": true, "resolved": "2026-08-08 raised from #5b6678 (3.47:1) for WCAG AA" },
    "line": { "value": "rgba(255,255,255,.08)", "meaning": "Hairline" },
    "line2": { "value": "rgba(255,255,255,.13)", "meaning": "Stronger hairline / control border" },
    "mood": { "hex": "#38e8d0", "meaning": "Brand accent / primary action / idle default", "contrastOnBg": 13.06, "proportion": "few percent of surface" },
    "moodSoft": { "value": "rgba(56,232,208,.16)", "meaning": "Accent wash / featured tier glow" },
    "danger": { "hex": "#ff8f9f", "meaning": "Error / destructive emphasis", "contrastOnBg": 9.28 },
    "selectionInk": { "hex": "#06070b", "meaning": "Text on mood selection/primary button" }
  },
  "stateMood": {
    "idle": { "hex": "#38e8d0", "energy": 0.35, "contrastOnBg": 13.06 },
    "thinking": { "hex": "#8b7cff", "energy": 0.85, "contrastOnBg": 6.16 },
    "talking": { "hex": "#ff9eb1", "energy": 1.0, "contrastOnBg": 10.33 },
    "listening": { "hex": "#74f59a", "energy": 0.7, "contrastOnBg": 14.64 }
  },
  "themes": {
    "signal": "stateMood default",
    "aurora": {
      "idle": ["#3ad6c8", 0.32],
      "thinking": ["#5b8def", 0.8],
      "talking": ["#a06bff", 1],
      "listening": ["#43e0a8", 0.66]
    },
    "ember": {
      "idle": ["#ffb27a", 0.3],
      "thinking": ["#ff7a59", 0.85],
      "talking": ["#ffd56b", 1],
      "listening": ["#ff8f6b", 0.62]
    },
    "mono": {
      "idle": ["#9aa7b8", 0.3],
      "thinking": ["#cdd6e4", 0.8],
      "talking": ["#ffffff", 1],
      "listening": ["#b8c4d6", 0.62]
    },
    "bloom": {
      "idle": ["#f7a8c4", 0.32],
      "thinking": ["#c08bff", 0.82],
      "talking": ["#ff8fb0", 1],
      "listening": ["#8be0c0", 0.64]
    },
    "deep": {
      "idle": ["#4fd6ff", 0.3],
      "thinking": ["#6b8bff", 0.84],
      "talking": ["#39e8d0", 1],
      "listening": ["#56b8ff", 0.64]
    }
  },
  "alpha": {
    "ladder": [0.08, 0.13, 0.16],
    "readableFloor": 0.55,
    "notes": "Hairlines use 0.08/0.13; mood-soft wash 0.16. Body text must not rely on low-alpha ink."
  },
  "type": {
    "families": {
      "serif": { "stack": "\"Fraunces\", Georgia, serif", "job": "Display / section headlines" },
      "sans": { "stack": "\"Instrument Sans\", system-ui, sans-serif", "job": "UI body and prop titles" },
      "mono": { "stack": "\"IBM Plex Mono\", ui-monospace, monospace", "job": "Meta, code, eyebrows, API" }
    },
    "scale": {
      "xs": { "size": "11px", "weight": 500, "tracking": "0.2em", "use": "eyebrows" },
      "sm": { "size": "13px", "weight": 500, "use": "buttons, secondary UI" },
      "md": { "size": "16px", "leading": 1.6, "use": "body" },
      "lg": { "size": "18px", "use": "lede / sub" },
      "xl": { "size": "22px", "use": "card titles" },
      "display": { "size": "clamp(34px, 6vw, 64px)", "weight": 400, "tracking": "-0.03em", "family": "serif" }
    },
    "floors": {
      "productUi": "13px",
      "marketingBody": "15px",
      "mostImportantLine": "clamp(34px, 6vw, 52px)"
    }
  },
  "spacing": {
    "s1": 4, "s2": 8, "s3": 12, "s4": 16, "s5": 24, "s6": 32, "s7": 48, "s8": 64, "s9": 96,
    "unit": "px",
    "rule": "Every margin/padding from this scale — no one-offs"
  },
  "shape": {
    "radiusPanel": { "value": "14px", "meaning": "you read this" },
    "radiusControl": { "value": "10px", "meaning": "you act on this" },
    "radiusPill": { "value": "20px", "meaning": "badge / featured" },
    "ratioNote": "Prefer radius as fraction of short edge for creature crops; site chrome uses fixed tokens above",
    "signature": "Mood dot / orb — filled circle reserved for brand pip and companion attention"
  },
  "depth": {
    "elevations": [
      { "name": "canvas", "surface": "bg" },
      { "name": "panel", "surface": "panel", "hairline": "line" },
      { "name": "panel2", "surface": "panel2", "hairline": "line2" },
      { "name": "overlay", "surface": "panel", "shadow": "0 16px 40px -16px rgba(0,0,0,.7)" }
    ],
    "light": "Single wash from top-right (~80% -10%) using mood-soft",
    "shadowRule": "At most one blurred shadow; reserved for overlay / pin bubble"
  },
  "motion": {
    "ease": "cubic-bezier(.22, 1, .36, 1)",
    "durFast": "160ms",
    "dur": "280ms",
    "signatureMoments": ["proximity lean", "react acknowledgment pulse", "say() caret typing"],
    "ceremony": "First talk reply after configure/download — spend rarely",
    "reducedMotion": "Disable scroll-smooth, caret blink, hover transforms; keep state colour changes"
  },
  "layout": {
    "maxw": "1120px",
    "packMaxw": "880px",
    "breakpoints": {
      "sm": "540px",
      "md": "700px",
      "lg": "980px"
    }
  },
  "a11y": {
    "focus": "2px solid mood, offset 3px",
    "touchMin": "40px preferred; chips denser but clickable",
    "companionDefault": "aria-hidden decorative; captions aria-live=polite when wired"
  }
}
