.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #a3124f, #c9974a); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .nav-links.open, .c-nav-links.is-open { animation: menu-unfold .3s cubic-bezier(.16,1,.3,1); transform-origin: top; }
  dialog[open] { animation: photo-open .3s cubic-bezier(.16,1,.3,1); }
  dialog[open]::backdrop { animation: backdrop-open .3s ease-out; }
  .rental-gallery-controls button { transition: transform .2s, background .2s, color .2s; }
  .rental-gallery-controls button:active { transform: scale(.9); background: #a3124f; color: #fff; }
  .rental-gallery-image img, .catalog-photo img { transition: transform .55s cubic-bezier(.16,1,.3,1); }
  .rental-gallery-image:active img, .catalog-photo:active img { transform: scale(1.035); }
  .rental-gallery-controls button:last-child { animation: gallery-invitation 5s ease-in-out 2 paused; }
  .ornament svg { animation: botanical-sway 7s ease-in-out 2 paused; transform-origin: bottom center; }
  .rental-gallery-controls.motion-playing button:last-child, .ornament.motion-playing svg { animation-play-state: running; }
  .text-link span, .btn > span, .c-button > span { display: inline-block; transition: transform .25s; }
  .text-link:active span, .btn:active > span, .c-button:active > span { transform: translateX(4px); }
  @media (hover: hover) {
    .rental-gallery-image:hover img, .catalog-photo:hover img { transform: scale(1.035); }
    .text-link:hover span, .btn:hover > span, .c-button:hover > span { transform: translateX(4px); }
  }
}
@keyframes menu-unfold { from { opacity: 0; transform: translateY(-8px) scaleY(.96); } to { opacity: 1; transform: none; } }
@keyframes photo-open { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes backdrop-open { from { opacity: 0; } to { opacity: 1; } }
@keyframes gallery-invitation { 0%, 75%, 100% { transform: translateX(0); } 83% { transform: translateX(4px); } 91% { transform: translateX(0); } }
@keyframes botanical-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .reading-progress { display: none; } }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: page-out .18s ease-in both; }
  ::view-transition-new(root) { animation: page-in .3s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
