/* Demo provenance is available without repeating captions beneath every image. */
.media-details { margin-block: 1.5rem; color: var(--color-muted); font-size: 1rem; line-height: 1.6; }
.media-details summary { cursor: pointer; width: fit-content; min-height: 44px; display: flex; align-items: center; gap: .5rem; }
.media-details summary::before { content: "+"; }
.media-details[open] summary::before { content: "−"; }
.media-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.media-details p { max-width: 65ch; margin-block: .5rem; }

/* One left edge: section intros sit under their headings, films stand on the page's two columns. */
.section-head { display: block; }
.section-head p { margin-top: 1.25rem; }
.workflow { margin-bottom: var(--space-section); }
.devices + .duo-feature { margin-top: 0; border-top: 0; }
.duo-feature-copy > p { font-size: var(--text-lead); }
.films .film-grid { max-width: none; margin-inline: 0; gap: clamp(2rem, 5vw, 4rem); }
.films .film { max-width: 408px; }
.film-transcript summary { width: fit-content; }
.media-details { border-bottom: 0; }
.media-details summary { padding: 0; }
.media-details summary::after { content: none; }
/* Media in a row stand on one line: the widgets lose their canvas's empty foot, and the Duo desk film stands beside its copy. */
.device-spread { align-items: end; }
.device-spread .phone-art img { aspect-ratio: 720 / 1118; object-fit: cover; object-position: top; }
.device-spread .phone-art { margin-inline: 0 auto; }
.device-spread .watch-art { margin-inline: auto 0; }
@media (min-width: 900px) {
  .duo-feature.has-film { grid-template-columns: minmax(0, 1fr) clamp(15rem, 26vw, 21rem); grid-template-areas: "copy film"; align-items: center; }
}
@media (max-width: 899px) {
  .duo-feature.has-film { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "film"; align-items: start; }
  .duo-feature.has-film .duo-film { width: 100%; max-width: 360px; justify-self: start; }
}
/* Guide pages: the demo notes follow the screenshots instead of taking a cell between them. */
.guide-shots > .media-details, .guide-shots > .note { grid-column: 1 / -1; order: 1; margin-block: 0; text-align: start; }
/* Status lines stay for screen readers; they show only when something needs attention. */
.gallery-controls:not([data-state="error"]) .gallery-meta,
#plan-status:not([data-state="warning"]):not([data-state="error"]) { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
