/* Homepage services: the same mobile stacking offsets as selected work. */
@media (max-width:767px) and (prefers-reduced-motion:no-preference) {
 body.home #services .wps-grid {isolation:isolate}
 body.home #services .wps-card {position:sticky;top:4rem;align-self:start}
 body.home #services .wps-card:nth-child(1) {z-index:1}
 body.home #services .wps-card:nth-child(2) {z-index:2}
 body.home #services .wps-card:nth-child(3) {z-index:3}
}
@media (max-width:575px) and (prefers-reduced-motion:no-preference) {
 body.home #services .wps-card {top:3rem}
}
/* A restrained lift on devices with a mouse or trackpad. */
@media (min-width:768px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 body.home #services .wps-card {transition:transform .25s ease,box-shadow .25s ease}
 body.home #services .wps-card:hover,
 body.home #services .wps-card:focus-within {transform:translateY(-5px);box-shadow:0 12px 28px rgb(0 0 0 / .09)}
 html[data-theme=dark] body.home #services .wps-card:hover,
 html[data-theme=dark] body.home #services .wps-card:focus-within {box-shadow:0 12px 28px rgb(0 0 0 / .25)}
}
/* Leave enough space to read a full card on short landscape screens. */
@media (max-width:767px) and (max-height:450px) {
 body.home #services .wps-card {position:relative;top:auto}
}
