.scene-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.7vw, 1.5rem);
}
.scene-choices a {
  display: grid;
  grid-template-columns: minmax(66px, 40%) 1fr;
  align-items: center;
  gap: clamp(0.5rem, 1.1vw, 1.25rem);
  text-decoration: none;
  padding-block: 0.6rem;
  border-block: 1px solid #c5c8c3;
}
.scene-choices a[aria-pressed='true'] {
  border-bottom: 3px solid #27614f;
  padding-bottom: calc(0.6rem - 2px);
}
.scene-choices img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.scene-choices small,
.scene-choices strong {
  display: block;
}
.scene-choices small,
.walk-detail h3 small {
  color: #3d5d54;
  font-size: 0.76rem;
  font-weight: 700;
}
.scene-choices strong {
  line-height: 1.45;
  font-size: clamp(0.85rem, 1.25vw, 1.25rem);
}
.scene-choices a:hover strong,
.field-actions a:hover {
  text-decoration: underline;
}
.park-walks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.75rem, 6vw, 6rem);
  gap: clamp(1.5rem, 3vw, 3.25rem);
  scroll-margin-top: 5rem;
}
.walk-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #b5c3bf;
}
.walk-frame picture,
.walk-frame img {
  display: block;
}
.walk-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.walk-preview.has-frame {
  opacity: 1;
}
.preview-toggle {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  min-height: 44px;
  padding: 0.3rem 1rem;
  border: 1px solid #ffffff91;
  border-radius: 2rem;
  color: white;
  background: #102a24e8;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.preview-toggle:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}
.walk-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.walk-detail {
  padding-top: 1rem;
}
.walk-detail h3 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: clamp(1.45rem, 2.5vw, 2.65rem);
  letter-spacing: -0.045em;
  line-height: 1.4;
}
.walk-detail h3 small {
  letter-spacing: 0.04em;
}
.walk-detail p {
  color: #42534e;
  margin-block: 0.4rem 0.95rem;
  font-size: 0.95rem;
}
.walk-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(0.8rem, 2vw, 1.7rem);
  row-gap: 0.2rem;
}
.walk-links .invite {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (min-width: 1000px) {
  .street-gallery {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(155px, 1fr);
    align-items: start;
    gap: clamp(1rem, 2.3vw, 2.5rem);
  }
  .scene-choices {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .scene-choices a {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding-top: 0;
    border-top: 0;
  }
  .scene-choices a > span {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
  }
  .scene-choices strong {
    font-size: clamp(0.82rem, 1.05vw, 1rem);
  }
  .scene-choices small {
    white-space: nowrap;
  }
}
@media (max-width: 850px) {
  .scene-choices a {
    grid-template-columns: 1fr;
    align-content: start;
  }
}
@media (max-width: 600px) {
  .park-walks {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .walk-card img {
    aspect-ratio: 5 / 4;
    object-position: center 61%;
  }
  .scene-choices strong {
    font-size: clamp(0.74rem, 3.4vw, 0.95rem);
    overflow-wrap: anywhere;
  }
}

.plan-drawing {
  display: block;
  width: 100%;
  height: auto;
  background: radial-gradient(ellipse at 50% 64%, #393e5d6b, transparent 72%);
}
.steps li:has(.plan-drawing:not([hidden]))::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  font: 600 0.82rem/1.2 var(--display);
  letter-spacing: 0.12em;
  color: #c1c5ec;
}
.plan-contact {
  max-width: 440px;
  margin-top: 1.5rem;
}
@media (max-width: 760px) {
  .steps li:has(.plan-drawing:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) 43%;
    gap: 0.35rem 1rem;
  }
  .steps .plan-drawing {
    grid-row: 1;
    grid-column: 2;
    height: 68px;
    object-fit: cover;
  }
  .steps li:has(.plan-drawing:not([hidden])) h3 {
    grid-area: 1 / 1;
    align-self: center;
  }
  .steps li:has(.plan-drawing:not([hidden])) p {
    grid-column: 1 / -1;
  }
  .steps li:has(.plan-drawing:not([hidden]))::before {
    top: 0.55rem;
    font-size: 0.7rem;
  }
  .plan-contact {
    max-width: 310px;
    margin-inline: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion='on'] .walk-frame.arrived {
    animation: none;
  }
  html[data-motion='on'] .walk-frame.arrived::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 37%, #e1e8ff32 49.4%, #f1fffbb5 50%, transparent 50.6%);
    animation: survey-pass 1.15s cubic-bezier(0.26,0.65,0.32,1) both;
  }
}
@keyframes survey-pass {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

/* The ground footprint projected into the fixed aerial game view. */
.plot-trace {
  position: absolute;
  inset: 0;
  background: #ffedb4;
  opacity: 0;
  pointer-events: none;
  clip-path: polygon(
    42.94% 58.37%,
    68.02% 84.77%,
    78.89% 59.29%,
    56.08% 41.70%,
    42.94% 58.37%,
    43.45% 58.44%,
    56.24% 42.24%,
    78.40% 59.34%,
    67.84% 84.11%,
    43.45% 58.44%
  );
}
html:not([data-motion='on']) .plot-trace {
  visibility: hidden;
}

.build-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 5rem);
  margin: clamp(2.4rem, 5vw, 5rem) 0;
  scroll-margin-top: 5rem;
}
.build-demo img { width: 100%; height: auto; }
.build-demo h3 { font-size: clamp(1.6rem, 3.4vw, 3.6rem); line-height: 1.22; letter-spacing: -.045em; }
.build-demo figcaption p { margin-top: 1rem; color: #d3d3e3; }
@media (max-width: 760px) {
  .build-demo { grid-template-columns: 1fr; }
}

.walk-card .field-actions a:not(.field-play) { color: #313457; }
.contact .project-terms { margin-top: 1rem; }
.pilot-invitation { margin-top: 1.5rem; padding-inline-start: 1rem; border-inline-start: 2px solid var(--muted); }
.pilot-invitation h3 { font-size: clamp(1.12rem, 1.8vw, 1.55rem); line-height: 1.5; text-wrap: balance; }
.pilot-invitation p { margin-top: .55rem; }
.inquiry-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); gap: .85rem; }
.inquiry-pair label { display: block; margin-block: .6rem .42rem; }
@media (max-width: 600px) { .inquiry-pair { grid-template-columns: 1fr; gap: 0; } }
#publication-help { color: var(--muted); font-size: .78rem; }
