/* The voiceprint reacts to horizontal drags without taking over vertical scroll. */
.home-orbital-preview .hm-waveform {
  position: relative;
  display: block;
  width: min(1040px, calc(100% - 64px));
  height: clamp(200px, 20vw, 248px);
  margin: 48px auto 40px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  contain: layout paint;
}
.home-orbital-preview .hm-waveform[tabindex] { cursor: grab; }
.home-orbital-preview .hm-waveform[data-dragging] { cursor: grabbing; }
.home-orbital-preview .hm-waveform:focus-visible {
  outline: 1px solid #efc6db;
  outline-offset: -3px;
}
.home-orbital-preview .hm-waveform canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (max-width: 700px) {
  .home-orbital-preview .hm-waveform {
    width: calc(100% - 24px);
    height: 174px;
    margin: 30px auto 26px;
  }
}
