{
  "$description": "Phantazein Design System tokens, W3C Design Tokens (DTCG) format. Source of truth: https://phantazein.com/design/phantazein.css. Spec: https://phantazein.com/design/DESIGN.md. Version 1.1.0, 2026-10-04. (c) 2026 Phantazein S.L., licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/, terms: https://phantazein.com/design/LICENSE.txt). The Phantazein name, mark and logos are trademarks of Phantazein S.L., not covered by this licence.",
  "color": {
    "$type": "color",
    "bg":           { "$value": "#000000", "$description": "Page ground.", "$extensions": { "com.phantazein": { "light": "#f5f3ef", "css": "--bg" } } },
    "bg-elev":      { "$value": "#0a0a0a", "$description": "Elevated band, form fields, ghost-button hover.", "$extensions": { "com.phantazein": { "light": "#eceae3", "css": "--bg-elev" } } },
    "bg-card":      { "$value": "#0e0e0e", "$description": "Card hover, panels.", "$extensions": { "com.phantazein": { "light": "#e5e2da", "css": "--bg-card" } } },
    "ink":          { "$value": "#f4f2ee", "$description": "Headlines and primary text.", "$extensions": { "com.phantazein": { "light": "#0b0b0b", "css": "--ink" } } },
    "ink-soft":     { "$value": "#a8a5a0", "$description": "Body text.", "$extensions": { "com.phantazein": { "light": "#4a4843", "css": "--ink-soft" } } },
    "ink-mute":     { "$value": "#5e5c58", "$description": "Mono labels and meta only. Below 4.5:1, never use for body copy.", "$extensions": { "com.phantazein": { "light": "#86827b", "css": "--ink-mute" } } },
    "rule":         { "$value": "#1c1c1c", "$description": "1px hairlines that organise the page.", "$extensions": { "com.phantazein": { "light": "#dbd7d0", "css": "--rule" } } },
    "rule-hi":      { "$value": "#2a2a2a", "$description": "Control borders: buttons, inputs, badges.", "$extensions": { "com.phantazein": { "light": "#c6c1b8", "css": "--rule-hi" } } },
    "accent":       { "$value": "#ff0018", "$description": "THE red. Same in both themes. Last word of display titles, section numbers, status dot, primary buttons, hover floods.", "$extensions": { "com.phantazein": { "css": "--accent" } } },
    "accent-dim":   { "$value": "#b30011", "$description": "Pressed red.", "$extensions": { "com.phantazein": { "css": "--accent-dim" } } },
    "accent-hover": { "$value": "#ff2030", "$description": "Filled red buttons on hover.", "$extensions": { "com.phantazein": { "css": "--accent-hover" } } },
    "accent-glow":  { "$value": "#ff00182e", "$description": "rgba(255,0,24,.18). Status-dot halo and focus ring.", "$extensions": { "com.phantazein": { "css": "--accent-glow" } } },
    "on-accent":    { "$value": "#ffffff", "$description": "Text on red.", "$extensions": { "com.phantazein": { "css": "--on-accent" } } },
    "status-shipping": { "$value": "{color.accent}", "$description": "Badge dot: Shipping.", "$extensions": { "com.phantazein": { "css": "--status-shipping" } } },
    "status-preview":  { "$value": "#d6d1c6", "$description": "Badge dot: In Preview.", "$extensions": { "com.phantazein": { "light": "#4a4843", "css": "--status-preview" } } },
    "status-research": { "$value": "{color.ink-mute}", "$description": "Badge dot: Research.", "$extensions": { "com.phantazein": { "css": "--status-research" } } }
  },
  "font": {
    "$type": "fontFamily",
    "display": { "$value": ["Archivo Black", "Archivo", "ui-sans-serif", "system-ui", "sans-serif"], "$description": "Display titles. Always UPPERCASE, weight 900.", "$extensions": { "com.phantazein": { "css": "--display" } } },
    "heavy":   { "$value": ["Archivo", "ui-sans-serif", "system-ui", "sans-serif"], "$description": "In-between heavy weights (400-900).", "$extensions": { "com.phantazein": { "css": "--heavy" } } },
    "sans":    { "$value": ["Inter", "ui-sans-serif", "system-ui", "sans-serif"], "$description": "Body text, 300-600.", "$extensions": { "com.phantazein": { "css": "--sans" } } },
    "mono":    { "$value": ["JetBrains Mono", "ui-monospace", "Menlo", "monospace"], "$description": "Labels, nav, meta, buttons. Tracked uppercase.", "$extensions": { "com.phantazein": { "css": "--mono" } } }
  },
  "size": {
    "$type": "dimension",
    "text-hero":      { "$value": "clamp(40px, 7.2vw, 116px)", "$description": "Hero H1. line-height .95, tracking -0.025em.", "$extensions": { "com.phantazein": { "css": "--text-hero" } } },
    "text-xl":        { "$value": "clamp(32px, 5vw, 68px)", "$description": "Closing CTA title. line-height 1, tracking -0.02em.", "$extensions": { "com.phantazein": { "css": "--text-xl" } } },
    "text-section":   { "$value": "clamp(30px, 4vw, 54px)", "$description": "Section titles. line-height 1, tracking -0.02em.", "$extensions": { "com.phantazein": { "css": "--text-section" } } },
    "text-statement": { "$value": "clamp(24px, 3vw, 38px)", "$description": "Display statement / pull quote. line-height 1.08.", "$extensions": { "com.phantazein": { "css": "--text-statement" } } },
    "text-card":      { "$value": "26px", "$description": "Card names (display).", "$extensions": { "com.phantazein": { "css": "--text-card" } } },
    "text-lede":      { "$value": "18px", "$description": "Lede paragraph (Inter).", "$extensions": { "com.phantazein": { "css": "--text-lede" } } },
    "text-body":      { "$value": "15.5px", "$description": "Body copy (Inter), line-height 1.6-1.7.", "$extensions": { "com.phantazein": { "css": "--text-body" } } },
    "text-small":     { "$value": "14px", "$description": "Card copy, form inputs.", "$extensions": { "com.phantazein": { "css": "--text-small" } } },
    "text-nav":       { "$value": "11.5px", "$description": "Nav links and eyebrow (mono).", "$extensions": { "com.phantazein": { "css": "--text-nav" } } },
    "text-label":     { "$value": "11px", "$description": "Section labels, buttons, field labels (mono).", "$extensions": { "com.phantazein": { "css": "--text-label" } } },
    "text-micro":     { "$value": "10.5px", "$description": "Meta keys, tags (mono).", "$extensions": { "com.phantazein": { "css": "--text-micro" } } },
    "maxw":           { "$value": "1280px", "$description": "Content max width (.wrap).", "$extensions": { "com.phantazein": { "css": "--maxw" } } },
    "gutter":         { "$value": "clamp(20px, 4vw, 56px)", "$description": "Side padding of .wrap.", "$extensions": { "com.phantazein": { "css": "--gutter" } } },
    "space-section":  { "$value": "clamp(72px, 12vh, 130px)", "$description": "Vertical padding of a section.", "$extensions": { "com.phantazein": { "css": "--space-section" } } },
    "radius":         { "$value": "0px", "$description": "Zero. The brand has no rounded corners anywhere." },
    "border":         { "$value": "1px", "$description": "Every rule and control border. 2px only for the active-nav underline and the eyebrow dash." }
  },
  "letterSpacing": {
    "$type": "dimension",
    "display": { "$value": "-0.025em", "$description": "Hero H1." },
    "title":   { "$value": "-0.02em",  "$description": "Section and XL titles." },
    "eyebrow": { "$value": "0.26em",   "$description": "Red eyebrow." },
    "label":   { "$value": "0.22em",   "$description": "Section label." },
    "nav":     { "$value": "0.16em",   "$description": "Nav links." },
    "button":  { "$value": "0.14em",   "$description": "Mono buttons, badges, tags." },
    "meta":    { "$value": "0.12em",   "$description": "Meta rows, field labels, ghost button." }
  },
  "duration": {
    "$type": "duration",
    "fast":   { "$value": "200ms", "$description": "Colour, border and background changes.", "$extensions": { "com.phantazein": { "css": "--dur-fast" } } },
    "base":   { "$value": "300ms", "$description": "Card background hover.", "$extensions": { "com.phantazein": { "css": "--dur" } } },
    "reveal": { "$value": "900ms", "$description": "Scroll reveal fade.", "$extensions": { "com.phantazein": { "css": "--dur-reveal" } } }
  },
  "shadow": {
    "$type": "shadow",
    "none": { "$value": { "color": "#00000000", "offsetX": "0px", "offsetY": "0px", "blur": "0px", "spread": "0px" }, "$description": "No shadows. Elevation is a background step plus a rule colour." }
  }
}
