/* Night Hearth — semantic alias layer + base atmosphere.
 * HAND-MAINTAINED. Loads AFTER css/night-hearth-tokens.css (the generated
 * file — NOT the legacy Deep Signal css/tokens.css) and maps
 * scale stops to meaning. Pages use --nh-* names, never raw --color-* stops,
 * so the underlying scales can be regenerated without touching page CSS.
 * Truth doc: DESIGN.md. Direction: redesign/DESIGN-DIRECTION.md.
 */

:root {
  /* Surfaces */
  --nh-bg: var(--color-neutral-950);            /* page ground */
  --nh-surface: var(--color-neutral-900);       /* cards, panels */
  --nh-border: var(--color-neutral-700);        /* default 1px border */
  --nh-border-strong: var(--color-neutral-600); /* outline buttons, emphasis */

  /* Ink */
  --nh-text: var(--color-neutral-100);
  --nh-text-muted: var(--color-neutral-300);
  --nh-text-faint: var(--color-neutral-400);

  /* Fire */
  --nh-ember: var(--color-primary-500);         /* action + signal, never decoration */
  --nh-ember-deep: var(--color-primary-600);    /* hover/active */
  --nh-on-ember: var(--color-neutral-950);      /* text on ember fills */
  --nh-gold: var(--color-secondary-500);        /* second accent, sparing */

  /* Shape */
  --nh-radius: 6px;
  --nh-border-w: 1px;

  /* Atmosphere (the two sanctioned textures — see DESIGN.md §6) */
  --nh-glow: var(--shadow-glow);
  /* y anchored in px so the pool hugs the hero regardless of page height */
  --nh-glow-pool: radial-gradient(ellipse 620px 420px at 24% 340px, rgba(232, 131, 58, 0.14), transparent 70%);
  --nh-dot-grid: radial-gradient(var(--color-neutral-800) 1px, transparent 1px);
  --nh-dot-grid-size: 22px 22px;
}
