.hero-art > picture, .hero-art > picture > img { display: block; width: 100%; height: 100%; }
.hero-art > picture > img { object-fit: cover; object-position: center; }
.hero.has-model .hero-art { z-index: 0; }
.hero.has-model .hero-art::after { z-index: 2; pointer-events: none; }
.hero.has-model .hero-inner { z-index: 1; pointer-events: none; }
.hero.has-model .hero-copy,
.hero.has-model .hero-inner :is(a, button) { pointer-events: auto; }

.model-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.model-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.model-stage::before {
  content: "";
  position: absolute;
  left: 43%;
  top: 88%;
  width: 27%;
  height: 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / .38) 0%, transparent 71%);
  filter: blur(5px);
}
.model-control {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 clamp(22px,5%,64px) clamp(21px,5%,40px) 0;
  border: 0;
  background: transparent;
  color: white;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.model-grip {
  position: absolute;
  left: var(--jar-left,58%); top: var(--jar-top,47%);
  width: var(--jar-width,42%); height: var(--jar-height,68%);
  transform: translate(-50%,-50%); border-radius: 24%;
}
.model-grip, .model-hint { pointer-events: auto; touch-action: none; cursor: grab; }
.model-control:active :is(.model-grip,.model-hint) { cursor: grabbing; }
.model-control:focus-visible { outline: none; }
.model-control:focus-visible .model-hint { outline: 3px solid #ffc395; outline-offset: 3px; }
.model-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid rgb(255 255 255 / .54);
  border-radius: 30px;
  color: #202023;
  background: rgb(250 247 239 / .94);
  box-shadow: 0 2px 10px rgb(0 0 0 / .20);
  font-size: .8125rem;
  line-height: 1.3;
  font-weight: 620;
}
.model-hint svg { width: 18px; height: 18px; }
.model-control:is(:hover,:focus-visible) .model-hint { background: #fff6e7; border-color: #ffd1a8; }
.model-instructions {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .model-control { padding: 0 18px 17px; }
  .hero.has-model .hero-art { z-index: 0; }
}
