/* The same live page contracts from fullscreen to its measured compact banner. */
body[data-landing-route] > :is(.skip-link,.public-attractions-skip) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
body[data-landing-route] > :is(.skip-link,.public-attractions-skip):focus {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  width: auto; height: auto; margin: 0; padding: 12px 18px;
  overflow: visible; clip-path: none; background: var(--wandoras-surface, #fff); color: var(--wandoras-text, #1c1c19);
}
body[data-landing-route] > #wandoras-site-header.wim-header { position: relative; top: auto; }
body[data-landing-route] > #wandoras-site-header.wim-header { background: var(--wandoras-surface, #fff); color: var(--wandoras-text, #1c1c19); }
/* Both real masthead rows occupy the same space measured for the handover. */
body[data-landing-route] > #wandoras-site-header.wim-header + .night10-bar {
  position: relative; inset: auto; width: 100%; z-index: auto;
}
.wlr-view { display: flow-root; width: 100%; }
.wlr-view, .wlr-menu-hero {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.wlr-measuring, .wlr-measuring * { transition: none !important; }
.wlr-view[hidden] { display: none !important; }
.wlr-view :is(.atlas-editorial-reveal.is-visible,.b3-revealed) { animation: none !important; }
.wlr-view > .wsl-landing {
  height: clamp(320px, 40vh, 420px); min-height: 0; padding: 0;
}
.wlr-view > .wsl-landing .wsl-copy { left: clamp(24px, 6vw, 96px); right: clamp(24px, 6vw, 96px); bottom: 36px; max-width: 1050px; }
.wlr-view > .wsl-landing .wsl-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; }
.wlr-view > .wsl-landing .wsl-kicker { margin-bottom: 14px; font-size: 13px; }
.wlr-view > .wsl-landing .wsl-description { max-width: 680px; margin-top: 18px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
.wlr-view > .wsl-landing .wsl-scroll { display: none; }
.wlr-view[data-route="home"] .cinema-hero { height: clamp(480px, 64vh, 650px) !important; min-height: 0 !important; }
.wlr-view[data-route="home"] .cinema-hero .cinema-copy { bottom: max(17%, 90px); }
.wlr-view[data-route="home"] .cinema-hero .cinema-caption { bottom: 24px; }
/* Retain the real search/cart/booking controls; only repeated title blocks are suppressed. */
.wlr-view[data-route="experiences"] .marketplace-intro,
.wlr-view[data-route="attractions"] .public-attractions-hero > div { display: none; }
.wlr-view[data-route="attractions"] .public-attractions-hero {
  min-height: 0; height: auto; padding: 0; margin: 0 0 16px;
  background: none; border-radius: 0; justify-content: flex-end;
}
.wlr-view[data-route="attractions"] .public-attractions-toolbar { margin-top: 0; }
.wlr-view[data-route="attractions"] .public-attractions-hero::before,
.wlr-view[data-route="attractions"] .public-attractions-hero::after,
.wlr-view[data-route="attractions"] .public-attractions-hero:not(:has(#attraction-cart:not([hidden]))) { display: none; }
.wlr-view[data-route="destinations"] .destination-hero-copy > :is(.eyebrow,h1,p),
.wlr-view[data-route="guides"] .guides-landing-hero > div > :is(.eyebrow,h1,p),
.wlr-view[data-route="about"] .b3-story-copy > :is(.b3-eyebrow,h1,.b3-lead),
.wlr-view[data-route="about"] .b3-hero-photo img { display: none; }
.wlr-view[data-route="about"] .b3-hero-photo { margin: 10px 0 0; min-height: 0; height: auto; background: none; }
.wlr-view[data-route="about"] .b3-hero-photo figcaption { position: static; padding: 0; color: inherit; background: none; }
.wlr-view[data-route="destinations"] .destination-photo-hero,
.wlr-view[data-route="guides"] .guides-landing-hero,
.wlr-view[data-route="about"] .b3-story-hero {
  display: block; min-height: 0; height: auto; padding: 28px 0; margin: 0;
  background: transparent; border: 0; border-radius: 0;
}
.wlr-view[data-route="destinations"] .destination-photo-hero::after,
.wlr-view[data-route="destinations"] .destination-photo-hero::before,
.wlr-view[data-route="guides"] .guides-landing-hero::after,
.wlr-view[data-route="guides"] .guides-landing-hero::before { display: none; }
.wlr-view[data-route="destinations"] .destination-hero-copy { position: static; padding: 0; }
.wim-panel .wlr-staged {
  position: absolute; inset: 0 0 auto 0;
  width: auto; pointer-events: none; padding-top: 0;
  background: var(--wlr-page-background, #fff);
  color: var(--wlr-page-color); font-family: var(--wlr-page-font-family);
  font-size: var(--wlr-page-font-size); font-weight: var(--wlr-page-font-weight);
  line-height: var(--wlr-page-line-height); letter-spacing: var(--wlr-page-letter-spacing);
  text-align: var(--wlr-page-text-align);
  transition: padding-top 680ms var(--wim-ease), right 680ms var(--wim-ease);
}
.wim-panel .wlr-staged[data-route="transfers"] { right: 0; }
.wlr-staged > .wsl-landing,
.wim-panel > .wlr-menu-hero { height: var(--wim-view-h); min-height: 0; }
.wlr-staged > .wsl-landing { transition: height 680ms var(--wim-ease); }
/* Match the public fullscreen preview before contracting the same live copy. */
.wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-copy,
.wim-panel > .wlr-menu-hero .wsl-copy {
  left: 10%; right: 9%; bottom: 13%;
  transition: left 680ms var(--wim-ease), right 680ms var(--wim-ease), bottom 680ms var(--wim-ease);
}
.wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-title,
.wim-panel > .wlr-menu-hero .wsl-title {
  font-size: clamp(45px, min(6.7vw, 12vh), 110px); line-height: 1.02;
  transition: font-size 680ms var(--wim-ease), line-height 680ms var(--wim-ease);
}
.wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-kicker,
.wim-panel > .wlr-menu-hero .wsl-kicker {
  margin-bottom: 22px; font-size: 15px;
  transition: margin-bottom 680ms var(--wim-ease), font-size 680ms var(--wim-ease);
}
.wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-description,
.wim-panel > .wlr-menu-hero .wsl-description {
  max-width: 600px; margin-top: 25px; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.55;
  transition: max-width 680ms var(--wim-ease), margin-top 680ms var(--wim-ease), font-size 680ms var(--wim-ease), line-height 680ms var(--wim-ease);
}
.wlr-staged[data-route="home"] .cinema-hero { height: var(--wim-view-h) !important; transition: height 680ms var(--wim-ease); }
.wim-dialog[data-state="navigating"] .wlr-staged:not([data-route="transfers"]) {
  padding-top: var(--wlr-header-height); right: var(--wim-destination-gutter, 0px);
}
.wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing { height: var(--wlr-hero-height); }
.wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-copy { left: clamp(24px, 6vw, 96px); right: clamp(24px, 6vw, 96px); bottom: 36px; }
.wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; }
.wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-kicker { margin-bottom: 14px; font-size: 13px; }
.wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-description { max-width: 680px; margin-top: 18px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
.wim-dialog[data-state="navigating"] .wlr-staged[data-route="home"] .cinema-hero { height: var(--wlr-hero-height) !important; }
.wim-panel.wlr-prepared::before,
.wim-panel:has(> .wlr-menu-hero)::before { display: none; }
/* Keep the chosen preview visible until the actual destination is ready. */
.wim-panel > .wlr-staged { visibility: hidden; }
.wim-dialog:is([data-state="loading"],[data-state="navigating"]) .wim-panel[data-landing-ready="true"] > .wlr-staged { visibility: visible; }
.wim-dialog:is([data-state="loading"],[data-state="navigating"]) .wim-panel[data-landing-ready="true"] > :is(.wlr-menu-hero,.w-transfer-opening,.wim-transfer-masthead,.wim-panel-image,.wim-panel-copy,.wim-panel-image-note) { visibility: hidden; }
.wim-panel.wim-has-snapshot > .wlr-menu-hero { visibility: hidden; }
.wlr-staged .whatsapp-float { display: none !important; }
/* A menu card keeps its own crop when the destination changes the body theme. */
.wim-panel > .wlr-menu-hero[data-section-key] .wsl-image { object-position: 50% 50%; }
.wlr-view[data-route="wandra"] > .wsl-landing .wsl-image,
.wim-panel > .wlr-menu-hero[data-section-key="wandra"] .wsl-image { object-position: 16% 50%; }
/* Phones slide a bounded outgoing/incoming pair, then keep one selected card. */
.wim-dialog[data-mobile-preview="true"] .wim-scene { perspective: none; }
.wim-dialog[data-mobile-preview="true"] :is(.wim-stage,.wim-track) { transform-style: flat; will-change: auto; }
.wim-dialog[data-mobile-preview="true"] .wim-stage { transform: translate(0, 0); }
/* Readiness changes the surface behind the selected card, not its pose.
   Keep the measured viewport throughout the handover; mobile browser chrome
   must not move this card between preparation and the compact contraction. */
.wim-dialog[data-mobile-preview="true"]:is([data-state="open"],[data-state="loading"]) .wim-stage {
  transform: translate(calc(var(--wim-view-w) * .14), calc(var(--wim-view-h) * -.045)) scale(.64, .68) skewY(4deg);
}
/* Start opening the photo on the same state change that retires the outgoing
   card. The live content contracts only after its own readiness checks. */
.wim-dialog[data-mobile-preview="true"][data-mobile-activation="single"][aria-busy="true"]
  .wim-stage:has(> .wim-track[data-preview-motion="idle"]) {
  transform: translate(0, 0);
  transition-duration: 680ms;
}
/* Close and the title choices stay available while the page is preparing. */
.wim-dialog[data-mobile-preview="true"][data-state="loading"] .wim-navigation {
  opacity: 1; transform: translateY(-50%); pointer-events: auto; transition-delay: 130ms;
}
.wim-dialog[data-mobile-preview="true"][data-state="loading"] .wim-top {
  opacity: 1; transform: translateY(0); transition-delay: 120ms;
}
.wim-dialog[data-mobile-preview="true"][data-state="loading"] .wim-bottom {
  opacity: 1; transform: translateY(0); transition-delay: 220ms;
}
.wim-dialog[data-mobile-preview="true"][data-state="loading"] :is(.wim-panel-shade,.wim-left-shade) { opacity: 1; }
/* Home keeps its real carousel and film state. Blend the bounded poster into
   that prepared surface during the opening. Only the live caption is visible
   during the contraction. */
.wim-dialog[data-mobile-preview="true"] .wim-panel[data-kind="home"] > .wlr-menu-hero {
  z-index: 2; opacity: 1; transition: opacity 160ms ease;
}
.wim-dialog[data-mobile-preview="true"] .wim-panel[data-kind="home"] > .wlr-staged {
  opacity: 0; transition: padding-top 680ms var(--wim-ease), right 680ms var(--wim-ease), opacity 160ms ease;
}
.wim-dialog[data-mobile-preview="true"]:is([data-state="loading"],[data-state="navigating"]) .wim-panel[data-kind="home"][data-landing-ready="true"] > .wlr-menu-hero { visibility: visible; }
.wim-dialog[data-mobile-preview="true"][data-state="navigating"] .wim-panel[data-kind="home"][data-landing-ready="true"] > .wlr-menu-hero { opacity: 0; }
.wim-dialog[data-mobile-preview="true"][data-state="navigating"] .wim-panel[data-kind="home"][data-landing-ready="true"] > .wlr-staged { opacity: 1; }
.wim-dialog[data-mobile-preview="true"][data-state="navigating"] .wim-panel[data-kind="home"][data-landing-ready="true"] > .wlr-menu-hero .wsl-copy { visibility: hidden; }
.wim-dialog[data-mobile-preview="true"] .wim-track {
  display: block; height: var(--wim-view-h); transform: none; transition: none;
}
.wim-dialog[data-mobile-preview="true"] .wim-panel {
  position: absolute; inset: 0;
  transform: none; backface-visibility: visible; contain: layout paint;
  box-shadow: 0 18px 50px #0003;
}
@media (max-width: 700px) {
  .wlr-view > .wsl-landing { height: 400px; min-height: 0; }
  .wlr-view > .wsl-landing .wsl-copy { left: 24px; right: 24px; }
  .wlr-view > .wsl-landing .wsl-title { font-size: clamp(34px, 9.3vw, 42px); }
  .wlr-view > .wsl-landing .wsl-description { font-size: 17px; }
  .wlr-staged > .wsl-landing { height: var(--wim-view-h); }
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-copy,
  .wim-panel > .wlr-menu-hero .wsl-copy { left: 9%; right: 8%; bottom: 15%; }
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-title,
  .wim-panel > .wlr-menu-hero .wsl-title { font-size: clamp(42px, 11vw, 72px); }
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-kicker,
  .wim-panel > .wlr-menu-hero .wsl-kicker { margin-bottom: 15px; font-size: 12px; }
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-description,
  .wim-panel > .wlr-menu-hero .wsl-description { font-size: 17px; }
  .wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-copy { left: 24px; right: 24px; }
  .wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-title { font-size: clamp(34px, 9.3vw, 42px); }
  .wim-dialog[data-state="navigating"] .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-description { font-size: 17px; }
  .wlr-view[data-route="home"] .cinema-hero { height: 580px !important; }
  .wlr-staged[data-route="home"] .cinema-hero { height: var(--wim-view-h) !important; }
}
@media (max-width: 600px) {
  .wim-dialog[data-mobile-preview="true"] .wlr-menu-hero[data-section-key="home"] .wsl-image { object-position: 35% center; }
}
@media (max-height: 560px) and (min-width: 701px) {
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-title,
  .wim-panel > .wlr-menu-hero .wsl-title { font-size: clamp(40px, 5vw, 66px); }
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-description,
  .wim-panel > .wlr-menu-hero .wsl-description { margin-top: 18px; font-size: 18px; }
  .wlr-staged > .wsl-landing:not(:where(.pt-hero)) .wsl-copy,
  .wim-panel > .wlr-menu-hero .wsl-copy { bottom: 18%; }
}
@media (prefers-reduced-motion: reduce) {
  .wlr-staged,.wlr-staged > .wsl-landing,.wlr-staged > .wsl-landing :is(.wsl-copy,.wsl-title,.wsl-kicker,.wsl-description),.wlr-staged[data-route="home"] .cinema-hero { transition: none !important; }
  .wim-dialog[data-mobile-preview="true"] .wim-panel[data-kind="home"] > .wlr-menu-hero { transition: none !important; }
}

/* Stationary embedded app: layout/decoding continues behind the photographic
   menu, but the iframe is never reparented at preparation or handover. */
.wlr-view[data-route="mix-and-match"].wlr-mix-preparing {
 position:fixed!important;left:0;right:0;top:var(--wmm-header-height,84px);bottom:0;
 display:block!important;height:auto!important;visibility:hidden;pointer-events:none;
}
@media(max-width:700px) {.wlr-view[data-route="mix-and-match"].wlr-mix-preparing {top:var(--wmm-header-height,68px)}}

/* The approved homepage keeps the existing live-node contraction. Its static
   photograph uses the same viewport cover while staging, then the measured
   desktop/mobile hero height; the original 680ms movement remains authoritative. */
.wlr-view[data-route="home"] .whp-home .whp-hero.cinema-hero {height:clamp(520px,56vw,690px)!important;min-height:0!important}
.wlr-view.wlr-staged[data-route="home"] .whp-home .whp-hero.cinema-hero {height:var(--wim-view-h)!important;transition:height 680ms var(--wim-ease)}
.wim-dialog[data-state="navigating"] .wlr-view.wlr-staged[data-route="home"] .whp-home .whp-hero.cinema-hero {height:var(--wlr-hero-height)!important}
@media(max-width:770px) {
  .wlr-view[data-route="home"] .whp-home .whp-hero.cinema-hero {height:595px!important}
  .wlr-view.wlr-staged[data-route="home"] .whp-home .whp-hero.cinema-hero {height:var(--wim-view-h)!important}
}


/* The two planning pages use a different content grid. During the original
   contraction, animate their cover and copy to the measured page positions. */
.wim-panel .wlr-staged > .pt-hero.wsl-landing {
  display: block;
  height: var(--wim-view-h);
  transition: height 680ms var(--wim-ease);
}
.wim-dialog[data-state="navigating"] .wlr-staged > .pt-hero.wsl-landing { height: var(--wlr-hero-height); }
.wim-panel .wlr-staged .pt-hero .pt-hero-layout { display: contents; }
.wim-panel .wlr-staged .pt-hero .pt-hero-media {
  position: absolute;
  transition: bottom 680ms var(--wim-ease);
}
.wim-panel .wlr-staged .pt-hero .pt-hero-layout > .wsl-copy {
  position: absolute;
  left: 10%;
  right: 9%;
  bottom: 13%;
  transition: left 680ms var(--wim-ease), right 680ms var(--wim-ease),
    bottom 680ms var(--wim-ease), padding 680ms var(--wim-ease);
}
.wim-dialog:not([data-state="navigating"]) .wlr-staged .pt-hero .pt-hero-layout > .wsl-copy {
  min-height: 0;
  padding: 0;
  max-width: 1050px;
}
.wim-panel .wlr-staged .pt-hero .pt-hero-layout .wsl-title { transition: font-size 680ms var(--wim-ease), line-height 680ms var(--wim-ease); }
.wim-panel .wlr-staged .pt-hero .pt-hero-layout .wsl-kicker { transition: margin-bottom 680ms var(--wim-ease), font-size 680ms var(--wim-ease); }
.wim-panel .wlr-staged .pt-hero .pt-hero-layout .wsl-description { transition: margin-top 680ms var(--wim-ease), font-size 680ms var(--wim-ease), line-height 680ms var(--wim-ease); }
.wim-dialog:not([data-state="navigating"]) .wlr-staged .pt-hero .pt-hero-layout .wsl-title {
  font-size: clamp(45px, min(6.7vw, 12vh), 110px);
  line-height: 1.02;
  max-width: 1050px;
  font-weight: 650;
  text-wrap: balance;
}
.wim-dialog[data-state="navigating"] .wlr-staged .pt-hero .pt-hero-layout > .wsl-copy {
  left: var(--wlr-trip-copy-left);
  right: var(--wlr-trip-copy-right);
  bottom: var(--wlr-trip-copy-bottom);
}
.wim-dialog[data-state="navigating"] .wlr-staged .pt-hero .pt-hero-media { bottom: var(--wlr-trip-media-bottom); }
.wim-panel .wlr-staged .pt-hero .pt-comparison {
  position: absolute;
  z-index: 2;
  top: var(--wlr-trip-comparison-top);
  left: var(--wlr-trip-comparison-left);
  right: var(--wlr-trip-comparison-right);
  width: auto;
  margin: 0;
  opacity: 0;
  transition: opacity 220ms ease 300ms;
}
.wim-dialog[data-state="navigating"] .wlr-staged .pt-hero .pt-comparison { opacity: 1; }
@media (max-width: 700px) {
  .wim-panel .wlr-staged .pt-hero .pt-hero-layout > .wsl-copy { left: 9%; right: 8%; bottom: 15%; }
  .wim-dialog:not([data-state="navigating"]) .wlr-staged .pt-hero .pt-hero-layout .wsl-title {
    font-size: clamp(42px, 11vw, 72px);
  }
}
