.photo-case-page { background: #f8f5ed; color: #292722; }
.photo-case-page main { overflow: clip; }
.photo-case-page img { display: block; width: 100%; height: auto; }
.photo-case-page figure { min-width: 0; margin: 0; }
.photo-case-page .case-intro h1 { max-width: 100%; }
.photo-case-wrap { width: min(84.4%, 1200px); margin-inline: auto; }
.photo-case-hero { width: min(84.4%, 1088px); margin-inline: auto !important; }
.photo-case-unit { margin-top: clamp(80px, 10vw, 150px); }
.photo-case-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.photo-case-open:focus-visible, .photo-case-page summary:focus-visible { outline: 1px solid currentColor; outline-offset: 7px; }
.photo-case-page figcaption { margin-top: 13px; color: #625e56; font: 400 14px/1.5 var(--sans); }
.photo-case-copy { min-width: 0; }
.photo-case-copy h2 { margin: 0; font: 400 clamp(30px, 3.3vw, 58px)/1.05 var(--serif); letter-spacing: normal; }
.photo-case-copy p { max-width: 28em; margin: 22px 0 0; font: 400 clamp(16px, 1.5vw, 21px)/1.5 var(--sans); }
.photo-case-copy .photo-case-eyebrow { margin: 0 0 18px; color: #625e56; font: 400 14px/1.5 var(--sans); }
.photo-case-more { margin-top: clamp(90px, 11vw, 160px); border-top: 1px solid #d8d3ca; }
.photo-case-more summary { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 38px 0; list-style: none; cursor: pointer; }
.photo-case-more summary::-webkit-details-marker { display: none; }
.photo-case-more-title { font: 400 clamp(30px, 3.3vw, 58px)/1.05 var(--serif); }
.photo-case-more-action { flex-shrink: 0; font: 400 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: .3em; }
.photo-case-more .when-open { display: none; }
.photo-case-more[open] .when-open { display: inline; }
.photo-case-more[open] .when-closed { display: none; }
.photo-case-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; padding: 30px 0 10px; }
.photo-case-page .photo-case-footer { padding-top: 80px; }
.photo-case-viewer { position: fixed; inset: 0; box-sizing: border-box; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px clamp(18px, 3vw, 48px); border: 0; color: #292722; background: #f8f5ed; }
.photo-case-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 20px; }
.photo-case-viewer::backdrop { background: #f8f5ed; }
html:has(.photo-case-viewer[open]) { overflow: hidden; }
.photo-case-viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.photo-case-viewer-top p { margin: 0; font: 400 14px/1.5 var(--sans); }
.photo-case-viewer button { border: 0; background: none; padding: 8px 0; cursor: pointer; color: inherit; font: 400 16px/1.5 var(--sans); text-decoration: underline; text-underline-offset: .3em; }
.photo-case-viewer button:focus-visible { outline: 1px solid; outline-offset: 5px; }
.photo-case-viewer .photo-case-viewer-image { min-width: 0; min-height: 0; width: 100%; height: 100%; object-fit: contain; }
.photo-case-viewer-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.photo-case-viewer-caption { max-width: 54em; justify-self: center; margin: 0; text-align: center; font: 400 14px/1.5 var(--sans); }
@media (max-width: 760px) {
 .photo-case-wrap, .photo-case-hero { width: calc(100% - 40px); }
 .photo-case-unit { margin-top: 70px; }
 .photo-case-copy h2 { font-size: clamp(30px, 7.7vw, 36px); line-height: 1.12; }
 .photo-case-copy p { margin-top: 18px; font-size: 18px; line-height: 1.5; }
 .photo-case-more { margin-top: 80px; }
 .photo-case-more summary { flex-direction: column; align-items: start; gap: 18px; padding: 28px 0; }
 .photo-case-more-title { font-size: clamp(30px, 7.7vw, 36px); }
 .photo-case-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; padding-top: 10px; }
 .photo-case-page .photo-case-footer { padding-top: 60px; }
 .photo-case-viewer { padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); gap: 12px; }
 .photo-case-viewer-caption { grid-column: 1 / -1; grid-row: 1; }
 .photo-case-viewer-bottom { grid-template-columns: 1fr 1fr; gap: 10px; }
 .photo-case-viewer-next { justify-self: end; }
}
@media (max-width: 360px) {
 .photo-case-wrap, .photo-case-hero { width: calc(100% - 32px); }
 .photo-case-archive { grid-template-columns: minmax(0, 1fr); }
}
