/* Same-origin documents opt in together. Links, fragment navigation and
   browser history retain their native behavior on every device. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 160ms;
    animation-timing-function: ease-out;
  }

  #sheet[open] {
    animation: unfold-pickup-sheet 210ms cubic-bezier(.2,.7,.25,1);
  }
  #sheet[open]::backdrop {
    animation: soften-counter 180ms ease-out;
  }

  .season-row[open] > .special-recipe {
    animation: unfold-recipe 170ms ease-out;
  }
}

@keyframes unfold-pickup-sheet {
  from { opacity: .86; transform: translateY(11px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes soften-counter {
  from { opacity: .75; }
  to   { opacity: 1; }
}
@keyframes unfold-recipe {
  from { opacity: .86; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}
