@media (prefers-reduced-motion: no-preference) {
  .motion-title {
    animation: title-focus .78s cubic-bezier(.16, 1, .3, 1) backwards;
  }

  .motion-copy {
    animation: copy-settle .68s .12s cubic-bezier(.22, 1, .36, 1) backwards;
  }

  .motion-plate {
    isolation: isolate;
    animation: plate-open 1.02s cubic-bezier(.2, .75, .2, 1) backwards;
  }

  .motion-plate:focus-within { animation: none; }
  .motion-plate figcaption { z-index: 2; }

  .motion-plate::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 22%, #b96c3a15 39%, #f7d4a34d 52%, #df9d4324 62%, transparent 78%);
    animation: plate-light 1.2s .13s cubic-bezier(.31, .13, .45, .95) both;
  }

  @keyframes title-focus {
    from { opacity: .56; filter: blur(3px); transform: translateY(.5rem); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
  }

  @keyframes copy-settle {
    from { opacity: .72; transform: translateY(.4rem); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes plate-open {
    from { clip-path: inset(4% 38% 4% 3%); opacity: .76; }
    to { clip-path: inset(0); opacity: 1; }
  }

  @keyframes plate-light {
    0% { opacity: 0; transform: translateX(-70%); }
    28% { opacity: .92; }
    75% { opacity: .66; }
    100% { opacity: 0; transform: translateX(72%); }
  }

  @supports (animation-timeline: view()) {
    .motion-plate { view-timeline: --plate-travel block; }
    .motion-plate > img {
      --plate-scale: 1.15;
      --plate-shift: 5%;
      animation: plate-drift linear both;
      animation-timeline: --plate-travel;
      animation-range: cover 0% cover 100%;
    }

    .motion-list > *, .motion-card {
      animation: card-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry var(--card-arrival, 58%);
    }
    .motion-list > :nth-child(3n+2) { --card-arrival: 73%; }
    .motion-list > :nth-child(3n+3) { --card-arrival: 87%; }
    .motion-list > :focus-within, .motion-list > :focus { animation: none; }

    @keyframes plate-drift {
      from { transform: translateY(var(--plate-shift)) scale(var(--plate-scale)); }
      to { transform: translateY(calc(-1 * var(--plate-shift))) scale(var(--plate-scale)); }
    }

    @keyframes card-arrive {
      from { opacity: .58; transform: translateY(1rem) scale(.983); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @media (max-width: 720px) {
      .cover-art.motion-plate:not(:focus-within) {
        animation: plate-open linear both;
        animation-timeline: --plate-travel;
        animation-range: entry 0% entry 77%;
      }
      .cover-art.motion-plate::after {
        animation: plate-light linear both;
        animation-timeline: --plate-travel;
        animation-range: entry 0% entry 100%;
      }
      .motion-plate > img { --plate-scale: 1.08; --plate-shift: 2.5%; }
      .motion-list > :is(:nth-child(3n+2), :nth-child(3n+3)) { --card-arrival: 58%; }
    }
  }
}
