.service-motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 2.5rem 0 3.5rem;
}

.service-motion-card {
  --motion-delay: 0s;
  position: relative;
  min-height: clamp(320px, 36vw, 500px);
  overflow: hidden;
  isolation: isolate;
  background: #183f42;
  border-radius: 1.5rem;
  box-shadow: 0 18px 48px rgba(14, 48, 50, 0.16);
}

.service-motion-card:nth-child(2) { --motion-delay: .35s; }
.service-motion-card:nth-child(3) { --motion-delay: .7s; }

.service-motion-image {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  transform: scale(1.01);
  filter: blur(0);
  opacity: 1;
  will-change: transform, filter, opacity;
}

.service-motion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 35, 37, .04), rgba(9, 35, 37, .18));
  opacity: .5;
}

.service-motion-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 2.4vw, 2.25rem);
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  text-shadow: 0 2px 22px rgba(0, 0, 0, .28);
}

.service-motion-copy span {
  width: 2.7rem;
  height: 2px;
  margin-bottom: 1rem;
  background: #e8b75b;
}

.service-motion-copy h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.service-motion-copy p {
  max-width: 30ch;
  margin: .85rem 0 0;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}

.service-motion-card.is-playing .service-motion-image {
  animation: service-image-finish 4.1s cubic-bezier(.22, .61, .36, 1) var(--motion-delay) forwards;
}

.service-motion-card.is-playing::after {
  animation: service-overlay-finish 4.1s ease var(--motion-delay) forwards;
}

.service-motion-card.is-playing .service-motion-copy {
  animation: service-copy-finish .95s cubic-bezier(.22, .61, .36, 1) calc(var(--motion-delay) + 2.65s) forwards;
}

@keyframes service-image-finish {
  0% { transform: scale(1.01); filter: blur(0); opacity: 1; }
  62% { transform: scale(1.09); filter: blur(0); opacity: 1; }
  100% { transform: scale(1.15); filter: blur(6px); opacity: .28; }
}

@keyframes service-overlay-finish {
  0%, 58% { opacity: .5; background: linear-gradient(180deg, rgba(9, 35, 37, .04), rgba(9, 35, 37, .18)); }
  100% { opacity: 1; background: linear-gradient(180deg, rgba(17, 66, 70, .74), rgba(9, 35, 37, .96)); }
}

@keyframes service-copy-finish {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 780px) {
  .service-motion-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0 3rem;
  }

  .service-motion-card {
    min-height: min(116vw, 470px);
  }

  .service-motion-card:nth-child(n) { --motion-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  .service-motion-card.is-playing .service-motion-image,
  .service-motion-card.is-playing::after,
  .service-motion-card.is-playing .service-motion-copy {
    animation: none;
  }

  .service-motion-image {
    transform: scale(1.08);
    filter: blur(5px);
    opacity: .3;
  }

  .service-motion-card::after { opacity: 1; }

  .service-motion-copy {
    opacity: 1;
    transform: none;
  }
}
