/* THE MIDWAY GOES STILL — CURATED GALLERY IN THREE ACTS */
.gallery-section {background:linear-gradient(#091217,#0b1418 44%,#0a1216);}
.gallery-intro {max-width:750px;margin-bottom:12px;}
.gallery-story-note {max-width:680px;margin:0 0 58px;color:#c3b8a7;font:italic 1.04rem/1.8 var(--serif);border-left:2px solid rgba(195,165,121,.5);padding:6px 0 6px 20px;}
.gallery-act + .gallery-act {margin-top:76px;}
.gallery-act__header {display:flex;align-items:baseline;gap:20px;margin-bottom:19px;border-bottom:1px solid rgba(201,175,137,.18);padding-bottom:17px;}
.gallery-act__number {font:600 .65rem/1 var(--sans);letter-spacing:.18em;color:#c6a87e;white-space:nowrap;}
.gallery-act__header h3 {font:400 clamp(1.85rem,4vw,2.65rem)/1.15 var(--serif);color:#f2e5d0;margin:0;}
.gallery-act__header p {margin:0 0 0 auto;color:#b9afa4;font:italic 1rem/1.5 var(--serif);text-align:right;}
.gallery-grid--story {grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:205px;gap:12px;}
.gallery-grid--story > .photo-plate {grid-column:span 3;grid-row:span 1;min-height:0;}
.gallery-grid--story > .photo-plate--feature {grid-column:span 6;grid-row:span 2;}
.gallery-grid--story .photo-plate--black {background:#0b0e0f;}
.gallery-grid .photo-plate img {width:100%;height:100%;object-fit:cover;filter:saturate(.8) contrast(1.045);transition:transform .55s ease,filter .4s ease;}
.gallery-grid .photo-plate--portrait img {object-position:center 31%;}
.gallery-grid .photo-plate--black img {object-position:center 44%;}
.gallery-grid .photo-plate:hover img {transform:scale(1.025);filter:saturate(.92) contrast(1.055);}
.gallery-grid .photo-plate .gallery-item__caption{padding:40px 14px 16px;background:linear-gradient(transparent,rgba(5,8,11,.91));display:block;}
.gallery-grid .photo-plate .gallery-item__caption strong{display:block;font-size:clamp(1.05rem,2vw,1.42rem);font-weight:400;line-height:1.22;}
.gallery-grid .photo-plate .gallery-item__caption small{display:block;margin-top:6px;color:#e2d5c4;font-size:.72rem;letter-spacing:.015em;line-height:1.33;}
.gallery-grid--story > .photo-plate--feature .gallery-item__caption strong {font-size:clamp(1.7rem,3vw,2.1rem);}
.gallery-appendix {margin-top:76px;border-top:1px solid rgba(195,165,121,.3);border-bottom:1px solid rgba(195,165,121,.3);padding-block:22px 28px;}
.gallery-appendix summary {list-style:none;display:flex;gap:15px;align-items:center;justify-content:space-between;color:#ebdac2;padding:12px 3px;cursor:pointer;font:600 .8rem/1.4 var(--sans);letter-spacing:.11em;min-height:44px;}
.gallery-appendix summary::-webkit-details-marker {display:none;}
.gallery-appendix summary::after {content:'＋';font:400 1.5rem/1 var(--serif);color:#c3a579;}
.gallery-appendix[open] summary::after{content:'−';}
.gallery-appendix__count{margin-left:auto;margin-right:20px;font-size:.72rem;color:#c8b7a1;letter-spacing:0;font-weight:400;}
.gallery-appendix__intro {font:italic 1.08rem/1.65 var(--serif);color:#c6baaa;margin:10px 2px 27px;}
.gallery-grid--appendix {grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:215px;gap:12px;}
.gallery-grid--appendix > .photo-plate {grid-column:span 3;grid-row:span 1;}
.gallery-grid--appendix > .photo-plate .gallery-item__caption strong {font-size:1.12rem;}
.gallery-grid--appendix > .photo-plate img{object-position:center center;}
.gallery-item:focus-visible,.gallery-appendix summary:focus-visible {outline:2px solid #eecb8d;outline-offset:3px;}
.book-spread[data-book-page="0"] .book-spread__picture img{object-position:center center;filter:contrast(1.035) saturate(.78);}
.book-spread[data-book-page="4"] .book-spread__picture img{object-position:center 39%;filter:contrast(1.055) saturate(.66);}
.after-turn-archive img{object-position:center 51%;}
@media(max-width:950px){
 .gallery-grid--story{grid-auto-rows:178px;gap:10px;}
 .gallery-grid--appendix{grid-auto-rows:175px;gap:10px;}
 .gallery-act__header p{display:none;}
}
@media(max-width:650px){
 .gallery-story-note{font-size:1.03rem;margin-bottom:40px;padding-left:14px;}
 .gallery-act+.gallery-act{margin-top:53px;}
 .gallery-act__header{gap:11px;align-items:center;padding-bottom:14px;margin-bottom:14px;}
 .gallery-act__number{font-size:.58rem;}
 .gallery-act__header h3{font-size:1.7rem;}
 .gallery-grid--story{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:204px;gap:9px;}
 .gallery-grid--story > .photo-plate{grid-column:span 1;grid-row:span 1;height:auto;}
 .gallery-grid--story > .photo-plate--feature{grid-column:span 2;grid-row:span 1;min-height:0;height:268px;}
 .gallery-grid--story .photo-plate--feature img{object-position:center 43%;}
 .gallery-grid--story > .photo-plate:last-child:not(.photo-plate--feature) {grid-column:span 2;max-height:225px;}
 .gallery-grid .photo-plate .gallery-item__caption{padding:33px 12px 12px;}
 .gallery-grid .photo-plate .gallery-item__caption strong{font-size:1.06rem!important;}
 .gallery-grid .photo-plate .gallery-item__caption small{font-size:.7rem!important;line-height:1.2;}
 .gallery-grid--story > .photo-plate--feature .gallery-item__caption strong{font-size:1.55rem!important;}
 .gallery-grid--story .photo-plate--portrait img {object-position:center 24%;}
 .gallery-grid--appendix {grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:182px;gap:9px;}
 .gallery-grid--appendix > .photo-plate{grid-column:span 1;grid-row:span 1;min-height:0;}
 .gallery-grid--appendix .gallery-item__caption{padding:30px 9px 11px;}
 .gallery-grid--appendix .gallery-item__caption strong{font-size:.98rem!important;}
 .gallery-appendix{margin-top:51px;}
 .gallery-appendix__count{font-size:.66rem;margin-right:5px;}
 .gallery-appendix summary{font-size:.72rem;}
}
@media(max-width:375px){
 .gallery-grid--story{grid-auto-rows:177px;}
 .gallery-grid--story > .photo-plate--feature{height:236px;}
 .gallery-grid--appendix{grid-auto-rows:168px;}
 .gallery-act__header h3{font-size:1.47rem;}
 .gallery-appendix__count{font-size:.6rem;}
}
@media(prefers-reduced-motion:reduce){.gallery-grid .photo-plate img{transition:none!important;}}

/* FINAL CURATION: feature photo, two secondary photographs, one full-width concluding photograph */
.gallery-grid--story > .photo-plate--wide {grid-column:span 6;grid-row:span 1;}
.gallery-grid--story > .photo-plate--wide img {object-position:center 48%;}
.gallery-grid--story .photo-plate--portrait img {object-position:center 26%;}
@media (max-width:650px){.gallery-grid--story > .photo-plate--wide {grid-column:span 2;grid-row:span 1;min-height:0;height:220px;} .gallery-grid--story > .photo-plate--wide img{object-position:center 47%;}}
@media (max-width:375px){.gallery-grid--story > .photo-plate--wide {height:200px;}}

/* Three quotations act as a restrained narrative spine for the exhibition. */
.gallery-act__epigraph {
  max-width:760px; margin:0 0 19px 0; padding:0 0 0 18px;
  border-left:2px solid rgba(192,158,109,.55);
  color:#e4d0b2; font:italic clamp(1.06rem,2.25vw,1.28rem)/1.55 var(--serif);
  text-wrap:pretty;
}
.gallery-grid .photo-plate .gallery-item__caption small { text-wrap:pretty; }
@media(max-width:650px){
 .gallery-act__epigraph{margin-bottom:16px;padding-left:13px; font-size:1.06rem;line-height:1.55;}
 .gallery-grid .photo-plate .gallery-item__caption small{font-size:.75rem!important;line-height:1.3;}
 .gallery-grid--story .photo-plate--feature .gallery-item__caption small{font-size:.81rem!important;}
}
