/* Tokens du thème Rehoboam : seul fichier à porter des littéraux de couleur. Gris 4d4d4d et plus sombres :
   filets seulement, jamais de texte. Rouges d'alerte : accents (texte, trait, marqueur), jamais un fond de texte ;
   alert-deep et alert-line ne portent jamais de texte. Négatif (écran de divergence, .is-negative dans state.css) :
   jetons neg-* sous d'autres noms, #ff1a1a n'y porte aucun texte (3,9:1 sur blanc). */
/* contrast: fg/bg, fg-2/bg, fg-3/bg, alert/bg, bg/flash, neg-fg/neg-bg, neg-fg-2/neg-bg, neg-fg-3/neg-bg, neg-alert/neg-bg */

/* Couleurs enregistrées : la bascule en négatif les interpole (transition sur la racine, state.css). */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #fff; }
@property --fg-2 { syntax: "<color>"; inherits: true; initial-value: #fff; }
@property --fg-3 { syntax: "<color>"; inherits: true; initial-value: #fff; }
@property --line { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --line-strong { syntax: "<color>"; inherits: true; initial-value: #000; }
@property --alert { syntax: "<color>"; inherits: true; initial-value: #f00; }
@property --alert-line { syntax: "<color>"; inherits: true; initial-value: #f00; }
@property --alert-deep { syntax: "<color>"; inherits: true; initial-value: #f00; }

:root {
  --bg: #000000;
  --fg: #ffffff;
  --fg-2: #b3b3b3;
  --fg-3: #8a8a8a;
  --line: #2e2e2e;
  --line-strong: #4d4d4d;
  --alert: #ff1a1a;
  --alert-line: #6b0f0f;
  --alert-deep: #7a0000;
  --flash: #ffffff;

  --neg-bg: #ffffff;
  --neg-fg: #000000;
  --neg-fg-2: #3d3d3d;
  --neg-fg-3: #5c5c5c;
  --neg-line: #d9d9d9;
  --neg-line-strong: #a6a6a6;
  --neg-alert: #c20000;
  --neg-alert-line: #f0b3b3;
  --neg-alert-deep: #ff8080;

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --track-label: 0.28em;
  --track-title: 0.16em;
  --text-label: 0.8125rem;
  --text-body: 1rem;
  --text-data: 0.9375rem;
  --title-1: clamp(2rem, 1.2rem + 3.2vw, 4rem);
  --title-2: clamp(1.25rem, 1rem + 1vw, 1.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 7rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --header-h: 3.5rem;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur-base: 600ms;
  --dur-slow: 1200ms;
}
