.vmx-root.is-route {
  --vmx-route-ink: #f4efe4;
  --vmx-route-soft: rgba(244, 239, 228, 0.88);
}

.vmx-root.is-route .vmx-dock,
.vmx-root.is-route .vmx-search,
.vmx-root.is-route .vmx-inspector,
.vmx-root.is-route .vmx-legend,
.vmx-root.is-route .vmx-map-meta,
.vmx-root.is-route .vmx-status,
.vmx-root.is-route .vmx-skip,
.vmx-root.is-route .vmx-origin,
.vmx-root.is-route #vmx-nav-home {
  opacity: 0 !important;
  pointer-events: none !important;
}

.vmx-root.is-route .vmx-chrome,
.vmx-root.is-route.is-entering .vmx-chrome {
  opacity: 1 !important;
  pointer-events: auto;
  z-index: 16;
}

.vmx-root.is-route .vmx-map-tools,
.vmx-root.is-route.is-entering .vmx-map-tools {
  opacity: 0 !important;
  pointer-events: none;
  z-index: 16;
  transition: opacity 480ms ease;
}

.vmx-root.is-route.is-route-tools .vmx-map-tools,
.vmx-root.is-route.is-entering.is-route-tools .vmx-map-tools {
  opacity: 1 !important;
}

.vmx-root.is-route .vmx-nav {
  pointer-events: none;
}

.vmx-route-veil {
  position: absolute;
  inset: 0;
  z-index: 11;
  background: linear-gradient(180deg, rgba(10, 12, 11, 0.04) 0%, rgba(10, 12, 11, 0.16) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.vmx-route-veil.is-on {
  opacity: 1;
}

.vmx-route-stack {
  position: absolute;
  z-index: 12;
  width: min(42rem, 78%);
  max-width: 84%;
  pointer-events: none;
  transition: left 420ms ease, right 420ms ease, top 420ms ease, bottom 420ms ease, width 420ms ease;
}

.vmx-root.is-route-stage-bottom .vmx-route-stack {
  left: 10%;
  right: 10%;
  bottom: 12%;
  width: auto;
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.vmx-root.is-route-stage-left .vmx-route-stack {
  left: 10%;
  right: auto;
  top: 16%;
  bottom: auto;
  width: min(38rem, 72%);
  text-align: left;
}

.vmx-root.is-route-stage-right .vmx-route-stack {
  right: 10%;
  left: auto;
  top: 16%;
  bottom: auto;
  width: min(38rem, 72%);
  text-align: right;
}

.vmx-route-board {
  opacity: 0;
  color: var(--vmx-route-ink);
  font-family: var(--vmx-display);
  text-shadow: 0 1px 16px rgba(10, 12, 11, 0.72);
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.vmx-route-board.is-on {
  opacity: 1;
  transform: translateY(0);
}

.vmx-route-kicker {
  margin: 0;
  white-space: pre-line;
  font-size: clamp(2rem, 2.2vw, 2.625rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.vmx-route-board.is-hook .vmx-route-kicker {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: none;
}

.vmx-route-board.is-hook .vmx-route-copy {
  margin-top: 0.85rem;
  font-family: var(--vmx-display);
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 228, 0.88);
}

.vmx-route-board.is-name .vmx-route-kicker {
  font-size: clamp(2rem, 2.2vw, 2.625rem);
}

.vmx-route-board.is-caption .vmx-route-copy {
  font-size: clamp(1.35rem, 1.65vw, 1.75rem);
  max-width: 100%;
}

.vmx-root.is-route-stage-center .vmx-route-stack {
  left: 8%;
  right: 8%;
  top: 38%;
  bottom: auto;
  width: auto;
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.vmx-route-board.is-cta .vmx-route-kicker {
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: none;
}

.vmx-route-board.is-cta .vmx-route-copy {
  margin-top: 0.85rem;
  font-family: var(--vmx-display);
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 228, 0.88);
}

.vmx-root.is-route-stage-center .vmx-route-cta {
  left: 50%;
  top: auto;
  bottom: auto;
  margin-top: 0;
  transform: translate(-50%, 0);
  position: absolute;
  top: calc(38% + 11.5rem);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  font-weight: 500;
}

.vmx-route-cta {
  position: absolute;
  left: 50%;
  bottom: 12%;
  z-index: 14;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  color: var(--vmx-route-ink);
  font-family: var(--vmx-display);
  font-size: clamp(1.875rem, 2.2vw, 2.375rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.1rem 0.4rem;
  cursor: pointer;
  transition: opacity 220ms ease;
}

.vmx-route-copy {
  margin: 0.4rem 0 0;
  max-width: 100%;
  font-family: var(--vmx-font);
  font-size: clamp(1.25rem, 1.4vw, 1.5625rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.32;
  text-transform: none;
  color: rgba(244, 239, 228, 0.82);
}

.vmx-route-copy strong {
  font-weight: 650;
  color: #f7f4ee;
}

.vmx-root.is-route-stage-bottom .vmx-route-copy {
  margin-left: auto;
  margin-right: auto;
}

.vmx-root.is-route-stage-right .vmx-route-copy {
  margin-left: auto;
}

.vmx-route-kicker:empty,
.vmx-route-copy:empty {
  display: none;
}

.vmx-route-cta.is-on {
  opacity: 1;
  pointer-events: auto;
}

.vmx-route-domain {
  display: block;
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: #3ddc84;
}

.vmx-root.is-route-vertical .vmx-route-stack,
.vmx-root.is-route-square .vmx-route-stack {
  width: min(40rem, 84%);
}

.vmx-root.is-route-vertical.is-route-stage-bottom .vmx-route-stack,
.vmx-root.is-route-square.is-route-stage-bottom .vmx-route-stack {
  left: 8%;
  right: 8%;
  width: auto;
}

.vmx-route-spark {
  position: absolute;
  z-index: 13;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: #f7f4ee;
  box-shadow: 0 0 0 1px rgba(10, 12, 11, 0.35), 0 0 10px rgba(244, 239, 228, 0.45);
  transition: opacity 280ms ease;
}

.vmx-route-spark.is-on {
  opacity: 0.92;
}

.vmx-route-lead {
  position: absolute;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
}

.vmx-route-lead.is-on {
  opacity: 0.55;
}

.vmx-route-lead-line {
  display: block;
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(244, 239, 228, 0.7), rgba(244, 239, 228, 0));
}

.vmx-route-count {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0c0b;
  pointer-events: none;
  opacity: 0;
}

.vmx-route-count.is-on {
  opacity: 1;
}

.vmx-route-count.is-off {
  opacity: 0;
  transition: opacity 280ms ease;
}

.vmx-route-count-num {
  color: #f2eee6;
  font-family: var(--vmx-display);
  font-size: clamp(4.5rem, 11vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}
