.hero-photo-extra {
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero-photo-extra.is-visible {
  opacity: 1;
}

.hero-photo-controls {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: 16px;
}

.hero-photo-controls:not([hidden]) {
  display: flex;
  gap: 8px;
}

.hero-photo-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff6;
  border-radius: 50%;
  background: linear-gradient(155deg, #ffffff40, #071f2a80);
  box-shadow: inset 0 1px #ffffff59, 0 3px 10px #071f2a40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  cursor: pointer;
}

.hero-photo-controls button:hover {
  background: linear-gradient(155deg, #ffffff60, #071f2a90);
}

.hero-photo-controls button:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.hero-photo-controls span {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

.hero-photo-controls button:first-child span {
  transform: translateX(2px) rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-extra {
    transition: none;
  }
}
