.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero__media,
.hero__stack,
.hero__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__stack {
  z-index: 0;
  /* continuous slow drift — does NOT restart on slide change */
  transform: scale(1.04);
  animation: hero-breathe 48s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.8s ease;
  pointer-events: none;
  transform: none;
  animation: none;
}

.hero__slide.is-on {
  opacity: 1;
  z-index: 2;
}

.hero__video {
  display: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 42% at 50% 48%, rgba(6, 7, 10, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(4, 5, 8, 0.58) 0%, rgba(4, 5, 8, 0.28) 34%, rgba(4, 5, 8, 0.35) 58%, #07080b 100%);
}

.hero__copy {
  z-index: 22;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 6.5rem 1.5rem 5.5rem;
  text-align: center;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.hero__copy .stay-picker,
.hero__copy a,
.hero__copy button {
  pointer-events: auto;
}

/* dots — bottom of hero */
.hero__dots {
  position: absolute;
  right: 0;
  bottom: 1.4rem;
  left: 0;
  z-index: 20;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  pointer-events: auto;
}

/* BELOW hero — own strip, never over picker/header */
.home-stories {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 1.35rem 1rem 1.6rem;
  background: #07080b;
  border-top: 1px solid rgba(246, 239, 224, 0.08);
  pointer-events: auto;
}

.hero,
.home-stories {
  background-image: none;
}

.home-stories .stories-rail,
.stories-rail--home {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.1rem 1.45rem;
  margin: 0;
  max-width: min(52rem, 100%);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-stories .stories-rail::-webkit-scrollbar {
  display: none;
}

.home-stories .stories-rail__orb,
.stories-rail--home .stories-rail__orb {
  width: 4.85rem !important;
  height: 4.85rem !important;
  border: 2px solid rgba(246, 239, 224, 0.42);
  padding: 3px;
  background: #12141a;
}

.home-stories .stories-rail__caption,
.stories-rail--home .stories-rail__caption {
  max-width: 5.4rem;
  color: rgba(246, 239, 224, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .hero__dots {
    bottom: 1.1rem;
  }

  .home-stories .stories-rail__orb,
  .stories-rail--home .stories-rail__orb {
    width: 4.1rem !important;
    height: 4.1rem !important;
  }
}

.hero__dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 239, 224, 0.38);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

/* expand click target without visual size jump */
.hero__dot::before {
  content: "";
  position: absolute;
  inset: -0.55rem;
}

.hero__dot:hover {
  background: rgba(246, 239, 224, 0.75);
  transform: scale(1.15);
}

.hero__dot.is-on {
  background: rgba(246, 239, 224, 0.98);
  transform: scale(1.2);
}

.hero__dot:focus-visible {
  outline: 1px solid rgba(246, 239, 224, 0.7);
  outline-offset: 4px;
}

.hero__kicker,
.hero__title,
.hero__sub,
.hero .stay-picker {
  opacity: 0;
  transform: translateY(14px);
}

.hero.is-ready .hero__kicker,
.hero.is-ready .hero__title,
.hero.is-ready .hero__sub,
.hero.is-ready .stay-picker {
  opacity: 1;
  transform: none;
  transition: opacity 1.4s var(--ease-silk), transform 1.4s var(--ease-silk);
}

.hero.is-ready .hero__title { transition-delay: 0.18s; }
.hero.is-ready .hero__sub { transition-delay: 0.34s; }
.hero.is-ready .stay-picker { transition-delay: 0.52s; }

.hero__kicker {
  margin: 0 0 1.6rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--paper-dim);
}

.hero__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__sub {
  margin: 1.15rem 0 0;
  font-family: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--paper-dim);
}

/* slow continuous drift on whole stack */
@keyframes hero-breathe {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.1%, -0.55%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__stack {
    animation: none;
    transform: scale(1.02);
  }

  .hero__slide {
    transition: none;
  }

  .hero.is-ready .hero__kicker,
  .hero.is-ready .hero__title,
  .hero.is-ready .hero__sub,
  .hero.is-ready .stay-picker {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
