/* ═══════════════════════════════════════════════════════════
   COLORS — Bureau Arvö
   "Architecture of verifiable judgment."
   Warm paper, graphite ink, dry methodological accents.
   Low saturation. Role-based, not decorative.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Paper & ink (the page) ─────────────────────────────── */
  --arvo-ivory:        #FBFAF5; /* lightest paper — raised cards, code legends */
  --arvo-paper:        #F0EEDC; /* primary page surface — warm sand */
  --arvo-paper-deep:   #E7E4D1; /* alternating / inset sections */
  --arvo-paper-edge:   #DCD8C2; /* deepest paper, dossier edges */
  --arvo-ink:          #2B261E; /* graphite — primary text & strong rules */
  --arvo-ink-2:        #4A453C; /* softened ink for dense body */

  /* ── Accents (role-based, dry, low-saturation) ──────────── */
  --arvo-green:        #46584F; /* methodological deep green — DECISION / conclusion */
  --arvo-green-deep:   #36453E; /* pressed / dense green */
  --arvo-green-wash:   #E3E6DD; /* faint green fill */

  --arvo-sage:         #7E978C; /* lighter cold blue-green / sage — SECONDARY, keeps air */
  --arvo-sage-deep:    #5F7A6E; /* sage hover / emphasis */
  --arvo-sage-wash:    #E6ECE7; /* faint sage fill — quiet surfaces, hover */

  --arvo-iron:         #3B4A54; /* cold blue-grey — EVIDENCE, code, structure */
  --arvo-iron-ink:     #2E3640; /* dossier code background */
  --arvo-slate:        #5E6B72; /* mid blue-grey — secondary technical */
  --arvo-slate-wash:   #E0E3E2; /* faint slate fill */

  --arvo-brass:        #A98C4F; /* brass / sand accent — UNCERTAINTY, markers, Ø */
  --arvo-brass-soft:   #C9BA8F; /* soft ochre — pre-MVP, sand legends */
  --arvo-brass-wash:   #ECE6D2; /* faint brass fill */

  --arvo-oxblood:      #8A4B3C; /* dry oxblood — HARD STOP / blocked gate (rare) */
  --arvo-oxblood-wash: #EEDFD7; /* faint stop fill */

  /* ── Lines (architectural hairlines) ────────────────────── */
  --arvo-line:         rgba(43, 38, 30, 0.12); /* standard hairline */
  --arvo-line-strong:  rgba(43, 38, 30, 0.26); /* section / structural rule */
  --arvo-line-faint:   rgba(43, 38, 30, 0.06); /* background grid */

  /* ═══════════════════════════════════════════════════════
     SEMANTIC ALIASES — reference these in components
     ═══════════════════════════════════════════════════════ */

  /* Text */
  --text-primary:    var(--arvo-ink);
  --text-secondary:  rgba(43, 38, 30, 0.62);
  --text-tertiary:   rgba(43, 38, 30, 0.40);
  --text-faint:      rgba(43, 38, 30, 0.28);
  --text-inverse:    var(--arvo-ivory);
  --text-accent:     var(--arvo-green);

  /* Surfaces */
  --surface-page:    var(--arvo-paper);
  --surface-raised:  var(--arvo-ivory);
  --surface-inset:   var(--arvo-paper-deep);
  --surface-ink:     var(--arvo-iron-ink); /* dark code / formula blocks */

  /* Borders */
  --border-hairline: var(--arvo-line);
  --border-strong:   var(--arvo-line-strong);
  --border-accent:   var(--arvo-green);

  /* Role colors — the method's vocabulary */
  --role-decision:    var(--arvo-green);   /* conclusion reached */
  --role-secondary:   var(--arvo-sage);    /* lighter blue-green — air, quiet UI, links */
  --role-evidence:    var(--arvo-iron);    /* trace, citation, provenance */
  --role-uncertainty: var(--arvo-brass);   /* Ø, gap, "insufficient data" (restrained, never luxury) */
  --role-stop:        var(--arvo-oxblood); /* hard block, safety gate (reserved — never decorative) */
  --role-structure:   var(--arvo-sage);    /* parsing, structure layer — sage keeps the flow light */

  /* Selection */
  --selection-bg:    var(--arvo-green);
  --selection-fg:    var(--arvo-ivory);
}

::selection { background: var(--selection-bg); color: var(--selection-fg); }
