Hover-swap project titles
Swap the project title for its category on hover. One attribute, no plugin.
.work-card .title::after {
content: attr(data-cat);
position: absolute;
inset: 0;
opacity: 0;
transform: translateY(6px);
transition: .35s cubic-bezier(.22,1,.36,1);
}
.work-card:hover .title::after { opacity: 1; transform: none; }