/* W-025 · Tour only. Alex's R-1059 simulator screens.
   Reuses .iphone-frame and .iphone-screen from site.css without changing them.
   Every screen keeps its native 1206 × 2622 proportions. */

.stop.has-shots { container-type: inline-size; }

.shot { margin: 1.4rem 0 0; display: grid; gap: .9rem; justify-items: center; }
.shot .iphone-frame { width: min(100%, 340px); }
.shot .iphone-screen img { display: block; width: 100%; height: auto; }
.shot figcaption { justify-self: stretch; max-width: 46ch; font-size: 1rem; color: var(--ink-2); }
.shot figcaption p + p { margin-top: .3rem; }
.shot-label {
  display: block; margin-bottom: .35rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green);
}
.shot-full { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Wide stop cards: caption beside the phone. Narrow cards: phone first, caption below. */
@container (min-width: 600px) {
  .shot { grid-template-columns: minmax(0, 1fr) 340px; gap: 0 clamp(20px, 5cqi, 44px); align-items: center; justify-items: stretch; }
  .shot .iphone-frame { grid-column: 2; grid-row: 1; width: 100%; }
  .shot figcaption { grid-column: 1; grid-row: 1; }
}

/* Supporting screens: native disclosure, works by keyboard and without scripts. */
.shot-more { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.shot-more + .shot-more { margin-top: 0; }
.shot-more summary {
  display: flex; align-items: center; gap: .65em; min-height: 48px; padding-block: .3rem;
  font-weight: 700; color: var(--green); cursor: pointer; list-style: none;
}
.shot-more summary::-webkit-details-marker { display: none; }
.shot-more summary::before {
  content: ""; flex: none; width: .5em; height: .5em; margin-inline: .2em .1em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.shot-more[open] summary::before { transform: rotate(45deg); }
.shot-more summary:hover { text-decoration: underline; }
.shot-more[open] { padding-bottom: 1rem; }
.shot-more .shot { margin-top: .4rem; }

/* Phone widths: give the screen a little more room inside the stop card. */
@media (max-width: 480px) {
  .stop.has-shots { padding-inline: 14px; }
}
