.atoll, .maldives {
  position: relative;
  z-index: 2;
  background: #071d30;
  color: var(--sand);
}
.atoll-stage, .maldives-stage {
  display: grid;
  align-items: center;
  min-height: 100svh;
}
.atoll-layout {
  position: relative;
  width: min(100%, calc(100svh * 2559 / 1243));
  margin-inline: auto;
}
.atoll-map, .maldives-map {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2559 / 1243;
  overflow: hidden;
}
.atoll-still, .atoll-routes, .maldives-map img, .maldives-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.atoll-still { display: block; }
.atoll-routes, .maldives-routes { color: var(--sand); }
:is(.atoll-routes, .maldives-routes) path { fill: none; stroke: currentColor; }
.atoll-distance-lines { stroke-dasharray: 2 8; stroke-width: 2; stroke-linecap: round; }
.atoll-leaders { stroke-width: 1; }
:is(.atoll-routes, .maldives-routes) circle { fill: currentColor; }
:is(.atoll-routes, .maldives-routes) .atoll-ring { fill: none; stroke: #edaa74; stroke-width: 1.5; }
.atoll-copy { opacity: var(--atoll-copy-opacity, 1); }
#shaviyani-title, #maldives-title {
  margin: 0 0 clamp(18px, 2.5vw, 36px);
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: var(--heading-weight, 400);
  line-height: 1;
  letter-spacing: -.028em;
}
.atoll :is(h2, .atoll-note, .atoll-places, .atoll-places *) { text-shadow: none; box-shadow: none; }
.atoll-places { list-style: none; margin: 0; padding: 0; }
.atoll-places li {
  position: absolute;
  width: 21%;
}
.atoll-places strong {
  display: block;
  font: 500 clamp(1rem, 1.65vw, 1.7rem)/1 var(--serif);
  text-wrap: balance;
}
.atoll-places span { display: block; margin-top: 5px; font-size: clamp(.7rem, .98vw, .88rem); }
.atoll-places .atoll-airport { top: 56%; left: 85.8%; width: 11%; }
.atoll-places .atoll-eriyadhoo { top: 88%; left: 84.5%; width: 14%; }
.atoll-places .atoll-distance { position: absolute; margin: 0; font-size: clamp(.8rem, 1.25vw, 1.1rem); }
.atoll-distance-far { transform: rotate(35deg); }
.atoll-distance-near { width: max-content; transform: rotate(-10deg); }
.atoll-note {
  position: absolute;
  inset: 6% 3.8% auto auto;
  width: min(34%, 560px);
  padding: clamp(24px, 4.3vh, 52px) clamp(18px, 2.3vw, 38px);
  border-top: 1px solid #f3ece36b;
  background: #071d30db;
  font-size: clamp(.72rem, 1vw, .92rem);
  line-height: 1.5;
}
.map-scene { position: relative; z-index: 2; }
.atoll-anchor, .maldives-anchor { display: block; }
.map-scene.is-scrubbed {
  background: #071d30;
}
.map-scene.is-scrubbed::after {
  content: "";
  display: block;
  height: calc(332svh + var(--map-cover-overlap));
}
.plan-transition { --map-cover-overlap: 100svh; }
.map-scene.is-scrubbed + .voyage { margin-block-start: calc(-1 * var(--map-cover-overlap)); }
.is-scrubbed .map-stage {
  position: sticky;
  top: calc(-1 * var(--plan-overflow, 0px));
  min-height: var(--map-stage-height, 100svh);
  overflow: clip;
  isolation: isolate;
  background: #0b2230;
}
.is-scrubbed .resort-plan .plan-image {
  opacity: calc(var(--plan-image-opacity, 1) * var(--plan-exit-image, 1));
  transform-origin: 53% 50%;
  transform: translate(var(--plan-drift-x, 0px), var(--plan-drift-y, 0px)) scale(var(--plan-exit-scale, 1));
}
.is-scrubbed :is(.atoll, .maldives) {
  position: absolute;
  z-index: 4;
  inset: var(--plan-overflow, 0px) 0 auto;
  pointer-events: none;
}
.is-scrubbed .atoll { opacity: var(--atoll-map-opacity, 0); }
.is-scrubbed .maldives { opacity: var(--maldives-map-opacity, 0); z-index: 5; }
.is-scrubbed .atoll-anchor {
  position: absolute;
  top: calc(var(--plan-overflow, 0px) + 200svh);
}
.is-scrubbed .maldives-anchor {
  position: absolute;
  top: calc(var(--plan-overflow, 0px) + 313svh);
}

.maldives-layout {
  position: relative;
  width: 100%;
  container-type: inline-size;
  overflow: clip;
  --maldives-art-width: max(100cqw, calc(100svh * 1550 / 1097));
  --maldives-art-top: min(0px, calc(100svh - var(--maldives-art-width) * .47));
}
.maldives-visual {
  height: 100svh;
  overflow: clip;
}
.maldives-map, .maldives-places {
  top: var(--maldives-art-top);
  left: 50%;
  width: var(--maldives-art-width);
  aspect-ratio: 1550 / 1097;
  transform: translateX(-50%);
}
.maldives-copy { opacity: var(--maldives-copy-opacity, 1); }
.maldives-routes .maldives-route-arrow { fill: currentColor; stroke: none; }
.maldives-note {
  z-index: 1;
  width: clamp(280px, 31vw, 500px);
  padding: clamp(28px, 3.4vw, 50px);
}
#maldives-title { margin-bottom: clamp(20px, 2.4vw, 34px); }
.maldives-trip {
  display: grid;
  margin-top: 24px;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.maldives-trip span + span {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgb(243 236 227 / 32%);
}
.maldives-places {
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
}
.maldives-places li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(var(--align, 0%), -50%);
  color: #e4e3e1;
  font-size: clamp(.72rem, 1vw, .94rem);
}
.maldives-primary { color: var(--sand); }
.maldives-primary strong {
  display: block;
  font: 500 clamp(1.3rem, 2.1vw, 2.05rem)/1 var(--serif);
}
.maldives-primary span { display: block; margin-top: 5px; }
.maldives-shaviyani { --x: 40.3%; --y: 20.4%; }
.maldives-male { --x: 70.5%; --y: 63.5%; }

@media (min-width: 901px) {
  .atoll-places :is(.atoll-sirru, .atoll-marriott) { position: static; }
  .atoll-places :is(.atoll-sirru, .atoll-marriott) div { position: absolute; width: 22%; }
  .atoll-sirru div { top: 3%; left: 16%; }
  .atoll-marriott div { bottom: 5.5%; right: 60.7%; text-align: right; }
  .atoll-distance-far { top: 40%; left: 34.7%; }
  .atoll-distance-near { top: 94%; left: 59%; }
}

@media (max-width: 900px) {
  .atoll-layout { width: 100%; padding: 36px var(--edge) 48px; }
  .atoll-stage { align-items: start; }
  .atoll-map { margin-inline: calc(var(--edge) * -1); }
  .atoll-map::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #071d30, transparent 12% 90%, #071d30);
  }
  .atoll-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .atoll-places li { position: static; width: auto; text-align: left; }
  .atoll-places :is(.atoll-airport, .atoll-eriyadhoo) { width: auto; }
  .atoll-places strong { font-size: 1.18rem; text-wrap: initial; }
  .atoll-places span { font-size: .76rem; }
  .atoll-places .atoll-distance { position: static; margin-top: 4px; transform: none; font-size: .76rem; }
  .atoll-note { position: static; width: auto; margin-block: 24px; padding: 26px 0 28px; font-size: .85rem; }
  .atoll-leaders { display: none; }
  .maldives-stage { align-items: start; }
  .maldives-map { left: calc(18% + var(--maldives-art-width) * .1523); }
  .atoll-note.maldives-note {
    width: auto;
    margin: 28px var(--edge);
    padding: 28px 0;
  }
  .maldives-places {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    width: auto;
    aspect-ratio: auto;
    margin: 0 var(--edge) 48px;
    transform: none;
  }
  .maldives-places li { position: static; transform: none; }
  .maldives-places .maldives-primary { margin-bottom: 10px; }
}
