/**
 * SERRAS brand-book deck — token layer (hand-authored; survives theme re-bakes)
 *
 * LOAD ORDER: fonts.generated.css → THIS FILE (@imports the baked theme) → deck.css
 *
 * The @import brings in the full baked Firstlight theme: 80 primitive ramp vars
 * (steel/abyss/accent/signal/success/warn/danger/info + elevation), the semantic
 * aliases (light + dark scopes), status anchors, chart palette, the shadcn
 * bridge, and the painterly/cinematic depth block. The serras bake is CLEAN
 * (verified 2026-07-03): no font-alias, chart, or status defects — unlike prior
 * brands, this layer carries NO baker fixes, only deck-isms.
 *
 * Deck-isms defined here (and ONLY here):
 *   --cta-bg / --cta-fg   the cta-solid binding (mirrors the library theme
 *                         tokens.css): reserved signal amber + ink label.
 *                         ⚠ cta-solid = amber; plain `cta` binds --accent
 *                         (teal-soft) — never confuse the two.
 *   --on-accent           consumed by deck.css; defined by NO theme. Ink on
 *                         the cool fills (teal-soft 7.44:1 / cyan 12.73:1)
 *                         AND on amber (11.46:1) = abyss-900 ink.
 *   --bb-scrim*           the Firstlight legibility scrim for veil plates —
 *                         STATIC, never animated (client token file:
 *                         --serras-scrim-base #03090B, scrim rgba .82).
 *   --bb-light-tile-*     the book's ONLY light-page recipe (logo-on-light
 *                         tiles, from the FINAL specimen 2026-07-02).
 *
 * Governance: tarva-convergence/tarva-ui-library/src/themes/serras/CANON.md
 */

@import url('./tokens.generated.css');

.serras,
[data-color-scheme='serras'] {
  /* -------- cta-solid: the ONE emphatic action -------- */
  --cta-bg: var(--serras-signal-400);
  --cta-fg: var(--serras-abyss-900);

  /* -------- on-accent ink (deck-ism) -------- */
  --on-accent: var(--serras-abyss-900);

  /* -------- Firstlight scrim (veil-plate legibility gate; STATIC) -------- */
  --bb-scrim-base: #03090b;                 /* client token --serras-scrim-base */
  --bb-scrim: rgba(3, 9, 11, 0.82);         /* 0.70–0.85 band under glyphs      */

  /* -------- the only light-page recipe (logo-on-light tiles) -------- */
  --bb-light-tile-bg: #f2f0eb;
  --bb-light-tile-border: #dad5cb;
  --bb-light-tile-fg: #5c6b72;

  /* -------- Dataviz series: the Firstlight SPECTRUM, in wavelength order
     (operator direction 2026-07-03). Warm → cool, never skipping jade.
     Signal amber #FFB627 is NEVER a series color (reserved for decisions);
     amber-glow #C87A3C is the spectrum's warm anchor — a different color.
     All token-pure except amber-glow (client token --serras-amber-glow,
     not round-tripped by the bake). -------- */
  --chart-1: var(--serras-accent-500);    /* teal #3F8A9B — dominant field   */
  --chart-2: var(--serras-accent-200);    /* cyan #87D8FF — dispersion       */
  --chart-3: var(--serras-success-200);   /* jade #8FE9B8 — the green sliver */
  --chart-4: var(--serras-info-300);      /* cerulean #60A5FA — cool depth   */
  --chart-5: var(--serras-warn-200);      /* gold #F4E27A — warm peak        */
  --chart-6: #c87a3c;                     /* amber-glow — warm anchor        */
}
