:root {
  --aqua-duration-quick: 130ms;
  --aqua-duration-standard: 230ms;
  --aqua-duration-deliberate: 380ms;
  --aqua-duration-editorial: 540ms;
  --aqua-ease-enter: cubic-bezier(.18, .9, .25, 1);
  --aqua-ease-state: cubic-bezier(.22, .65, .32, 1);
  --aqua-motion-feedback: var(--aqua-duration-quick);
  --aqua-motion-disclosure: var(--aqua-duration-standard);
  --aqua-motion-panel: var(--aqua-duration-deliberate);
  --aqua-motion-image: var(--aqua-duration-editorial);
}

@keyframes aqua-panel-enter {
  from { opacity: .78; translate: 1.4rem 0; }
  to { opacity: 1; translate: 0; }
}
@keyframes aqua-panel-shade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes aqua-photo-compose {
  from { clip-path: inset(2% 0 round .25rem); scale: 1.035; }
  to { clip-path: inset(0); scale: 1; }
}
@keyframes aqua-photo-switch {
  from { opacity: .66; scale: .991; }
  to { opacity: 1; scale: 1; }
}
@keyframes aqua-detail-enter {
  from { opacity: .75; translate: 0 -.25rem; }
  to { opacity: 1; translate: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .aqua-menu-sheet[open] { animation: aqua-panel-enter var(--aqua-motion-panel) var(--aqua-ease-enter) both; }
  .aqua-menu-sheet[open]::backdrop { animation: aqua-panel-shade var(--aqua-motion-disclosure) var(--aqua-ease-state) both; }
  .aqua-editorial .editorial-hero-image { animation: aqua-photo-compose var(--aqua-motion-image) var(--aqua-ease-enter) both; }
  .aqua-editorial .editorial-disclosure[open] .editorial-answer { animation: aqua-detail-enter var(--aqua-motion-disclosure) var(--aqua-ease-state) both; }
  .aqua-lightbox[open] img { animation: aqua-photo-switch var(--aqua-motion-disclosure) var(--aqua-ease-state) both; }
  .aqua-menu-row { transition: background-color var(--aqua-motion-feedback), color var(--aqua-motion-feedback); }
  .aqua-menu-row [aria-hidden] { transition: translate var(--aqua-motion-feedback) var(--aqua-ease-state); }
  .aqua-menu-row:is(:hover,:focus-visible) [aria-hidden] { translate: .2rem 0; }
  .aqua-guide-button, .aqua-menu-close { transition: filter var(--aqua-motion-feedback), scale var(--aqua-motion-feedback) var(--aqua-ease-state); }
  .aqua-guide-button:active, .aqua-menu-close:active { scale: .97; }
}
@media (prefers-reduced-motion: no-preference) {
  .aqua-editorial .aqua-enter > img { animation: aqua-photo-switch var(--aqua-motion-disclosure) var(--aqua-ease-state) both; }
}
