/* Cinematic, full-screen destination scenes. All selectors stay page-scoped. */
html.destinations-document {
  scroll-snap-type: y mandatory;
  scroll-padding: 0;
  scrollbar-width: none;
}

html.destinations-document::-webkit-scrollbar { display: none; }

body.destinations-page {
  min-width: 320px;
  overflow-x: clip;
  background: #080808;
  color: #fff;
}

.destinations-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(17px, 2.8vw, 42px)) 0 24px;
}

.destinations-header::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 150px;
  background: linear-gradient(180deg, rgba(5, 7, 9, .58), rgba(5, 7, 9, .14) 62%, transparent);
  content: "";
  pointer-events: none;
}

.destinations-header .site-header__inner {
  width: min(calc(100% - clamp(40px, 8vw, 150px)), 1760px);
  max-width: none;
}

.destinations-header .brand { width: clamp(126px, 12vw, 166px); }
.destinations-header .primary-nav a { font-size: 12px; letter-spacing: .035em; }
.destinations-header .menu-toggle__label { display: none; }

.destination-deck { position: relative; }

.destination-scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #080808;
}

.destination-scene__background,
.destination-scene__picture,
.destination-scene__image,
.destination-scene__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.destination-scene__background { z-index: 0; overflow: hidden; }

.destination-scene__image {
  display: block;
  object-fit: cover;
  object-position: var(--desktop-object-position, center top);
}

.destination-scene__background .destination-scene__image {
  opacity: 1;
  transform: scale(1.025) translate3d(0, calc(var(--scene-offset, 0) * -1.3%), 0);
  transition: opacity 900ms ease, transform 1500ms cubic-bezier(.22, .72, .2, 1);
}

.destination-scene.is-active .destination-scene__background .destination-scene__image {
  opacity: 1;
  transform: scale(1.015) translate3d(0, calc(var(--scene-offset, 0) * -1.3%), 0);
}

.destination-scene__wash {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 6, 8, .32) 0%, rgba(4, 6, 8, .08) 14%, transparent 28%),
    linear-gradient(0deg, rgba(4, 6, 8, .72) 0%, rgba(4, 6, 8, .40) 24%, rgba(4, 6, 8, .08) 56%, transparent 78%);
  pointer-events: none;
}

.destination-scene__copy {
  position: absolute;
  z-index: 4;
  bottom: clamp(58px, 9vh, 104px);
  left: clamp(110px, 10vw, 180px);
  width: min(530px, 44vw);
  opacity: 0;
  transform: translate3d(0, calc(18px + var(--scene-offset, 0) * -.2rem), 0);
  transition: opacity 650ms ease 220ms, transform 820ms cubic-bezier(.2, .72, .2, 1) 210ms;
}

.destination-scene.is-active .destination-scene__copy {
  opacity: 1;
  transform: translate3d(0, calc(var(--scene-offset, 0) * -.2rem), 0);
}

.destination-scene__number {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .19em;
}

.destination-scene__number span:nth-child(2) { color: var(--gold-light); }

.destination-scene__subtitle {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.17;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .38);
}

.destination-scene__cta {
  display: inline-flex;
  min-width: 44px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 17px;
  padding: 0 21px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(9, 11, 13, .10);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .15em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.destination-scene__cta .arrow-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 220ms ease;
}

.destination-scene__image-note {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 4.6vw, 70px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 25px);
  color: rgba(255, 255, 255, .75);
  font-size: 9px;
  letter-spacing: .11em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  text-transform: uppercase;
}

.destination-rail {
  position: fixed;
  z-index: 7;
  top: 50%;
  left: clamp(20px, 4.5vw, 68px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transform: translateY(-43%);
}

.destination-rail__button {
  position: relative;
  display: flex;
  width: 42px;
  min-height: 33px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 3px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  font: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color 220ms ease;
}

.destination-rail__button::after {
  position: absolute;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transition: width 260ms ease;
}

.destination-rail__button[aria-current="true"] { color: #fff; font-weight: 700; }
.destination-rail__button[aria-current="true"]::after { width: 15px; }
.destination-rail__button:hover { color: var(--gold-light); }

.destination-rail__continue {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-top: 13px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: rgba(8, 8, 8, .12);
  color: #fff;
  cursor: pointer;
  animation: destination-cue 2.3s ease-in-out infinite;
  transition: border-color 220ms ease, color 220ms ease;
}

.destination-rail__continue .arrow-icon,
.destination-mobile-nav .arrow-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.destination-rail__continue:hover { border-color: var(--gold-light); color: var(--gold-light); }
.destination-rail__continue:disabled { visibility: hidden; }

.destination-mobile-nav { display: none; }

.destination-rail__button:focus-visible,
.destination-rail__continue:focus-visible,
.destination-mobile-nav button:focus-visible,
.destination-scene__cta:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.destinations-noscript {
  position: fixed;
  z-index: 20;
  inset: 50% 20px auto;
  transform: translateY(-50%);
  color: #fff;
  text-align: center;
}

@keyframes destination-cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (hover: hover) and (pointer: fine) {
  .destination-scene__cta:hover { border-color: var(--gold-light); background: rgba(201, 163, 91, .14); color: #fff; }
  .destination-scene__cta:hover .arrow-icon { transform: translateX(3px); }
}

@media (max-width: 980px) {
  .destinations-header { padding-top: calc(env(safe-area-inset-top, 0px) + 17px); }
  .destinations-header .site-header__inner { width: min(calc(100% - 42px), 760px); }
  .destinations-header .primary-nav { right: 5.5vw; }
}

@media (max-width: 760px) {
  html.destinations-document { scroll-snap-type: y mandatory; }
  .destination-scene__image {
    object-fit: contain;
    object-position: var(--mobile-object-position, center);
  }
  .destination-scene__wash {
    background:
      linear-gradient(180deg, rgba(4, 6, 8, .30) 0%, rgba(4, 6, 8, .06) 18%, transparent 34%),
      linear-gradient(0deg, rgba(4, 6, 8, .88) 0%, rgba(4, 6, 8, .70) 22%, rgba(4, 6, 8, .24) 45%, transparent 70%);
  }
  .destination-scene__copy {
    right: 22px;
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    left: 22px;
    width: auto;
    max-width: 420px;
  }
  .destination-scene__number { margin-bottom: 7px; font-size: 10px; }
  .destination-scene__subtitle { max-width: 370px; font-size: clamp(1.4rem, 6.2vw, 1.72rem); line-height: 1.14; }
  .destination-scene__cta { min-height: 46px; margin-top: 14px; padding-inline: 17px; font-size: 9px; }
  .destination-scene__image-note { display: none; }
  .destination-rail { display: none; }
  .destination-mobile-nav {
    position: fixed;
    z-index: 7;
    right: 17px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 13px);
    left: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
  }
  .destination-mobile-nav__step {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background: rgba(8, 8, 8, .22);
    color: #fff;
    cursor: pointer;
  }
  .destination-mobile-nav__step:disabled { opacity: .36; cursor: default; }
  .destination-mobile-nav__progress { display: flex; min-width: 0; flex: 1; align-items: center; gap: 3px; }
  .destination-mobile-nav__mark {
    position: relative;
    display: flex;
    min-width: 0;
    height: 44px;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .destination-mobile-nav__mark::before {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45);
    content: "";
    transition: background-color 220ms ease, height 220ms ease;
  }
  .destination-mobile-nav__mark[aria-pressed="true"]::before { height: 3px; background: var(--gold-light); }
}

@media (max-width: 380px) {
  .destination-scene__copy { right: 19px; left: 19px; bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .destination-scene__subtitle { font-size: 1.36rem; }
  .destination-mobile-nav { right: 13px; left: 13px; gap: 6px; }
  .destination-mobile-nav__step { width: 42px; height: 42px; flex-basis: 42px; }
  .destination-mobile-nav__progress { gap: 2px; }
}

@media (max-height: 520px) and (min-width: 761px) {
  .destination-scene__copy { bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); }
  .destination-scene__subtitle { font-size: clamp(1.1rem, 2.3vh, 1.45rem); }
  .destination-scene__cta { min-height: 40px; margin-top: 10px; }
  .destination-rail { gap: 0; }
  .destination-rail__button { min-height: 26px; }
  .destination-rail__continue { width: 36px; height: 36px; margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html.destinations-document { scroll-behavior: auto; }
  .destination-scene__background .destination-scene__image,
  .destination-scene__copy,
  .destination-scene__cta,
  .destination-mobile-nav__mark::before { transition: opacity 160ms ease; }
  .destination-scene__background .destination-scene__image,
  .destination-scene.is-active .destination-scene__background .destination-scene__image,
  .destination-scene__copy,
  .destination-scene.is-active .destination-scene__copy { transform: none; }
  .destination-rail__continue { animation: none; }
}
