{
  "$schema": "https://design-tokens.github.io/community-group/format/",
  "$description": "JR / R—Net Design System · Charts & Vectors · v1.2",
  "$version": "1.2",
  "$lastUpdated": "2026.05.17",

  "color": {
    "surface": {
      "paperTrue":   { "$value": "#FAF6EC", "$type": "color", "$description": "Ceremonial surface. Personal letters, formal docs, fine stationery." },
      "paperChart":  { "$value": "#FCF4DF", "$type": "color", "$description": "Technical default. R—Net light docs, field notes, status reports." },
      "urban":       { "$value": "#F8E4AE", "$type": "color", "$description": "Callout tint only. Never a full-page background." },
      "night":       { "$value": "#1C1E1C", "$type": "color", "$description": "Dark mode base. Warm charcoal, not pure black." },
      "night2":      { "$value": "#252824", "$type": "color", "$description": "Dark elevated panel." },
      "night3":      { "$value": "#2F322D", "$type": "color", "$description": "Dark secondary elevated (note callouts)." },
      "night4":      { "$value": "#3A3D37", "$type": "color", "$description": "Dark tertiary (inline code, chips)." },
      "cream":       { "$value": "#EDE8D8", "$type": "color", "$description": "Dark mode primary ink — instrument paint color." }
    },

    "structure": {
      "ink":          { "$value": "#1F1D18", "$type": "color", "$description": "Primary text on light surfaces." },
      "ink2":         { "$value": "#3A3730", "$type": "color", "$description": "Secondary deep ink." },
      "graphite":     { "$value": "#6B675C", "$type": "color", "$description": "Labels, metadata, secondary text." },
      "soft":         { "$value": "#989486", "$type": "color", "$description": "Tertiary text, faded labels. Decorative only — fails WCAG body." },
      "panelLight":   { "$value": "#D4CEBC", "$type": "color", "$description": "Borders, rules, dividers (light)." },
      "panel":        { "$value": "#8E8B80", "$type": "color", "$description": "Strong rules, panel mid-tone." },
      "panelDeep":    { "$value": "#5A5750", "$type": "color", "$description": "Strong borders, shadows." },
      "nightRule":    { "$value": "#3D403A", "$type": "color", "$description": "Borders in dark mode." },
      "nightRuleSoft":{ "$value": "#2A2D28", "$type": "color", "$description": "Soft dividers in dark mode." },
      "nightGraphite":{ "$value": "#8A8470", "$type": "color", "$description": "Secondary text in dark mode (AA Large only)." },
      "nightSoft":    { "$value": "#5E5B50", "$type": "color", "$description": "Tertiary text in dark mode (decorative only)." }
    },

    "brand": {
      "sky":         { "$value": "#6B9BB8", "$type": "color", "$description": "Personal accent. Light-mode highlights, monogram arrow. Source: attitude indicator sky." },
      "skyDeep":     { "$value": "#4A7A96", "$type": "color", "$description": "Eyebrow labels, light-mode accent stripe. Source: AI sky, darker band." },
      "skyLight":    { "$value": "#A8C5D8", "$type": "color", "$description": "Dark-mode notes, sky borders. Source: AI sky, higher band." },
      "ground":      { "$value": "#8B5A3C", "$type": "color", "$description": "Secondary warm accent, warm callout borders. Source: AI ground, terracotta." },
      "groundDeep":  { "$value": "#6B4226", "$type": "color", "$description": "Borders, classification stripes, anchored use. Source: AI ground, mahogany." },
      "groundLight": { "$value": "#B08362", "$type": "color", "$description": "Dark-mode location tags. Source: AI ground, lighter." },
      "amber":       { "$value": "#D49826", "$type": "color", "$description": "R—Net accent. DARK MODE ONLY (fails WCAG on light). Source: NVIS night cockpit lighting." },
      "amberGlow":   { "$value": "#F0B84A", "$type": "color", "$description": "Dark-mode glow on amber elements. Source: NVIS amber, brighter." },
      "amberDeep":   { "$value": "#8C6018", "$type": "color", "$description": "Light-mode amber when needed (rare). Source: NVIS amber, muted." }
    },

    "semantic": {
      "okFg":      { "$value": "#4A7A3A", "$type": "color", "$description": "Foreground for OK / nominal status." },
      "okBg":      { "$value": "#D8E0C8", "$type": "color", "$description": "Background tint for OK callout panels." },
      "okGlow":    { "$value": "#8DB072", "$type": "color", "$description": "Dark-mode glow for OK indicators." },
      "warnFg":    { "$value": "#7A5A10", "$type": "color", "$description": "Foreground for warning / caution status." },
      "warnBg":    { "$value": "#F5E4A8", "$type": "color", "$description": "Background tint for warning callout panels." },
      "warnGlow":  { "$value": "#E6B84A", "$type": "color", "$description": "Dark-mode glow for warning indicators." },
      "alertFg":   { "$value": "#A8362A", "$type": "color", "$description": "Foreground for alert / critical status." },
      "alertBg":   { "$value": "#ECC8C0", "$type": "color", "$description": "Background tint for alert callout panels." },
      "alertGlow": { "$value": "#D4604E", "$type": "color", "$description": "Dark-mode glow for alert indicators." }
    },

    "chart": {
      "terrainDeep":  { "$value": "#5A6B33", "$type": "color", "$description": "v1.2 — categorical chart series, light mode (SYSTEM.md §19.1, --series-4). Source: VFR sectional terrain green." },
      "terrainLight": { "$value": "#9DAE73", "$type": "color", "$description": "v1.2 — categorical chart series, dark mode (--series-4). Source: terrain green, raised night band." },
      "scopeDeep":    { "$value": "#2F6562", "$type": "color", "$description": "v1.2 — categorical chart series, light mode (--series-5). Source: radar-scope / EFIS phosphor teal." },
      "scopeLight":   { "$value": "#82AEA9", "$type": "color", "$description": "v1.2 — categorical chart series, dark mode (--series-5). Source: scope teal, raised night band." }
    }
  },

  "font": {
    "family": {
      "display": { "$value": "Outfit, sans-serif", "$type": "fontFamily", "$description": "Display and heading. Outfit (Google Fonts, OFL)." },
      "body":    { "$value": "Urbanist, sans-serif", "$type": "fontFamily", "$description": "Body and reading text. Urbanist (Google Fonts, OFL)." },
      "mono":    { "$value": "'JetBrainsMono Nerd Font', 'JetBrains Mono', monospace", "$type": "fontFamily", "$description": "Labels, metadata, glyphs. JetBrainsMono Nerd Font (nerdfonts.com)." }
    },
    "weight": {
      "light":    { "$value": 300, "$type": "fontWeight" },
      "regular":  { "$value": 400, "$type": "fontWeight" },
      "medium":   { "$value": 500, "$type": "fontWeight" },
      "semibold": { "$value": 600, "$type": "fontWeight" }
    },
    "size": {
      "display":     { "$value": "48px", "$type": "dimension", "$description": "Display (your name, R—Net wordmark). Range 36–56px." },
      "h1":          { "$value": "32px", "$type": "dimension", "$description": "Sub-display headings. Range 28–36px." },
      "h2":          { "$value": "12px", "$type": "dimension", "$description": "Eyebrow / label in mono uppercase. Range 11–12px. (See SYSTEM.md §3 type roles — 'H2 (eyebrow / label)'.)" },
      "body":        { "$value": "15px", "$type": "dimension", "$description": "Body text. Range 14–16px." },
      "metadata":    { "$value": "10px", "$type": "dimension", "$description": "Mono metadata, status, IDs. Range 9–11px." },

      "subhead":     { "$value": "20px", "$type": "dimension", "$description": "Web-control sub-section heading (Outfit 500). v1.1 — exposed in CSS as `--type-h2` for web-conventional usage." },
      "h3":          { "$value": "16px", "$type": "dimension", "$description": "Small heading inside cards, modals, drawers. v1.1." },
      "bodySmall":   { "$value": "13px", "$type": "dimension", "$description": "Compact body — used in alerts, banners, tables. v1.1." },
      "code":        { "$value": "13px", "$type": "dimension", "$description": "Inline and block code. v1.1." }
    },
    "tracking": {
      "displayTight":  { "$value": "-1.5px", "$type": "dimension", "$description": "Display headlines." },
      "h1Tight":       { "$value": "-0.5px", "$type": "dimension", "$description": "H1 subheads." },
      "labelLoose":    { "$value": "2.5px", "$type": "dimension", "$description": "Uppercase mono labels." },
      "metaLoose":     { "$value": "1.5px", "$type": "dimension", "$description": "Uppercase mono metadata." },

      "subhead":       { "$value": "-0.2px", "$type": "dimension", "$description": "Sub-section heading tracking. v1.1." }
    },
    "lineHeight": {
      "display": { "$value": 1.05, "$type": "number" },
      "h1":      { "$value": 1.15, "$type": "number" },
      "body":    { "$value": 1.7,  "$type": "number" },

      "subhead": { "$value": 1.25, "$type": "number", "$description": "v1.1." }
    }
  },

  "space": {
    "pagePadding":      { "$value": "48px", "$type": "dimension", "$description": "Page-level padding on desktop surfaces." },
    "sectionSpacing":   { "$value": "72px", "$type": "dimension", "$description": "Vertical space between major sections." },
    "elementSpacing":   { "$value": "20px", "$type": "dimension", "$description": "Spacing between elements within a section." },

    "scale": {
      "1":  { "$value": "4px",  "$type": "dimension", "$description": "v1.1 — 10-step scale, derived from page/section/element. Aliases at 5, 8, 9." },
      "2":  { "$value": "8px",  "$type": "dimension" },
      "3":  { "$value": "12px", "$type": "dimension" },
      "4":  { "$value": "16px", "$type": "dimension" },
      "5":  { "$value": "20px", "$type": "dimension", "$description": "Alias of `space.elementSpacing`." },
      "6":  { "$value": "28px", "$type": "dimension" },
      "7":  { "$value": "40px", "$type": "dimension" },
      "8":  { "$value": "48px", "$type": "dimension", "$description": "Alias of `space.pagePadding`." },
      "9":  { "$value": "72px", "$type": "dimension", "$description": "Alias of `space.sectionSpacing`." },
      "10": { "$value": "96px", "$type": "dimension" }
    }
  },

  "size": {
    "contentMaxTechnical": { "$value": "1280px", "$type": "dimension", "$description": "Max width for technical documents." },
    "contentMaxProse":     { "$value": "720px",  "$type": "dimension", "$description": "Max width for body prose." }
  },

  "border": {
    "stripeAccent":  { "$value": "4px", "$type": "dimension", "$description": "Accent stripe height across the top of pages and panels." },
    "ruleHair":      { "$value": "1px", "$type": "dimension", "$description": "Hairline rules and section dividers." },

    "ruleStrong":    { "$value": "2px", "$type": "dimension", "$description": "v1.1 — emphasized rule width, used on dropzone borders and focused-segment underline." }
  },

  "radius": {
    "none":  { "$value": "0",      "$type": "dimension", "$description": "v1.1 — square (default for industrial elements)." },
    "field": { "$value": "2px",    "$type": "dimension", "$description": "v1.1 — fields, buttons, segmented items." },
    "chip":  { "$value": "4px",    "$type": "dimension", "$description": "v1.1 — tags, chips, badges." },
    "card":  { "$value": "6px",    "$type": "dimension", "$description": "v1.1 — cards, modals, drawers, accordions, toasts." },
    "pill":  { "$value": "9999px", "$type": "dimension", "$description": "v1.1 — switch tracks, progress bars, pill badges." }
  },

  "motion": {
    "easing": {
      "instrument": { "$value": "cubic-bezier(0.2, 0, 0.1, 1)", "$type": "cubicBezier", "$description": "v1.1 — system default ease. Quick start, gentle settle — reads as mechanical, not bouncy." }
    },
    "duration": {
      "fast": { "$value": "120ms", "$type": "duration", "$description": "v1.1 — hover, focus, color shifts." },
      "base": { "$value": "180ms", "$type": "duration", "$description": "v1.1 — switches, drawer slide, toast in." },
      "slow": { "$value": "260ms", "$type": "duration", "$description": "v1.1 — progress fill, mode transitions." }
    }
  }
}
