/* One poster entrance, followed by feedback tied to user actions. */
:root {
  --motion-shift: 32px;
  --motion-nudge: 8px;
  --motion-press: .97;
  --motion-zoom: 1.035;
  --motion-stagger: 100ms;
  --motion-short: 600ms;
  --motion-long: 900ms;
}
.hero-top, .hero-image { animation: none; }
.headline-line { display: block; transform-origin: left center; }
.hero-kicker { animation: poster-copy var(--motion-short) var(--ease) both; }
.headline-line { animation: poster-type var(--hero-speed) var(--ease) both; }
.headline-line + .headline-line { animation-delay: var(--motion-stagger); }
.hero-copy { animation: poster-copy var(--hero-speed) var(--ease) both; animation-delay: var(--motion-stagger); }
.spark { animation: poster-star var(--motion-long) var(--ease) both; }
.hero-image { overflow: hidden; }
.hero-image > img { animation: poster-photo var(--motion-long) var(--ease) both; }
.hero-image figcaption { animation: poster-copy var(--hero-speed) var(--ease) both; animation-delay: var(--motion-stagger); }
@keyframes poster-type {
  from { transform: translateX(calc(var(--motion-shift) * -1)) scale(.94); opacity: .35; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes poster-copy {
  from { transform: translateY(var(--motion-nudge)); opacity: .4; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes poster-star {
  from { transform: rotate(-90deg) scale(.6); }
  to { transform: rotate(0) scale(1); }
}
@keyframes poster-photo {
  from { transform: scale(var(--motion-zoom)); }
  to { transform: scale(1); }
}
.button { transition: transform var(--ui-speed) ease-out, background var(--ui-speed) ease-out, color var(--ui-speed) ease-out; }
.button span, .booking-arrow, .event-list h3, .event-list .arrow {
  transition: transform var(--ui-speed) ease-out, background var(--ui-speed) ease-out, color var(--ui-speed) ease-out;
}
.button:is(:hover,:focus-visible) span { transform: translate(var(--s1), calc(var(--s1) * -1)); }
.button:active, .clip-chooser button:active { transform: scale(var(--motion-press)); }
.event-list a:is(:hover,:focus-visible) h3 { transform: translateX(var(--motion-nudge)); }
.event-list a:is(:hover,:focus-visible) .arrow { transform: translate(var(--s1), calc(var(--s1) * -1)); }
.booking-arrow:is(:hover,:focus-visible) { transform: rotate(45deg); }
input, select, textarea { transition: border-color var(--ui-speed) ease-out, background var(--ui-speed) ease-out; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); background: var(--lavender); }
.email-ready:not([hidden]) { animation: poster-copy var(--ui-speed) ease-out; }
.sound-bars i { transform-origin: center; }
.live-section.is-playing .sound-bars i { animation: live-meter var(--motion-short) ease-in-out infinite alternate; }
.live-section.is-playing .sound-bars i:nth-child(2n) { animation-duration: var(--hero-speed); animation-delay: calc(var(--motion-stagger) * -1); }
.live-section.is-playing .sound-bars i:nth-child(3n) { animation-duration: var(--motion-long); animation-delay: calc(var(--motion-stagger) * -3); }
@keyframes live-meter { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
@media (max-width:760px) {
  .site-nav.open { animation: menu-open var(--ui-speed) ease-out; transform-origin: top; }
  .live-aside .sound-bars { display:flex; }
  @keyframes menu-open { from { transform: translateY(calc(var(--motion-nudge) * -1)); opacity:.4; } to { transform:translateY(0); opacity:1; } }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none!important; transition:none!important; }
  .button:active, .clip-chooser button:active, .button:is(:hover,:focus-visible) span,
  .event-list a:is(:hover,:focus-visible) h3, .event-list a:is(:hover,:focus-visible) .arrow,
  .booking-arrow:is(:hover,:focus-visible) { transform:none; }
}
