/*
 * TTO design tokens — per-CPT-type accent colours.
 *
 * Single source of truth for the colour side of the type identity system.
 * Any element rendered inside a container carrying `data-cpt="<slug>"` reads
 * these via var(--tto-accent) / var(--tto-accent-soft). The matching icons
 * live in includes/tto-cpt-visuals.php keyed by the same slugs.
 *
 * Loaded on the search page today; will also be enqueued on single CPT pages
 * during rollout so the same tokens drive the single hero + related cards.
 */

:root {
    --tto-accent: #2563eb;       /* sensible default (blue) */
    --tto-accent-soft: #dbeafe;

    /* Signature brand gradient for global (non-type-specific) chrome:
       search panel accent, primary buttons, and future homepage. */
    --tto-brand-1: #2563eb;
    --tto-brand-2: #06b6d4;
    --tto-brand-gradient: linear-gradient(135deg, var(--tto-brand-1), var(--tto-brand-2));
}

[data-cpt="technology"]         { --tto-accent: #2563eb; --tto-accent-soft: #dbeafe; }
[data-cpt="laboratory"]         { --tto-accent: #7c3aed; --tto-accent-soft: #ede9fe; }
[data-cpt="staff"]              { --tto-accent: #0d9488; --tto-accent-soft: #ccfbf1; }
[data-cpt="equipment"]          { --tto-accent: #475569; --tto-accent-soft: #e2e8f0; }
[data-cpt="utilization_effort"] { --tto-accent: #ea580c; --tto-accent-soft: #ffedd5; }
[data-cpt="research_collab"]    { --tto-accent: #4338ca; --tto-accent-soft: #e0e7ff; }
[data-cpt="spin_off"]           { --tto-accent: #16a34a; --tto-accent-soft: #dcfce7; }
[data-cpt="patent"]             { --tto-accent: #d97706; --tto-accent-soft: #fef3c7; }
[data-cpt="project"]            { --tto-accent: #e11d48; --tto-accent-soft: #ffe4e6; }
[data-cpt="expertise"]          { --tto-accent: #0891b2; --tto-accent-soft: #cffafe; }
