/* Nexus Acapella — color tokens.
   Voice-part hexes are from the brand guidelines (Quick reference).
   Gray ramp is from the official white/gray lines lockup.
   Off-black / off-white grounds are named in the guidelines but not given hexes — values here are working approximations. */
:root{
  /* Voice parts (jewel tones) */
  --nx-soprano:#43A1A7;
  --nx-alto:#7A5C96;
  --nx-tenor:#5D7141;
  --nx-bass:#D80306;
  --nx-vp:#FFBD59; /* vocal percussion — drawn as a dotted line */

  /* Grounds */
  --nx-black:#000000;
  --nx-off-black:#121212;
  --nx-off-black-2:#1C1C1C;
  --nx-off-black-3:#262626;
  --nx-paper:#F3EFE6;
  --nx-paper-2:#E9E4D8;
  --nx-white:#FFFFFF;

  /* Gray ramp (white → gray, as in the white/gray lockup) */
  --nx-gray-100:#FFFFFF;
  --nx-gray-200:#D9D9D9;
  --nx-gray-300:#B3B3B3;
  --nx-gray-400:#8C8C8C;
  --nx-gray-500:#6E6E6E;
  --nx-gray-600:#3A3A3A;

  /* Emphasis gradient — the five voices, top line to bottom line */
  --nx-gradient:linear-gradient(90deg,var(--nx-soprano) 0%,var(--nx-alto) 25%,var(--nx-tenor) 50%,var(--nx-bass) 75%,var(--nx-vp) 100%);

  /* Semantic — dark (default; concert black) */
  --surface-page:var(--nx-off-black);
  --surface-raised:var(--nx-off-black-2);
  --surface-sunken:var(--nx-black);
  --surface-hover:var(--nx-off-black-3);
  --surface-inverse:var(--nx-white);
  --text-primary:var(--nx-white);
  --text-secondary:var(--nx-gray-300);
  --text-muted:var(--nx-gray-400);
  --text-inverse:var(--nx-off-black);
  --border-subtle:rgba(255,255,255,.12);
  --border-strong:rgba(255,255,255,.4);
  --border-focus:var(--nx-vp);
  --accent:var(--nx-vp);
  --accent-text:var(--nx-off-black);
  --status-success:var(--nx-soprano);
  --status-danger:var(--nx-bass);
  --status-warning:var(--nx-vp);
  --overlay-scrim:rgba(0,0,0,.72);
}

/* Paper theme — programs, print, light pages */
[data-theme="paper"]{
  --surface-page:var(--nx-paper);
  --surface-raised:var(--nx-white);
  --surface-sunken:var(--nx-paper-2);
  --surface-hover:var(--nx-paper-2);
  --surface-inverse:var(--nx-off-black);
  --text-primary:var(--nx-off-black);
  --text-secondary:#4A4A4A;
  --text-muted:var(--nx-gray-500);
  --text-inverse:var(--nx-white);
  --border-subtle:rgba(0,0,0,.12);
  --border-strong:rgba(0,0,0,.45);
  --border-focus:var(--nx-alto);
  --accent:var(--nx-off-black);
  --accent-text:var(--nx-white);
}
