@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in {
    from { opacity: .42; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes portrait-in {
    from { opacity: .55; transform: translate(-50%, -46%) scale(.965); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
  @keyframes reveal-answer {
    from { opacity: .45; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-photo img { animation: portrait-in 620ms cubic-bezier(.2, .7, .25, 1) both; }
  .hero-copy > * { animation: rise-in 460ms cubic-bezier(.2, .7, .25, 1) both; }
  .hero-copy > :is(.method, .signature) { animation-delay: 65ms; }
  .hero-copy > h1 { animation-delay: 125ms; }
  .hero-copy > .intro { animation-delay: 185ms; }
  .hero-copy > .button { animation-delay: 235ms; }

  .motion-in {
    animation: rise-in 430ms cubic-bezier(.2, .7, .25, 1) var(--motion-delay, 0ms) both;
  }
  details[open] > p { animation: reveal-answer 200ms ease-out both; }
  .button { transition: background 180ms ease, translate 180ms ease, box-shadow 180ms ease; }
  .button:active { translate: 0 1px; }

  @media (hover: hover) and (pointer: fine) {
    .button:hover { translate: 0 -2px; box-shadow: 0 8px 20px #260b1b40; }
    .pillar-grid article { transition: translate 200ms ease, box-shadow 200ms ease; }
    .pillar-grid article:hover { translate: 0 -3px; box-shadow: var(--shadow); }
  }
}
