:root {
  color-scheme: light;
  --ink: #12324d;
  --ink-soft: #315c72;
  --paper: #fff7ea;
  --paper-warm: #f2e2c9;
  --ocean: #75c8dc;
  --teal: #287990;
  --leaf: #5f9569;
  --coral: #e96f6d;
  --rose: #f3a39e;
  --sand: #f6c982;
  --shadow: 0 26px 80px rgba(16, 43, 65, 0.26);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow: hidden;
  background: #79cee3;
  color: var(--ink);
  overscroll-behavior: none;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.photo-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  background: #1f2d35;
  touch-action: none;
  transition:
    visibility 1100ms ease,
    transform 1100ms cubic-bezier(0.76, 0, 0.24, 1);
}

.photo-gate::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: clamp(250px, 36vh, 390px);
  background:
    radial-gradient(ellipse at 50% 82%, rgba(255, 250, 242, 0.18), transparent 62%),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(18, 50, 77, 0.08) 28%,
      rgba(18, 50, 77, 0.3) 66%,
      rgba(18, 50, 77, 0.68) 100%
    );
  content: "";
  pointer-events: none;
}

.is-choice-open .photo-gate,
.is-map-open .photo-gate,
.is-gallery-open .photo-gate,
.is-video-open .photo-gate {
  visibility: hidden;
  transform: translateY(-105%);
  pointer-events: none;
}

.photo-gate__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: photo-gate-pan 22s ease-in-out infinite alternate;
  filter: saturate(0.98) contrast(0.99);
  user-select: none;
  -webkit-user-drag: none;
  transition: object-position 1100ms cubic-bezier(0.76, 0, 0.24, 1);
}

.is-choice-open .photo-gate__image,
.is-map-open .photo-gate__image,
.is-gallery-open .photo-gate__image,
.is-video-open .photo-gate__image {
  object-position: center 100%;
}

.photo-gate__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 54, 83, 0.42), rgba(20, 54, 83, 0.14) 22%, transparent 48%, rgba(20, 54, 83, 0.18) 78%, rgba(20, 54, 83, 0.56)),
    radial-gradient(circle at 50% 18%, rgba(255, 247, 234, 0.16), transparent 34%);
  pointer-events: none;
}

.photo-gate__content {
  position: relative;
  align-self: start;
  justify-self: center;
  width: min(96vw, 980px);
  padding: max(22px, env(safe-area-inset-top)) 18px 0;
  text-align: center;
  color: #fffaf2;
  text-shadow: 0 2px 20px rgba(18, 35, 49, 0.4);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: clamp(0.88rem, 1.25vw, 1.04rem);
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-gate .eyebrow {
  color: #ffe3d5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6.2vw, 4.75rem);
  font-weight: 430;
  line-height: 0.96;
  letter-spacing: 0;
}

.photo-gate h1 {
  white-space: nowrap;
}

.date-line {
  margin: 16px 0 0;
  color: #ffe3d5;
  font-size: clamp(1.18rem, 2.55vw, 1.68rem);
  font-weight: 650;
}

.invitation-line {
  width: min(100%, 660px);
  margin: 15px auto 0;
  color: #ffe3d5;
  font-size: clamp(1.05rem, 2.12vw, 1.34rem);
  font-weight: 500;
  line-height: 1.52;
}

.map-link,
.close-drawer,
.return-marker {
  border: 1px solid rgba(20, 54, 83, 0.16);
  border-radius: var(--radius);
  transition:
    opacity 220ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.choice-gate,
.gallery-experience,
.video-experience,
.map-experience {
  position: fixed;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.choice-gate {
  z-index: 14;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  background: #17394a;
  transform: translateY(18px);
  transition:
    grid-template-columns 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms ease 220ms,
    transform 700ms ease 220ms,
    visibility 700ms ease 220ms;
}

.choice-gate:has(.choice-card--gallery:hover, .choice-card--gallery:focus-visible),
.choice-gate.is-idle-gallery {
  grid-template-columns: minmax(0, 8fr) minmax(0, 1fr) minmax(0, 1fr);
}

.choice-gate.is-touching-gallery {
  grid-template-columns: minmax(0, 8fr) minmax(0, 1fr) minmax(0, 1fr);
}

.choice-gate:has(.choice-card--map:hover, .choice-card--map:focus-visible),
.choice-gate.is-idle-map {
  grid-template-columns: minmax(0, 1fr) minmax(0, 8fr) minmax(0, 1fr);
}

.choice-gate.is-touching-map {
  grid-template-columns: minmax(0, 1fr) minmax(0, 8fr) minmax(0, 1fr);
}

.choice-gate:has(.choice-card--video:hover, .choice-card--video:focus-visible),
.choice-gate.is-idle-video {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 8fr);
}

.choice-gate.is-touching-video {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 8fr);
}

.is-choice-open .choice-gate {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.choice-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100vh;
  padding: clamp(22px, 4vw, 54px);
  border: 0;
  border-radius: 0;
  background: #17394a;
  color: #fffaf2;
  overflow: hidden;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition:
    filter 220ms ease,
    transform 260ms ease,
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.choice-card:hover,
.choice-card:focus-visible,
.choice-gate.is-touching-gallery .choice-card--gallery,
.choice-gate.is-touching-map .choice-card--map,
.choice-gate.is-touching-video .choice-card--video,
.choice-gate.is-idle-gallery .choice-card--gallery,
.choice-gate.is-idle-map .choice-card--map,
.choice-gate.is-idle-video .choice-card--video {
  filter: saturate(1.08) contrast(1.03);
}

.choice-card:hover .choice-card__image,
.choice-card:focus-visible .choice-card__image,
.choice-gate.is-touching-gallery .choice-card--gallery .choice-card__image,
.choice-gate.is-touching-map .choice-card--map .choice-card__image,
.choice-gate.is-touching-video .choice-card--video .choice-card__image,
.choice-gate.is-idle-gallery .choice-card--gallery .choice-card__image,
.choice-gate.is-idle-map .choice-card--map .choice-card__image,
.choice-gate.is-idle-video .choice-card--video .choice-card__image {
  transform: scale(1.075);
}

.choice-card__image,
.choice-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.choice-card__image {
  object-fit: cover;
  transform: scale(1.045);
  transition:
    object-position 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.choice-card--gallery .choice-card__image {
  animation: choice-gallery-hover 25s ease-in-out infinite alternate;
  filter: saturate(1.02) contrast(1.01);
  object-position: center center;
}

.choice-card--map .choice-card__image {
  animation: choice-map-hover 24s ease-in-out infinite alternate;
  filter: saturate(1.06) contrast(1.03);
  object-position: center top;
}

.choice-card--video .choice-card__image {
  animation: choice-story-hover 26s ease-in-out infinite alternate;
  filter: saturate(0.98) contrast(0.98);
  object-position: center top;
}

.choice-card--gallery:hover .choice-card__image,
.choice-card--gallery:focus-visible .choice-card__image,
.choice-card--map:hover .choice-card__image,
.choice-card--map:focus-visible .choice-card__image,
.choice-card--video:hover .choice-card__image,
.choice-card--video:focus-visible .choice-card__image,
.choice-gate.is-touching-gallery .choice-card--gallery .choice-card__image,
.choice-gate.is-touching-map .choice-card--map .choice-card__image,
.choice-gate.is-touching-video .choice-card--video .choice-card__image,
.choice-gate.is-idle-gallery .choice-card--gallery .choice-card__image,
.choice-gate.is-idle-map .choice-card--map .choice-card__image,
.choice-gate.is-idle-video .choice-card--video .choice-card__image {
  animation-duration: 11s;
}

.choice-card__shade {
  background:
    linear-gradient(180deg, rgba(18, 50, 77, 0.06), rgba(18, 50, 77, 0.72)),
    linear-gradient(90deg, rgba(18, 50, 77, 0.28), transparent 54%);
  pointer-events: none;
}

.choice-card--gallery .choice-card__shade {
  background:
    linear-gradient(180deg, rgba(18, 50, 77, 0.04), rgba(18, 50, 77, 0.74)),
    linear-gradient(90deg, rgba(18, 50, 77, 0.2), transparent 58%);
}

.choice-card--video .choice-card__shade {
  background:
    linear-gradient(180deg, rgba(18, 50, 77, 0.1), rgba(18, 50, 77, 0.72)),
    linear-gradient(270deg, rgba(18, 50, 77, 0.24), transparent 56%);
}

.choice-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: end;
  gap: 11px;
  width: min(100%, 520px);
  text-shadow: 0 4px 20px rgba(13, 45, 67, 0.42);
}

.choice-card__kicker {
  color: #ffe3d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4.3vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
}

.choice-card__content strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 7vw, 6.4rem);
  font-weight: 500;
  line-height: 0.92;
}

.choice-card__play {
  display: none;
}

@keyframes choice-gallery-hover {
  0% {
    object-position: 48% 20%;
    transform: scale(1.045);
  }

  34% {
    object-position: 54% 42%;
    transform: scale(1.07);
  }

  68% {
    object-position: 45% 70%;
    transform: scale(1.055);
  }

  100% {
    object-position: 56% 52%;
    transform: scale(1.075);
  }
}

@keyframes choice-map-hover {
  0% {
    object-position: 43% 0%;
    transform: scale(1.045);
  }

  28% {
    object-position: 57% 28%;
    transform: scale(1.065);
  }

  64% {
    object-position: 48% 68%;
    transform: scale(1.055);
  }

  100% {
    object-position: 54% 100%;
    transform: scale(1.07);
  }
}

@keyframes choice-story-hover {
  0% {
    object-position: 42% 0%;
    transform: scale(1.045);
  }

  34% {
    object-position: 56% 32%;
    transform: scale(1.065);
  }

  70% {
    object-position: 47% 66%;
    transform: scale(1.055);
  }

  100% {
    object-position: 54% 82%;
    transform: scale(1.07);
  }
}

@keyframes photo-gate-pan {
  0% {
    object-position: center top;
    transform: scale(1);
  }

  38% {
    object-position: center 34%;
    transform: scale(1.018);
  }

  72% {
    object-position: center 70%;
    transform: scale(1.01);
  }

  100% {
    object-position: center bottom;
    transform: scale(1.02);
  }
}

.photo-gate__handle {
  position: absolute;
  left: 50%;
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(340px, calc(100vw - 56px));
  min-height: 70px;
  gap: 14px;
  padding: 10px 22px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #fffaf2;
  text-align: center;
  transform: translateX(-50%);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    transform 180ms ease,
    text-shadow 180ms ease;
}

.photo-gate__handle span {
  justify-self: end;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

.photo-gate__handle strong {
  display: block;
  position: relative;
  width: 42px;
  height: 22px;
  animation: handle-bounce 1450ms ease-in-out infinite;
}

.photo-gate__handle strong::before {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.photo-gate__handle strong::after {
  position: absolute;
  right: 4px;
  bottom: 1px;
  left: 4px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0.52;
}

.photo-gate__handle em {
  justify-self: start;
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.photo-gate__handle:hover,
.photo-gate__handle:focus-visible {
  text-shadow: 0 0 18px rgba(255, 250, 242, 0.42);
  transform: translateX(-50%) translateY(-3px);
}

@keyframes handle-bounce {
  0%,
  100% {
    transform: translateY(3px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.map-experience {
  z-index: 12;
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 247, 234, 0.5), transparent 34%),
    linear-gradient(180deg, #9ee1ec 0%, #5bb8d4 100%);
  transform: translateY(18px);
  transition:
    opacity 700ms ease 220ms,
    transform 700ms ease 220ms,
    visibility 700ms ease 220ms;
}

.map-experience::before,
.map-experience::after {
  display: none;
}

.is-map-open .map-experience {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.gallery-experience {
  z-index: 16;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 247, 234, 0.08), transparent 30%),
    #101c25;
  transform: translateX(-24px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 620ms ease;
}

.is-gallery-open .gallery-experience {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

.gallery-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #101c25;
  cursor: default;
  touch-action: none;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: translate3d(var(--gallery-pan-x, 0px), var(--gallery-pan-y, 0px), 0) scale(var(--gallery-scale, 1));
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: opacity, transform;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gallery-image.is-loading {
  opacity: 0.42;
}

.gallery-stage.is-gallery-zoomed {
  cursor: grab;
}

.gallery-stage.is-gallery-panning,
.gallery-stage.is-gallery-pinching {
  cursor: grabbing;
}

.gallery-stage.is-gallery-panning .gallery-image,
.gallery-stage.is-gallery-pinching .gallery-image {
  transition: opacity 180ms ease;
}

.gallery-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 50%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.gallery-zone--prev {
  left: 0;
  cursor: w-resize;
}

.gallery-zone--next {
  right: 0;
  cursor: e-resize;
}

.gallery-stage.is-gallery-zoomed .gallery-zone {
  cursor: grab;
}

.gallery-stage.is-gallery-panning .gallery-zone,
.gallery-stage.is-gallery-pinching .gallery-zone {
  cursor: grabbing;
}

.gallery-play-button {
  position: absolute;
  left: 50%;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 14px));
  z-index: 24;
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.68);
  border-radius: 50%;
  background: rgba(18, 50, 77, 0.34);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fffaf2;
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    opacity 220ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.gallery-play-button:hover,
.gallery-play-button:focus-visible,
.gallery-play-button.is-playing {
  border-color: rgba(255, 250, 242, 0.86);
  background: rgba(18, 50, 77, 0.58);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transform: translateX(-50%) translateY(-1px);
}

.gallery-play-button span {
  width: 0;
  height: 0;
  margin-left: 8%;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid currentColor;
  filter: drop-shadow(0 4px 10px rgba(5, 15, 22, 0.28));
}

.gallery-play-button.is-playing span {
  width: 18px;
  height: 22px;
  margin-left: 0;
  border: 0;
  background:
    linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66% 100%);
}

.gallery-play-button:disabled {
  opacity: 0.52;
  pointer-events: none;
}

.gallery-counter {
  position: absolute;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 20;
  padding: 8px 11px;
  border: 1px solid rgba(255, 250, 242, 0.26);
  border-radius: var(--radius);
  background: rgba(18, 50, 77, 0.34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  color: #fffaf2;
  font-size: 0.76rem;
  font-weight: 900;
  backdrop-filter: blur(16px) saturate(1.18);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.gallery-counter:empty {
  display: none;
}

.gallery-experience.is-gallery-controls-idle:not(:focus-within) .gallery-return-marker {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
}

.gallery-experience.is-gallery-controls-idle:not(:focus-within) .gallery-play-button {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px) scale(0.96);
}

.gallery-experience.is-gallery-controls-idle:not(:focus-within) .gallery-counter {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.video-experience {
  z-index: 18;
  background: #101c25;
  transform: translateX(24px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 620ms ease;
}

.story-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  background: #101c25;
}

.is-video-open .video-experience {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

.story-video,
.story-stream {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #101c25;
  border: 0;
}

.story-video {
  object-fit: contain;
}

.story-stream[hidden] {
  display: none;
}

.story-video[hidden] {
  display: none;
}

.story-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 24;
  display: grid;
  place-items: center;
  width: clamp(82px, 10vw, 124px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 50%;
  background: rgba(255, 247, 234, 0.26);
  box-shadow:
    0 24px 64px rgba(5, 15, 22, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.story-play-button:hover,
.story-play-button:focus-visible {
  background: rgba(255, 247, 234, 0.36);
  box-shadow:
    0 28px 72px rgba(5, 15, 22, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.story-play-button span {
  width: 0;
  height: 0;
  margin-left: 8%;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 29px solid #fffaf2;
  filter: drop-shadow(0 4px 10px rgba(5, 15, 22, 0.28));
}

.video-experience.is-play-ready .story-play-button {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.return-marker {
  position: absolute;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 247, 234, 0.42);
  box-shadow: 0 16px 34px rgba(13, 45, 67, 0.2);
  color: var(--ink);
  backdrop-filter: blur(16px) saturate(1.22);
}

.return-marker:hover,
.return-marker:focus-visible {
  background: #fffaf2;
  box-shadow:
    0 20px 42px rgba(13, 45, 67, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.return-marker span {
  display: block;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  border-top: 4px solid currentColor;
  border-left: 4px solid currentColor;
  transform: rotate(-45deg);
}

.gallery-return-marker,
.map-return-marker,
.video-return-marker {
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
}

.video-return-marker {
  border-color: rgba(18, 50, 77, 0.16);
  background: rgba(255, 247, 234, 0.64);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 250, 242, 0.28);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.video-return-marker:hover,
.video-return-marker:focus-visible {
  border-color: rgba(18, 50, 77, 0.22);
  background: rgba(255, 247, 234, 0.9);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 250, 242, 0.46);
}

.is-video-open .video-return-marker,
.video-experience.is-return-ready .video-return-marker,
.video-experience.is-stream-video .video-return-marker {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.map-hud {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  right: max(18px, env(safe-area-inset-right));
  z-index: 6;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.map-hud h2 {
  margin: 0;
  max-width: min(760px, 82vw);
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 5.1vw, 5.3rem);
  font-weight: 500;
  line-height: 0.95;
  text-shadow: 0 4px 22px rgba(13, 45, 67, 0.36);
}

.map-hud .eyebrow {
  color: #ffe5d9;
  text-shadow: 0 2px 14px rgba(13, 45, 67, 0.35);
}

.map-nav-toggle {
  position: absolute;
  top: max(94px, calc(env(safe-area-inset-top) + 84px));
  left: max(64px, calc(env(safe-area-inset-left) + 44px));
  z-index: 10;
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 247, 234, 0.34);
  box-shadow: 0 12px 26px rgba(13, 45, 67, 0.18);
  backdrop-filter: blur(14px) saturate(1.22);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.map-nav-toggle:hover,
.map-nav-toggle:focus-visible,
.map-nav-toggle.is-open {
  background: rgba(255, 247, 234, 0.78);
  box-shadow:
    0 16px 32px rgba(13, 45, 67, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.map-nav-toggle span {
  width: 11px;
  height: 11px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.map-nav-toggle.is-open span {
  transform: translateY(3px) rotate(225deg);
}

.map-nav {
  position: absolute;
  top: max(132px, calc(env(safe-area-inset-top) + 122px));
  left: max(58px, calc(env(safe-area-inset-left) + 38px));
  z-index: 9;
  display: flex;
  width: min(168px, calc(100vw - 116px));
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 247, 234, 0.24);
  box-shadow: 0 16px 34px rgba(13, 45, 67, 0.16);
  backdrop-filter: blur(14px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.map-experience.is-nav-open .map-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.map-nav__button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.3);
  color: #fffaf2;
  text-align: left;
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  font-weight: 950;
  text-shadow: 0 2px 12px rgba(13, 45, 67, 0.36);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.map-nav__button:hover,
.map-nav__button:focus-visible,
.map-nav__button.is-current {
  background: rgba(255, 247, 234, 0.74);
  color: var(--ink);
  box-shadow:
    0 12px 24px rgba(13, 45, 67, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  text-shadow: none;
  transform: translateY(-1px);
}

.map-nav__button.is-pinned {
  background: rgba(255, 247, 234, 0.88);
}

.scene-shell {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1200px;
  touch-action: none;
}

.scene-shell::before,
.scene-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--fog-opacity, 0.12);
  transition: opacity 360ms ease;
}

.scene-shell::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(111, 203, 221, 0.82), transparent 18%, transparent 82%, rgba(111, 203, 221, 0.82)),
    linear-gradient(180deg, rgba(111, 203, 221, 0.78), transparent 20%, transparent 80%, rgba(111, 203, 221, 0.78));
  filter: blur(18px);
}

.scene-shell::after {
  z-index: 2;
  background:
    radial-gradient(ellipse at -3% 5%, rgba(255, 250, 242, 0.92) 0 10%, rgba(255, 250, 242, 0.55) 14%, transparent 29%),
    radial-gradient(ellipse at 103% 2%, rgba(255, 250, 242, 0.86) 0 9%, rgba(255, 250, 242, 0.5) 16%, transparent 30%),
    radial-gradient(ellipse at -5% 100%, rgba(255, 250, 242, 0.78) 0 12%, rgba(255, 250, 242, 0.45) 19%, transparent 34%),
    radial-gradient(ellipse at 104% 101%, rgba(255, 250, 242, 0.92) 0 15%, rgba(255, 250, 242, 0.52) 22%, transparent 37%),
    radial-gradient(ellipse at 50% -8%, rgba(255, 250, 242, 0.42) 0 12%, transparent 28%),
    radial-gradient(ellipse at 48% 108%, rgba(255, 250, 242, 0.4) 0 14%, transparent 30%);
  filter: blur(8px);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
}

.scene-shell.is-edge-bound {
  --fog-opacity: 0.46;
}

.scene-shell.is-zoomed-out {
  --fog-opacity: 0.36;
}

.scene-shell.is-zoomed-out::after {
  animation: boundary-cloud-drift 9400ms ease-in-out infinite alternate;
}

@keyframes boundary-cloud-drift {
  0% {
    transform: translate3d(-10px, -4px, 0);
  }

  100% {
    transform: translate3d(12px, 5px, 0);
  }
}

.map-stage {
  position: relative;
  z-index: 1;
  left: 50%;
  justify-self: center;
  align-self: center;
  width: max(100vw, 177.78vh);
  aspect-ratio: 16 / 9;
  transform:
    translateX(-50%)
    translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0)
    rotateX(var(--rot-x, 0deg))
    rotateY(var(--rot-y, 0deg))
    scale(var(--zoom, 1));
  transform-style: preserve-3d;
  transition: transform 240ms ease;
  user-select: none;
}

.map-stage.is-dragging {
  transition: none;
}

.map-stage::after {
  content: "";
  position: absolute;
  inset: 8% 8% 5%;
  z-index: 0;
  border-radius: 48%;
  background: radial-gradient(ellipse, rgba(8, 52, 78, 0.28), transparent 68%);
  filter: blur(24px);
  transform: translateZ(-90px) translateY(8%);
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 2;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 4% 12%, rgba(255, 255, 255, 0.78) 0 9%, transparent 24%),
    radial-gradient(ellipse at 97% 16%, rgba(255, 255, 255, 0.7) 0 10%, transparent 25%),
    radial-gradient(ellipse at 3% 89%, rgba(255, 255, 255, 0.68) 0 11%, transparent 25%),
    radial-gradient(ellipse at 96% 92%, rgba(255, 255, 255, 0.78) 0 14%, transparent 29%),
    linear-gradient(90deg, rgba(111, 203, 221, 0.42), transparent 10%, transparent 90%, rgba(111, 203, 221, 0.4)),
    linear-gradient(180deg, rgba(111, 203, 221, 0.38), transparent 12%, transparent 88%, rgba(111, 203, 221, 0.4));
  filter: blur(16px);
  opacity: 0.3;
  pointer-events: none;
  transform: translateZ(5px);
}

.is-map-open .map-stage::before {
  animation: map-cloud-clear 2400ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

@keyframes map-cloud-clear {
  0% {
    opacity: 0.82;
    filter: blur(24px);
  }

  48% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.3;
    filter: blur(16px);
  }
}

.island-background {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transform: translateZ(0);
  filter: saturate(1.05) contrast(1.02);
}

.marker-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform: translateZ(88px);
}

.avatar-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transform: translateZ(102px);
}

.couple-avatar {
  position: absolute;
  left: var(--avatar-x, 69%);
  top: var(--avatar-y, 63%);
  width: clamp(92px, 7.6vw, 136px);
  aspect-ratio: 3 / 4;
  --avatar-frame-x: 0%;
  --avatar-frame-y: 0%;
  --skin: #d89a73;
  --groom-hair: #17283a;
  --bride-hair: #2c2230;
  --groom-body: #2f6e8e;
  --bride-body: #e96f6d;
  --groom-leg: #19334a;
  --bride-leg: #f6c982;
  --avatar-accent: #fff7ea;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 10px rgba(8, 33, 49, 0.28));
  transform: translate(-50%, -78%) scale(calc(var(--marker-scale, 1) * 0.96));
  transform-origin: 50% 86%;
  transition:
    filter 180ms ease,
    opacity 220ms ease;
}

.couple-avatar.is-traveling {
  animation: avatar-travel-bob 560ms steps(2, end) infinite;
}

.avatar-shadow {
  position: absolute;
  right: 12%;
  bottom: 1%;
  left: 12%;
  height: 13%;
  border-radius: 50%;
  background: rgba(7, 42, 48, 0.25);
  filter: blur(2px);
}

.avatar-couple {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 5;
  width: 68%;
  height: 76%;
  transform: translateX(-50%);
}

.avatar-person {
  position: absolute;
  bottom: 0;
  width: 34%;
  height: 86%;
  transform-origin: 50% 100%;
}

.avatar-person--groom {
  left: 14%;
}

.avatar-person--bride {
  right: 14%;
}

.avatar-head,
.avatar-hair,
.avatar-body,
.avatar-arm,
.avatar-leg {
  position: absolute;
  display: block;
}

.avatar-head {
  top: 3%;
  left: 28%;
  z-index: 3;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 18%;
  background: var(--skin);
  box-shadow: inset 0 -2px 0 rgba(97, 53, 40, 0.16);
}

.avatar-hair {
  top: 0;
  left: 23%;
  z-index: 4;
  width: 52%;
  height: 24%;
  border-radius: 20% 20% 8% 8%;
  background: var(--groom-hair);
}

.avatar-person--bride .avatar-hair {
  top: -1%;
  left: 18%;
  width: 62%;
  height: 32%;
  background: var(--bride-hair);
  box-shadow:
    -3px 5px 0 var(--bride-hair),
    3px 5px 0 var(--bride-hair);
}

.avatar-body {
  top: 33%;
  left: 24%;
  z-index: 2;
  width: 52%;
  height: 36%;
  border-radius: 10% 10% 3% 3%;
  background: var(--groom-body);
  box-shadow: inset 0 -3px 0 rgba(18, 50, 77, 0.18);
}

.avatar-person--bride .avatar-body {
  left: 19%;
  width: 62%;
  height: 44%;
  background: var(--bride-body);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.avatar-arm {
  top: 36%;
  z-index: 3;
  width: 14%;
  height: 32%;
  border-radius: 4px;
  background: var(--skin);
  transform-origin: 50% 6%;
}

.avatar-arm--front {
  left: 12%;
  transform: rotate(18deg);
}

.avatar-arm--back {
  right: 12%;
  transform: rotate(-18deg);
}

.avatar-leg {
  bottom: 0;
  width: 16%;
  height: 30%;
  border-radius: 3px 3px 1px 1px;
  background: var(--groom-leg);
  transform-origin: 50% 0;
}

.avatar-person--bride .avatar-leg {
  background: var(--bride-leg);
}

.avatar-leg--front {
  left: 30%;
}

.avatar-leg--back {
  right: 30%;
}

.couple-avatar.is-traveling .avatar-leg--front {
  animation: avatar-step-front 420ms steps(2, end) infinite;
}

.couple-avatar.is-traveling .avatar-leg--back {
  animation: avatar-step-back 420ms steps(2, end) infinite;
}

.avatar-scene,
.avatar-prop {
  position: absolute;
  display: none;
  pointer-events: none;
}

.couple-avatar[data-mode="airport"] {
  --groom-body: #2f6e8e;
  --bride-body: #f3a39e;
  --groom-leg: #17394a;
  --bride-leg: #315c72;
}

.couple-avatar[data-mode="airport"] .avatar-prop--luggage {
  display: block;
  right: 6%;
  bottom: 12%;
  z-index: 4;
  width: 17%;
  height: 31%;
  border: 2px solid #12324d;
  border-radius: 12%;
  background: #f6c982;
  box-shadow: inset 0 -4px 0 #b96d52;
}

.couple-avatar[data-mode="airport"] .avatar-prop--luggage::before {
  position: absolute;
  top: -24%;
  left: 30%;
  width: 40%;
  height: 24%;
  border: 2px solid #12324d;
  border-bottom: 0;
  content: "";
}

.couple-avatar[data-mode="stay"] {
  --groom-body: #315c72;
  --bride-body: #f3a39e;
}

.couple-avatar[data-mode="stay"] .avatar-scene--bed {
  display: block;
  right: 7%;
  bottom: 7%;
  left: 7%;
  z-index: 6;
  height: 38%;
  border: 3px solid #315c72;
  border-radius: 7px 7px 3px 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 227, 213, 0.88)),
    #fff7ea;
  box-shadow: inset 0 -7px 0 #8fd6df;
}

.couple-avatar[data-mode="stay"] .avatar-person {
  bottom: 28%;
  height: 54%;
}

.couple-avatar[data-mode="stay"] .avatar-body,
.couple-avatar[data-mode="stay"] .avatar-arm,
.couple-avatar[data-mode="stay"] .avatar-leg {
  opacity: 0;
}

.couple-avatar[data-mode="stay"] .avatar-prop--sleep {
  display: block;
  top: 2%;
  right: 12%;
  width: 11%;
  height: 11%;
  border-radius: 2px;
  background: #fff7ea;
  box-shadow:
    9px -8px 0 -1px rgba(255, 247, 234, 0.88),
    18px -15px 0 -2px rgba(255, 247, 234, 0.72);
  animation: avatar-sleep-float 1800ms ease-in-out infinite;
}

.couple-avatar[data-mode="ceremony"] {
  --groom-body: #122a40;
  --bride-body: #fff7ea;
  --groom-leg: #122a40;
  --bride-leg: #fff7ea;
}

.couple-avatar[data-mode="ceremony"] .avatar-person--groom {
  left: 22%;
  animation: avatar-hug-left 1500ms ease-in-out infinite;
}

.couple-avatar[data-mode="ceremony"] .avatar-person--bride {
  right: 22%;
  animation: avatar-hug-right 1500ms ease-in-out infinite;
}

.couple-avatar[data-mode="ceremony"] .avatar-prop--heart {
  display: block;
  top: 0;
  left: 50%;
  z-index: 8;
  width: 18%;
  aspect-ratio: 1;
  background: #e96f6d;
  transform: translateX(-50%) rotate(45deg);
  animation: avatar-heart-rise 1500ms ease-in-out infinite;
}

.couple-avatar[data-mode="ceremony"] .avatar-prop--heart::before,
.couple-avatar[data-mode="ceremony"] .avatar-prop--heart::after {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e96f6d;
  content: "";
}

.couple-avatar[data-mode="ceremony"] .avatar-prop--heart::before {
  left: -48%;
}

.couple-avatar[data-mode="ceremony"] .avatar-prop--heart::after {
  top: -48%;
}

.couple-avatar[data-mode="beach"] {
  --groom-body: #2f6e8e;
  --bride-body: #f6b85d;
  --groom-leg: #d89a73;
  --bride-leg: #d89a73;
}

.couple-avatar[data-mode="beach"] .avatar-scene--beach {
  display: block;
  right: 10%;
  bottom: 8%;
  left: 10%;
  z-index: 1;
  height: 32%;
  border-radius: 45% 45% 18% 18%;
  background:
    linear-gradient(90deg, #f3a39e 0 22%, #fff7ea 22% 38%, #8fd6df 38% 62%, #fff7ea 62% 78%, #f6c982 78%),
    #f6c982;
}

.couple-avatar[data-mode="beach"] .avatar-person {
  bottom: 18%;
  height: 58%;
}

.couple-avatar[data-mode="beach"] .avatar-leg {
  bottom: -3%;
  height: 36%;
  transform: rotate(76deg);
}

.couple-avatar[data-mode="hike"] {
  --groom-body: #2b7689;
  --bride-body: #e96f6d;
  --groom-leg: #416e57;
  --bride-leg: #5f9569;
}

.couple-avatar[data-mode="hike"] .avatar-person::after {
  position: absolute;
  top: 39%;
  width: 20%;
  height: 28%;
  border-radius: 2px;
  background: #f6c982;
  content: "";
}

.couple-avatar[data-mode="hike"] .avatar-person--groom::after {
  right: 3%;
}

.couple-avatar[data-mode="hike"] .avatar-person--bride::after {
  left: 3%;
  background: #8fd6df;
}

.couple-avatar[data-mode="car"] .avatar-scene--car {
  display: block;
  right: 4%;
  bottom: 7%;
  left: 4%;
  z-index: 4;
  height: 40%;
  border-radius: 24% 35% 18% 18%;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 247, 234, 0.82) 18% 34%, transparent 34% 100%),
    #e96f6d;
  box-shadow: inset 0 -7px 0 #a34745;
}

.couple-avatar[data-mode="car"] .avatar-scene--car span {
  position: absolute;
  bottom: -20%;
  width: 19%;
  aspect-ratio: 1;
  border: 3px solid #12324d;
  border-radius: 50%;
  background: #fff7ea;
}

.couple-avatar[data-mode="car"] .avatar-scene--car span:first-child {
  left: 16%;
}

.couple-avatar[data-mode="car"] .avatar-scene--car span:last-child {
  right: 14%;
}

.couple-avatar[data-mode="car"] .avatar-couple,
.couple-avatar[data-mode="bike"] .avatar-couple,
.couple-avatar[data-mode="boat"] .avatar-couple {
  bottom: 22%;
  height: 58%;
}

.couple-avatar[data-mode="car"] .avatar-body,
.couple-avatar[data-mode="car"] .avatar-arm,
.couple-avatar[data-mode="car"] .avatar-leg {
  opacity: 0;
}

.couple-avatar[data-mode="bike"] .avatar-scene--bike {
  display: block;
  right: 7%;
  bottom: 6%;
  left: 7%;
  z-index: 4;
  height: 36%;
}

.couple-avatar[data-mode="bike"] .avatar-scene--bike span:nth-child(1),
.couple-avatar[data-mode="bike"] .avatar-scene--bike span:nth-child(2) {
  position: absolute;
  bottom: 0;
  width: 25%;
  aspect-ratio: 1;
  border: 3px solid #12324d;
  border-radius: 50%;
  background: rgba(255, 247, 234, 0.58);
}

.couple-avatar[data-mode="bike"] .avatar-scene--bike span:nth-child(1) {
  left: 8%;
}

.couple-avatar[data-mode="bike"] .avatar-scene--bike span:nth-child(2) {
  right: 8%;
}

.couple-avatar[data-mode="bike"] .avatar-scene--bike span:nth-child(3) {
  position: absolute;
  right: 26%;
  bottom: 19%;
  left: 26%;
  height: 4px;
  background: #12324d;
  transform: skewX(-24deg);
}

.couple-avatar[data-mode="bike"] .avatar-person--groom {
  left: 24%;
}

.couple-avatar[data-mode="bike"] .avatar-person--bride {
  right: 18%;
  transform: translateY(4%) scale(0.94);
}

.couple-avatar[data-mode="boat"] .avatar-scene--boat {
  display: block;
  right: 6%;
  bottom: 6%;
  left: 6%;
  z-index: 4;
  height: 36%;
  border-radius: 0 0 48% 48%;
  background: #fff7ea;
  box-shadow:
    inset 0 -9px 0 #2b7689,
    0 5px 0 rgba(80, 171, 192, 0.42);
  clip-path: polygon(0 22%, 100% 22%, 82% 100%, 18% 100%);
}

.couple-avatar[data-mode="boat"] .avatar-person {
  height: 64%;
}

.couple-avatar[data-mode="plane"] .avatar-couple,
.couple-avatar[data-mode="plane"] .avatar-prop {
  display: none;
}

.couple-avatar[data-mode="plane"] .avatar-scene--plane {
  display: block;
  top: 20%;
  left: 3%;
  z-index: 5;
  width: 94%;
  height: 54%;
  background: #fff7ea;
  clip-path: polygon(0 48%, 58% 22%, 100% 0, 78% 49%, 100% 100%, 58% 78%);
  filter: drop-shadow(0 5px 0 rgba(43, 118, 137, 0.32));
}

.couple-avatar[data-mode="plane"] .avatar-shadow {
  opacity: 0.1;
}

@keyframes avatar-travel-bob {
  0% {
    transform: translate(-50%, -78%) scale(calc(var(--marker-scale, 1) * 0.96)) translateY(0);
  }

  100% {
    transform: translate(-50%, -78%) scale(calc(var(--marker-scale, 1) * 0.96)) translateY(-3px);
  }
}

@keyframes avatar-step-front {
  0%,
  100% {
    transform: rotate(17deg);
  }

  50% {
    transform: rotate(-17deg);
  }
}

@keyframes avatar-step-back {
  0%,
  100% {
    transform: rotate(-17deg);
  }

  50% {
    transform: rotate(17deg);
  }
}

@keyframes avatar-hug-left {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5%);
  }
}

@keyframes avatar-hug-right {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-5%);
  }
}

@keyframes avatar-heart-rise {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, 8px) rotate(45deg) scale(0.72);
  }

  48% {
    opacity: 1;
    transform: translate(-50%, -4px) rotate(45deg) scale(1);
  }
}

@keyframes avatar-sleep-float {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(4px);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .couple-avatar,
  .couple-avatar *,
  .couple-avatar::before,
  .couple-avatar::after {
    animation: none !important;
    transition: none !important;
  }
}

.couple-avatar::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("assets/avatar/couple-sprite.png");
  background-position: var(--avatar-frame-x) var(--avatar-frame-y);
  background-repeat: no-repeat;
  background-size: 400% 200%;
  content: "";
  image-rendering: auto;
}

.avatar-sprite {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  background-image: url("assets/avatar/couple-sprite.png");
  background-position: var(--avatar-frame-x) var(--avatar-frame-y);
  background-repeat: no-repeat;
  background-size: 400% 200%;
  content: "";
  image-rendering: auto;
  pointer-events: none;
  will-change: transform;
}

.avatar-sprite--hair {
  clip-path: polygon(0 0, 100% 0, 100% 47%, 0 47%);
  transform-origin: 52% 29%;
}

.avatar-sprite--head {
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 42%);
  transform-origin: 52% 28%;
}

.avatar-sprite--body {
  clip-path: polygon(0 20%, 100% 20%, 100% 76%, 0 76%);
  transform-origin: 50% 58%;
}

.avatar-sprite--arms {
  z-index: 6;
  clip-path: polygon(0 28%, 100% 28%, 100% 70%, 0 70%);
  transform-origin: 50% 48%;
}

.avatar-sprite--legs {
  clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%);
  transform-origin: 50% 82%;
}

.couple-avatar .avatar-couple,
.couple-avatar .avatar-scene,
.couple-avatar .avatar-prop {
  display: none !important;
}

.couple-avatar .avatar-shadow {
  right: 20%;
  bottom: 6%;
  left: 20%;
  z-index: 1;
  height: 8%;
  background: rgba(7, 42, 48, 0.2);
}

.couple-avatar[data-mode="airport"],
.couple-avatar[data-mode="plane"] {
  --avatar-frame-x: 0%;
  --avatar-frame-y: 0%;
}

.couple-avatar[data-mode="car"] {
  --avatar-frame-x: 33.333%;
  --avatar-frame-y: 0%;
}

.couple-avatar[data-mode="bike"] {
  --avatar-frame-x: 66.667%;
  --avatar-frame-y: 0%;
}

.couple-avatar[data-mode="ceremony"] {
  --avatar-frame-x: 100%;
  --avatar-frame-y: 0%;
}

.couple-avatar[data-mode="beach"] {
  --avatar-frame-x: 0%;
  --avatar-frame-y: 100%;
}

.couple-avatar[data-mode="boat"] {
  --avatar-frame-x: 33.333%;
  --avatar-frame-y: 100%;
}

.couple-avatar[data-mode="helicopter"] {
  --helicopter-scale-x: -1;
  width: clamp(112px, 9.8vw, 172px);
  transform: translate(-50%, -62%) scale(calc(var(--marker-scale, 1) * 0.96));
  --avatar-frame-x: 0%;
  --avatar-frame-y: 0%;
}

.couple-avatar[data-mode="helicopter"].is-moving-right {
  --helicopter-scale-x: 1;
}

.couple-avatar[data-mode="hike"] {
  --avatar-frame-x: 66.667%;
  --avatar-frame-y: 100%;
}

.couple-avatar[data-mode="stay"] {
  --avatar-frame-x: 100%;
  --avatar-frame-y: 100%;
}

.couple-avatar[data-mode="airport"]::before,
.couple-avatar[data-mode="car"]::before,
.couple-avatar[data-mode="bike"]::before,
.couple-avatar[data-mode="ceremony"]::before,
.couple-avatar[data-mode="beach"]::before,
.couple-avatar[data-mode="boat"]::before,
.couple-avatar[data-mode="helicopter"]::before,
.couple-avatar[data-mode="hike"]::before,
.couple-avatar[data-mode="stay"]::before {
  background-position: 0 0;
  background-size: 400% 100%;
  will-change: background-position, transform;
}

.couple-avatar[data-mode="airport"] .avatar-sprite,
.couple-avatar[data-mode="car"] .avatar-sprite,
.couple-avatar[data-mode="bike"] .avatar-sprite,
.couple-avatar[data-mode="ceremony"] .avatar-sprite,
.couple-avatar[data-mode="beach"] .avatar-sprite,
.couple-avatar[data-mode="boat"] .avatar-sprite,
.couple-avatar[data-mode="helicopter"] .avatar-sprite,
.couple-avatar[data-mode="hike"] .avatar-sprite,
.couple-avatar[data-mode="stay"] .avatar-sprite {
  display: none;
}

.couple-avatar[data-mode="airport"]::before {
  background-image: url("assets/avatar/airport-poses.png");
  animation:
    avatar-pose-sheet-4 2400ms steps(1, end) infinite,
    avatar-airport-step 2400ms steps(4, end) infinite;
}

.couple-avatar[data-mode="car"]::before {
  background-image: url("assets/avatar/car-poses.png");
  animation:
    avatar-pose-sheet-4 1500ms steps(1, end) infinite,
    avatar-car-shake 1500ms steps(4, end) infinite;
}

.couple-avatar[data-mode="bike"]::before {
  background-image: url("assets/avatar/bike-poses.png");
  animation:
    avatar-pose-sheet-4 1500ms steps(1, end) infinite,
    avatar-bike-roll 1500ms steps(4, end) infinite;
}

.couple-avatar[data-mode="ceremony"]::before {
  background-image: url("assets/avatar/wedding-poses.png");
  animation:
    avatar-pose-sheet-4 3200ms steps(1, end) infinite,
    avatar-ceremony-kiss 3200ms ease-in-out infinite;
}

.couple-avatar[data-mode="beach"]::before {
  background-image: url("assets/avatar/beach-poses.png");
  animation:
    avatar-pose-sheet-4 3600ms steps(1, end) infinite,
    avatar-beach-breathe 3600ms ease-in-out infinite;
}

.couple-avatar[data-mode="boat"]::before {
  background-image: url("assets/avatar/boat-poses.png");
  animation:
    avatar-pose-sheet-4 1700ms steps(1, end) infinite,
    avatar-boat-rock 1700ms ease-in-out infinite;
}

.couple-avatar[data-mode="helicopter"]::before {
  background-image: url("assets/avatar/helicopter-poses.png");
  animation:
    avatar-pose-sheet-4 1280ms steps(1, end) infinite,
    avatar-helicopter-hover 1280ms ease-in-out infinite;
}

.couple-avatar[data-mode="hike"]::before {
  background-image: url("assets/avatar/hike-poses.png");
  animation:
    avatar-pose-sheet-4 1900ms steps(1, end) infinite,
    avatar-hike-step 1900ms steps(4, end) infinite;
}

.couple-avatar[data-mode="stay"]::before {
  background-image: url("assets/avatar/stay-poses.png");
  animation:
    avatar-pose-sheet-4 3600ms steps(1, end) infinite,
    avatar-sleep-breathe 3600ms ease-in-out infinite;
}

.couple-avatar::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  content: "";
  pointer-events: none;
}

.couple-avatar[data-mode="car"]::after,
.couple-avatar[data-mode="bike"]::after {
  display: block;
  top: auto;
  right: auto;
  bottom: 32%;
  left: -18%;
  width: 42%;
  height: 22%;
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(255, 247, 234, 0.72) 14% 48%, transparent 48%),
    linear-gradient(90deg, transparent 0 32%, rgba(143, 214, 223, 0.7) 32% 72%, transparent 72%);
  background-position: 0 20%, 10px 74%;
  background-repeat: no-repeat;
  background-size: 100% 4px, 82% 4px;
  animation: avatar-wind-lines 520ms steps(2, end) infinite;
}

.couple-avatar[data-mode="boat"]::after {
  display: block;
  top: auto;
  right: 4%;
  bottom: 12%;
  left: 4%;
  height: 20%;
  background:
    linear-gradient(90deg, rgba(255, 247, 234, 0.86) 0 12%, transparent 12% 24%, rgba(143, 214, 223, 0.78) 24% 44%, transparent 44% 58%, rgba(255, 247, 234, 0.86) 58% 74%, transparent 74%),
    linear-gradient(90deg, transparent 0 18%, rgba(80, 171, 192, 0.8) 18% 40%, transparent 40% 56%, rgba(255, 247, 234, 0.78) 56% 78%, transparent 78%);
  background-position: 0 18%, 22px 72%;
  background-repeat: repeat-x;
  background-size: 78px 5px, 92px 5px;
  animation: avatar-sea-shimmer 860ms steps(3, end) infinite;
}

.couple-avatar[data-mode="helicopter"]::after {
  display: block;
  top: auto;
  right: 14%;
  bottom: 4%;
  left: 14%;
  height: 18%;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 247, 234, 0.78) 18% 62%, transparent 62%),
    linear-gradient(90deg, transparent 0 32%, rgba(143, 214, 223, 0.72) 32% 82%, transparent 82%);
  background-position: 0 24%, 16px 76%;
  background-repeat: repeat-x;
  background-size: 84px 4px, 96px 4px;
  opacity: 0.74;
  animation: avatar-helicopter-wash 640ms steps(2, end) infinite;
}

.couple-avatar[data-mode="stay"]::after {
  display: none;
  top: -2%;
  right: 2%;
  bottom: auto;
  left: auto;
  width: 26%;
  height: 28%;
  background:
    linear-gradient(#fff7ea, #fff7ea) 16% 80% / 26% 10% no-repeat,
    linear-gradient(#fff7ea, #fff7ea) 28% 70% / 22% 10% no-repeat,
    linear-gradient(#fff7ea, #fff7ea) 68% 44% / 32% 10% no-repeat,
    linear-gradient(#fff7ea, #fff7ea) 80% 34% / 26% 10% no-repeat;
  opacity: 0.88;
  animation: avatar-sleep-z 1700ms ease-in-out infinite;
}

.couple-avatar[data-mode="plane"] {
  width: clamp(98px, 8.8vw, 154px);
  aspect-ratio: 2.88;
  transform: translate(-50%, -56%) scale(calc(var(--marker-scale, 1) * 0.94));
}

.couple-avatar[data-mode="plane"]::before {
  display: none;
}

.couple-avatar[data-mode="plane"] .avatar-sprite {
  display: none;
}

.couple-avatar[data-mode="plane"]::after {
  display: block;
  top: 40%;
  right: 78%;
  bottom: auto;
  left: auto;
  width: 62%;
  height: 30%;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(255, 247, 234, 0.9) 24% 62%, transparent 62%),
    linear-gradient(90deg, transparent 0 44%, rgba(143, 214, 223, 0.82) 44% 86%, transparent 86%);
  background-position: 0 14%, 0 76%;
  background-repeat: no-repeat;
  background-size: 100% 4px, 72% 4px;
  opacity: 0.78;
  animation: avatar-plane-wind 780ms steps(2, end) infinite;
}

.couple-avatar[data-mode="plane"] .avatar-scene--plane {
  --plane-scale-x: 1;
  display: block !important;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: url("assets/avatar/plane-pixel.png?v=20260701-blue-plane") center / contain no-repeat;
  clip-path: none;
  filter: drop-shadow(0 5px 0 rgba(43, 118, 137, 0.42)) drop-shadow(0 10px 10px rgba(8, 33, 49, 0.24));
  image-rendering: auto;
  animation: avatar-plane-flight 1180ms ease-in-out infinite;
}

.couple-avatar[data-mode="plane"].is-moving-right .avatar-scene--plane {
  --plane-scale-x: -1;
}

@keyframes avatar-luggage-ready {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes avatar-airport-wave {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translate(4px, -3px) rotate(4deg);
  }
}

@keyframes avatar-airport-step {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

@keyframes avatar-look-around {
  0%,
  22%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  38%,
  52% {
    transform: translateX(4px) rotate(4deg);
  }

  72%,
  84% {
    transform: translateX(-4px) rotate(-3.4deg);
  }
}

@keyframes avatar-wave-hands {
  0%,
  18%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  36%,
  48% {
    transform: translate(5px, -6px) rotate(7deg);
  }

  68%,
  82% {
    transform: translate(-5px, -3px) rotate(-5deg);
  }
}

@keyframes avatar-car-shake {
  0%,
  100% {
    transform: translate(0, 0) rotate(-0.8deg);
  }

  50% {
    transform: translate(1px, -2px) rotate(0.8deg);
  }
}

@keyframes avatar-hair-wind {
  0%,
  100% {
    transform: translateX(0) skewX(0deg);
  }

  50% {
    transform: translateX(-5px) skewX(-5deg);
  }
}

@keyframes avatar-passenger-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-4px);
  }

  70% {
    transform: translate(3px, -2px) rotate(2deg);
  }
}

@keyframes avatar-look-back {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  45% {
    transform: translateX(-6px) rotate(-6deg);
  }

  70% {
    transform: translateX(3px) rotate(2.5deg);
  }
}

@keyframes avatar-road-hands {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }

  50% {
    transform: translate(4px, -3px) rotate(4deg);
  }
}

@keyframes avatar-bike-roll {
  0% {
    transform: translateY(0) rotate(-0.8deg);
  }

  26% {
    transform: translate(1px, -1px) rotate(0.5deg);
  }

  52% {
    transform: translateY(-2px) rotate(0.8deg);
  }

  78% {
    transform: translate(-1px, -1px) rotate(-0.4deg);
  }

  100% {
    transform: translateY(0) rotate(-0.8deg);
  }
}

@keyframes avatar-bike-lean {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  34% {
    transform: translateY(-4px) rotate(4deg);
  }

  68% {
    transform: translate(3px, -2px) rotate(-2deg);
  }
}

@keyframes avatar-bike-hands {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translate(4px, -5px) rotate(5deg);
  }
}

@keyframes avatar-pedal-kick {
  0% {
    transform: translateX(-1px) skewX(-2deg);
  }

  25% {
    transform: translateX(5px) skewX(5deg);
  }

  50% {
    transform: translateX(-2px) skewX(-4deg);
  }

  75% {
    transform: translateX(6px) skewX(6deg);
  }

  100% {
    transform: translateX(-1px) skewX(-2deg);
  }
}

@keyframes avatar-ceremony-kiss {
  0%,
  100% {
    transform: scale(1);
  }

  48% {
    transform: scale(1.035);
  }
}

@keyframes avatar-veil-sway {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  50% {
    transform: translateX(-5px) rotate(-4deg);
  }
}

@keyframes avatar-kiss-lean {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }

  50% {
    transform: translateX(3px) scale(1.035);
  }
}

@keyframes avatar-hug-squeeze {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }

  50% {
    transform: translateX(4px) scale(1.045);
  }
}

@keyframes avatar-beach-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1px);
  }
}

@keyframes avatar-beach-hair {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  50% {
    transform: translateX(4px) rotate(4deg);
  }
}

@keyframes avatar-beach-wave {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translate(3px, -3px) rotate(-4deg);
  }
}

@keyframes avatar-boat-rock {
  0%,
  100% {
    transform: translateY(0) rotate(-1.8deg);
  }

  50% {
    transform: translateY(-3px) rotate(1.8deg);
  }
}

@keyframes avatar-row-sway {
  0%,
  100% {
    transform: translateX(0) rotate(-1deg);
  }

  50% {
    transform: translateX(5px) rotate(4deg);
  }
}

@keyframes avatar-row-arms {
  0%,
  100% {
    transform: translateX(-1px) rotate(-2deg);
  }

  35% {
    transform: translate(6px, -4px) rotate(6deg);
  }

  70% {
    transform: translateX(4px) rotate(3deg);
  }
}

@keyframes avatar-helicopter-hover {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg) scaleX(var(--helicopter-scale-x, 1));
  }

  38% {
    transform: translateY(-4px) rotate(0.8deg) scaleX(var(--helicopter-scale-x, 1));
  }

  70% {
    transform: translateY(-2px) rotate(-0.2deg) scaleX(var(--helicopter-scale-x, 1));
  }
}

@keyframes avatar-helicopter-wash {
  0% {
    background-position: 0 24%, 16px 76%;
    opacity: 0.46;
    transform: translateY(0) scaleX(var(--helicopter-scale-x, 1));
  }

  50% {
    background-position: 22px 24%, 0 76%;
    opacity: 0.78;
    transform: translateY(2px) scaleX(var(--helicopter-scale-x, 1));
  }

  100% {
    background-position: 42px 24%, -18px 76%;
    opacity: 0.46;
    transform: translateY(0) scaleX(var(--helicopter-scale-x, 1));
  }
}

@keyframes avatar-pose-sheet-4 {
  0%,
  24.99% {
    background-position: 0 0;
  }

  25%,
  49.99% {
    background-position: 33.333% 0;
  }

  50%,
  74.99% {
    background-position: 66.667% 0;
  }

  75%,
  100% {
    background-position: 100% 0;
  }
}

@keyframes avatar-hike-step {
  0% {
    transform: translate(0, 0) rotate(-0.8deg);
  }

  24% {
    transform: translate(2px, -2px) rotate(0.8deg);
  }

  50% {
    transform: translate(4px, -4px) rotate(1.2deg);
  }

  76% {
    transform: translate(2px, -2px) rotate(-0.4deg);
  }

  100% {
    transform: translate(0, 0) rotate(-0.8deg);
  }
}

@keyframes avatar-hike-head-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-0.8deg);
  }

  50% {
    transform: translateY(-4px) rotate(3deg);
  }
}

@keyframes avatar-hike-body-swing {
  0%,
  100% {
    transform: translateX(0) rotate(-1deg);
  }

  50% {
    transform: translateX(5px) rotate(4deg);
  }
}

@keyframes avatar-hike-look-around {
  0%,
  100% {
    transform: translateY(0) rotate(-0.8deg);
  }

  42% {
    transform: translate(5px, -5px) rotate(5deg);
  }

  72% {
    transform: translate(-4px, -2px) rotate(-4deg);
  }
}

@keyframes avatar-hike-arm-swing {
  0% {
    transform: translateX(-1px) rotate(-2deg);
  }

  25% {
    transform: translate(5px, -4px) rotate(6deg);
  }

  50% {
    transform: translateX(6px) rotate(4deg);
  }

  75% {
    transform: translate(-4px, -3px) rotate(-6deg);
  }

  100% {
    transform: translateX(-1px) rotate(-2deg);
  }
}

@keyframes avatar-walking-legs {
  0% {
    transform: translateX(-1px) skewX(-1deg);
  }

  25% {
    transform: translateX(5px) skewX(5deg);
  }

  50% {
    transform: translateX(-2px) skewX(-5deg);
  }

  75% {
    transform: translateX(6px) skewX(5deg);
  }

  100% {
    transform: translateX(-1px) skewX(-1deg);
  }
}

@keyframes avatar-sleep-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(1px) scale(1.012);
  }
}

@keyframes avatar-wind-lines {
  0% {
    transform: translateX(10px);
    opacity: 0.2;
  }

  100% {
    transform: translateX(-7px);
    opacity: 0.9;
  }
}

@keyframes avatar-sea-shimmer {
  0% {
    background-position: 0 18%, 22px 72%;
  }

  100% {
    background-position: 78px 18%, -70px 72%;
  }
}

@keyframes avatar-sleep-z {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(5px) scale(0.86);
  }

  50% {
    opacity: 0.92;
    transform: translateY(-5px) scale(1);
  }
}

@keyframes avatar-plane-flight {
  0%,
  100% {
    transform: translateY(0) scaleX(var(--plane-scale-x, 1));
  }

  50% {
    transform: translateY(-3px) scaleX(var(--plane-scale-x, 1));
  }
}

@keyframes avatar-plane-wind {
  0% {
    transform: translateX(8px);
    opacity: 0.22;
  }

  100% {
    transform: translateX(-10px);
    opacity: 0.86;
  }
}

@media (prefers-reduced-motion: reduce) {
  .couple-avatar,
  .couple-avatar *,
  .couple-avatar::before,
  .couple-avatar::after {
    animation: none !important;
  }
}

.map-logo {
  position: absolute;
  left: var(--x);
  top: var(--y);
  --logo-size: clamp(46px, 4vw, 64px);
  display: grid;
  gap: 6px;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  transform: translate(-50%, -50%) scale(var(--marker-scale, 1));
  transform-style: preserve-3d;
  text-align: center;
  transition:
    opacity 180ms ease,
    filter 180ms ease,
    transform 220ms ease;
}

.map-logo[data-category="wedding"] {
  z-index: 7;
  --logo-size: clamp(78px, 7vw, 112px);
}

.map-logo[data-category="stay"] {
  z-index: 6;
  --logo-size: clamp(62px, 5.4vw, 84px);
}

.map-logo[data-category="arrival"] {
  z-index: 6;
  --logo-size: clamp(62px, 5.4vw, 84px);
}

.map-logo[data-category="explore"] {
  z-index: 5;
}

.map-logo__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--logo-size);
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: clamp(1px, 0.18vw, 2px);
  border: 0;
  border-radius: 28%;
  background:
    linear-gradient(145deg, rgba(255, 250, 234, 0.96), rgba(238, 218, 178, 0.9)),
    #efdfbd;
  box-shadow:
    0 15px 34px rgba(13, 45, 67, 0.24),
    inset 0 0 0 1px rgba(226, 198, 144, 0.78),
    inset 0 -5px 12px rgba(154, 115, 62, 0.08);
  overflow: hidden;
  transition:
    filter 180ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.map-logo__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24%;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.02);
}

.map-logo__caption {
  display: grid;
  width: max-content;
  max-width: 210px;
  gap: 2px;
  justify-self: center;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  background: rgba(255, 247, 234, 0.78);
  box-shadow: 0 10px 24px rgba(13, 45, 67, 0.18);
  color: var(--ink);
  line-height: 1.08;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-logo__caption strong {
  display: block;
  font-style: normal;
}

.map-logo__caption strong {
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  font-weight: 950;
}

.map-logo.is-related {
  z-index: 9;
}

.map-logo:hover,
.map-logo:focus-visible {
  z-index: 40;
}

.map-logo.is-active {
  z-index: 36;
}

.map-logo:hover .map-logo__badge,
.map-logo:focus-visible .map-logo__badge,
.map-logo.is-active .map-logo__badge {
  transform: translateY(-6px) scale(1.11);
  box-shadow:
    0 18px 42px rgba(13, 45, 67, 0.3),
    0 0 0 8px rgba(239, 223, 189, 0.18),
    inset 0 0 0 1px rgba(226, 198, 144, 0.84),
    inset 0 -5px 12px rgba(154, 115, 62, 0.08);
}

.map-logo:hover .map-logo__caption,
.map-logo:focus-visible .map-logo__caption,
.map-logo.is-active .map-logo__caption,
.map-logo.is-related .map-logo__caption {
  opacity: 0.98;
  transform: translateY(0);
}

.map-logo.is-dimmed {
  opacity: 0.42;
  filter: saturate(0.72);
}

.map-logo.is-related .map-logo__badge {
  box-shadow:
    0 18px 42px rgba(13, 45, 67, 0.32),
    0 0 0 7px rgba(239, 223, 189, 0.17),
    inset 0 0 0 1px rgba(226, 198, 144, 0.8),
    inset 0 -5px 12px rgba(154, 115, 62, 0.08);
}

.map-compass {
  position: absolute;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 7;
  display: grid;
  place-items: center;
  width: clamp(74px, 8vw, 118px);
  color: #fff7ea;
  filter: drop-shadow(0 10px 24px rgba(13, 45, 67, 0.28));
  pointer-events: none;
}

.map-compass span {
  position: absolute;
  top: -12px;
  color: #fff7ea;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(13, 45, 67, 0.45);
}

.map-compass svg {
  width: 100%;
  height: auto;
}

.map-compass circle:first-child {
  fill: rgba(18, 50, 77, 0.58);
  stroke: rgba(255, 247, 234, 0.88);
  stroke-width: 4;
}

.map-compass path {
  fill: var(--coral);
  stroke: #fff7ea;
  stroke-width: 4;
  stroke-linejoin: round;
}

.map-compass circle:last-child {
  fill: #fff7ea;
}

.marker-layer:has(.map-logo[data-category="wedding"]:hover, .map-logo[data-category="wedding"]:focus-visible)
  .map-logo:not([data-category="wedding"]),
.marker-layer:has(.map-logo[data-category="explore"]:hover, .map-logo[data-category="explore"]:focus-visible)
  .map-logo:not([data-category="explore"]),
.marker-layer:has(.map-logo[data-category="stay"]:hover, .map-logo[data-category="stay"]:focus-visible)
  .map-logo:not([data-category="stay"]),
.marker-layer:has(.map-logo[data-category="arrival"]:hover, .map-logo[data-category="arrival"]:focus-visible)
  .map-logo:not([data-category="arrival"]) {
  opacity: 0.42;
  filter: saturate(0.72);
}

.marker-layer:has(.map-logo[data-category="wedding"]:hover, .map-logo[data-category="wedding"]:focus-visible)
  .map-logo[data-category="wedding"]
  .map-logo__badge,
.marker-layer:has(.map-logo[data-category="explore"]:hover, .map-logo[data-category="explore"]:focus-visible)
  .map-logo[data-category="explore"]
  .map-logo__badge,
.marker-layer:has(.map-logo[data-category="stay"]:hover, .map-logo[data-category="stay"]:focus-visible)
  .map-logo[data-category="stay"]
  .map-logo__badge,
.marker-layer:has(.map-logo[data-category="arrival"]:hover, .map-logo[data-category="arrival"]:focus-visible)
  .map-logo[data-category="arrival"]
  .map-logo__badge {
  box-shadow:
    0 18px 42px rgba(13, 45, 67, 0.32),
    0 0 0 10px rgba(255, 247, 234, 0.18);
}

.marker-layer:has(.map-logo[data-category="wedding"]:hover, .map-logo[data-category="wedding"]:focus-visible)
  .map-logo[data-category="wedding"]
  .map-logo__caption,
.marker-layer:has(.map-logo[data-category="explore"]:hover, .map-logo[data-category="explore"]:focus-visible)
  .map-logo[data-category="explore"]
  .map-logo__caption,
.marker-layer:has(.map-logo[data-category="stay"]:hover, .map-logo[data-category="stay"]:focus-visible)
  .map-logo[data-category="stay"]
  .map-logo__caption,
.marker-layer:has(.map-logo[data-category="arrival"]:hover, .map-logo[data-category="arrival"]:focus-visible)
  .map-logo[data-category="arrival"]
  .map-logo__caption {
  opacity: 0.98;
  transform: translateY(0);
}

.place-drawer {
  position: absolute;
  top: max(110px, calc(env(safe-area-inset-top) + 94px));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9;
  display: flex;
  width: min(410px, calc(100vw - 36px));
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 247, 234, 0.64);
  box-shadow: var(--shadow);
  overflow: auto;
  transform: translateX(calc(100% + 34px));
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(20px) saturate(1.25);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.place-drawer.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.close-drawer {
  position: sticky;
  top: 0;
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -8px -8px 4px 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.close-drawer:hover,
.close-drawer:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}

.place-drawer h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
}

.place-drawer p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.place-drawer__meta {
  display: grid;
  gap: 8px;
  margin: 8px 0 18px;
}

.meta-pill {
  display: flex;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(20, 54, 83, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hotel-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.hotel-card {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(20, 54, 83, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.hotel-card:hover,
.hotel-card:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.hotel-card strong {
  font-size: 0.94rem;
  font-weight: 950;
}

.hotel-card span,
.hotel-card em {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.timeline:empty {
  display: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(20, 54, 83, 0.1);
}

.timeline-time {
  color: #a34745;
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline-text {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 0 18px;
  background: var(--ink);
  color: #fffaf2;
  font-weight: 900;
  text-decoration: none;
}

.map-link:hover,
.map-link:focus-visible {
  transform: translateY(-2px);
  background: #0d283e;
}

@media (max-width: 820px) {
  body {
    overflow: hidden;
  }

  .choice-gate {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    transition:
      grid-template-columns 220ms cubic-bezier(0.22, 1, 0.36, 1),
      grid-template-rows 220ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 700ms ease 220ms,
      transform 700ms ease 220ms,
      visibility 700ms ease 220ms;
  }

  .choice-gate:has(.choice-card--gallery:hover, .choice-card--gallery:focus-visible),
  .choice-gate.is-idle-gallery {
    grid-template-columns: minmax(0, 8fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .choice-gate.is-touching-gallery:has(.choice-card--gallery) {
    grid-template-columns: minmax(0, 8fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .choice-gate:has(.choice-card--map:hover, .choice-card--map:focus-visible),
  .choice-gate.is-idle-map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 8fr) minmax(0, 1fr);
  }

  .choice-gate.is-touching-map:has(.choice-card--map) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 8fr) minmax(0, 1fr);
  }

  .choice-gate:has(.choice-card--video:hover, .choice-card--video:focus-visible),
  .choice-gate.is-idle-video {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 8fr);
  }

  .choice-gate.is-touching-video:has(.choice-card--video) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 8fr);
  }

  .choice-card {
    padding: max(18px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
  }

  .choice-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.035);
  }

  .choice-card:hover .choice-card__image,
  .choice-card:focus-visible .choice-card__image,
  .choice-gate.is-touching-gallery .choice-card--gallery .choice-card__image,
  .choice-gate.is-touching-map .choice-card--map .choice-card__image,
  .choice-gate.is-touching-video .choice-card--video .choice-card__image,
  .choice-gate.is-idle-gallery .choice-card--gallery .choice-card__image,
  .choice-gate.is-idle-map .choice-card--map .choice-card__image,
  .choice-gate.is-idle-video .choice-card--video .choice-card__image {
    transform: scale(1.065);
    animation-duration: 24s;
  }

  .choice-card--gallery .choice-card__image,
  .choice-card--map .choice-card__image,
  .choice-card--video .choice-card__image {
    object-position: center center;
  }

  .choice-card__content {
    gap: 7px;
  }

  .choice-card__kicker {
    font-size: clamp(1.18rem, 6.2vw, 2.15rem);
    line-height: 0.92;
  }

  .choice-card__content strong {
    font-size: clamp(1.85rem, 8.8vw, 3.25rem);
    line-height: 0.95;
  }

  .choice-card__play {
    width: clamp(64px, 18vw, 86px);
  }

  .choice-card__play::before {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }

  .story-play-button {
    width: clamp(70px, 20vw, 92px);
  }

  .story-play-button span {
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 21px;
  }

  .return-marker {
    width: 42px;
    height: 42px;
  }

  .return-marker span {
    width: 15px;
    height: 15px;
    border-width: 3px 0 0 3px;
  }

  .photo-gate__image {
    object-fit: cover;
    object-position: center top;
  }

  .photo-gate__content {
    align-self: start;
    width: min(98vw, 760px);
    padding: max(16px, env(safe-area-inset-top)) 14px 0;
  }

  h1 {
    font-size: clamp(1.72rem, 7.8vw, 3.6rem);
  }

  .date-line {
    margin-top: 11px;
    font-size: clamp(1rem, 4.35vw, 1.28rem);
  }

  .invitation-line {
    max-width: min(92vw, 400px);
    margin-top: 10px;
    font-size: clamp(0.98rem, 3.8vw, 1.08rem);
    line-height: 1.46;
  }

  .photo-gate__handle {
    width: min(330px, calc(100vw - 34px));
    min-height: 64px;
    gap: 10px;
    padding: 9px 18px 10px;
  }

  .photo-gate__handle span {
    font-size: 0.74rem;
  }

  .photo-gate__handle em {
    font-size: 0.72rem;
  }

  .map-hud {
    flex-direction: column;
    gap: 10px;
  }

  .map-hud h2 {
    font-size: clamp(2.2rem, 11vw, 4.2rem);
  }

  .map-nav-toggle {
    top: max(142px, calc(env(safe-area-inset-top) + 122px));
    left: max(18px, env(safe-area-inset-left));
    width: 40px;
    height: 30px;
  }

  .map-nav {
    top: max(178px, calc(env(safe-area-inset-top) + 158px));
    left: max(14px, env(safe-area-inset-left));
    width: min(152px, calc(100vw - 28px));
    gap: 6px;
    padding: 6px;
  }

  .map-nav__button {
    min-height: 34px;
    padding: 0 6px;
    font-size: 0.68rem;
  }

  .map-stage {
    width: max(100vw, 177.78vh);
    margin-top: 0;
  }

  .map-logo {
    --logo-size: clamp(48px, 11vw, 62px);
  }

  .map-logo[data-category="arrival"],
  .map-logo[data-category="stay"] {
    --logo-size: clamp(62px, 14vw, 78px);
  }

  .couple-avatar {
    width: clamp(92px, 24vw, 128px);
  }

  .map-logo__caption {
    max-width: 128px;
    padding: 5px 7px;
  }

  .place-drawer {
    top: auto;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-height: 52vh;
    padding: 18px;
    transform: translateY(calc(100% + 24px));
  }

  .map-compass {
    width: 70px;
    right: 14px;
    bottom: 14px;
  }

  .place-drawer.is-open {
    transform: translateY(0);
  }

  .timeline-item {
    grid-template-columns: 68px 1fr;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .choice-gate,
  .choice-gate:has(.choice-card--gallery:hover, .choice-card--gallery:focus-visible),
  .choice-gate:has(.choice-card--map:hover, .choice-card--map:focus-visible),
  .choice-gate:has(.choice-card--video:hover, .choice-card--video:focus-visible),
  .choice-gate.is-touching-gallery,
  .choice-gate.is-touching-map,
  .choice-gate.is-touching-video,
  .choice-gate.is-idle-gallery,
  .choice-gate.is-idle-map,
  .choice-gate.is-idle-video {
    grid-template-columns: minmax(0, 1fr);
  }

  .choice-gate {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .choice-gate:has(.choice-card--gallery:hover, .choice-card--gallery:focus-visible),
  .choice-gate.is-touching-gallery,
  .choice-gate.is-idle-gallery {
    grid-template-rows: minmax(0, 8fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .choice-gate:has(.choice-card--map:hover, .choice-card--map:focus-visible),
  .choice-gate.is-touching-map,
  .choice-gate.is-idle-map {
    grid-template-rows: minmax(0, 1fr) minmax(0, 8fr) minmax(0, 1fr);
  }

  .choice-gate:has(.choice-card--video:hover, .choice-card--video:focus-visible),
  .choice-gate.is-touching-video,
  .choice-gate.is-idle-video {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 8fr);
  }

  .choice-card {
    min-height: 0;
    padding: 14px 16px;
  }

  .choice-card:first-child {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .choice-card:last-child {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .choice-card__image,
  .choice-card:hover .choice-card__image,
  .choice-card:focus-visible .choice-card__image,
  .choice-gate.is-touching-gallery .choice-card--gallery .choice-card__image,
  .choice-gate.is-touching-map .choice-card--map .choice-card__image,
  .choice-gate.is-touching-video .choice-card--video .choice-card__image,
  .choice-gate.is-idle-gallery .choice-card--gallery .choice-card__image,
  .choice-gate.is-idle-map .choice-card--map .choice-card__image,
  .choice-gate.is-idle-video .choice-card--video .choice-card__image {
    animation: none;
    object-position: center center;
    transform: none;
  }

  .choice-card__content {
    width: min(100%, 440px);
  }

  .gallery-play-button {
    width: clamp(54px, 15vw, 68px);
  }

  .gallery-counter {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px));
  }
}

@media (max-width: 430px) {
  .map-stage {
    width: max(100vw, 177.78vh);
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
