:root {
  color-scheme: dark;
  background: #087bc8;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #087bc8;
}

html.v5main-opening-pending {
  background: #000;
}

html.v5main-opening-pending::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  background: #000;
  pointer-events: none;
}

html.v5main-opening-skip .opening {
  display: none !important;
}

html.is-opening,
body.is-opening {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.is-opening,
body.is-opening .opening {
  touch-action: none;
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.opening[hidden] {
  display: none;
}

.opening.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening video {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #000;
}

.opening__skip {
  position: absolute;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-width: 132px;
  min-height: 48px;
  padding: 10px 20px;
  color: #fff;
  font: 700 15px/1 system-ui, sans-serif;
  letter-spacing: .08em;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
  cursor: pointer;
}

.opening__skip span {
  margin-left: .45em;
}

.world-map {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  background-color: #087bc8;
  background-image: url("./assets/v5retime-world-map-clean-v1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.easter-cloud {
  position: absolute;
  z-index: 6;
  top: clamp(34px, 5.5vh, 72px);
  left: clamp(34px, 5.4vw, 88px);
  width: clamp(96px, 11vw, 176px);
  height: clamp(54px, 9vh, 92px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.easter-cloud::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .18), transparent 68%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.easter-cloud:hover::after,
.easter-cloud:focus-visible::after {
  opacity: 1;
}

.easter-cloud:focus-visible {
  outline: 2px solid rgba(220, 252, 255, .8);
  outline-offset: 4px;
}

.easter-gate,
.easter-story {
  position: fixed;
  inset: 0;
}

.easter-gate[hidden],
.easter-story[hidden] {
  display: none !important;
}

.easter-gate {
  z-index: 2147482400;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 8, 18, .38);
  backdrop-filter: blur(2px);
}

.easter-gate__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(92vw, 460px);
  padding: 34px 28px 28px;
  border: 1px solid rgba(165, 239, 255, .64);
  border-radius: 16px;
  background: rgba(0, 10, 24, .92);
  box-shadow: 0 0 38px rgba(48, 205, 255, .28), inset 0 0 24px rgba(61, 213, 255, .08);
}

.easter-gate__panel label {
  grid-column: 1 / -1;
  margin-bottom: 13px;
  color: #dffbff;
  font: 700 13px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .24em;
  text-align: center;
  text-shadow: 0 0 12px rgba(100, 230, 255, .9);
}

.easter-gate__panel input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  color: #f3fdff;
  font: 600 20px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  border: 1px solid rgba(167, 238, 255, .48);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  outline: none;
  background: rgba(0, 0, 0, .7);
}

.easter-gate__panel input:focus {
  border-color: #b8f4ff;
  box-shadow: inset 0 0 18px rgba(75, 217, 255, .14), 0 0 14px rgba(75, 217, 255, .24);
}

.easter-gate__submit {
  min-width: 92px;
  border: 1px solid rgba(167, 238, 255, .72);
  border-radius: 0 9px 9px 0;
  color: #00131d;
  font: 800 13px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  background: linear-gradient(180deg, #d9fbff, #58cce9);
  cursor: pointer;
}

.easter-gate__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  color: rgba(226, 250, 255, .76);
  font-size: 25px;
  background: transparent;
  cursor: pointer;
}

html.easter-lock,
body.easter-lock {
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
}

.easter-story {
  z-index: 2147482500;
  color: #e9fdff;
  background: rgba(0, 7, 16, .88);
  backdrop-filter: blur(2px) brightness(.34) saturate(.65);
}

.easter-story::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 196, 255, .12), transparent 42%),
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(133, 239, 255, .018) 4px);
}

.easter-story__scroll {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  padding: clamp(82px, 11vh, 126px) 24px 110px;
  scrollbar-color: rgba(111, 225, 255, .64) rgba(0, 16, 28, .55);
}

.easter-story__content {
  width: min(100%, 900px);
  margin: 0 auto;
}

.easter-story__content p {
  margin: 0 0 1.5em;
  color: #eaffff;
  font: 500 clamp(15px, 1.35vw, 19px)/2.05 "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: .055em;
  text-shadow: 0 0 7px rgba(139, 236, 255, .52), 0 0 18px rgba(47, 191, 255, .18);
  opacity: 0;
  transform: translateY(8px);
}

.easter-story.is-visible .easter-story__content p {
  animation: easter-light-write 900ms cubic-bezier(.22, .9, .3, 1) var(--egg-delay, 0ms) forwards;
}

.easter-story__content p:first-child {
  margin-bottom: 2.2em;
  color: #fff;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  text-align: center;
}

.easter-story__content p.easter-story__title {
  margin-bottom: 2.2em;
  color: #fff;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  text-align: center;
}

.easter-story__content strong {
  color: #fffbd5;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 241, 136, .7), 0 0 22px rgba(255, 199, 62, .28);
}

.easter-story__content p.easter-story__emphasis {
  margin-top: 2.4em;
  font-size: clamp(18px, 1.75vw, 24px);
}

.easter-story__content p:last-child:not(.easter-story__industry) {
  margin-top: 2.8em;
  font-size: clamp(22px, 2.6vw, 34px);
  text-align: center;
}

.easter-story__content p.easter-story__industry {
  margin-bottom: 1.15em;
  color: rgba(205, 226, 232, .72);
  font-size: clamp(11px, .92vw, 13px);
  line-height: 1.82;
  letter-spacing: .035em;
  text-shadow: 0 0 6px rgba(96, 196, 220, .18);
}

.easter-story__content p.easter-story__industry-title {
  margin-top: 5em;
  margin-bottom: 1.45em;
  color: rgba(224, 239, 242, .78);
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 650;
  letter-spacing: .09em;
}

.easter-story__return {
  position: fixed;
  z-index: 3;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  min-height: 46px;
  padding: 10px 20px;
  color: #effdff;
  font: 700 14px/1 system-ui, sans-serif;
  letter-spacing: .08em;
  border: 1px solid rgba(183, 243, 255, .68);
  border-radius: 999px;
  background: rgba(0, 13, 25, .82);
  box-shadow: 0 0 20px rgba(67, 210, 255, .24);
  cursor: pointer;
}

@keyframes easter-light-write {
  0% { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  42% { opacity: 1; filter: brightness(1.8) blur(0); text-shadow: 0 0 12px #dffbff, 0 0 28px #4cd8ff; }
  100% { opacity: 1; transform: translateY(0); filter: none; }
}

@media (max-width: 640px) {
  .easter-cloud {
    top: 3vh;
    left: 2vw;
    width: 24vw;
    height: 12vh;
  }

  .easter-gate__panel {
    padding-inline: 18px;
  }

  .easter-story__scroll {
    padding-inline: 20px;
    padding-bottom: 90px;
  }

  .easter-story__content p {
    line-height: 1.95;
    letter-spacing: .035em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .easter-story.is-visible .easter-story__content p {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.map-routes {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.map-route__bed,
.map-route__light {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-route__bed {
  stroke: rgba(0, 96, 173, .72);
  stroke-width: 18;
  filter: url(#route-glow);
}

.map-route__light {
  stroke: #a9f7ff;
  stroke-width: 5;
  stroke-dasharray: 13 14;
  filter: url(#route-glow);
  animation: none;
}

.map-route__step {
  fill: rgba(16, 187, 255, .82);
  stroke: #d8fbff;
  stroke-width: 4;
  filter: url(#route-glow);
  transform-box: fill-box;
  transform-origin: center;
  animation: route-step 1.9s ease-in-out infinite alternate;
}

.map-route__step:nth-of-type(2) { animation-delay: .25s; }
.map-route__step:nth-of-type(3) { animation-delay: .5s; }

@keyframes route-step {
  from { opacity: .68; transform: scale(.86) rotate(45deg); }
  to { opacity: 1; transform: scale(1.08) rotate(45deg); }
}

.map-logo {
  position: absolute;
  z-index: 4;
  top: clamp(10px, 2.2vh, 26px);
  left: 50%;
  width: clamp(240px, 36vw, 520px);
  aspect-ratio: 600 / 171;
  overflow: visible;
  transform: translateX(-50%);
  filter: drop-shadow(0 9px 18px rgba(0, 30, 70, .38));
  pointer-events: auto;
}

.map-title-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.map-logo > summary {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: visible;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
}

.map-logo > summary img {
  position: absolute;
  top: -87.7%;
  left: -3.33%;
  width: 106.67%;
  height: auto;
}

.map-logo__about {
  position: absolute;
  right: 1%;
  bottom: -20px;
  padding: 0;
  color: #fff;
  font-size: clamp(11px, .9vw, 15px);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.15;
  white-space: nowrap;
  border: 0;
  background: transparent;
  text-shadow: 0 2px 5px rgba(0, 35, 78, .9), 0 0 10px rgba(0, 92, 170, .55);
}

.map-sign {
  z-index: 3;
  position: absolute;
  left: clamp(18px, 3.4vw, 58px);
  bottom: clamp(20px, 5vh, 58px);
  display: grid;
  min-width: clamp(180px, 18vw, 260px);
  padding: 15px 26px 14px;
  color: #fffbea;
  text-align: center;
  text-decoration: none;
  border: 3px solid #5a2d10;
  border-radius: 7px;
  background:
    radial-gradient(circle at 12px 12px, #e0b16e 0 2px, #40200d 2.5px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 12px) 12px, #e0b16e 0 2px, #40200d 2.5px 4px, transparent 4.5px),
    repeating-linear-gradient(176deg, rgba(255,255,255,.05) 0 2px, rgba(63,27,8,.12) 3px 6px, transparent 7px 14px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(52,24,8,.34) 55px 58px, transparent 59px 112px),
    linear-gradient(180deg, #ad6a32 0%, #7b451b 47%, #552a0f 100%);
  box-shadow:
    0 8px 0 #3b200f,
    0 12px 26px rgba(0, 25, 51, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 0 0 2px rgba(255, 211, 139, .12),
    inset 0 -10px 18px rgba(50, 18, 4, .18);
  transform: perspective(600px) rotateX(2deg) rotateZ(-1deg);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  isolation: isolate;
}

.map-sign::before,
.map-sign::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -28px;
  width: 16px;
  height: 31px;
  border: 3px solid #43230f;
  border-top: 0;
  background: linear-gradient(90deg, #744019, #4c280f);
}

.map-sign::before {
  left: 25px;
}

.map-sign::after {
  right: 25px;
}

.map-sign:hover,
.map-sign:focus-visible {
  filter: brightness(1.12) saturate(1.08);
  transform: perspective(600px) rotateX(0) rotateZ(0) translateY(-4px);
  box-shadow:
    0 10px 0 #3b200f,
    0 17px 32px rgba(0, 25, 51, 0.5),
    0 0 0 4px rgba(71, 201, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  outline: none;
}

.map-sign__title {
  font-size: clamp(21px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(34, 16, 5, 0.8);
}

.map-sign__sub {
  margin-top: 4px;
  color: #dff6ff;
  font-size: clamp(9px, 0.8vw, 12px);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.map-project {
  position: absolute;
  z-index: 3;
  display: grid;
  justify-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.map-project:hover,
.map-project:focus-visible {
  z-index: 6;
  filter: brightness(1.08) saturate(1.06);
  transform: translateY(-5px) scale(1.025);
  outline: none;
}

.map-project img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 13px rgba(0, 30, 55, .36));
}

.map-project--baby {
  left: 36.5%;
  bottom: 7.5%;
  width: clamp(110px, 14.7vw, 220px);
}

.map-project--five {
  right: 4.5%;
  bottom: 5.5%;
  width: clamp(140px, 18vw, 270px);
  opacity: .9;
}

.project-sign {
  position: relative;
  z-index: 2;
  margin-top: clamp(-22px, -1.7vw, -10px);
  padding: clamp(8px, .9vw, 12px) clamp(15px, 1.8vw, 25px);
  border: 3px solid #5a2d10;
  border-radius: 7px;
  background: linear-gradient(180deg, #176fce, #064b9c 58%, #073d7e);
  box-shadow: 0 6px 0 #042f66, 0 12px 22px rgba(0, 26, 62, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
  font-size: clamp(13px, 1.5vw, 21px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0, 25, 66, .72);
  white-space: nowrap;
}

/* V5retime project-button standard. Keep this appearance for the baby entry. */
.project-sign--v5 {
  border: 2px solid rgba(203, 247, 255, .96);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(46, 164, 255, .98), rgba(6, 91, 190, .98) 56%, rgba(4, 54, 132, .98));
  box-shadow:
    0 5px 0 #033673,
    0 0 0 2px rgba(12, 92, 181, .78),
    0 0 18px rgba(73, 217, 255, .52),
    0 13px 24px rgba(0, 25, 64, .4),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  text-shadow: 0 2px 0 rgba(0, 32, 90, .86), 0 0 9px rgba(139, 237, 255, .42);
}

.project-sign--support {
  display: grid;
  gap: 4px;
  min-width: 100%;
  padding-inline: clamp(12px, 1.25vw, 18px);
}

.project-sign--support b {
  font-size: clamp(12px, 1.25vw, 18px);
  line-height: 1.1;
}

.project-sign--support small {
  color: #d9f4ff;
  font-size: clamp(7px, .72vw, 11px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.15;
}

.brand-context {
  position: fixed;
  z-index: 5;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  left: auto;
  bottom: auto;
  width: min(520px, calc(100vw - 36px));
  color: #eaf8ff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  transform: none;
}

.brand-context summary {
  width: fit-content;
  margin: 0 0 0 auto;
  padding: 6px 13px;
  color: #dff5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  list-style: none;
  border: 1px solid rgba(196, 239, 255, .58);
  border-radius: 999px;
  background: rgba(0, 43, 82, .72);
  box-shadow: 0 5px 16px rgba(0, 25, 55, .24);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.brand-context summary::-webkit-details-marker {
  display: none;
}

.brand-context summary::after {
  content: "＋";
  margin-left: .6em;
  font-size: .9em;
}

.brand-context[open] summary::after {
  content: "－";
}

.brand-context__body {
  margin-top: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(196, 239, 255, .42);
  border-radius: 10px;
  background: rgba(0, 34, 68, .88);
  box-shadow: 0 12px 28px rgba(0, 22, 51, .3);
  backdrop-filter: blur(10px);
}

.brand-context__body p {
  margin: 0;
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: .035em;
}

.brand-context__body p + p {
  margin-top: 5px;
}

.brand-context.map-logo {
  position: absolute;
  top: clamp(10px, 2.2vh, 26px);
  right: auto;
  left: 50%;
  bottom: auto;
  width: clamp(240px, 36vw, 520px);
  margin: 0;
  transform: translateX(-50%);
}

.brand-context.map-logo > summary {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-context.map-logo > summary::after {
  content: none;
}

.brand-context.map-logo .brand-context__body {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: min(520px, 86vw);
  margin-top: 0;
  transform: translateX(-50%);
}

.mobile-map-menu {
  display: none;
}

html.v5main-opening-pending .mobile-map-menu,
html.v5main-opening-pending .mobile-map-menu a,
body.is-opening .mobile-map-menu,
body.is-opening .mobile-map-menu a {
  background: #000 !important;
  box-shadow: none !important;
}

html.v5main-opening-pending .brand-context,
body.is-opening .brand-context {
  display: none !important;
}

@media (max-aspect-ratio: 3 / 4) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(180deg, #087bc8 0%, #07579d 100%);
  }

  .world-map {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-position: center;
    background-size: 100% 100%;
  }

  .map-sign {
    left: 3.4%;
    bottom: 5%;
    width: auto;
    min-width: 0;
    padding: 4px 8px 3px;
    border-width: 1px;
    border-radius: 3px;
    box-shadow: 0 3px 0 #3b200f, 0 5px 10px rgba(0, 25, 51, .35);
    transform: none;
  }

  .map-sign:hover,
  .map-sign:focus-visible {
    transform: translateY(-2px);
  }

  .map-logo {
    top: 1.5%;
    width: 38%;
  }

  .map-project--baby {
    left: 36.5%;
    bottom: 7.5%;
    width: 14.7%;
  }

  .map-project--five {
    right: 4.5%;
    bottom: 5.5%;
    width: 18%;
  }

  .project-sign--support {
    gap: 1px;
    padding: 3px 4px;
  }

  .project-sign--support b {
    font-size: clamp(5px, 1.45vw, 7px);
  }

  .project-sign--support small {
    font-size: clamp(3px, .82vw, 5px);
  }

  .project-sign {
    margin-top: -5px;
    padding: 3px 5px;
    border-width: 1px;
    border-radius: 3px;
    box-shadow: 0 2px 0 #042f66, 0 4px 8px rgba(0, 26, 62, .3);
    font-size: clamp(6px, 1.9vw, 9px);
  }

  .map-sign::before,
  .map-sign::after {
    bottom: -9px;
    width: 5px;
    height: 10px;
    border-width: 1px;
  }

  .map-sign::before {
    left: 9px;
  }

  .map-sign::after {
    right: 9px;
  }

  .map-sign__title {
    font-size: clamp(8px, 2.6vw, 12px);
    letter-spacing: .08em;
  }

  .map-sign__sub {
    margin-top: 1px;
    font-size: clamp(4px, 1.15vw, 6px);
    letter-spacing: .12em;
  }

  .mobile-map-menu {
    display: grid;
    gap: 8px;
    min-height: 0;
    align-content: start;
    justify-items: center;
    padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #087bc8 0%, #07579d 100%);
  }

  .brand-context {
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    width: min(74vw, 280px);
    margin: 0;
    transform: none;
  }

  .brand-context summary {
    padding: 4px 9px;
    font-size: 8px;
  }

  .brand-context__body p {
    font-size: 10px;
  }

  .mobile-map-menu a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: min(78vw, 300px);
    min-height: 46px;
    padding: 7px 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(203, 247, 255, .96);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(46, 164, 255, .98), rgba(6, 91, 190, .98) 56%, rgba(4, 54, 132, .98));
    box-shadow: 0 3px 0 #033673, 0 0 0 1px rgba(12, 92, 181, .72), 0 7px 14px rgba(0, 31, 75, .24), inset 0 1px 0 rgba(255, 255, 255, .55);
  }

  .mobile-map-menu a::after {
    content: "→";
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-left: 8px;
    font-size: 17px;
    line-height: 1;
  }

  .mobile-map-menu strong {
    font: 800 clamp(12px, 3.5vw, 14px)/1.2 system-ui, sans-serif;
    letter-spacing: .03em;
  }

  .mobile-map-menu span {
    color: #d8f2ff;
    font: 700 8px/1.25 system-ui, sans-serif;
    letter-spacing: .08em;
  }

  .mobile-map-menu__support {
    opacity: .82;
  }
}

@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;
  }
}

/* Keep the complete 16:9 map and all positioned objects inside every wide viewport. */
@media (min-aspect-ratio: 4 / 3) {
  body {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    background: linear-gradient(180deg, #087bc8 0%, #07579d 100%);
  }

  .world-map {
    width: min(100vw, calc(100dvh * 16 / 9));
    height: min(100dvh, calc(100vw * 9 / 16));
    min-height: 0;
    background-size: 100% 100%;
  }
}

/* 1.0.16: fit the complete map into short landscape phone viewports. */
@media (orientation: landscape) and (max-height: 600px) {
  body {
    display: grid;
    place-items: center;
  }

  .world-map {
    width: min(100vw, calc(100dvh * 16 / 9));
    height: min(100dvh, calc(100vw * 9 / 16));
    min-height: 0;
    background-size: 100% 100%;
  }

  .map-project--baby,
  .map-project--five {
    transform: scale(.52);
    transform-origin: center bottom;
  }

  .map-project--baby {
    left: 33.5%;
  }

  .brand-context.map-logo,
  .map-logo {
    top: .6%;
    width: 18%;
  }

  .map-logo__about {
    bottom: -9px;
    font-size: 7px;
  }

  .map-sign {
    left: 2%;
    bottom: 2%;
    transform: scale(.34);
    transform-origin: left bottom;
  }

  .map-sign:hover,
  .map-sign:focus-visible {
    transform: scale(.34);
  }

  .map-project--baby:hover,
  .map-project--baby:focus-visible,
  .map-project--five:hover,
  .map-project--five:focus-visible {
    transform: scale(.52);
  }

  .brand-context.map-logo .brand-context__body {
    width: min(320px, 76vw);
    font-size: 8px;
  }
}

@media (max-aspect-ratio: 3 / 4) {
  .map-project--baby .project-sign {
    width: 100%;
    min-width: 0;
    padding-inline: 3px;
    font-size: clamp(5px, 1.45vw, 7px);
  }
}

/* Final logo trigger treatment: keep the label outside the image crop. */
.brand-context.map-logo > summary {
  overflow: visible !important;
}

.brand-context.map-logo .map-logo__about {
  z-index: 3;
  color: #fff !important;
  background: transparent !important;
}

/* 1.0.23: compact the main-site logo trigger on portrait phones only. */
@media (orientation: portrait) and (max-width: 640px) {
  .brand-context.map-logo,
  .map-logo {
    top: 1.2%;
    right: auto;
    left: 50%;
    width: 19%;
    transform: translateX(-50%);
  }

  .brand-context.map-logo .map-logo__about,
  .map-logo__about {
    right: 0;
    bottom: -10px;
    font-size: clamp(6px, 1.4vw, 8px);
    letter-spacing: .12em;
  }
}

/* 1.0.28: the closed-state label belongs below the logo. Once the information
   panel is open, hide it so it cannot jump over or overlap the logo. */
.brand-context.map-logo[open] .map-logo__about {
  opacity: 0 !important;
  visibility: hidden !important;
}

.easter-story__content p.easter-story__execution {
  display: grid;
  justify-items: end;
  gap: 2px;
  margin: 0 0 2.8em;
  color: rgba(142, 218, 255, .78);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(10px, .82vw, 12px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .13em;
  text-align: right;
  text-shadow: 0 0 9px rgba(68, 199, 255, .35);
}
.easter-story__execution span { opacity: .7; }
.easter-story__execution time { color: rgba(229, 250, 255, .9); }
