/* Connection-map opener — scoped overlay for the site */
#opener.opening-page {
  --cn-paper: #ffffff;
  --cn-ink: #111111;
  --cn-muted: #777777;
  --cn-hairline: #b8b8b8;
  --cn-accent: #c94f45;
  --cn-accent-soft: #e49a92;
  --cn-accent-wash: #f0ada5;
  --font-geist-mono: var(--mono, "Space Mono"), ui-monospace, monospace;
  --font-geist-sans: var(--sans, "Space Grotesk"), system-ui, sans-serif;
  --paper: var(--cn-paper);
  --ink: var(--cn-ink);
  --muted: var(--cn-muted);
  --hairline: var(--cn-hairline);
  --accent: var(--cn-accent);
  --accent-soft: var(--cn-accent-soft);
  --accent-wash: var(--cn-accent-wash);
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block; /* override legacy .opener flex centering */
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-geist-mono), monospace;
  text-rendering: geometricPrecision;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

#opener.opening-page::before {
  display: none; /* hide legacy key-plan dotted grid */
}

#opener.opening-page button {
  color: inherit;
  font: inherit;
}

body.opener-lock {
  overflow: hidden;
}

#opener.opening-page.is-gone {
  opacity: 0;
  pointer-events: none;
}

#opener.opening-page[hidden] {
  display: none !important;
}

#opener.opening-page.is-entering .intro-copy-shell,
#opener.opening-page.is-entering .enter-website,
#opener.opening-page.is-entering .skip-intro,
#opener.opening-page.is-entering .map-navigation {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 280ms ease;
}

#opener.opening-page.is-entering .map-stage {
  transition:
    transform 1100ms cubic-bezier(0.18, 0.82, 0.16, 1),
    opacity 700ms ease 420ms;
  transform: translate(var(--enter-tx, 0px), calc(-50% + var(--enter-ty, 0px))) scale(var(--enter-scale, 2.6));
}

#opener.opening-page.is-entering .massing.is-selected {
  filter: url("#bulb-glow") drop-shadow(0 0 22px rgba(255, 244, 210, 0.85));
}

#opener .opener__fill {
  position: fixed;
  width: 320vmax;
  height: 320vmax;
  border-radius: 50%;
  background: #f1ece1; /* match site bone paper for the land */
  z-index: 40;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}

#opener.opening-page.is-filling .opener__fill {
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.78s cubic-bezier(0.66, 0, 0.34, 1);
}

.opening-page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

.map-stage {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -4vw;
  width: min(79vw, calc(100svh * 1.28));
  aspect-ratio: 1400 / 1000;
  opacity: 0;
  pointer-events: none;
  transform: translate(10vw, -50%) scale(0.7);
  transform-origin: 68% 50%;
  transition:
    opacity 900ms ease,
    transform 1450ms cubic-bezier(0.18, 0.82, 0.16, 1);
  user-select: none;
}

.opening-page.is-ready .map-stage {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
  transition-delay: 220ms;
}

.connection-field,
.map-navigation {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.connection-field {
  overflow: visible;
}

.intro-copy-shell {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: min(1240px, 92vw);
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    top 1400ms cubic-bezier(0.18, 0.82, 0.16, 1),
    left 1400ms cubic-bezier(0.18, 0.82, 0.16, 1),
    width 1400ms cubic-bezier(0.18, 0.82, 0.16, 1),
    transform 1400ms cubic-bezier(0.18, 0.82, 0.16, 1);
}

.intro-copy {
  display: grid;
  gap: clamp(12px, 1.8vh, 20px);
  animation: intro-camera 7.6s cubic-bezier(0.22, 0.74, 0.2, 1) both;
  transform-origin: center;
}

.intro-phrase {
  --phrase-delay: 0ms;
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font: 520 clamp(24px, 2.65vw, 40px) / 1.15 var(--font-geist-mono), monospace;
  letter-spacing: -0.035em;
  opacity: 0;
  filter: blur(8px);
  clip-path: inset(0);
  animation-duration: 1100ms;
  animation-timing-function: cubic-bezier(0.16, 0.9, 0.18, 1);
  animation-fill-mode: forwards;
  animation-delay: var(--phrase-delay);
  transition:
    gap 1400ms cubic-bezier(0.18, 0.82, 0.16, 1),
    font-size 1400ms cubic-bezier(0.18, 0.82, 0.16, 1),
    line-height 1400ms cubic-bezier(0.18, 0.82, 0.16, 1),
    letter-spacing 1400ms cubic-bezier(0.18, 0.82, 0.16, 1);
}

.intro-phrase::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(201, 79, 69, 0));
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: phrase-rule 620ms ease forwards;
  animation-delay: calc(var(--phrase-delay) + 260ms);
}

.intro-step {
  align-self: center;
  width: 17px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-1px);
}

.intro-words {
  display: block;
}

.intro-phrase-1 {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation-name: phrase-stamp;
  animation-duration: 780ms;
}

.intro-phrase-2 {
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 620;
  letter-spacing: -0.055em;
  animation-name: phrase-draw-name;
  animation-duration: 1250ms;
}

.intro-phrase-3 {
  animation-name: phrase-tilt-rise;
  animation-duration: 1150ms;
}

.intro-phrase-4 {
  color: var(--accent);
  font-weight: 620;
  transform-origin: left center;
  animation-name: phrase-flare;
  animation-duration: 1080ms;
}

.intro-phrase-5 {
  animation-name: phrase-track-in;
  animation-duration: 1120ms;
}

.intro-phrase-6 {
  max-width: 1050px;
  color: #5f5f5f;
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.015em;
  animation-name: phrase-soft-reveal;
  animation-duration: 1200ms;
}

.intro-phrase-7 {
  max-width: 48ch;
  color: var(--ink);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.02em;
  animation-name: phrase-invite;
  animation-duration: 1180ms;
}

.intro-phrase-7 .intro-step {
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
}

.opening-page.is-ready .intro-copy-shell {
  top: 50%;
  left: clamp(38px, 4vw, 68px);
  width: min(38vw, 560px);
  transform: translate(0, -50%);
}

.opening-page.is-ready .intro-copy {
  gap: 10px;
  animation: none;
  transform: scale(1);
}

.opening-page.is-ready .intro-phrase {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1.28;
  letter-spacing: -0.025em;
  opacity: 1;
  filter: none;
  clip-path: inset(0);
  transform: none;
  animation: none;
}

.opening-page.is-ready .intro-phrase::after {
  left: 31px;
  opacity: 0.14;
  transform: scaleX(1);
  animation: none;
}

.opening-page.is-ready .intro-phrase-1 {
  font-size: clamp(9px, 0.76vw, 11px);
  letter-spacing: 0.11em;
}

.opening-page.is-ready .intro-phrase-2 {
  font-size: clamp(27px, 2.4vw, 36px);
  letter-spacing: -0.045em;
}

.opening-page.is-ready .intro-phrase-6 {
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.45;
}

.opening-page.is-ready .intro-phrase-7 {
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.4;
}

.opening-page.is-ready .intro-phrase-7 .intro-step {
  width: 14px;
  height: 14px;
}

/* Skip The Intro — progress fill with inverted label */
#opener.opening-page .skip-intro,
.skip-intro {
  --skip-duration: 7.8s;
  position: fixed;
  z-index: 12;
  right: clamp(18px, 2.6vw, 38px);
  bottom: clamp(18px, 2.6vw, 38px);
  display: grid;
  align-items: center;
  min-width: min(280px, 72vw);
  height: 42px;
  appearance: none;
  border: 1px solid var(--ink);
  padding: 0 16px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: 550 clamp(9px, 0.78vw, 11px) / 1 var(--font-geist-mono), monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skip-intro__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--ink);
  animation: skip-progress var(--skip-duration) linear forwards;
  pointer-events: none;
}

.skip-intro__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  color: #fff;
  mix-blend-mode: difference;
}

.skip-intro__arrow {
  font-size: 1.15em;
  line-height: 1;
}

.skip-intro:hover .skip-intro__fill,
.skip-intro:focus-visible .skip-intro__fill {
  background: #1a1a1a;
}

.skip-intro:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.opening-page.is-ready .skip-intro {
  display: none;
}

#opener.opening-page .enter-website,
.enter-website {
  position: fixed;
  z-index: 12;
  right: clamp(18px, 2.6vw, 38px);
  bottom: clamp(18px, 2.6vw, 38px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-width: min(280px, 72vw);
  height: 42px;
  appearance: none;
  border: 1px solid var(--ink);
  padding: 0 16px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: 550 clamp(9px, 0.78vw, 11px) / 1 var(--font-geist-mono), monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 500ms ease 200ms,
    visibility 500ms ease 200ms,
    transform 500ms ease 200ms,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

#opener.opening-page.is-entering-site .map-stage {
  opacity: 0;
  pointer-events: none;
  transform: translate(0, -50%) scale(1.04);
  transition:
    opacity 620ms ease,
    transform 900ms cubic-bezier(0.18, 0.82, 0.16, 1);
}

#opener.opening-page.is-entering-site .intro-copy-shell,
#opener.opening-page.is-entering-site .enter-website {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  transition: opacity 280ms ease;
}

#opener.opening-page.is-ready .enter-website,
.opening-page.is-ready .enter-website {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#opener.opening-page .enter-website:hover,
#opener.opening-page .enter-website:focus-visible,
.enter-website:hover,
.enter-website:focus-visible {
  background: var(--ink);
  color: #fff;
  outline: none;
}

.enter-website__arrow {
  font-size: 1.15em;
  line-height: 1;
}

.construction-field {
  fill: none;
  stroke: #b8b8b8;
  stroke-width: 0.55;
  stroke-dasharray: 3 10;
  opacity: 0.2;
}

.road-top-shape {
  stroke: var(--ink);
  stroke-width: 1.45;
  stroke-linejoin: miter;
}

.road-top-shape {
  fill: #efa9a1;
  filter: none;
}

.ground-line {
  fill: none;
  stroke: #c94f45;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-arrow-wing {
  fill: none;
  stroke: #a93a32;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projection-field line {
  stroke: #777777;
  stroke-width: 0.65;
  stroke-dasharray: 8 10;
  opacity: 0.72;
  transition: opacity 320ms ease;
}

.projection-field line.is-selected {
  opacity: 0.18;
}

.footprints polygon {
  fill: none;
  stroke: #9a9a9a;
  stroke-width: 0.8;
  stroke-linejoin: miter;
  transition:
    fill 240ms ease,
    stroke 240ms ease;
}

.footprints polygon.is-selected {
  fill: none;
  stroke: var(--accent);
}

.massing {
  transform-box: view-box;
  transform: translateY(0);
  filter: none;
  transition:
    transform 760ms cubic-bezier(0.2, 0.84, 0.18, 1),
    filter 300ms ease;
  will-change: transform;
}

.massing.is-selected {
  transform: translateY(var(--drop-y));
  filter:
    url("#bulb-glow")
    drop-shadow(0 0 18px rgba(255, 248, 220, 0.75));
}

.massing-control {
  cursor: pointer;
  outline: none;
}

.massing-hit-target {
  fill: rgba(255, 255, 255, 0.001);
  stroke: none;
  pointer-events: all;
}

.prism-top,
.prism-side,
.prism-front {
  stroke: var(--ink);
  stroke-width: 1.55;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.massing-top,
.massing-outline,
.massing-front-edge {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.55;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.massing-face {
  fill: rgba(255, 255, 255, 0.78);
  stroke: #8d8d8d;
  stroke-width: 0.65;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.prism-top,
.massing-top {
  fill: rgba(255, 255, 255, 0.44);
}

.prism-side-left {
  fill: none;
}

.prism-side-right {
  fill: none;
}

.prism-front {
  fill: none;
}

.massing-face-0 {
  fill: rgba(255, 255, 255, 0.78);
  stroke: #8d8d8d;
}

.massing-face-1 {
  fill: rgba(255, 255, 255, 0.78);
}

.massing-face-2 {
  fill: rgba(255, 255, 255, 0.78);
}

.massing-face-3 {
  fill: rgba(255, 255, 255, 0.78);
  stroke: #8d8d8d;
}

.prism-inner {
  fill: none;
  stroke: #c9d0da;
  stroke-width: 0.95;
}

.massing.is-selected .prism-top,
.massing.is-selected .prism-side,
.massing.is-selected .prism-front,
.massing.is-selected .massing-top,
.massing.is-selected .massing-outline,
.massing.is-selected .massing-front-edge {
  stroke: var(--accent);
}

.massing.is-selected .massing-face {
  fill: rgba(255, 252, 238, 0.94);
  stroke: var(--accent);
  stroke-opacity: 0.85;
}

.massing.is-selected .massing-top {
  fill: rgba(255, 254, 246, 0.97);
}

.massing-control:focus-visible .massing-outline {
  stroke: var(--accent);
  stroke-width: 2.2;
}

.walking-field {
  pointer-events: none;
}

.walker {
  fill: var(--ink);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.walker-head {
  stroke: none;
}

.walker-body,
.walker-arm,
.walker-leg {
  fill: none;
}

.walker-arm,
.walker-leg {
  transform-box: fill-box;
  transform-origin: 50% 4%;
  animation: stride 560ms ease-in-out infinite alternate;
}

.walker-arm-b,
.walker-leg-a {
  animation-direction: alternate-reverse;
}

.walker:nth-child(3n) .walker-arm,
.walker:nth-child(3n) .walker-leg {
  animation-duration: 620ms;
}

.walker:nth-child(4n) .walker-arm,
.walker:nth-child(4n) .walker-leg {
  animation-duration: 510ms;
}

.label-leaders {
  fill: none;
  stroke: #777777;
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.label-leaders path {
  transition:
    opacity 260ms ease,
    stroke 220ms ease;
}

.label-leaders path.is-selected {
  opacity: 0;
}

.map-navigation {
  pointer-events: none;
}

.section-label {
  --label-x: 50%;
  --label-y: 50%;
  position: absolute;
  left: var(--label-x);
  top: var(--label-y);
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 4px 8px;
  min-width: max-content;
  appearance: none;
  border: 1px solid #777777;
  border-radius: 999px;
  padding: 7px 12px 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.section-label.align-right {
  transform: translateX(-100%);
}

.section-label span {
  color: var(--accent);
  font: 600 clamp(9px, 0.78vw, 12px) / 1 var(--font-geist-mono), monospace;
  letter-spacing: 0.1em;
}

.section-label strong {
  font: 560 clamp(9px, 0.78vw, 12px) / 1 var(--font-geist-mono), monospace;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.section-label em {
  position: absolute;
  top: calc(100% + 6px);
  right: 14px;
  width: max-content;
  padding: 3px 0 2px;
  background: transparent;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font: normal 500 6.5px / 1 var(--font-geist-mono), monospace;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.section-label:hover,
.section-label:focus-visible,
.section-label.is-active {
  color: var(--ink);
  background: #fff7ef;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(201, 79, 69, 0.18);
}

.section-label.align-left:hover,
.section-label.align-left:focus-visible,
.section-label.align-left.is-active {
  transform: translateX(4px);
}

.section-label.align-right:hover,
.section-label.align-right:focus-visible,
.section-label.align-right.is-active {
  transform: translateX(calc(-100% - 4px));
}

.section-label:hover em,
.section-label:focus-visible em,
.section-label.is-active em {
  opacity: 1;
  transform: translateY(0);
}

.section-label:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

/* Placeholder destination panel unused — entry zooms into the site section */
.destination-panel {
  display: none !important;
}

.destination-panel > div {
  width: 100%;
}

.destination-panel span {
  color: #8eb8ff;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.destination-panel h2 {
  margin: 20px 0 0;
  font: 500 clamp(42px, 5.8vw, 82px) / 0.92 var(--font-geist-sans), Arial, sans-serif;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.destination-panel p {
  margin: 18px 0 0;
  color: #8eb8ff;
  font: italic 20px / 1.2 Georgia, serif;
}

.destination-panel button {
  margin-top: 48px;
  appearance: none;
  border: 1px solid #66717f;
  padding: 12px 15px 11px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.destination-panel button:hover,
.destination-panel button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  outline: none;
}

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

@keyframes stride {
  from {
    transform: rotate(-25deg);
  }
  to {
    transform: rotate(25deg);
  }
}

@keyframes intro-camera {
  0% {
    transform: translateY(4vh) scale(1.32);
  }
  18% {
    transform: translateY(2.8vh) scale(1.22);
  }
  38% {
    transform: translateY(1.5vh) scale(1.13);
  }
  62% {
    transform: translateY(0.5vh) scale(1.05);
  }
  82% {
    transform: translateY(0) scale(0.98);
  }
  100% {
    transform: translateY(0) scale(0.9);
  }
}

@keyframes skip-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes phrase-stamp {
  0% {
    opacity: 0;
    filter: blur(12px);
    letter-spacing: 0.62em;
    transform: scale(1.28) translateY(8px);
  }
  55% {
    opacity: 1;
    filter: blur(0);
    letter-spacing: 0.08em;
    transform: scale(0.97) translateY(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    letter-spacing: 0.12em;
    transform: scale(1) translateY(0);
  }
}

@keyframes phrase-draw-name {
  0% {
    opacity: 0;
    filter: blur(10px);
    clip-path: inset(0 100% 0 0);
    transform: translateX(-48px) skewX(-4deg);
  }
  62% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 -2% 0 0);
    transform: translateX(6px) skewX(0.5deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0);
    transform: translateX(0) skewX(0);
  }
}

@keyframes phrase-tilt-rise {
  0% {
    opacity: 0;
    filter: blur(11px);
    transform: translateY(56px) rotate(-1.4deg);
  }
  70% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-4px) rotate(0.3deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0);
  }
}

@keyframes phrase-flare {
  0% {
    opacity: 0;
    filter: blur(8px) saturate(0.4);
    clip-path: inset(0 42% 0 42%);
    transform: scaleX(0.55);
  }
  58% {
    opacity: 1;
    filter: blur(0) saturate(1.15);
    clip-path: inset(0 -4% 0 -4%);
    transform: scaleX(1.04);
  }
  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    clip-path: inset(0);
    transform: scaleX(1);
  }
}

@keyframes phrase-track-in {
  0% {
    opacity: 0;
    filter: blur(9px);
    letter-spacing: 0.18em;
    clip-path: inset(0 0 0 100%);
    transform: translateX(72px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    letter-spacing: -0.035em;
    clip-path: inset(0);
    transform: translateX(0);
  }
}

@keyframes phrase-soft-reveal {
  0% {
    opacity: 0;
    filter: blur(10px);
    clip-path: inset(100% 0 0 0);
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@keyframes phrase-invite {
  0% {
    opacity: 0;
    filter: blur(8px);
    clip-path: inset(0 0 100% 0);
    transform: translateY(18px) scale(0.98);
  }
  55% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0);
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes phrase-rule {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  100% {
    opacity: 0.35;
    transform: scaleX(1);
  }
}

@media (max-width: 760px) {
  .map-stage {
    top: 66%;
    right: 50%;
    width: 132vw;
    max-width: none;
    transform: translate(58%, -36%) scale(0.68);
  }

  .opening-page.is-ready .map-stage {
    transform: translate(50%, -34%) scale(0.76);
  }

  .intro-copy-shell {
    width: 92vw;
  }

  .intro-phrase {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    font-size: clamp(16px, 4.8vw, 24px);
  }

  .intro-phrase-2 {
    font-size: clamp(30px, 8.7vw, 44px);
  }

  .intro-phrase-6 {
    font-size: clamp(12px, 3.5vw, 17px);
  }

  .opening-page.is-ready .intro-copy-shell {
    top: 13svh;
    left: 22px;
    width: calc(100vw - 44px);
    transform: none;
  }

  .opening-page.is-ready .intro-copy {
    gap: 5px;
  }

  .opening-page.is-ready .intro-phrase {
    font-size: 10px;
    line-height: 1.22;
  }

  .opening-page.is-ready .intro-phrase-1 {
    font-size: 7px;
  }

  .opening-page.is-ready .intro-phrase-2 {
    font-size: 17px;
  }

  .opening-page.is-ready .intro-phrase-6,
  .opening-page.is-ready .intro-phrase-7 {
    font-size: 8px;
  }

  .skip-intro,
  .enter-website {
    right: 16px;
    bottom: 16px;
    min-width: min(240px, calc(100vw - 32px));
  }

  .section-label {
    padding: 5px 10px 4px;
  }

  .section-label em {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .walker:nth-child(n + 6) {
    display: none;
  }

  .walker-arm,
  .walker-leg {
    animation: none;
  }

  .walker animateMotion {
    display: none;
  }

  .massing,
  .section-label,
  .destination-panel,
  .intro-copy-shell,
  .map-stage,
  .intro-phrase,
  .intro-phrase::after,
  .skip-intro__fill {
    animation: none;
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }

  .skip-intro__fill {
    width: 100%;
  }
}
