#hero-wrapper {
  position: relative;
  height: calc((var(--hero-scroll) + 2) * 100vh);
}

.page-main--over-hero {
  margin-top: -100vh;
}

#hero-container {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
}

#hero-panel-0 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #111;
}
#hero-panel-0 video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero-panel-1 {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  transform: translateY(100%);
  will-change: transform;
}
#hero-panel-1.is-auto {
  transform: translateY(0%) !important;
  transition: opacity 0.8s ease;
}
#hero-panel-1.is-auto.is-fading-out {
  opacity: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.hero-split-panel {
  position: relative;
  overflow: hidden;
}
.hero-split-panel img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
.hero-split-panel--left img {
  transform: translateY(-100%);
}
.hero-split-panel--right img {
  transform: translateY(100%);
}
.is-active .hero-split-panel img {
  transform: none;
}

.hero-slide-caption {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-slide-caption p {
  font-size: clamp(1em, 2.5vw, 1.6em);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.25em;
  color: #fff;
  opacity: 0;
  transform: translateX(-1.875rem);
}
.is-active .hero-slide-caption p {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 1.2s, transform 0.9s ease 1.2s;
}

.hero-dots {
  position: absolute;
  bottom: 4.5rem;
  right: 1.5rem;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hero-dot {
  width: 0.375rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.is-active {
  background: #fff;
}

@media (width <= 820px) {
  #hero-wrapper {
    height: auto;
  }
  .page-main--over-hero {
    margin-top: 0;
  }
  #hero-container {
    position: relative;
    height: 100svh;
  }
  #hero-panel-1 {
    transform: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    will-change: auto;
  }
  #hero-panel-1.is-active {
    opacity: 1;
  }
  #hero-panel-1.is-auto {
    transform: none !important;
    opacity: 1;
  }
  #hero-panel-1.is-auto.is-fading-out {
    opacity: 0;
  }
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hero-dots {
    display: none;
  }
}
[data-hero=video] #hero-wrapper {
  --hero-scroll: 0;
}
[data-hero=video] #hero-panel-1,
[data-hero=video] .hero-dots {
  display: none;
}

.iframe-ratio-wrap {
  width: 100%;
  margin-top: var(--gap-media);
}
.iframe-ratio-wrap:first-child {
  margin-top: 0;
}

#section-reserve {
  --sec-pt: 0;
}

.sec-parallax {
  position: relative;
  height: var(--parallax-h);
  clip-path: inset(0);
}
.sec-parallax__bg {
  position: fixed;
  inset: 0;
  height: 100lvh;
  background: #3a2e24;
}
.sec-parallax__bg img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--parallax-pos, center);
}
.sec-parallax__body {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  height: 100%;
  color: #fff;
  text-align: center;
}
.sec-parallax--static .sec-parallax__bg {
  position: absolute;
  height: auto;
}
@media (prefers-reduced-motion: reduce) {
  .sec-parallax__bg {
    position: absolute;
    height: auto;
  }
}

.hero-switcher {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(198, 186, 130, 0.5);
  border-radius: 100vmax;
  font-size: 0.75rem;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.hero-switcher__label {
  padding-inline: 0.75em 0.25em;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}
.hero-switcher button {
  padding: 0.6em 1.1em;
  background: none;
  border: 0;
  border-radius: 100vmax;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
@media (hover: hover) {
  .hero-switcher button:hover {
    color: #fff;
  }
}
.hero-switcher button[aria-pressed=true] {
  background: var(--color-gold);
  color: #0a0a0a;
}
@media (width <= 820px) {
  .hero-switcher {
    bottom: 5.6rem;
  }
}
