.project-photography-dialog{box-sizing:border-box;width:min(1100px,94vw);max-width:94vw;height:min(820px,94dvh);max-height:94dvh;padding:clamp(16px,2vw,28px);border:0;background:#f6f2ea;color:#202b31;box-shadow:0 18px 80px #0006;overflow:hidden}
.project-photography-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) 44px;gap:12px}
.project-photography-dialog::backdrop{background:#111b22d9}
.project-photography-dialog .photography-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-height:44px}
.project-photography-dialog h2{font-family:Georgia,serif;font-size:clamp(21px,2.1vw,30px);font-weight:400;line-height:1.2;margin:0;max-height:3.6em;overflow:auto}
.project-photography-dialog button{font:600 14px/1.4 Arial,sans-serif;color:inherit;border:1px solid #bdb6ab;background:transparent;padding:10px 14px;min-height:44px;cursor:pointer}
.project-photography-dialog button:focus-visible{outline:3px solid #805b22;outline-offset:3px}
.project-photography-dialog button:disabled{opacity:.4;cursor:default}
.project-photography-dialog .photography-close{flex-shrink:0}
.project-photography-dialog .photography-note{font-size:13px;line-height:1.5;margin:0;max-height:4.5em;overflow:auto}
.project-photography-dialog .photography-note[hidden]{display:block;height:0}
.project-photography-dialog figure{margin:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 4.5em;gap:10px;font-size:13px}
.project-photography-dialog .photography-stage{container-type:size;min-height:0;min-width:0;display:grid;place-items:center;background:#e8e1d5;overflow:hidden}
.project-photography-dialog .photography-image-wrap{display:grid;place-items:center;max-width:100%;max-height:100%;min-height:0}
.project-photography-dialog .photography-image-wrap img{display:block;width:auto;height:auto;max-width:100%;max-height:100cqh;object-fit:contain}
.project-photography-dialog figcaption{font-size:13px;line-height:1.5;margin:0;overflow:auto}
.project-photography-dialog .photography-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}
.project-photography-dialog .photography-count{margin:0;font-size:13px;white-space:nowrap}
/* Crop only the already-published portfolio collages; fixed outer stage never moves. */
.project-photography-dialog .photography-image-wrap[class*="crop-"]{position:relative;overflow:hidden;aspect-ratio:767/442;width:min(100cqw,173.529cqh,767px);max-height:none}
.project-photography-dialog .photography-image-wrap[class*="crop-"] img{position:absolute;max-width:none;max-height:none;width:103.259452412%;height:auto;aspect-ratio:792/891;object-fit:fill;top:0;left:0}
.project-photography-dialog .photography-image-wrap.crop-left,.project-photography-dialog .photography-image-wrap.crop-right{aspect-ratio:379/442;width:min(100cqw,85.746cqh,379px)}
.project-photography-dialog .photography-image-wrap.crop-left img{width:208.970976253%;top:auto;bottom:0}
.project-photography-dialog .photography-image-wrap.crop-right img{width:208.970976253%;top:auto;bottom:0;left:auto;right:-6.596306069%}
.project-photography-dialog .photography-image-wrap.crop-bottom img{top:auto;bottom:0}
/* Respect source resolution: refinements do not create additional detail. */
.project-photography-dialog img[src*="doubletree-arlington-public-bar-refined"]{max-width:min(100%,677px)}
@media(max-width:500px){.project-photography-dialog{padding:14px}.project-photography-dialog button{font-size:12px;padding:10px}.project-photography-dialog h2{font-size:20px}.project-photography-dialog .photography-toolbar{gap:10px}}
@media(max-height:500px){.project-photography-dialog{padding:10px}.project-photography-dialog[open]{gap:6px}.project-photography-dialog h2{font-size:18px;max-height:2.4em}.project-photography-dialog .photography-note{max-height:3em}.project-photography-dialog figure{grid-template-rows:minmax(0,1fr) 3em;gap:6px}}
/* Explicit rows remain stable when the optional note is hidden. */
.project-photography-dialog .photography-toolbar{grid-row:1}
.project-photography-dialog .photography-note{grid-row:2}
.project-photography-dialog figure{grid-row:3}
.project-photography-dialog .photography-controls{grid-row:4}

.project-photography-dialog .photography-toolbar>div{min-width:0}
.project-photography-dialog .photography-subtitle{font:400 13px/1.4 Arial,sans-serif;margin:6px 0 0;color:#536069}

/* Give concepts the full available stage, without cropping or rounded corners. */
.project-photography-dialog.concept-photography-dialog{width:min(1400px,96vw);max-width:96vw;height:94dvh;padding:clamp(12px,1.5vw,24px)}
.concept-photography-dialog figure{grid-template-rows:minmax(0,1fr) auto}
.concept-photography-dialog figcaption{max-height:4.5em}
.concept-photography-dialog .photography-stage{background:transparent}
.concept-photography-dialog .photography-image-wrap{width:100%;height:100%;border-radius:0}
.concept-photography-dialog .photography-image-wrap img{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:0}
/* Trim only transparent rounded image perimeters; preserve original source files. */
.concept-photography-dialog .photography-image-wrap{width:auto;height:auto}
.concept-photography-dialog .photography-image-wrap img{width:auto;height:auto;max-width:100%;max-height:100cqh}
.concept-photography-dialog img[src$="renaissance-epiccentral-lobby.webp"]{clip-path:inset(1.334% .813%)}
.concept-photography-dialog img[src$="renaissance-epiccentral-exterior.webp"]{clip-path:inset(1.401% 1.624%)}
.concept-photography-dialog img[src$="renaissance-epiccentral-pool.webp"]{clip-path:inset(1.689% .875%)}
.concept-photography-dialog img[src$="renaissance-epiccentral-guestroom.webp"]{clip-path:inset(1.233% 1.379%)}

.project-photography-dialog .photography-image-wrap img{opacity:1;transition:opacity .35s ease}
.project-photography-dialog .photography-image-wrap img.photography-fading{opacity:0}
.photography-playback{display:flex;align-items:center;justify-content:center;gap:16px}
.project-photography-dialog .photography-play{padding:8px 12px;font-size:12px}
.project-photography-dialog .photography-play[hidden]{display:none}
@media(max-width:500px){.photography-playback{gap:4px;flex-direction:column}.project-photography-dialog[open]{grid-template-rows:auto auto minmax(0,1fr) 66px}.project-photography-dialog .photography-play{min-height:36px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.project-photography-dialog .photography-image-wrap img{transition:none}}
/* Give spotlight photography the same generous, uncropped viewing area. */
.project-photography-dialog:not(.concept-photography-dialog){width:min(1400px,96vw);max-width:96vw;height:94dvh;padding:clamp(12px,1.5vw,24px)}
.project-photography-dialog:not(.concept-photography-dialog) figure{grid-template-rows:minmax(0,1fr) auto}
.project-photography-dialog:not(.concept-photography-dialog) figcaption{max-height:4.5em}
.project-photography-dialog:not(.concept-photography-dialog) .photography-stage{background:transparent}
