@keyframes sambriq-section-in {
  from {
    opacity: .58;
    translate: var(--motion-x, 0) var(--motion-y, .85rem);
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-motion="left"] { --motion-x: -1.8rem; --motion-y: 0; }
  [data-motion="right"] { --motion-x: 1.8rem; --motion-y: 0; }

  [data-motion].motion-entered:not([data-motion="stagger"]),
  [data-motion="stagger"].motion-entered > [data-motion-item] {
    animation: sambriq-section-in .58s cubic-bezier(.22, .61, .36, 1) backwards;
  }

  [data-motion="stagger"].motion-entered > [data-motion-item]:nth-child(2) {
    animation-delay: 75ms;
  }

  [data-motion="right"].motion-entered {
    animation-delay: 90ms;
  }

  [data-motion="stagger"].motion-entered > [data-motion-item]:nth-child(3) {
    animation-delay: 150ms;
  }

  [data-motion].motion-entered:not([data-motion="stagger"]):focus-within,
  [data-motion="stagger"].motion-entered > [data-motion-item]:focus-within {
    animation: none;
  }
}
