/* Evaluator-selected media. Native proportions, no repeated captures. */
.photographic-opening{padding-top:clamp(28px,5vw,72px)}.opening-copy{padding:0 clamp(24px,5vw,80px) 32px;max-width:1100px}.opening-copy h1{font-size:clamp(38px,5.6vw,82px);line-height:1.04;letter-spacing:-.045em;margin:12px 0 22px}.opening-copy p{max-width:620px}.photographic-opening figure{margin:0}.photographic-opening figure>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.photographic-opening figcaption{padding:12px clamp(24px,5vw,80px);font-size:13px}.cdag-chapter>.chapter-heading{padding:60px clamp(24px,5vw,80px) 24px}.film-awaiting-final{position:relative!important;height:auto!important;min-height:0!important;aspect-ratio:3/2;background:transparent!important}.film-awaiting-final>[data-motion-poster]{position:relative!important;inset:auto!important;display:block!important;width:100%;height:auto!important;object-fit:cover!important;opacity:1!important}.film-awaiting-final .film-controls{display:none}.project-directory{display:grid;grid-template-columns:1fr 1fr;column-gap:48px}.project-directory a{display:flex;justify-content:space-between;padding:24px 0;border-bottom:1px solid #bac4bd;font-size:clamp(19px,2vw,27px)}.curated-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px!important;align-items:start}.curated-grid .gallery-item{max-width:none;width:100%;margin:0}.curated-grid img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}.curated-grid .gallery-caption{display:block;padding-top:12px}.project-card img[data-source-id]{width:100%!important;height:auto!important;max-height:70vh;object-fit:contain!important;background:transparent}.curated-gallery{padding-bottom:64px} @media(max-width:760px){.project-directory,.curated-grid{grid-template-columns:1fr}.opening-copy{padding-bottom:24px}.cdag-chapter>.chapter-heading{padding-top:36px}.project-card img[data-source-id]{max-height:none}}
.page-index .reference-header,.page-index .reference-header:focus-within{position:relative;inset:auto;background:var(--paper);color:var(--ink)}.page-opening>.case-panel{position:static;max-width:900px;width:auto;margin:0;padding:0;background:transparent}.photographic-opening img{max-width:100%}.curated-grid .gallery-caption{font-size:14px;line-height:1.45}
/* Keep the opening photographic: remove repeated brand eyebrow and excess pre-image space. */
.photographic-opening{padding-top:30px}.opening-copy{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:end;max-width:none;padding-bottom:30px}.opening-copy>p:first-child{display:none}.opening-copy h1{font-size:clamp(38px,4.5vw,64px);margin:0;line-height:1.06}.opening-copy>p:last-child{max-width:34ch;margin:0 0 4px;justify-self:end}.gallery-item:focus-visible{outline:3px solid var(--green);outline-offset:6px}@media(max-width:760px){.opening-copy{grid-template-columns:1fr;gap:18px;padding-bottom:24px}.opening-copy>p:last-child{justify-self:start}.photographic-opening{padding-top:20px}.opening-copy h1{font-size:38px}}

/* Independent review: keep gallery actions on one line on narrow screens. */
#gallery-prev,#gallery-next,#gallery-close{white-space:nowrap;flex-shrink:0}#gallery-caption{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){#gallery-dialog>div:last-child{display:grid;grid-template-columns:auto 1fr auto;gap:12px}#gallery-caption{grid-row:2;grid-column:1/-1}#gallery-next{grid-column:3}}

/* Preserve the user-approved opening, retain the verified current galleries. */
.page-index .reference-header,.page-index .reference-header:focus-within{position:absolute;inset:0 0 auto;color:var(--paper);background:linear-gradient(#12271cee,#12271c00);z-index:40}.opening-copy h2{font-size:clamp(38px,4.5vw,64px);margin:0;line-height:1.06}@media(max-width:760px){.opening-copy h2{font-size:38px}}

.film-caption h2{font-size:clamp(26px,3vw,44px);line-height:1.15}.scroll-film [hidden]{display:none!important}
/* Chapter captions remain readable over light tile and windows. */
[data-film-chapter]::after{content:"";position:absolute;inset:45% 0 0;pointer-events:none;background:linear-gradient(transparent,rgba(7,20,14,.72));z-index:1}
[data-film-chapter] .film-caption,[data-film-chapter] .film-controls{z-index:2}
@media(max-width:760px){
 [data-film-chapter^="MVI_"]{height:auto;min-height:0;padding:0 0 18px}
 [data-film-chapter^="MVI_"]>video,[data-film-chapter^="MVI_"]>[data-motion-poster]{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
 [data-film-chapter^="MVI_"]::after{display:none}
 [data-film-chapter^="MVI_"] .film-caption{position:relative;inset:auto;max-width:none;padding:22px 24px 16px;text-shadow:none}
 [data-film-chapter^="MVI_"] .film-caption h2{font-size:28px;margin:0}
 [data-film-chapter^="MVI_"] .film-controls{position:relative;inset:auto;padding:0 24px;text-align:left}
 [data-film-chapter^="MVI_"] .film-controls p:empty{display:none}
}

/* Reserve the viewer stage before full-resolution image bytes arrive. */
#gallery-image{display:block;width:100%;height:65svh;max-height:65svh;object-fit:contain;margin:16px auto}@media(max-width:800px){#gallery-image{height:58svh;max-height:58svh}}

.story-closing figure>img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
