/* ═══════════════════════════════════════════════════════════
   Brand colours on hover - each chip reveals the real colour
   of the technology it names, the way the portrait reveals
   its full colour. Delete this file to disable.
   Colours are the official ones from Simple Icons.
   ═══════════════════════════════════════════════════════════ */

/* :where() keeps the fallback at zero specificity, otherwise `.kw li` (0,1,1)
   would beat every `[data-tech=...]` brand rule (0,1,0) below */
:where(.kw li, .tags span){--bc:var(--ac2)}
.kw li, .tags span{
  transition:color .18s ease, border-color .18s ease,
             background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* light: nudge toward ink so pale brands (JS yellow, C grey) stay legible on cream */
.kw li:hover, .tags span:hover{
  --bcx:color-mix(in srgb, var(--bc) 82%, #14181D);
  color:var(--bcx);
  border-color:var(--bcx);
  background-color:color-mix(in srgb, var(--bc) 13%, transparent);
  transform:translateY(-1px);
  box-shadow:0 2px 10px color-mix(in srgb, var(--bc) 26%, transparent);
}
/* dark: nudge toward light so dark brands (LLVM, GitHub, AWS navy) do not vanish */
[data-theme="dark"] .kw li:hover, [data-theme="dark"] .tags span:hover{
  --bcx:color-mix(in srgb, var(--bc) 64%, #E8EEF5);
  background-color:color-mix(in srgb, var(--bc) 20%, transparent);
  box-shadow:0 2px 12px color-mix(in srgb, var(--bc) 30%, transparent);
}

/* ── languages ── */
[data-tech="Python"],[data-tech="python"]      {--bc:#3776AB}
[data-tech="C / C++"],[data-tech="C++"]        {--bc:#00599C}
[data-tech="C"],[data-tech="c"]                {--bc:#A8B9CC}
[data-tech="Go"]                               {--bc:#00ADD8}
[data-tech="Bash"]                             {--bc:#4EAA25}
[data-tech="Assembly"]                         {--bc:#6E7781}
[data-tech="JavaScript"]                       {--bc:#F7DF1E}
[data-tech="PHP"]                              {--bc:#777BB4}

/* ── compilers & runtimes ── */
[data-tech="LLVM"]                             {--bc:#262D3A}
[data-tech="GCC"]                              {--bc:#A42E2B}
[data-tech="WebAssembly"]                      {--bc:#654FF0}
[data-tech="WebAssembly Runtime Analysis"]     {--bc:#654FF0}

/* ── research concepts ── */
[data-tech="Fuzzing"]                          {--bc:#E8590C}
[data-tech="Static & Dynamic Analysis"]        {--bc:#1679A7}
[data-tech="LLMs & Agentic AI"]                {--bc:#6E56CF}
[data-tech="Agentic AI Frameworks"]            {--bc:#6E56CF}
[data-tech="LLM-powered Test Generation"]      {--bc:#6E56CF}
[data-tech="Software Security"],[data-tech="security"] {--bc:#C92A2A}

/* ── systems, cloud, tooling ── */
[data-tech="Docker"]                           {--bc:#2496ED}
[data-tech="AWS"]                              {--bc:#FF9900}
[data-tech="VMware"]                           {--bc:#607078}
[data-tech="VirtualBox"]                       {--bc:#183A61}
[data-tech="Linux (RHEL, Debian)"],[data-tech="linux"] {--bc:#FCC624}
[data-tech="Windows (Server & Client)"]        {--bc:#0078D4}
[data-tech="macOS"]                            {--bc:#999999}
[data-tech="GraphQL"]                          {--bc:#E10098}
[data-tech="Postman"]                          {--bc:#FF6C37}
[data-tech="REST"]                             {--bc:#5A9E6F}
[data-tech="SOAP"]                             {--bc:#8E8E8E}

/* ── experience tags ── */
[data-tech="networking"],[data-tech="services"]{--bc:#1679A7}
[data-tech="libpcap"],[data-tech="dns"]        {--bc:#1E88A8}
[data-tech="http"]                             {--bc:#005C9C}
[data-tech="firewall"],[data-tech="malware"]   {--bc:#C92A2A}
[data-tech="soc"],[data-tech="detection"]      {--bc:#B54708}
[data-tech="automation"],[data-tech="software"]{--bc:#5A9E6F}

@media (prefers-reduced-motion:reduce){
  .kw li,.tags span{transition:none}
  .kw li:hover,.tags span:hover{transform:none}
}

/* ── added to match the CV's skills ── */
[data-tech="Differential Testing"]             {--bc:#1679A7}
[data-tech="SWE-bench Verified"]               {--bc:#0A7D35}
[data-tech="JAX / PyTorch"]                    {--bc:#EE4C2C}
[data-tech="JAX"]                              {--bc:#8A2BE2}
[data-tech="PyTorch"]                          {--bc:#EE4C2C}
[data-tech="Hugging Face"]                     {--bc:#FFD21E}
[data-tech="Agentic Frameworks"]               {--bc:#6E56CF}
[data-tech="QEMU"]                             {--bc:#FF6600}
[data-tech="Git"]                              {--bc:#F05032}
[data-tech="Windows Server"]                   {--bc:#0078D4}
