/* Small, consistent interactions; never move body copy or hide content. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .artesia-theme .business-card,
  .artesia-theme .event-card {
    transition: transform 350ms cubic-bezier(.2,.8,.25,1.15), box-shadow 350ms ease, border-color 200ms ease;
  }
  .artesia-theme .business-card:hover,
  .artesia-theme .event-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px #3c145f14; }
  .artesia-theme .home-category-grid>a>svg:first-child {
    transition:transform 420ms cubic-bezier(.2,.9,.25,1.35),stroke 200ms ease;
  }
  .artesia-theme .home-category-grid>a:hover>svg:first-child { transform:translateY(-7px) rotate(-4deg) scale(1.06); }
  .artesia-theme .btn { transition:background 200ms ease,color 200ms ease,box-shadow 250ms ease; }
  .artesia-theme .btn:hover { box-shadow:0 5px 0 #3c145f24; }
}
@media (hover:hover) and (pointer:fine) and (min-width:801px) and (prefers-reduced-motion:no-preference) {
  .artesia-theme :is(.weekly-art,.opening-photo,.destination-photo,.profile-image,.local-photo,.neighborhood-image) { perspective:1200px; }
  .artesia-theme :is(.weekly-art,.opening-photo,.destination-photo,.profile-image,.local-photo,.neighborhood-image)>img {
    transform:translate3d(var(--depth-x,0px),var(--depth-y,0px),0) rotateX(var(--depth-rx,0deg)) rotateY(var(--depth-ry,0deg)) scale(var(--depth-scale,1));
    transform-origin:center;
    transition:transform 650ms cubic-bezier(.2,.75,.25,1);
  }
  .artesia-theme .photo-depth-active>img { transition-duration:160ms; }
}
@media (prefers-reduced-motion:reduce) {
  .artesia-theme :is(.business-card,.event-card):hover,
  .artesia-theme :is(.weekly-art,.opening-photo,.destination-photo,.profile-image,.local-photo,.neighborhood-image)>img { transform:none!important; }
}
