/* Small mouse feedback; the clip compensates scale to retain the visible photo frame. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.route-home, .route-specialists) .specialist-card-photo {
    transform: scale(1);
    transform-origin: center;
    clip-path: inset(0 round 13px 13px 0 0);
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1),
                clip-path 200ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  :is(.route-home, .route-specialists) .specialist-card-photo:hover {
    transform: scale(1.035);
    clip-path: inset(calc(50% - 50% / 1.035) round calc(13px / 1.035) calc(13px / 1.035) 0 0);
  }
}
