/* The hero is manually controlled: no timer, autoplay, or motion dependency. */
.hero-carousel {
  position: relative;
  min-width: 0;
  min-height: clamp(420px, 52vw, 660px);
  display: flex;
  flex-direction: column;
  background: #eee4df;
}
.hero-carousel__stage {
  position: relative;
  flex: 1;
  min-height: 360px;
  touch-action: pan-y pinch-zoom;
}
.hero-carousel__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
}
.hero-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 8px 16px;
  color: #241b19;
  background: #f3e9e4;
}
.hero-carousel__arrow,
.hero-carousel__dot {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease-out;
}
.hero-carousel__dots { display: flex; }
.hero-carousel__dot { min-width: 32px; }
.hero-carousel__dot span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #806c63;
}
.hero-carousel__dot[aria-current="true"] span {
  width: 10px;
  height: 10px;
  background: #241b19;
}
.hero-carousel__count {
  min-width: 38px;
  margin-inline: 4px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.hero-carousel button:hover { background: #e4d3c9; }
.hero-carousel button:focus-visible {
  outline: 2px solid #75483e;
  outline-offset: 1px;
}
@media (max-width: 760px) {
  .hero-carousel { min-height: 0; }
  .hero-carousel__stage { flex: none; min-height: 0; aspect-ratio: 4 / 5; }
  .hero-carousel__controls { gap: 2px; padding-inline: 6px; }
  .hero-carousel__dot { min-width: 28px; }
}
@media (max-width: 360px) {
  .hero-carousel__dot { min-width: 24px; }
  .hero-carousel__count { margin-inline: 0; min-width: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel button { transition: none; }
}
