/* Visit page: the corridor, the questions, the closing sill. Builds on site.css. */

/* Later screens are shorter than the first */
.visit-stage { min-height: 70svh; }
.page-visit address { font-style: normal; font-family: 'Krona One', Lexend, sans-serif; font-size: 1.05rem; line-height: 1.5; margin-bottom: 1rem; }
.opening .sill .btn { margin-top: .5rem; }

/* Snapshot that crosses into the next screen's photograph */
.visit-snap { position: relative; z-index: 5; justify-self: center; margin-bottom: -4.5rem; }
@media (min-width: 60rem) {
  .visit-snap { grid-column: 9 / span 4; align-self: end; margin-bottom: -6rem; --tilt: -3deg; }
}

/* The corridor: scroll-snap strip of six tall arched windows */
.corridor {
  display: flex; align-items: flex-start; gap: .75rem;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: 1rem;
  padding: 1.5rem 1rem 1.75rem;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--moss) transparent;
  -webkit-overflow-scrolling: touch;
}
.corridor:focus-visible { outline-offset: -.1875rem; border-radius: 2rem; }
@media (min-width: 40rem) { .corridor { gap: 2rem; padding-inline: 1.5rem; scroll-padding-inline: 1.5rem; } }

.door {
  flex: 0 0 clamp(8rem, 37vw, 19rem);
  margin: 0; scroll-snap-align: start;
}
.door .arch { aspect-ratio: 3 / 5; box-shadow: 0 1rem 2rem rgba(34, 26, 46, .28); }
.door .arch-sill { margin: 0 -.5rem; position: relative; z-index: 2; }
.door .caption {
  display: block; margin-top: .6rem; text-align: center;
  border-radius: 1rem 1rem .25rem .25rem; font-size: 1rem; line-height: 1.3;
}
/* Different heights, like doors along a hall */
.door:nth-child(1) { margin-top: 0; }
.door:nth-child(2) { margin-top: 2.25rem; }
.door:nth-child(3) { margin-top: .75rem; }
.door:nth-child(4) { margin-top: 3rem; }
.door:nth-child(5) { margin-top: 1.25rem; }
.door:nth-child(6) { margin-top: 2.5rem; }

/* Questions: round moss-edged stickers with a plain answer beneath */
.asks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 2.25rem; }
.ask { display: grid; justify-items: center; align-content: start; gap: 1rem; text-align: center; }
.ask p { margin: 0; max-width: 22rem; }
.ask__dot {
  width: 13rem; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: .5rem solid var(--moss); background: var(--cream);
  display: grid; place-items: center; padding: 1rem;
  box-shadow: 0 .3rem .8rem rgba(34, 26, 46, .22);
}
.ask__dot h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
@media (min-width: 60rem) {
  .asks { grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
  .ask:nth-child(2) { margin-top: 2.5rem; }
  .ask:nth-child(3) { margin-top: 1rem; }
}

/* Closing: knob and two links, side by side, never touching */
.visit-end { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.visit-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.visit-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
