/* ==========================================================================
   PHYSARUM // 3D BIOLUMINESCENT & STIPPLE PARTICLE PALETTE TOKENS
   1. La Nuit × Aura (Default): Obsidian + Violet + Periwinkle + Flamingo Pink
      + Blazing Crimson + Coral-Orange + Mint + Acid Chartreuse
   2. Botanical Stipple: Warm Gallery Paper + Sumi Ink Stipple + Acid Chartreuse
   ========================================================================== */

@font-face {
  font-family: 'TRJN DaVinci Display';
  src: url('../fonts/TRJN_DaVinci-Display.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TRJN DaVinci Text';
  src: url('../fonts/TRJN_DaVinci-Text.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root,
[data-palette="nuit"] {
  color-scheme: dark;
  --bg-void: #060607;
  --bg-hud: rgba(10, 10, 12, 0.76);
  --bg-hud-strong: rgba(11, 11, 13, 0.93);
  --bg-pill: rgba(10, 10, 12, 0.78);

  --ink-primary: #f4f3ef;
  --ink-secondary: rgba(244, 243, 239, 0.72);
  --ink-muted: rgba(244, 243, 239, 0.46);
  --ink-inverse: #060607;

  --hairline: rgba(244, 243, 239, 0.11);
  --hairline-strong: rgba(244, 243, 239, 0.26);
  --leader-stroke: rgba(244, 243, 239, 0.36);

  --accent-spore: #d4ff00;
  --accent-cobalt: #8ca6fc;
  --accent-vacuole: #fc0a40;

  --font-display: 'TRJN DaVinci Display', 'TRJN DaVinci Text', 'Cormorant Garamond', Georgia, serif;
  --font-display-text: 'TRJN DaVinci Text', 'TRJN DaVinci Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-math: 'JetBrains Mono', 'SFMono-Regular', ui-monospace, monospace;

  --gutter: clamp(1.1rem, 2.5vw, 2.4rem);
  --header-h: 46px;
  --ease-spatial: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Botanical Stipple: Sumi Ink Stipple + Acid Chartreuse Tips on Gallery Paper */
[data-palette="stipple"] {
  color-scheme: light;
  --bg-void: #faf9f5;
  --bg-hud: rgba(250, 249, 245, 0.80);
  --bg-hud-strong: rgba(252, 251, 248, 0.94);
  --bg-pill: rgba(250, 249, 245, 0.82);

  --ink-primary: #0d0e11;
  --ink-secondary: rgba(13, 14, 17, 0.68);
  --ink-muted: rgba(13, 14, 17, 0.44);
  --ink-inverse: #faf9f5;

  --hairline: rgba(13, 14, 17, 0.10);
  --hairline-strong: rgba(13, 14, 17, 0.24);
  --leader-stroke: rgba(13, 14, 17, 0.36);

  --accent-spore: #8fd400;
  --accent-cobalt: #1d4ed8;
  --accent-vacuole: #0d0e11;
}
