.destination-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cb-space-4);
  padding: 0 clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(219, 227, 236, 0.82);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(8, 35, 72, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.destination-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.destination-brand img {
  display: block;
  width: clamp(126px, 15vw, 176px);
  height: 42px;
  object-fit: contain;
}

.destination-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.65rem, 2vw, 1.5rem);
}

.destination-header-actions > a:not(.btn) {
  color: var(--cb-ocean-900);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.destination-header-actions > a:not(.btn):hover {
  color: var(--cb-coral-600);
}

.destination-header .btn {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: var(--cb-radius-pill);
}

.destination-landing {
  padding-top: 104px;
}

.destination-location-photo {
  margin: 28px 0;
  background: white;
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  overflow: hidden;
}
.destination-location-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
}
.destination-location-photo figcaption { padding: 18px 22px; color: #45566b; font-size: 14px; line-height: 1.7; }
.destination-location-photo figcaption strong { display: block; color: #0a3d5c; font-size: 18px; }
.destination-location-photo .photo-attribution { display: block; margin-top: 8px; font-size: 12px; }
.destination-location-photo a { color: #244d78; text-decoration: underline; text-underline-offset: 3px; }
.destination-contact { padding: 24px; text-align: center; background: #062a42; color: white; font-size: 14px; }
.destination-contact a { color: white; text-decoration: underline; overflow-wrap: anywhere; }

.destination-breadcrumbs {
  margin: 0 0 var(--cb-space-6);
  color: var(--cb-muted);
  font-size: 0.9rem;
}

.destination-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.destination-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.65rem;
  color: #9aa6b4;
}

.destination-breadcrumbs a {
  color: var(--cb-ocean-700);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

.destination-breadcrumbs a:hover {
  text-decoration-color: currentColor;
}

.destination-experience {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(1.8rem, 4vw, 3rem) 0;
  padding: clamp(1.25rem, 3.6vw, 2.5rem);
  border: 1px solid rgba(15, 88, 118, 0.14);
  border-radius: var(--cb-radius-xl);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 246, 236, 0.96), transparent 48%),
    linear-gradient(135deg, #ffffff, #f2f8fa 70%, #e8f3f5);
  box-shadow: var(--cb-shadow-card);
}

.destination-experience::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6rem;
  bottom: -8rem;
  width: 19rem;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 143, 165, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.8rem rgba(23, 143, 165, 0.035),
    0 0 0 3.6rem rgba(23, 143, 165, 0.025);
  pointer-events: none;
}

.destination-experience-copy {
  max-width: 34rem;
}

.destination-experience-copy .eyebrow {
  margin: 0 0 0.7rem;
  color: var(--cb-ocean-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.destination-experience-copy h2 {
  max-width: 12ch;
  margin: 0 0 0.9rem;
  color: var(--cb-ocean-950);
  font-family: var(--cb-font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.12;
}

.destination-experience-description {
  margin: 0 0 1.4rem;
  color: #48596c;
  font-size: 1rem;
  line-height: 1.7;
}

.destination-experience-copy .btn {
  min-height: 48px;
  border-radius: var(--cb-radius-pill);
}

.destination-scene-explorer {
  min-width: 0;
  position: relative;
}

.destination-scene-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 315px;
  aspect-ratio: 1.42 / 1;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--cb-radius-lg);
  background:
    radial-gradient(circle at 78% 19%, rgba(255, 218, 157, 0.96) 0 5%, transparent 5.3%),
    linear-gradient(160deg, #c5e9ee 0%, #d9edf0 43%, #83c8d0 44%, #166d89 100%);
  box-shadow: var(--cb-shadow-float);
  cursor: grab;
  touch-action: pan-y;
}

.destination-scene-stage::before,
.destination-scene-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.destination-scene-stage::before {
  inset: auto -12% -38% -12%;
  height: 75%;
  border-radius: 50%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.11) 0 1px,
    transparent 1px 17px
  );
  opacity: 0.8;
  transform: rotate(-7deg);
}

.destination-scene-stage::after {
  top: 8%;
  left: 8%;
  width: 26%;
  height: 14%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  filter: blur(18px);
}

.destination-scene-stage:focus-visible,
.destination-scene-controls button:focus-visible,
.destination-header a:focus-visible {
  outline: 3px solid var(--cb-coral-600);
  outline-offset: 4px;
}

.destination-scene-stage.is-dragging {
  cursor: grabbing;
}

.destination-scene-diorama {
  position: absolute;
  inset: 8% 5% 3%;
  transform:
    perspective(1050px)
    rotateX(var(--coast-tilt, 52deg))
    rotateZ(var(--coast-rotation, 0deg))
    scale(var(--coast-zoom, 1));
  transform-style: preserve-3d;
  transition: transform var(--cb-motion-smooth);
  will-change: transform;
}

.is-dragging .destination-scene-diorama {
  transition: none;
}

.destination-scene-sun {
  position: absolute;
  z-index: 2;
  top: 5%;
  right: 13%;
  width: clamp(2.5rem, 7vw, 4rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff8d9, #ffb965);
  box-shadow: 0 0 42px rgba(255, 197, 111, 0.65);
  transform: translateZ(68px);
}

.destination-scene-water {
  position: absolute;
  inset: 42% -3% -3%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50% 50% 0 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(255, 255, 255, 0.16) 13px 14px),
    linear-gradient(165deg, #42adbd, #0e607f 76%);
  box-shadow: 0 20px 30px rgba(8, 35, 72, 0.18);
  transform: translateZ(-8px);
}

.destination-scene-island {
  position: absolute;
  top: 24%;
  left: 7%;
  width: 80%;
  height: 58%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 44% 51% 38% 54%;
  background:
    radial-gradient(ellipse at 26% 42%, rgba(254, 226, 174, 0.94) 0 10%, transparent 10.5%),
    radial-gradient(ellipse at 65% 40%, rgba(88, 155, 116, 0.88) 0 19%, transparent 19.5%),
    radial-gradient(ellipse at 39% 69%, rgba(130, 177, 122, 0.92) 0 18%, transparent 18.5%),
    linear-gradient(132deg, #d9bd85 4%, #a3bd8b 37%, #4b927f 75%, #e1ca93 100%);
  box-shadow: 0 25px 22px rgba(8, 35, 72, 0.22);
  clip-path: polygon(7% 39%, 19% 17%, 39% 9%, 52% 18%, 71% 13%, 90% 35%, 96% 55%, 78% 75%, 57% 84%, 32% 79%, 12% 67%);
  transform: translateZ(28px) rotateZ(-9deg);
}

.destination-scene-reef {
  position: absolute;
  top: 53%;
  left: 14%;
  width: 68%;
  height: 11%;
  border-top: 7px solid rgba(255, 246, 218, 0.86);
  border-radius: 50%;
  filter: drop-shadow(0 4px 4px rgba(8, 35, 72, 0.12));
  transform: translateZ(47px) rotateZ(-9deg);
}

.destination-scene-photo {
  position: absolute;
  z-index: 3;
  top: 19%;
  left: 35%;
  width: 42%;
  height: 45%;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 30px rgba(8, 35, 72, 0.22);
  transform: translateZ(75px) rotateZ(7deg);
}

.destination-scene-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.destination-scene-photo span {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  max-width: calc(100% - 1.2rem);
  overflow: hidden;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--cb-radius-pill);
  background: rgba(8, 35, 72, 0.74);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.destination-scene-pin {
  position: absolute;
  z-index: 4;
  top: 55%;
  left: 70%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateZ(108px) rotateZ(-4deg);
}

.destination-scene-pin-dot {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--cb-coral-500);
  box-shadow: 0 5px 14px rgba(8, 35, 72, 0.3);
  transform: rotate(-45deg);
}

.destination-scene-pin-label {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--cb-radius-pill);
  background: rgba(8, 35, 72, 0.9);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(8, 35, 72, 0.2);
}

.destination-scene-help {
  margin: 0.75rem 0 0;
  color: #536477;
  font-size: 0.8rem;
  line-height: 1.5;
}

.destination-scene-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.destination-scene-controls button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(11, 45, 91, 0.16);
  border-radius: var(--cb-radius-pill);
  background: var(--cb-surface);
  color: var(--cb-ocean-900);
  font: 700 1rem/1 var(--cb-font-body);
  cursor: pointer;
  transition:
    background var(--cb-motion-fast),
    border-color var(--cb-motion-fast),
    color var(--cb-motion-fast),
    transform var(--cb-motion-fast);
}

.destination-scene-controls button:hover {
  border-color: var(--cb-ocean-700);
  background: var(--cb-ocean-900);
  color: #fff;
  transform: translateY(-1px);
}

.destination-scene-controls button[data-scene-action="reset"] {
  min-width: 70px;
  font-size: 0.82rem;
}

.destination-scene-status {
  min-height: 1.2em;
  margin: 0.55rem 0 0;
  color: #536477;
  font-size: 0.76rem;
}

@media (max-width: 820px) {
  .destination-experience {
    grid-template-columns: 1fr;
  }

  .destination-experience-copy {
    max-width: 48rem;
  }

  .destination-experience-copy h2 {
    max-width: 18ch;
  }
}

@media (max-width: 540px) {
  .destination-header {
    min-height: 66px;
    gap: 0.55rem;
    padding-inline: 0.8rem;
  }

  .destination-brand img {
    width: 116px;
    height: 38px;
  }

  .destination-header-actions {
    gap: 0.6rem;
  }

  .destination-header-actions > a:not(.btn) {
    font-size: 0.78rem;
  }

  .destination-header .btn {
    min-height: 40px;
    padding: 0.62rem 0.75rem;
    font-size: 0.78rem;
  }

  .destination-landing {
    padding-top: 84px;
  }

  .destination-breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.82rem;
  }

  .destination-experience {
    gap: 1.25rem;
    padding: 1.15rem;
    border-radius: 1.2rem;
  }

  .destination-scene-stage {
    min-height: 245px;
    aspect-ratio: 1.12 / 1;
  }

  .destination-scene-photo {
    left: 30%;
    width: 48%;
  }

  .destination-scene-pin {
    left: 63%;
  }

  .destination-scene-controls {
    gap: 0.45rem;
  }

  .destination-scene-controls button {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .destination-scene-diorama,
  .destination-scene-controls button {
    transition: none;
  }
}
