{
  "$meta": {
    "name": "SRO / Standing Room Only design tokens",
    "version": "1.0.0",
    "note": "Source of truth. Run `npm run tokens` to regenerate src/styles/tokens.css."
  },
  "color": {
    "void": {
      "value": "#040406",
      "use": "Base. Every page starts here."
    },
    "ink-900": {
      "value": "#0B0B12",
      "use": "Surface 1: panels, cards."
    },
    "ink-700": {
      "value": "#16162A",
      "use": "Surface 2 + the 1px hairline grid."
    },
    "signal-blue": {
      "value": "#3D5BFF",
      "use": "Signal start. Machine side."
    },
    "signal-violet": {
      "value": "#7A3CFF",
      "use": "Signal end."
    },
    "ultraviolet": {
      "value": "#B26BFF",
      "use": "Highlights only. Sparing."
    },
    "phosphor": {
      "value": "#E8E6FF",
      "use": "Primary text. Never pure white."
    },
    "phosphor-warm": {
      "value": "#F1E4D3",
      "use": "Human side of the dither only."
    },
    "dim": {
      "value": "#6B6A8A",
      "use": "Secondary text (large / labels)."
    },
    "dim-aa": {
      "value": "#8A89A8",
      "use": "Secondary body text at AA (6.1:1 on void)."
    }
  },
  "gradient": {
    "signal": {
      "value": "linear-gradient(90deg, #3D5BFF, #7A3CFF)",
      "use": "ONLY inside dither/ASCII renders and glows. Never a flat UI fill."
    }
  },
  "font": {
    "display": {
      "value": "'SRO Display', 'JetBrains Mono', ui-monospace, monospace",
      "use": "OffBit: headlines."
    },
    "display-bold": {
      "value": "'SRO Display Bold', 'JetBrains Mono', ui-monospace, monospace",
      "use": "OffBit Bold: emphatic headlines."
    },
    "hero": {
      "value": "'SRO Hero', 'JetBrains Mono', ui-monospace, monospace",
      "use": "OffBit 101 Bold: huge hero text."
    },
    "label": {
      "value": "'SRO Label', 'JetBrains Mono', ui-monospace, monospace",
      "use": "OffBit Dot: labels, numerals, indices."
    },
    "body": {
      "value": "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace",
      "use": "Body copy."
    }
  },
  "type": {
    "hero": {
      "value": "clamp(4.5rem, 22vw, 26rem)",
      "use": "Hero wordmark. Up to ~22vw."
    },
    "d1": {
      "value": "clamp(3rem, 11vw, 12rem)",
      "use": "Principles / section statements."
    },
    "d2": {
      "value": "clamp(2.25rem, 6vw, 6.5rem)",
      "use": "Section titles."
    },
    "d3": {
      "value": "clamp(1.5rem, 3vw, 3rem)",
      "use": "Sub heads, card titles."
    },
    "lg": {
      "value": "clamp(1.125rem, 1.4vw, 1.375rem)",
      "use": "Lead copy."
    },
    "md": {
      "value": "clamp(0.9375rem, 1vw, 1rem)",
      "use": "Body: 15 to 16px."
    },
    "sm": {
      "value": "0.8125rem",
      "use": "Labels."
    },
    "xs": {
      "value": "0.6875rem",
      "use": "Micro labels, schematic annotations."
    },
    "leading-body": {
      "value": "1.6"
    },
    "leading-display": {
      "value": "0.86"
    },
    "tracking-label": {
      "value": "0.14em"
    }
  },
  "space": {
    "1": {
      "value": "4px"
    },
    "2": {
      "value": "8px"
    },
    "3": {
      "value": "16px"
    },
    "4": {
      "value": "24px"
    },
    "5": {
      "value": "40px"
    },
    "6": {
      "value": "64px"
    },
    "7": {
      "value": "104px"
    },
    "8": {
      "value": "168px"
    },
    "grid": {
      "value": "8px",
      "use": "Base unit; also the ASCII cell size at desktop."
    },
    "gutter": {
      "value": "clamp(16px, 3vw, 40px)"
    },
    "columns": {
      "value": "12"
    },
    "hairline": {
      "value": "1px"
    }
  },
  "motion": {
    "ease-out-expo": {
      "value": "cubic-bezier(0.16, 1, 0.3, 1)",
      "anime": "outExpo",
      "use": "Reveals."
    },
    "ease-in-out-quart": {
      "value": "cubic-bezier(0.76, 0, 0.24, 1)",
      "anime": "inOutQuart",
      "use": "Transitions, curtains."
    },
    "ease-glitch": {
      "value": "steps(4, jump-none)",
      "anime": "steps(4)",
      "use": "Glitch / signage flicker."
    },
    "ease-linear": {
      "value": "linear",
      "anime": "linear",
      "use": "Marquees, scroll-scrubbed."
    },
    "dur-instant": {
      "value": "80ms"
    },
    "dur-fast": {
      "value": "180ms"
    },
    "dur-base": {
      "value": "420ms"
    },
    "dur-slow": {
      "value": "900ms"
    },
    "dur-epic": {
      "value": "1600ms"
    },
    "stagger-char": {
      "value": "18ms",
      "use": "Per-character reveals."
    },
    "stagger-line": {
      "value": "90ms",
      "use": "Per-line reveals."
    },
    "stagger-item": {
      "value": "60ms",
      "use": "Cards, list items."
    },
    "scramble-rate": {
      "value": "30",
      "use": "Scramble glyph cycles per second."
    }
  },
  "dither": {
    "matrix": {
      "value": "8",
      "use": "Bayer matrix size (4 or 8)."
    },
    "pixel": {
      "value": "2",
      "use": "Dither pixel size in CSS px."
    },
    "threshold": {
      "value": "0.0",
      "use": "Bias added to luminance before thresholding."
    }
  },
  "ascii": {
    "ramp": {
      "value": " .:-=+*#%@",
      "use": "Luminance to character ramp, dark to light."
    },
    "cell": {
      "value": "10px",
      "use": "Desktop cell. 14px on mobile."
    }
  },
  "z": {
    "base": {
      "value": "0"
    },
    "canvas": {
      "value": "1"
    },
    "content": {
      "value": "2"
    },
    "nav": {
      "value": "50"
    },
    "cursor": {
      "value": "90"
    },
    "transition": {
      "value": "95"
    },
    "loader": {
      "value": "100"
    }
  }
}
