.panorama-hero.panorama-hero--video{display:flex;flex-direction:column;min-height:0}
.panorama-hero--video .panorama-copy{order:0;width:100%;padding-bottom:32px}
.panorama-hero--video .panorama-media{order:1;position:relative;inset:auto;z-index:0;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.045) 3%,rgba(0,0,0,.16) 6%,rgba(0,0,0,.5) 12%,rgba(0,0,0,.84) 18%,rgba(0,0,0,.955) 21%,#000 24%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.045) 3%,rgba(0,0,0,.16) 6%,rgba(0,0,0,.5) 12%,rgba(0,0,0,.84) 18%,rgba(0,0,0,.955) 21%,#000 24%)}
.panorama-hero--video .panorama-media img{width:100%;height:100%;object-fit:contain;object-position:center;mask-image:none;-webkit-mask-image:none}
.panorama-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;pointer-events:none}
.panorama-media.video-ready .panorama-video.is-active{opacity:1}
.panorama-media.video-ready img{opacity:0}
@media(min-width:861px){
  .panorama-hero.panorama-hero--video{min-height:calc(180px + 56.25vw)}
  .panorama-hero--video .panorama-media{position:absolute;inset:180px 0 auto;z-index:-1}
}
@media(max-width:600px){.panorama-hero--video .panorama-copy{padding-bottom:24px}}

.hero-motion-toggle {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 3vw, 48px);
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(107, 30, 46, .32);
  border-radius: 2px;
  background: var(--cream, #f7f6f3);
  color: var(--wine, #6b1e2e);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.hero-motion-symbol {
  box-sizing: border-box;
  width: 9px;
  height: 11px;
  border: solid currentColor;
  border-width: 0 3px;
}
.hero-motion-toggle[data-action="play"] .hero-motion-symbol {
  width: 0;
  height: 0;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent currentColor;
}
@media (min-width: 861px) {
  .hero-motion-toggle { bottom: auto; top: min(64vh, 43vw); }
}
@media (prefers-reduced-motion: reduce) {
  .panorama-media.video-ready .panorama-video.is-active { opacity: 0; }
  .panorama-media.video-ready img { opacity: 1; }
}
