{
  "about": "Design tokens for https://kayhan.me, read from the stylesheet at build time. Use the semantic colour roles, never the palette. Do not use tokens with status \"reserve\".",
  "rules": "https://kayhan.me/design-system.md",
  "page": "https://kayhan.me/design-system",
  "fluidRange": {
    "minPx": 390,
    "maxPx": 1920
  },
  "colour": {
    "roles": {
      "Surfaces": {
        "use": "Grounds. --surface-primary is the page. --surface-muted is a quiet panel for asides and callouts. --surface-brand is the tinted case-study panel; copy on it uses the --text-on-brand* tokens, never the plain text tokens.",
        "tokens": [
          {
            "name": "--surface-primary",
            "value": "#fcfcfc",
            "aliasOf": [
              "--white"
            ],
            "status": "active",
            "origin": "inherited",
            "note": "the page ground"
          },
          {
            "name": "--surface-secondary",
            "value": "#09090b",
            "aliasOf": [
              "--black"
            ],
            "status": "reserve",
            "origin": "inherited"
          },
          {
            "name": "--surface-tertiary",
            "value": "#62748E",
            "aliasOf": [
              "--gray-500"
            ],
            "status": "reserve",
            "origin": "inherited"
          },
          {
            "name": "--surface-inverse",
            "value": "#09090b",
            "aliasOf": [
              "--black"
            ],
            "status": "reserve",
            "origin": "inherited"
          },
          {
            "name": "--surface-muted",
            "value": "#f0f7f0",
            "aliasOf": [
              "--sage-50"
            ],
            "status": "active",
            "origin": "inherited",
            "note": "was --surface-green, a raw hex declared in this file · .cs-tradeoff, .cs-reflect, and the editorial page ground"
          },
          {
            "name": "--surface-brand",
            "value": "#a0fadd",
            "aliasOf": [
              "--teal-200"
            ],
            "status": "active",
            "origin": "brand",
            "note": "the tinted panel ground of the case-study layer · .cs-meta-rail, .cs-glance"
          }
        ]
      },
      "Text": {
        "use": "Copy on the page ground. --text-primary for body copy, --text-strong for labels and kickers, --text-muted for metadata, --text-secondary for a label on an accent fill. --text-disabled is for non-interactive items only; it is too light for anything a person needs to read.",
        "tokens": [
          {
            "name": "--text-primary",
            "value": "#09090b",
            "aliasOf": [
              "--black"
            ],
            "status": "active",
            "origin": "inherited",
            "note": "all body copy"
          },
          {
            "name": "--text-secondary",
            "value": "#fcfcfc",
            "aliasOf": [
              "--white"
            ],
            "status": "active",
            "origin": "inherited",
            "note": "text on a dark or accent-filled ground · the pill CTA label"
          },
          {
            "name": "--text-tertiary",
            "value": "#1D293D",
            "aliasOf": [
              "--gray-800"
            ],
            "status": "reserve",
            "origin": "inherited"
          },
          {
            "name": "--text-inverse",
            "value": "#CAD5E2",
            "aliasOf": [
              "--gray-300"
            ],
            "status": "reserve",
            "origin": "inherited",
            "note": "repointed from the dead --cool-gray-300 in 9802307 · became unreachable when .design-system was retired"
          },
          {
            "name": "--text-strong",
            "value": "#0F172B",
            "aliasOf": [
              "--gray-900"
            ],
            "status": "active",
            "origin": "brand",
            "note": "near-black section labels, a step lighter than body copy · .cs-kicker"
          },
          {
            "name": "--text-muted",
            "value": "#45556C",
            "aliasOf": [
              "--gray-600"
            ],
            "status": "active",
            "origin": "brand",
            "note": ".cs-piece metadata"
          },
          {
            "name": "--text-disabled",
            "value": "#62748E",
            "aliasOf": [
              "--gray-500"
            ],
            "status": "active",
            "origin": "brand",
            "note": "the non-interactive nav item"
          }
        ]
      },
      "Accent (rose)": {
        "use": "Interaction and attention: the button fill, rules, bullets, markers, and the focus ring. --accent at rest, --accent-strong on hover. Do not use it for large fills or body copy.",
        "tokens": [
          {
            "name": "--accent",
            "value": "#be123c",
            "aliasOf": [
              "--rose-700"
            ],
            "status": "active",
            "origin": "brand"
          },
          {
            "name": "--accent-subtle",
            "value": "#fda4af",
            "aliasOf": [
              "--rose-300"
            ],
            "status": "reserve",
            "origin": "brand",
            "note": "a placeholder marker has to be legible to work as a warning. --rose-300 on --surface-brand measured 1.55:1, so .cs-stat .n was repointed to --accent (5.15:1) in 2026-09 and this went to reserve"
          },
          {
            "name": "--accent-strong",
            "value": "#9f1239",
            "aliasOf": [
              "--rose-800"
            ],
            "status": "active",
            "origin": "brand",
            "note": "the accent one step down, for hover · solid and ghost button hover"
          },
          {
            "name": "--brand-primary",
            "value": "#be123c",
            "aliasOf": [
              "--accent",
              "--rose-700"
            ],
            "status": "active",
            "origin": "brand",
            "note": "reconciled 2026-09. Was --rose-500, which made the focus ring the one place the \"brand\" colour appeared while --rose-700 carried every visible accent. Also raises the ring against --surface-primary from 3.58:1 to 6.13:1 · the global :focus-visible ring"
          }
        ]
      },
      "Brand support (teal)": {
        "use": "The case-study chrome. --text-brand* is teal on the page ground; --text-on-brand* is copy sitting on --surface-brand. --brand-mark is a mark, not text.",
        "tokens": [
          {
            "name": "--brand-mark",
            "value": "#00d2aa",
            "aliasOf": [
              "--teal-500"
            ],
            "status": "active",
            "origin": "brand",
            "note": "the .cs-kicker dash"
          },
          {
            "name": "--text-brand",
            "value": "#006759",
            "aliasOf": [
              "--teal-800"
            ],
            "status": "active",
            "origin": "brand",
            "note": ".cs-eyebrow"
          },
          {
            "name": "--text-brand-emphasis",
            "value": "#006759",
            "aliasOf": [
              "--teal-800"
            ],
            "status": "active",
            "origin": "brand",
            "note": "emphasis inside a callout, on --surface-muted. Darkened from --teal-700 in 2026-09: the contrast table on /design-system caught it at 4.30:1, under AA for body copy. Now 6.25:1 · .cs-tradeoff <strong>"
          },
          {
            "name": "--text-on-brand",
            "value": "#00554b",
            "aliasOf": [
              "--teal-900"
            ],
            "status": "active",
            "origin": "brand",
            "note": "meta-rail terms and definitions"
          },
          {
            "name": "--text-on-brand-strong",
            "value": "#00302b",
            "aliasOf": [
              "--teal-950"
            ],
            "status": "active",
            "origin": "brand",
            "note": "glance and stat labels"
          },
          {
            "name": "--text-on-brand-muted",
            "value": "#006759",
            "aliasOf": [
              "--teal-800"
            ],
            "status": "active",
            "origin": "brand",
            "note": "de-emphasised copy on --surface-brand. Darkened from --teal-700 in 2026-09 (3.84:1, under AA). Now 5.58:1, still a visible step lighter than --text-on-brand. Same value as --text-brand-emphasis but a different role; they may diverge · meta-rail placeholders"
          }
        ]
      },
      "Borders": {
        "use": "--border at rest, --border-strong on hover, --border-dashed for frames and placeholders, --border-rule for a full-width rule.",
        "tokens": [
          {
            "name": "--border",
            "value": "#CAD5E2",
            "aliasOf": [
              "--gray-300"
            ],
            "status": "active",
            "origin": "brand",
            "note": ".cs-piece at rest"
          },
          {
            "name": "--border-strong",
            "value": "#62748E",
            "aliasOf": [
              "--gray-500"
            ],
            "status": "active",
            "origin": "brand",
            "note": ".cs-piece on hover"
          },
          {
            "name": "--border-dashed",
            "value": "#90A1B9",
            "aliasOf": [
              "--gray-400"
            ],
            "status": "active",
            "origin": "brand",
            "note": "the .cs-tradeoff border, and the dashed frames on /design-system"
          },
          {
            "name": "--border-rule",
            "value": "#45556C",
            "aliasOf": [
              "--gray-600"
            ],
            "status": "active",
            "origin": "brand",
            "note": "the footer's top rule"
          }
        ]
      }
    },
    "palette": [
      {
        "name": "--white",
        "value": "#fcfcfc",
        "status": "active",
        "origin": "brand",
        "note": "the page ground; was #fafafa on the pre-Astro site"
      },
      {
        "name": "--black",
        "value": "#09090b",
        "status": "active",
        "origin": "brand",
        "note": "all body copy; was #111111 pre-Astro. Tailwind zinc-950"
      },
      {
        "name": "--transparent",
        "value": "rgba(0, 0, 0, 0)",
        "status": "reserve",
        "origin": "brand",
        "note": "no module references it"
      },
      {
        "name": "--sage-50",
        "value": "#f0f7f0",
        "status": "active",
        "origin": "inherited",
        "note": "the .cs-tradeoff / .cs-reflect / editorial ground · via --surface-muted"
      },
      {
        "name": "--highlight-100",
        "value": "#FFE5D9",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--highlight-500",
        "value": "#ff4500",
        "status": "reserve",
        "origin": "brand",
        "note": "orangered"
      },
      {
        "name": "--highlight-700",
        "value": "#C43400",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--rose-50",
        "value": "#fff1f2",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--rose-100",
        "value": "#ffe4e6",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--rose-200",
        "value": "#fecdd3",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--rose-300",
        "value": "#fda4af",
        "status": "reserve",
        "origin": "tailwind",
        "note": "via --accent-subtle, itself reserve since 2026-09"
      },
      {
        "name": "--rose-400",
        "value": "#fb7185",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--rose-500",
        "value": "#f43f5e",
        "status": "reserve",
        "origin": "tailwind",
        "note": "was --brand-primary until the semantic layer landed"
      },
      {
        "name": "--rose-600",
        "value": "#e11d48",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--rose-700",
        "value": "#be123c",
        "status": "active",
        "origin": "tailwind",
        "note": "via --accent. The site's accent colour"
      },
      {
        "name": "--rose-800",
        "value": "#9f1239",
        "status": "active",
        "origin": "tailwind",
        "note": "via --accent-strong (button hover)"
      },
      {
        "name": "--rose-900",
        "value": "#881337",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--rose-950",
        "value": "#4c0519",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--teal-50",
        "value": "#eafff8",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--teal-100",
        "value": "#cdfeec",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--teal-200",
        "value": "#a0fadd",
        "status": "active",
        "origin": "brand",
        "note": "via --surface-brand (meta rail + glance panels)"
      },
      {
        "name": "--teal-300",
        "value": "#63f2cd",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--teal-400",
        "value": "#25e2b8",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--teal-500",
        "value": "#00d2aa",
        "status": "active",
        "origin": "brand",
        "note": "via --brand-mark (the .cs-kicker dash)"
      },
      {
        "name": "--teal-600",
        "value": "#00a488",
        "status": "reserve",
        "origin": "brand"
      },
      {
        "name": "--teal-700",
        "value": "#008370",
        "status": "reserve",
        "origin": "brand",
        "note": "both roles moved to --teal-800 in 2026-09 on contrast"
      },
      {
        "name": "--teal-800",
        "value": "#006759",
        "status": "active",
        "origin": "brand",
        "note": "via --text-brand, --text-brand-emphasis and --text-on-brand-muted"
      },
      {
        "name": "--teal-900",
        "value": "#00554b",
        "status": "active",
        "origin": "brand",
        "note": "via --text-on-brand (meta rail dt/dd)"
      },
      {
        "name": "--teal-950",
        "value": "#00302b",
        "status": "active",
        "origin": "brand",
        "note": "via --text-on-brand-strong (glance labels)"
      },
      {
        "name": "--blue-50",
        "value": "#f0f9ff",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-100",
        "value": "#e0f2fe",
        "status": "reserve",
        "origin": "tailwind",
        "note": "consumed only by --gradient-blue, itself reserve"
      },
      {
        "name": "--blue-200",
        "value": "#bae6fd",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-300",
        "value": "#7dd3fc",
        "status": "reserve",
        "origin": "tailwind",
        "note": "consumed only by --gradient-blue, itself reserve"
      },
      {
        "name": "--blue-400",
        "value": "#38bdf8",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-500",
        "value": "#0ea5e9",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-600",
        "value": "#0284c7",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-700",
        "value": "#0369a1",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-800",
        "value": "#075985",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-900",
        "value": "#0c4a6e",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--blue-950",
        "value": "#082f49",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--gray-50",
        "value": "#F8FAFC",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--gray-100",
        "value": "#F1F5F9",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--gray-200",
        "value": "#E2E8F0",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--gray-300",
        "value": "#CAD5E2",
        "status": "active",
        "origin": "tailwind",
        "note": "via --border and --text-inverse"
      },
      {
        "name": "--gray-400",
        "value": "#90A1B9",
        "status": "active",
        "origin": "tailwind",
        "note": "via --border-dashed (the .cs-tradeoff border)"
      },
      {
        "name": "--gray-500",
        "value": "#62748E",
        "status": "active",
        "origin": "tailwind",
        "note": "via --surface-tertiary, --border-strong, --text-disabled"
      },
      {
        "name": "--gray-600",
        "value": "#45556C",
        "status": "active",
        "origin": "tailwind",
        "note": "via --text-muted and --border-rule (footer)"
      },
      {
        "name": "--gray-700",
        "value": "#314158",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--gray-800",
        "value": "#1D293D",
        "status": "reserve",
        "origin": "tailwind",
        "note": "via --text-tertiary, which is itself unused"
      },
      {
        "name": "--gray-900",
        "value": "#0F172B",
        "status": "active",
        "origin": "tailwind",
        "note": "via --text-strong (the .cs-kicker)"
      },
      {
        "name": "--gray-950",
        "value": "#020618",
        "status": "reserve",
        "origin": "tailwind"
      },
      {
        "name": "--white-alpha-10",
        "value": "rgba(255, 255, 255, 0.1)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-20",
        "value": "rgba(255, 255, 255, 0.2)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-30",
        "value": "rgba(255, 255, 255, 0.3)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-40",
        "value": "rgba(255, 255, 255, 0.4)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-50",
        "value": "rgba(255, 255, 255, 0.5)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-60",
        "value": "rgba(255, 255, 255, 0.6)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-70",
        "value": "rgba(255, 255, 255, 0.7)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-80",
        "value": "rgba(255, 255, 255, 0.8)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--white-alpha-90",
        "value": "rgba(255, 255, 255, 0.9)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-10",
        "value": "rgba(0, 0, 0, 0.1)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-20",
        "value": "rgba(0, 0, 0, 0.2)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-30",
        "value": "rgba(0, 0, 0, 0.3)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-40",
        "value": "rgba(0, 0, 0, 0.4)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-50",
        "value": "rgba(0, 0, 0, 0.5)",
        "status": "active",
        "origin": "inherited",
        "note": "via --shadow-video"
      },
      {
        "name": "--black-alpha-60",
        "value": "rgba(0, 0, 0, 0.6)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-70",
        "value": "rgba(0, 0, 0, 0.7)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-80",
        "value": "rgba(0, 0, 0, 0.8)",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--black-alpha-90",
        "value": "rgba(0, 0, 0, 0.9)",
        "status": "reserve",
        "origin": "inherited"
      }
    ],
    "contrast": [
      {
        "text": "--text-primary",
        "on": "--surface-primary",
        "ratio": 19.39,
        "grade": "AAA",
        "where": "Body copy on the page"
      },
      {
        "text": "--text-strong",
        "on": "--surface-primary",
        "ratio": 17.38,
        "grade": "AAA",
        "where": "Section kickers"
      },
      {
        "text": "--text-muted",
        "on": "--surface-primary",
        "ratio": 7.39,
        "grade": "AAA",
        "where": "Card metadata"
      },
      {
        "text": "--text-disabled",
        "on": "--surface-primary",
        "ratio": 4.64,
        "grade": "AA",
        "where": "The inactive nav item"
      },
      {
        "text": "--text-brand",
        "on": "--surface-primary",
        "ratio": 6.64,
        "grade": "AA",
        "where": "The case-study eyebrow"
      },
      {
        "text": "--accent",
        "on": "--surface-primary",
        "ratio": 6.13,
        "grade": "AA",
        "where": "Accent copy and the focus ring"
      },
      {
        "text": "--text-secondary",
        "on": "--accent",
        "ratio": 6.13,
        "grade": "AA",
        "where": "Button label, at rest"
      },
      {
        "text": "--text-secondary",
        "on": "--accent-strong",
        "ratio": 7.81,
        "grade": "AAA",
        "where": "Button label, on hover"
      },
      {
        "text": "--text-on-brand",
        "on": "--surface-brand",
        "ratio": 7.17,
        "grade": "AAA",
        "where": "Meta-rail terms and definitions"
      },
      {
        "text": "--text-on-brand-strong",
        "on": "--surface-brand",
        "ratio": 11.81,
        "grade": "AAA",
        "where": "Glance and stat labels"
      },
      {
        "text": "--text-on-brand-muted",
        "on": "--surface-brand",
        "ratio": 5.58,
        "grade": "AA",
        "where": "Meta-rail placeholders"
      },
      {
        "text": "--text-primary",
        "on": "--surface-muted",
        "ratio": 18.25,
        "grade": "AAA",
        "where": "Copy inside a callout"
      },
      {
        "text": "--text-brand-emphasis",
        "on": "--surface-muted",
        "ratio": 6.25,
        "grade": "AA",
        "where": "Emphasis inside a callout"
      },
      {
        "text": "--accent",
        "on": "--surface-brand",
        "ratio": 5.15,
        "grade": "AA",
        "where": "Placeholder markers on a panel"
      }
    ]
  },
  "type": {
    "families": [
      {
        "name": "--sans",
        "value": "'At Haüss', sans-serif",
        "status": "active",
        "origin": "brand",
        "note": "Pedro Arilla, neo-grotesque. Set on * in reset.scss, so it carries the whole interface"
      },
      {
        "name": "--sans-alt",
        "value": "'At Textual', sans-serif",
        "status": "reserve",
        "origin": "brand",
        "note": "Pedro Arilla, an editorial text face drawn from monospace texture · declared and loadable, no job assigned"
      },
      {
        "name": "--serif",
        "value": "'At Gambit', serif",
        "status": "active",
        "origin": "brand",
        "note": "Andy Lethbridge, high-contrast serif with wedge serifs · .cs-reflect pull-quotes"
      },
      {
        "name": "--serif-alt",
        "value": "'At King', serif",
        "status": "reserve",
        "origin": "brand",
        "note": "Pedro Arilla, display serif · declared and loadable, no job assigned"
      }
    ],
    "ramp": [
      {
        "name": "--h1",
        "value": "clamp(2rem, 1.3627rem + 2.6144vw, 4.5rem)",
        "fluidPx": {
          "at390": 32,
          "at1920": 72
        },
        "status": "active",
        "origin": "brand",
        "note": "32 → 72px"
      },
      {
        "name": "--h2",
        "value": "clamp(1.75rem, 1.1765rem + 2.3529vw, 4rem)",
        "fluidPx": {
          "at390": 28,
          "at1920": 64
        },
        "status": "active",
        "origin": "brand",
        "note": "28 → 64px"
      },
      {
        "name": "--h3",
        "value": "clamp(1.5rem, 0.9902rem + 2.0915vw, 3.5rem)",
        "fluidPx": {
          "at390": 24,
          "at1920": 56
        },
        "status": "active",
        "origin": "brand",
        "note": "24 → 56px"
      },
      {
        "name": "--h4",
        "value": "clamp(1.375rem, 0.897rem + 1.9608vw, 3.25rem)",
        "fluidPx": {
          "at390": 22,
          "at1920": 52
        },
        "status": "active",
        "origin": "brand",
        "note": "22 → 52px. Recomputed 2026-09: the previous curve (32 → 48px) had a minimum larger than --h3's and --h2's, so a CMS h4 outranked an h3 on every phone. The old curve was not wrong, only misnamed — it survives as --display-sm below"
      },
      {
        "name": "--h5",
        "value": "clamp(1.25rem, 0.8039rem + 1.8301vw, 3rem)",
        "fluidPx": {
          "at390": 20,
          "at1920": 48
        },
        "status": "active",
        "origin": "brand",
        "note": "20 → 48px"
      },
      {
        "name": "--h6",
        "value": "clamp(1rem, 0.6814rem + 1.3072vw, 2.25rem)",
        "fluidPx": {
          "at390": 16,
          "at1920": 36
        },
        "status": "active",
        "origin": "brand",
        "note": "16 → 36px"
      },
      {
        "name": "--display-sm",
        "value": "clamp(2rem, 1.7451rem + 1.0458vw, 3rem)",
        "fluidPx": {
          "at390": 32,
          "at1920": 48
        },
        "status": "active",
        "origin": "brand",
        "note": "32 → 48px. The pre-2026-09 --h4 curve, renamed for what it actually does. Used by the mobile overlay nav and the glance stats"
      },
      {
        "name": "--p-lg",
        "value": "clamp(1rem, 0.8725rem + 0.5229vw, 1.5rem)",
        "fluidPx": {
          "at390": 16,
          "at1920": 24
        },
        "status": "active",
        "origin": "brand",
        "note": "16 → 24px · .p-lg"
      },
      {
        "name": "--p",
        "value": "clamp(0.875rem, 0.7794rem + 0.3922vw, 1.25rem)",
        "fluidPx": {
          "at390": 14,
          "at1920": 20
        },
        "status": "active",
        "origin": "brand",
        "note": "14 → 20px. The default body size"
      },
      {
        "name": "--p-sm",
        "value": "clamp(0.875rem, 0.8431rem + 0.1307vw, 1rem)",
        "fluidPx": {
          "at390": 14,
          "at1920": 16
        },
        "status": "active",
        "origin": "brand",
        "note": "14 → 16px · .p-sm, meta-rail terms, figure captions"
      }
    ],
    "weights": [
      {
        "name": "--fw-100",
        "value": "100",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--fw-200",
        "value": "200",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--fw-300",
        "value": "300",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--fw-400",
        "value": "400",
        "status": "active",
        "origin": "inherited",
        "note": "headings, nav, pull-quotes"
      },
      {
        "name": "--fw-500",
        "value": "500",
        "status": "active",
        "origin": "inherited",
        "note": "the global default, set on *"
      },
      {
        "name": "--fw-600",
        "value": "600",
        "status": "active",
        "origin": "inherited",
        "note": "links, definitions"
      },
      {
        "name": "--fw-700",
        "value": "700",
        "status": "active",
        "origin": "inherited",
        "note": "bold, eyebrows, kickers, titles"
      },
      {
        "name": "--fw-800",
        "value": "800",
        "status": "active",
        "origin": "inherited",
        "note": "glance stat figures"
      },
      {
        "name": "--fw-900",
        "value": "900",
        "status": "reserve",
        "origin": "inherited"
      }
    ],
    "lineHeights": [
      {
        "name": "--lh-xs",
        "value": "1em",
        "status": "reserve",
        "origin": "inherited"
      },
      {
        "name": "--lh-s",
        "value": "1.1em",
        "status": "active",
        "origin": "inherited",
        "note": "headings"
      },
      {
        "name": "--lh-m",
        "value": "1.2em",
        "status": "active",
        "origin": "inherited",
        "note": "glance copy, pull-quotes"
      },
      {
        "name": "--lh-l",
        "value": "1.4em",
        "status": "active",
        "origin": "inherited",
        "note": "body copy"
      },
      {
        "name": "--lh-xl",
        "value": "1.6em",
        "status": "reserve",
        "origin": "inherited"
      }
    ]
  },
  "space": [
    {
      "name": "--space-4",
      "value": "clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem)",
      "fluidPx": {
        "at390": 2,
        "at1920": 4
      },
      "status": "active",
      "origin": "brand",
      "note": "2 → 4px · badge and bar-row gutters on /design-system"
    },
    {
      "name": "--space-8",
      "value": "clamp(0.25rem, 0.1863rem + 0.2614vw, 0.5rem)",
      "fluidPx": {
        "at390": 4,
        "at1920": 8
      },
      "status": "active",
      "origin": "brand",
      "note": "4 → 8px"
    },
    {
      "name": "--space-12",
      "value": "clamp(0.5rem, 0.4363rem + 0.2614vw, 0.75rem)",
      "fluidPx": {
        "at390": 8,
        "at1920": 12
      },
      "status": "active",
      "origin": "brand",
      "note": "8 → 12px · media captions"
    },
    {
      "name": "--space-16",
      "value": "clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem)",
      "fluidPx": {
        "at390": 8,
        "at1920": 16
      },
      "status": "active",
      "origin": "brand",
      "note": "8 → 16px"
    },
    {
      "name": "--space-20",
      "value": "clamp(0.625rem, 0.4657rem + 0.6536vw, 1.25rem)",
      "fluidPx": {
        "at390": 10,
        "at1920": 20
      },
      "status": "active",
      "origin": "cleanup",
      "note": "added in 9802307 to resolve a gap in the ladder. Recomputed 2026-09: it was the one clamp in the system not solved from the 390–1920px formula, and overshot its floor by 0.1px · .cs-aside bullet indent"
    },
    {
      "name": "--space-24",
      "value": "clamp(0.75rem, 0.5588rem + 0.7843vw, 1.5rem)",
      "fluidPx": {
        "at390": 12,
        "at1920": 24
      },
      "status": "active",
      "origin": "brand",
      "note": "12 → 24px · the most-used spacing step"
    },
    {
      "name": "--space-32",
      "value": "clamp(1rem, 0.7451rem + 1.0458vw, 2rem)",
      "fluidPx": {
        "at390": 16,
        "at1920": 32
      },
      "status": "active",
      "origin": "brand",
      "note": "16 → 32px · the content-container rhythm"
    },
    {
      "name": "--space-48",
      "value": "clamp(1.5rem, 1.1176rem + 1.5686vw, 3rem)",
      "fluidPx": {
        "at390": 24,
        "at1920": 48
      },
      "status": "active",
      "origin": "brand",
      "note": "24 → 48px"
    },
    {
      "name": "--space-64",
      "value": "clamp(2rem, 1.4902rem + 2.0915vw, 4rem)",
      "fluidPx": {
        "at390": 32,
        "at1920": 64
      },
      "status": "active",
      "origin": "brand",
      "note": "32 → 64px · the content-container's bottom pad"
    },
    {
      "name": "--space-72",
      "value": "clamp(3rem, 2.7451rem + 1.0458vw, 4rem)",
      "fluidPx": {
        "at390": 48,
        "at1920": 64
      },
      "status": "reserve",
      "origin": "brand",
      "note": "48 → 64px. Identical to --space-64 at 1920px; they differ only below it"
    },
    {
      "name": "--space-80",
      "value": "clamp(3.75rem, 3.4314rem + 1.3072vw, 5rem)",
      "fluidPx": {
        "at390": 60,
        "at1920": 80
      },
      "status": "active",
      "origin": "brand",
      "note": "60 → 80px · the framed-video mat, the .next bottom padding"
    },
    {
      "name": "--space-120",
      "value": "clamp(5rem, 4.3627rem + 2.6144vw, 7.5rem)",
      "fluidPx": {
        "at390": 80,
        "at1920": 120
      },
      "status": "reserve",
      "origin": "brand",
      "note": "80 → 120px"
    },
    {
      "name": "--space-160",
      "value": "clamp(6.25rem, 5.2941rem + 3.9216vw, 10rem)",
      "fluidPx": {
        "at390": 100,
        "at1920": 160
      },
      "status": "reserve",
      "origin": "brand",
      "note": "100 → 160px"
    },
    {
      "name": "--space-240",
      "value": "clamp(7.5rem, 5.5882rem + 7.8431vw, 15rem)",
      "fluidPx": {
        "at390": 120,
        "at1920": 240
      },
      "status": "reserve",
      "origin": "brand",
      "note": "120 → 240px"
    }
  ],
  "size": [
    {
      "name": "--size-0",
      "value": "0",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-1",
      "value": "0.0625rem",
      "status": "active",
      "origin": "brand",
      "note": "hairline · meta-rail gutters"
    },
    {
      "name": "--size-1half",
      "value": "0.09375rem",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-2",
      "value": "0.125rem",
      "status": "active",
      "origin": "brand",
      "note": "meta-rail and .cs-meta gutters"
    },
    {
      "name": "--size-4",
      "value": "0.25rem",
      "status": "active",
      "origin": "brand",
      "note": "the .next link's internal gap"
    },
    {
      "name": "--size-8",
      "value": "0.5rem",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-12",
      "value": "0.75rem",
      "status": "active",
      "origin": "cleanup",
      "note": "added in 9802307 to resolve a gap in the ladder · .cs-piece metadata label"
    },
    {
      "name": "--size-14",
      "value": "0.875rem",
      "status": "active",
      "origin": "brand",
      "note": ".cs-piece link, footer copyright"
    },
    {
      "name": "--size-16",
      "value": "1rem",
      "status": "active",
      "origin": "brand",
      "note": "the fixed-position body span"
    },
    {
      "name": "--size-18",
      "value": "1.125rem",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-20",
      "value": "1.25rem",
      "status": "active",
      "origin": "brand",
      "note": "the header logo/title gap"
    },
    {
      "name": "--size-24",
      "value": "1.5rem",
      "status": "active",
      "origin": "brand",
      "note": "header and nav gutters"
    },
    {
      "name": "--size-32",
      "value": "2rem",
      "status": "active",
      "origin": "brand",
      "note": "small button height, mobile overlay nav label"
    },
    {
      "name": "--size-40",
      "value": "2.5rem",
      "status": "active",
      "origin": "brand",
      "note": "medium button height"
    },
    {
      "name": "--size-48",
      "value": "3rem",
      "status": "active",
      "origin": "brand",
      "note": "large button height"
    },
    {
      "name": "--size-60",
      "value": "3.75rem",
      "status": "active",
      "origin": "cleanup",
      "note": "added in 9802307 to resolve a gap in the ladder · the pill CTA height, the compact header logo"
    },
    {
      "name": "--size-64",
      "value": "4rem",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-72",
      "value": "4.5rem",
      "status": "active",
      "origin": "brand",
      "note": "the swatch chip on /design-system"
    },
    {
      "name": "--size-80",
      "value": "5rem",
      "status": "active",
      "origin": "brand",
      "note": "the header logo"
    },
    {
      "name": "--size-100",
      "value": "6.25rem",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-120",
      "value": "7.5rem",
      "status": "reserve",
      "origin": "brand"
    },
    {
      "name": "--size-160",
      "value": "10rem",
      "status": "reserve",
      "origin": "brand"
    }
  ],
  "radius": [
    {
      "name": "--radius-4",
      "value": "clamp(0.125rem, 0.0931rem + 0.1307vw, 0.25rem)",
      "fluidPx": {
        "at390": 2,
        "at1920": 4
      },
      "status": "active",
      "origin": "brand",
      "note": "2 → 4px · the focus ring"
    },
    {
      "name": "--radius-8",
      "value": "clamp(0.125rem, 0.0294rem + 0.3922vw, 0.5rem)",
      "fluidPx": {
        "at390": 2,
        "at1920": 8
      },
      "status": "active",
      "origin": "brand",
      "note": "2 → 8px. The site's one radius convention; 9802307 migrated the old --radius-sm onto it"
    },
    {
      "name": "--radius-16",
      "value": "clamp(0.5rem, 0.3725rem + 0.5229vw, 1rem)",
      "fluidPx": {
        "at390": 8,
        "at1920": 16
      },
      "status": "reserve",
      "origin": "brand",
      "note": "8 → 16px"
    },
    {
      "name": "--radius-24",
      "value": "clamp(1rem, 0.8725rem + 0.5229vw, 1.5rem)",
      "fluidPx": {
        "at390": 16,
        "at1920": 24
      },
      "status": "reserve",
      "origin": "brand",
      "note": "16 → 24px"
    },
    {
      "name": "--radius-full",
      "value": "62rem",
      "status": "active",
      "origin": "brand",
      "note": "a pill, not a scale step · the CTA button"
    }
  ],
  "elevation": [
    {
      "name": "--gradient-blue",
      "value": "linear-gradient(45deg, var(--blue-100) 0%, var(--blue-300) 100%)",
      "status": "reserve",
      "origin": "brand",
      "note": "defined in the restructure, never given a job"
    },
    {
      "name": "--gradient-mint",
      "value": "linear-gradient(180deg, #2af598 0%, #009efd 100%)",
      "status": "active",
      "origin": "brand",
      "note": "the mat behind framed video. Was a hardcoded literal in work-modules.scss until it was named here (2026-09)"
    },
    {
      "name": "--shadow-sm",
      "value": "0px 1px 2px rgba(0, 0, 0, 0.050)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-base",
      "value": "0px 1px 3px rgba(0, 0, 0, 0.100), 0px 1px 2px rgba(0, 0, 0, 0.060)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-md",
      "value": "0px 4px 6px -1px rgba(0, 0, 0, 0.100), 0px 2px 4px -1px rgba(0, 0, 0, 0.060)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-lg",
      "value": "0px 10px 15px -3px rgba(0, 0, 0, 0.100), 0px 4px 6px -2px rgba(0, 0, 0, 0.050)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-xl",
      "value": "0px 20px 25px -5px rgba(0, 0, 0, 0.100), 0px 10px 10px -5px rgba(0, 0, 0, 0.040)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-2xl",
      "value": "0px 25px 50px -12px rgba(0, 0, 0, 0.250)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-inner",
      "value": "inset 0px 2px 4px rgba(0, 0, 0, 0.060)",
      "status": "reserve",
      "origin": "cleanup"
    },
    {
      "name": "--shadow-video",
      "value": "0 0 32px var(--black-alpha-50)",
      "status": "active",
      "origin": "brand",
      "note": "the halo under a framed video, lifting it off the mat. Was a hardcoded rgba literal in work-modules.scss until 2026-09"
    },
    {
      "name": "--shadow-card-hover",
      "value": "0 100px 80px 0 rgba(0, 0, 0, 0.07), 0 41.778px 33.422px 0 rgba(0, 0, 0, 0.05), 0 22.336px 17.869px 0 rgba(0, 0, 0, 0.04), 0 12.522px 10.017px 0 rgba(0, 0, 0, 0.04), 0 6.65px 5.32px 0 rgba(0, 0, 0, 0.03), 0 2.767px 2.214px 0 rgba(0, 0, 0, 0.02)",
      "status": "active",
      "origin": "brand",
      "note": "the six-layer lift under a hovered project card. Was a hardcoded literal in work-modules.scss until it was named here (2026-09). Deliberately not part of the -sm…-2xl scale; it is a bespoke ramp"
    }
  ],
  "motion": [
    {
      "name": "--duration-fast",
      "value": "0.2s",
      "status": "active",
      "origin": "brand",
      "note": ".cs-piece border and lift"
    },
    {
      "name": "--duration-quick",
      "value": "0.25s",
      "status": "active",
      "origin": "brand",
      "note": "the \"view case study\" arrow"
    },
    {
      "name": "--duration-base",
      "value": "0.3s",
      "status": "active",
      "origin": "brand",
      "note": "the next-project link"
    },
    {
      "name": "--duration-slow",
      "value": "0.6s",
      "status": "active",
      "origin": "brand",
      "note": "the project-card image scale"
    },
    {
      "name": "--duration-reveal",
      "value": "0.7s",
      "status": "active",
      "origin": "brand",
      "note": "the scroll-reveal fade and rise"
    },
    {
      "name": "--ease",
      "value": "ease-out",
      "status": "active",
      "origin": "brand",
      "note": "the only easing curve in the system"
    }
  ],
  "layers": [
    {
      "name": "--z-content",
      "value": "10",
      "status": "active",
      "origin": "brand",
      "note": "lifts copy above a full-bleed figure · .metadata-container"
    },
    {
      "name": "--z-header",
      "value": "30",
      "status": "active",
      "origin": "brand",
      "note": "the mobile nav overlay, above everything · header.nav-open"
    }
  ],
  "ruleIds": [
    {
      "id": "known-tokens",
      "group": "Tokens",
      "rule": "Use only custom properties that exist in the stylesheet. Do not invent token names."
    },
    {
      "id": "no-reserve",
      "group": "Tokens",
      "rule": "Do not use tokens whose status is reserve."
    },
    {
      "id": "semantic-colour",
      "group": "Colour",
      "rule": "Take every colour from the semantic layer (--surface-*, --text-*, --accent*, --brand-*, --border*). Never name a palette step such as --rose-700 or --gray-500."
    },
    {
      "id": "no-literal-colour",
      "group": "Colour",
      "rule": "Do not write colour literals: no hex, rgb(), hsl() or named colours. transparent and currentColor are fine."
    },
    {
      "id": "contrast",
      "group": "Colour",
      "rule": "Pair text and ground at 4.5:1 or better. The pairings in the contrast table are already checked; prefer them."
    },
    {
      "id": "type-ramp",
      "group": "Type",
      "rule": "Set font sizes from the type ramp (--h1, --h2, --h3, --h4, --h5, --h6, --display-sm, --p-lg, --p, --p-sm). Never from --size-* or a literal, and never below --p-sm."
    },
    {
      "id": "one-family",
      "group": "Type",
      "rule": "Leave font-family alone. At Haüss (--sans) is set on every element; --serif is for pull-quotes only."
    },
    {
      "id": "weights",
      "group": "Type",
      "rule": "Set font weights from --fw-*, using the active steps only (400 to 800)."
    },
    {
      "id": "space-for-rhythm",
      "group": "Space and size",
      "rule": "Use --space-* for padding, margin and gap. The number is the maximum, reached at 1920px."
    },
    {
      "id": "size-for-controls",
      "group": "Space and size",
      "rule": "Give controls (inputs, buttons) a fixed height from --size-*, at least --size-40. Or use the .btn classes, which already do."
    },
    {
      "id": "radius",
      "group": "Space and size",
      "rule": "Round corners with --radius-8, or --radius-full for a pill. Nothing else."
    },
    {
      "id": "use-the-button",
      "group": "Interaction",
      "rule": "Make buttons with the .btn classes: one colour (btn--solid, btn--ghost), one size (btn--sm to btn--xl), optionally btn--pill. Do not restyle them."
    },
    {
      "id": "focus-ring",
      "group": "Interaction",
      "rule": "Keep the global :focus-visible ring. Never remove an outline, and do not restyle focus."
    },
    {
      "id": "motion",
      "group": "Interaction",
      "rule": "Animate with --duration-* and --ease only, and switch the motion off inside @media (prefers-reduced-motion: reduce)."
    },
    {
      "id": "one-breakpoint",
      "group": "Interaction",
      "rule": "Let the fluid tokens do responsive work. If a layout must change, use the one breakpoint, max-width 767px. Custom properties do not work inside @media."
    },
    {
      "id": "layers",
      "group": "Interaction",
      "rule": "Do not add stacking contexts. If something must sit above, use --z-content or --z-header."
    },
    {
      "id": "labelled-inputs",
      "group": "Accessibility",
      "rule": "Give every input a visible <label> tied to it with for/id, or wrapping it. A placeholder is not a label."
    },
    {
      "id": "input-text",
      "group": "Accessibility",
      "rule": "Set the text inside an input to --p-lg, which never drops below 16px."
    }
  ]
}