.ie-listening-art {
  position: relative;
  display: grid;
  width: min(100%, 500px);
  aspect-ratio: 1;
  place-items: center;
}

.ie-photo-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.ie-photo-tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 43%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid rgb(255 255 255 / 92%);
  border-radius: 15px;
  background: #ded6f4;
  box-shadow: 0 15px 38px rgb(20 0 54 / 28%), 0 2px 8px rgb(20 0 54 / 18%);
  will-change: transform;
}

.ie-photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ie-photo-orbit.is-static .ie-photo-tile {
  will-change: auto;
}

.ie-photo-motion-toggle {
  position: absolute;
  left: 0;
  bottom: -6%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 29%);
  border-radius: 999px;
  color: rgb(255 255 255 / 88%);
  background: rgb(35 0 82 / 42%);
  font: 600 9px/1 var(--app-font-mono), monospace;
  letter-spacing: .05em;
  cursor: pointer;
}
.ie-photo-motion-toggle:hover {
  color: #fff;
  border-color: rgb(255 255 255 / 65%);
}
.ie-photo-motion-toggle:focus-visible {
  outline: 2px solid #ff7d6a;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ie-listening-art { width: min(100%, 390px); }
}
@media (max-width: 640px) {
  .ie-listening-art { width: min(100%, 300px); margin: 0 auto; }
  .ie-photo-tile { border-width: 2px; border-radius: 11px; }
  .ie-photo-motion-toggle { min-height: 28px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ie-photo-tile { will-change: auto; }
}
