/* Done by Default - design tokens (Industrial Spec Sheet direction)
   Token names per standards.md; values final per DESIGN_BRIEF 2026-07-09. */

:root {
  /* Fonts */
  --font-display: "Geologica", system-ui, sans-serif;
  --font-body: "Chivo", system-ui, sans-serif;
  --font-accent: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Palette */
  --color-bg: #f4f2ec;            /* paper */
  --color-bg-alt: #e8e4d9;        /* deeper paper */
  --color-dark: #1b1f24;          /* graphite band */
  --color-text: #21262b;          /* graphite ink */
  --color-text-muted: #585f66;
  --color-text-invert: #f4f2ec;   /* bone type on dark */
  --color-muted-invert: #aab1b8;  /* muted on dark */
  --color-accent: #d1451f;        /* signal orange - DECORATIVE fills, rules, reg marks only */
  --color-accent-cta: #c23e1a;    /* darker orange for fills carrying white text (AA: white 5.25:1) */
  --color-accent-cta-hover: #a5330f;
  --color-accent-tint: #f0865f;   /* lighter orange for large text on dark bands */
  --color-secondary: #1e3a5f;     /* blueprint blue - lines, links, diagram ink */
  --color-border: #c7c2b4;        /* hairline light */
  --color-border-dark: rgba(244, 242, 236, 0.18); /* hairline on dark */

  --color-primary: var(--color-secondary);
  --color-link: var(--color-secondary);
  --color-link-hover: var(--color-accent-cta); /* darker orange: 4.68:1 on paper, keeps underline */

  /* Radius language: ZERO radius everywhere */
  --radius-none: 0;
  --radius-sm: 0;
  --radius-lg: 0;

  /* Fluid type scale */
  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --text-lg: clamp(1.12rem, 1.02rem + 0.5vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.15rem + 0.9vw, 1.7rem);
  --text-2xl: clamp(1.7rem, 1.35rem + 1.6vw, 2.4rem);
  --text-3xl: clamp(2.1rem, 1.6rem + 2.4vw, 3.1rem);
  --text-4xl: clamp(2.6rem, 1.9rem + 3.4vw, 4rem);
  --text-hero: clamp(2.8rem, 2rem + 4.2vw, 4.8rem);

  /* Fluid spacing */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  --space-xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --space-2xl: clamp(4rem, 3rem + 5vw, 6rem);

  /* Layout */
  --container-max: 1200px;
  --border-hair: 1px solid var(--color-border);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}
