/* Design tokens. The only file in the project allowed to hold color literals.
   Every color is measured from the brand files (see scripts/brand-palette.json,
   produced by scripts/analyze-brand.mjs). The sRGB sample is recorded beside each token. */
:root {
  color-scheme: dark;

  /* brand/LOGO NUKRON PNG...png, opaque pixels, brightest-quartile centroid of the cyan ring: #4dfdfe */
  --c-cyan: oklch(0.9083 0.1386 195.56);
  /* same file, brightest-quartile centroid of the orange orbit: #fba324 */
  --c-orange: oklch(0.7853 0.1624 69.01);
  /* same file, median of the oxidised surface pixels: #6e2d18 */
  --c-rust: oklch(0.385 0.0983 38.14);
  /* same file, median of the brushed metal pixels: #888888 */
  --c-metal: oklch(0.6268 0 0);
  /* same file, median of the logo shadow pixels: #050a0a */
  --c-shadow: oklch(0.1383 0.0097 196.09);
  /* brand/LOGO NUKRON PNG.png, darkest-half median of the rust plate: #0b0c0b */
  --c-plate: oklch(0.1527 0.0027 145.44);
  /* reference/NUKRON 1.jpg.jpeg, flat background region median: #020a0e */
  --c-void: oklch(0.1364 0.0189 223.21);
  /* reference/NUKRON 1.jpg.jpeg, headline glyph interior median: #ffffff */
  --c-text: oklch(1 0 0);

  /* alpha variants of the same measured hues, for canvas drawing */
  --c-mesh-cyan: oklch(0.9083 0.1386 195.56 / 0.1);
  --c-mesh-orange: oklch(0.7853 0.1624 69.01 / 0.075);
  --c-mesh-rust: oklch(0.385 0.0983 38.14 / 0.2);
  --c-mesh-clear: oklch(0.9083 0.1386 195.56 / 0);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-inout: cubic-bezier(0.45, 0, 0.55, 1);

  --r-card: 18px;
  --r-ctl: 12px;
  --r-media: 16px;
  --r-pill: 999px;

  --tap: 44px;
  --bar-h: 64px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
