/* Phone and tablet layouts. Keep photographs in their natural proportions and
   reserve separate space for their captions; desktop composition stays intact. */
@media (max-width: 900px) {
  :root { --mobile-gutter: 24px; --shell: calc(100% - var(--mobile-gutter) * 2); }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .site-header { padding-inline: var(--mobile-gutter); }
  .menu-toggle, .motion-toggle { width: 44px; height: 44px; flex-shrink: 0; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; padding: 120px 0 28px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(52px, 11vw, 86px); }
  .hero-copy .eyebrow { font-size: 10px; flex-wrap: wrap; row-gap: 6px; }
  .hero-subtitle { font-size: 17px; }
  .hero-lead { font-size: 14px; line-height: 1.75; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
  .hero-actions .button { min-height: 52px; min-width: 0; padding: 15px 18px; font-size: 13px; gap: 18px; }
  .hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }

  .theater-scene.hero-visual { height: auto; width: 100%; max-width: 640px; margin: 38px auto 0; perspective: none; }
  .theater-scene-top { position: static; margin-bottom: 14px; font-size: 9px; gap: 14px; line-height: 1.6; }
  .theater-scene-top span:first-child { max-width: none; }
  .theater-rig { height: auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: 'exterior exterior' 'interior plaque'; gap: 14px; transform: none; transform-style: flat; }
  .venue-plinth, .theater-coordinate { display: none; }
  .theater-exterior { grid-area: exterior; position: relative; inset: auto; width: 100%; height: auto; border: 3px solid #597083; outline: none; border-radius: 4px; box-shadow: 0 5px 16px #010e2433; }
  .theater-exterior > img { width: 100%; height: auto; object-fit: contain; }
  .photo-location { left: 12px; right: 12px; bottom: 12px; font-size: 9px; }
  .theater-inset { grid-area: interior; position: relative; inset: auto; display: flex; flex-direction: column; align-self: start; width: 100%; height: auto; padding: 4px; transform: none; border-radius: 3px; box-shadow: 0 4px 12px #010e2433; }
  .theater-inset img { width: 100%; height: auto; object-fit: contain; }
  .theater-inset > span { position: static; padding: 8px 4px 4px; font-size: 8px; line-height: 1.5; gap: 8px; }
  .theater-plaque { grid-area: plaque; position: relative; inset: auto; display: flex; flex-direction: column; justify-content: center; width: 100%; padding: 16px 12px; transform: none; border-radius: 3px; box-shadow: none; }
  .theater-plaque img { width: min(100%, 165px); height: auto; margin-inline: auto; }
  .theater-plaque > span { font-size: 8px; line-height: 1.6; margin-top: 12px; }
  .event-facts { position: static; display: grid; grid-template-columns: .65fr 1fr 1.4fr; width: 100%; margin-top: 30px; gap: 12px; }
  .event-facts > div { padding: 15px 0 0; min-width: 0; }
  .event-facts span { font-size: 9px; }
  .event-facts strong { font-size: 12px; line-height: 1.6; }
  .hero-scroll { position: static; margin-top: 24px; width: 100%; }
  .scroll-arrow { width: 38px; height: 38px; }
  .hero-scroll > span:nth-child(2) { font-size: 11px; }
  .hero-scroll > span:nth-child(2) br { display: none; }
  .hero-scroll small { display: block; margin-left: auto; font: 8px monospace; }

  .theater-tour { padding-block: 36px; }
  .tour-topline { flex-wrap: wrap; align-items: center; gap: 12px; }
  .tour-topline .eyebrow { font-size: 10px; }
  .tour-topline > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: none; font-size: 12px; text-align: left; }
  .tour-topline > a span { margin: 0; }
  .tour-static { align-items: start; gap: 24px; margin-block: 24px 32px; }
  .tour-static figure, .tour-static figure:last-child { min-width: 0; width: 100%; margin: 0; transform: none; }
  .tour-static img, .tour-static figure:last-child img { height: auto; aspect-ratio: auto; border: 1px solid #c0dfff35; border-radius: 3px; box-shadow: none; }
  .tour-static figcaption { font-size: 11px; line-height: 1.7; padding-top: 10px; }
  .tour-bottom { margin-top: 32px; }
  .tour-copy > p:last-child { font-size: 14px; }
  .tour-credit { font-size: 10px; line-height: 1.8; }

  .venue-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .venue-copy { padding: 32px; }
  .venue-copy > p:not(.venue-label) { font-size: 15px; }
  .venue-visual { min-height: 0; height: auto; background: #0b2540; border: 0; }
  .venue-visual > img { position: relative; inset: auto; width: 100%; height: auto; object-fit: contain; }
  .venue-visual::after { display: none; }
  .venue-logo { position: relative; inset: auto; width: fit-content; margin: 16px 20px; padding: 0; background: transparent; }
  .venue-logo img { width: 132px; height: auto; }
  .gallery-controls { flex-shrink: 0; gap: 8px; }
  .gallery-controls button { width: 44px; height: 44px; font-size: 21px; }
  .gallery-track { align-items: stretch; padding: 5px var(--mobile-gutter) 18px; scroll-padding-inline: var(--mobile-gutter); gap: 16px; }
  .venue-shot { flex: 0 0 72%; display: flex; flex-direction: column; height: auto; aspect-ratio: auto; border: 1px solid #c4cfd6; border-radius: 5px; background: #10263b; box-shadow: 0 4px 10px #10263b18; }
  .venue-shot > img { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; flex-shrink: 0; }
  .venue-shot:hover > img { transform: none; }
  .venue-shot::after { display: none; }
  .venue-shot > span { position: relative; inset: auto; flex: 1; width: 100%; gap: 10px; padding: 18px; }
  .venue-shot small { font-size: 10px; line-height: 1.6; letter-spacing: .07em; }
  .venue-shot strong { font-size: 20px; line-height: 1.35; padding-right: 24px; }
  .venue-shot i { right: 18px; bottom: 18px; font-size: 23px; }
  .gallery-footnote { font-size: 12px; line-height: 1.7; }
  .photo-credits, .photo-credits p { font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
  .photo-credits summary { padding-block: 12px; min-height: 44px; }

  .gallery-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 16px; overflow: auto; overscroll-behavior: contain; }
  .lightbox-toolbar { gap: 12px; margin-bottom: 12px; }
  .lightbox-toolbar > span { font-size: 9px; line-height: 1.5; letter-spacing: .03em; }
  .lightbox-toolbar button { font-size: 12px; min-width: 44px; min-height: 44px; flex-shrink: 0; }
  .lightbox-stage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lightbox-stage > img { grid-column: 1 / -1; grid-row: 1; height: auto; max-height: 60dvh; width: 100%; object-fit: contain; }
  .lightbox-stage > button { grid-row: 2; width: 44px; height: 44px; }
  .lightbox-stage > button:last-child { justify-self: end; }
  .lightbox-caption { font-size: 12px; line-height: 1.6; gap: 14px; margin-top: 14px; }
  .lightbox-credit { font-size: 10px; line-height: 1.7; }

  .theme-card, .theme-card:nth-child(n), .theme-card:last-child { display: flex; flex-direction: column; min-height: 0; padding-top: 34px; }
  .theme-card .theme-model, .theme-card:last-child .theme-model { position: relative; inset: auto; width: 100%; height: 250px; flex-shrink: 0; }
  .theme-card-copy, .theme-card:last-child .theme-card-copy { position: relative; inset: auto; max-width: none; padding: 10px 22px 20px; }
  .theme-card h3 { max-width: none; }
  .theme-card p, .theme-card:nth-child(n) p { font-size: 13px; line-height: 1.7; padding: 0; }
  .theme-card small, .theme-card:nth-child(n) small { font-size: 10px; }
  .theme-arrow { position: relative; inset: auto; width: 44px; height: 44px; align-self: flex-end; margin: auto 20px 20px; }
}

@media (max-width: 620px) {
  :root { --mobile-gutter: 20px; }
  .site-header, .site-header.scrolled { height: 64px; }
  .header-actions { gap: 6px; }
  .brand-copy { font-size: 6px; }
  .hero-grid { padding-top: 100px; }
  .hero h1 { font-size: clamp(48px, 14.5vw, 82px); }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .06em; gap: 8px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 16px; }
  .hero-lead br { display: none; }
  .theater-scene-top { font-size: 8px; }
  .theater-rig { gap: 12px; }
  .theater-inset > span { font-size: 7px; }
  .theater-plaque > span { font-size: 7px; }
  .hero-scroll small { display: none; }
  .tour-static { grid-template-columns: minmax(0, 1fr); }
  .tour-copy h2 { font-size: clamp(32px, 9vw, 44px); }
  .tour-overline { font-size: 9px; }
  .venue-copy { padding: 28px 22px; }
  .venue-copy .section-title { font-size: clamp(38px, 11vw, 52px); }
  .venue-copy .button { min-width: 0; font-size: 12px; }
  .gallery-heading { align-items: flex-end; gap: 12px; }
  .gallery-heading h3 { font-size: 30px; }
  .gallery-heading .eyebrow { font-size: 9px; }
  .venue-shot { flex-basis: calc(100% - 24px); }
  .venue-shot strong { font-size: 18px; }
  .gallery-footnote { gap: 6px; }
  .book-model, .has-live-folio:not(.motion-paused) .book-model { width: 100%; margin-left: 0; height: clamp(230px, 72vw, 360px); }
  .folio-art-label { font-size: 9px; letter-spacing: .04em; gap: 12px; }
  .folio-description { font-size: 14px; }
  .folio-panel .chapter-link { font-size: 12px; min-height: 44px; }
  .folio-source { font-size: 11px; }
  .folio-navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .folio-navigation button { min-height: 44px; }
  .folio-navigation button > span { font-size: 14px; }
  .theme-card .theme-model, .theme-card:last-child .theme-model { height: clamp(210px, 64vw, 310px); }
  .theme-no > span { font-size: 9px; }
  .program-filters button { min-height: 44px; font-size: 12px; }
  .speaker-card { min-height: 250px; }
  .speaker-card p { font-size: 12px; line-height: 1.6; }
  .speakers-foot { flex-wrap: wrap; }
  .has-stage-cinema:not(.motion-paused) .stage-sticky { top: 64px; height: calc(100svh - 64px); min-height: 0; }
  .has-stage-cinema:not(.motion-paused) .stage-journey .dialogue-copy { left: 20px; width: calc(100% - 40px); }
  .has-stage-cinema:not(.motion-paused) .stage-journey .dialogue-visual { top: 35%; height: 65%; }
  .stage-shot > p:not(.eyebrow) { font-size: 12px; }
  .stage-film-controls button { font-size: 9px; min-height: 48px; }
  .has-stage-cinema:not(.motion-paused) .stage-topline { font-size: 8px; }
  .has-stage-cinema:not(.motion-paused) .dialogue-caption { font-size: 8px; }
}

@media (max-width: 360px) {
  :root { --mobile-gutter: 16px; }
  .brand-copy { display: none; }
  .event-facts { grid-template-columns: 1fr 1fr; }
  .event-facts > div:last-child { grid-column: 1 / -1; padding-top: 0; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .text-link { font-size: 12px; }
  .theater-scene-top span:last-child { display: none; }
  .gallery-heading { flex-wrap: wrap; }
  .speaker-grid { grid-template-columns: minmax(0, 1fr); }
  .speaker-card { min-height: 200px; }
  .speaker-card h3 { font-size: 23px; }
}

@media (max-width: 620px) and (max-height: 650px) {
  .has-stage-cinema:not(.motion-paused) .stage-journey .dialogue-copy { top: 44px; }
  .has-stage-cinema:not(.motion-paused) .stage-journey h3 { font-size: 24px; margin-block: 10px; }
  .has-stage-cinema:not(.motion-paused) .stage-topline { top: 16px; }
  .has-stage-cinema:not(.motion-paused) .stage-journey .dialogue-visual { top: 30%; height: 70%; }
  .has-stage-cinema:not(.motion-paused) .stage-bottomline { bottom: 32px; }
  .has-stage-cinema:not(.motion-paused) .dialogue-caption { bottom: 10px; }
}
