/* ==========================================================================
   LAMINAR LABS — Austere Nordic Architectural Design System (Tokens)
   Inspired by Polestar, Hasselblad, Dieter Rams & Scandinavian Monolith Design
   ========================================================================== */

:root {
  /* Architectural Warm Limestone & Alabaster Surfaces */
  --bg-canvas: #F3F1EC;
  --bg-subtle: #E9E6DE;
  --bg-surface: #F9F8F5;
  --bg-elevated: #FFFFFF;
  --bg-glass: rgba(243, 241, 236, 0.90);

  /* Matte Anodized Obsidian Hardware (Monitors, Emblems, Cinema Frames) */
  --bg-hardware: #0E0E0D;
  --bg-hardware-2: #161614;
  --bg-hardware-3: #20201D;
  --hardware-line: rgba(255, 255, 255, 0.09);
  --hardware-line-strong: rgba(255, 255, 255, 0.16);
  --hardware-ink: #F2F0EA;
  --hardware-muted: #8E8B83;

  /* Ink Hierarchy — High-Contrast Graphite */
  --ink-1: #111110;
  --ink-2: #4D4B45;
  --ink-3: #7D7971;

  /* Precision 1px Hairline Grid */
  --line: rgba(17, 17, 16, 0.11);
  --line-strong: rgba(17, 17, 16, 0.22);
  --line-hover: rgba(17, 17, 16, 0.42);

  /* Restrained Elevation */
  --shadow-xs: 0 1px 2px rgba(17, 17, 16, 0.04);
  --shadow-sm: 0 4px 16px rgba(17, 17, 16, 0.05);
  --shadow-md: 0 14px 36px rgba(17, 17, 16, 0.08);
  --shadow-hardware: 0 24px 64px rgba(14, 14, 13, 0.20), 0 2px 8px rgba(14, 14, 13, 0.08);

  /* Chromatic Signature System (Calibrated for Light Limestone + Dark Glow) */
  --c-brand: #09865E;
  --c-brand-glow: #00F0A0;
  --c-brand-soft: rgba(9, 134, 94, 0.09);
  --c-brand-border: rgba(9, 134, 94, 0.30);

  --c-speed: #A87000;
  --c-speed-glow: #FFE600;
  --c-speed-soft: rgba(184, 125, 0, 0.10);
  --c-speed-border: rgba(184, 125, 0, 0.34);

  --c-glaze: #B81F1F;
  --c-glaze-glow: #FF1F1F;
  --c-glaze-soft: rgba(184, 31, 31, 0.09);
  --c-glaze-border: rgba(184, 31, 31, 0.30);

  --c-restyle: #A11888;
  --c-restyle-glow: #F000FF;
  --c-restyle-soft: rgba(161, 24, 136, 0.09);
  --c-restyle-border: rgba(161, 24, 136, 0.30);

  --c-depth: #0062B5;
  --c-depth-glow: #0099FF;
  --c-depth-soft: rgba(0, 98, 181, 0.09);
  --c-depth-border: rgba(0, 98, 181, 0.30);

  /* Active Page Chromatic Identity */
  --accent: var(--c-brand);
  --accent-glow: var(--c-brand-glow);
  --accent-soft: var(--c-brand-soft);
  --accent-border: var(--c-brand-border);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Austere Architectural Radii (Crisp Precision — Zero Puffy Bubbles) */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Studio Dark Theme (Anodized Graphite) */
[data-theme="dark"] {
  --bg-canvas: #0D0D0C;
  --bg-subtle: #141413;
  --bg-surface: #171715;
  --bg-elevated: #1E1E1B;
  --bg-glass: rgba(13, 13, 12, 0.90);

  --bg-hardware: #070706;
  --bg-hardware-2: #10100F;
  --bg-hardware-3: #191917;

  --ink-1: #F2F0EA;
  --ink-2: #A8A49B;
  --ink-3: #737068;

  --line: rgba(242, 240, 234, 0.10);
  --line-strong: rgba(242, 240, 234, 0.20);
  --line-hover: rgba(242, 240, 234, 0.38);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 48px rgba(0, 0, 0, 0.48);
  --shadow-hardware: 0 28px 68px rgba(0, 0, 0, 0.62);

  --c-brand: #1CE6A0;
  --c-brand-soft: rgba(28, 230, 160, 0.12);
  --c-brand-border: rgba(28, 230, 160, 0.34);

  --c-speed: #F7CA24;
  --c-speed-soft: rgba(247, 202, 36, 0.12);
  --c-speed-border: rgba(247, 202, 36, 0.36);

  --c-glaze: #FF4F4F;
  --c-glaze-soft: rgba(255, 79, 79, 0.12);
  --c-glaze-border: rgba(255, 79, 79, 0.34);

  --c-restyle: #F054FF;
  --c-restyle-soft: rgba(240, 84, 255, 0.12);
  --c-restyle-border: rgba(240, 84, 255, 0.34);

  --c-depth: #38ACFF;
  --c-depth-soft: rgba(56, 172, 255, 0.12);
  --c-depth-border: rgba(56, 172, 255, 0.36);
}
