/* Grimoire — semantic aliases. Build with THESE; reach for the base ramps only
   when a semantic token genuinely doesn't exist. */
:root {
  /* SURFACES */
  --surface-scene: var(--scene-hearth);       /* @kind color */
  --surface-void: var(--plum-950);            /* @kind color */
  --surface-panel: var(--grad-panel);         /* @kind color */
  --surface-panel-solid: var(--grad-panel-solid); /* @kind color */
  --surface-panel-inset: var(--grad-panel-inset); /* @kind color */
  --surface-plate: var(--grad-plate);         /* @kind color */
  --surface-plate-hover: var(--grad-plate-hover); /* @kind color */
  --surface-plate-active: var(--grad-plate-active); /* @kind color */
  --surface-slot: var(--grad-slot);           /* @kind color */
  --surface-slot-active: var(--grad-slot-active); /* @kind color */
  --surface-tag: var(--parchment-50);         /* @kind color */
  --surface-key: var(--parchment-50);         /* @kind color */
  --surface-scrim: var(--scrim-bottom); /* @kind color */

  /* TEXT */
  --text-title: var(--gold-200);              /* @kind color */
  --text-title-bright: var(--gold-100); /* @kind color */
  --text-body: var(--parchment-100);          /* @kind color */
  --text-muted: var(--parchment-300); /* @kind color */
  --text-faint: var(--parchment-400); /* @kind color */
  --text-info: var(--aqua-300);               /* @kind color */
  --text-info-strong: var(--aqua-200); /* @kind color */
  --text-on-plate: var(--parchment-50);       /* @kind color */
  --text-on-plate-active: var(--plum-950);    /* @kind color */
  --text-on-tag: var(--plum-900);             /* @kind color */
  --text-emphasis: var(--rose-300); /* @kind color */
  --text-disabled: rgba(197, 185, 163, 0.45); /* @kind color */
  --text-link: var(--aqua-200); /* @kind color */
  --text-link-hover: var(--aqua-100); /* @kind color */

  /* BORDERS */
  --border-frame: var(--gold-400);            /* @kind color */
  --border-frame-bright: var(--gold-200); /* @kind color */
  --border-quiet: var(--gold-a40);            /* @kind color */
  --border-hairline: rgba(250, 246, 238, 0.1); /* @kind color */
  --border-slot: rgba(250, 246, 238, 0.12); /* @kind color */
  --border-select: var(--aqua-300); /* @kind color */

  /* STATE */
  --focus-ring: var(--glow-select); /* @kind shadow */
  --state-select-glow: var(--glow-select); /* @kind shadow */
  --state-disabled-opacity: var(--dim-disabled); /* @kind other */

  /* SEMANTIC MEANING — mapped onto the stat hues so nothing new is invented. */
  --intent-positive: var(--stat-vital); /* @kind color */
  --intent-info: var(--stat-mana); /* @kind color */
  --intent-warning: var(--stat-might); /* @kind color */
  --intent-danger: var(--rose-400); /* @kind color */
  --intent-magic: var(--stat-arcane); /* @kind color */
  --intent-neutral: var(--stat-ward); /* @kind color */

  /* ELEVATION shorthands */
  --elev-panel: var(--shadow-panel); /* @kind shadow */
  --elev-float: var(--shadow-float); /* @kind shadow */
  --elev-tag: var(--shadow-tag); /* @kind shadow */
}
