.photography-page{background:var(--paper);color:#131312}
.photo-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(320px,.78fr) minmax(440px,1.22fr);height:min(920px,calc(100svh - 72px));min-height:700px;overflow:hidden;background:var(--paper-bright);color:#111}
.photo-hero__copy{position:relative;z-index:2;align-self:end;padding:clamp(56px,7vw,120px) clamp(28px,5vw,88px)}
.photo-hero .hero-route{color:#5d5953}.photo-hero h1{max-width:8ch;margin:22px 0 24px;font-size:clamp(64px,8.5vw,148px);font-weight:700;line-height:.82;letter-spacing:-.065em}
.photo-hero__role{max-width:31ch;margin:0 0 34px;color:#55514b;font-size:clamp(17px,1.3vw,21px);line-height:1.55}
.photo-hero__media{position:relative;margin:0;min-width:0;overflow:hidden;background:#e8e3d9}.photo-hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(242,240,235,.22),transparent 35%);pointer-events:none}.photo-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
.photo-hero__credit{position:absolute;right:28px;bottom:24px;z-index:3;margin:0;color:rgba(255,255,255,.78);font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.16em;text-transform:uppercase;writing-mode:vertical-rl}
@media (min-width:901px){.photo-hero::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,var(--paper-bright) 0%,var(--paper-bright) 34%,rgba(250,249,246,.96) 40%,rgba(250,249,246,.62) 49%,rgba(250,249,246,.16) 57%,transparent 64%);pointer-events:none}}
.photo-intro{display:grid;grid-template-columns:minmax(210px,.42fr) minmax(420px,1fr);gap:clamp(28px,5vw,88px);margin:0 auto;padding:var(--sj-section-space) var(--sj-inset);background:var(--paper)}
.photo-intro__visual{grid-column:1;grid-row:1 / span 2;min-width:0}.photo-intro .section-index{padding-top:11px}.photo-intro__image{margin:clamp(24px,3vw,42px) 0 0;overflow:hidden;background:#d7d2ca;aspect-ratio:4/5}.photo-intro__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.photo-intro h2{grid-column:2;max-width:22ch;margin:0;font-size:var(--sj-title);font-weight:600;line-height:1.06;letter-spacing:-.055em}.photo-intro>p:last-child{grid-column:2;max-width:56ch;margin:0;color:#585650;font-size:var(--sj-copy);line-height:1.75}
.photo-work{padding:var(--sj-section-space) var(--sj-inset);background:#e7e3dc}.photo-work .section-heading h2{font-size:var(--sj-title)}.photo-work__note{margin:0;color:#5d5953;font-size:10px;font-weight:700;letter-spacing:.16em}
.photo-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(40px,5vw,72px) clamp(24px,4vw,56px);align-items:start}.photo-card{grid-column:span 6;margin:0;min-width:0}.photo-card:nth-child(4n+1),.photo-card:nth-child(4n+4){grid-column:span 7}.photo-card:nth-child(4n+2),.photo-card:nth-child(4n+3){grid-column:span 5}.photo-card:nth-child(even){padding-top:clamp(24px,4vw,64px)}.photo-card button{display:block;width:100%;padding:0;border:0;background:#d2cec6;cursor:zoom-in}.photo-card img{width:100%;height:auto;transition:filter .35s ease,transform .65s cubic-bezier(.2,.7,.2,1)}.photo-card button:hover img{filter:brightness(.92);transform:scale(.995)}.photo-card figcaption{display:flex;justify-content:space-between;gap:18px;margin-top:13px;padding-top:12px;border-top:0;color:#5d5953;font-size:10px;letter-spacing:.12em}
.photo-feature{display:grid;grid-template-columns:minmax(300px,.68fr) minmax(440px,1.32fr);gap:clamp(32px,5vw,80px);align-items:center;padding:var(--sj-section-space) var(--sj-inset);background:var(--paper-bright)}.photo-feature__copy h2{margin:12px 0 0;font-size:var(--sj-title);font-weight:600;line-height:1.04;letter-spacing:-.055em}.photo-feature__copy p:not(.section-index){max-width:56ch;margin:28px 0 0;color:#585650;font-size:17px;line-height:1.75}.photo-feature__media{margin:0;overflow:hidden;background:#d8d3ca}.photo-feature__media img{width:100%;height:auto}
.photo-product .product-image{background:transparent}.photo-product .product-image img{border:1px solid rgba(10,10,10,.18);box-shadow:0 28px 70px -38px rgba(0,0,0,.6)}
/* Zero-minimum tracks keep intrinsic portrait dimensions inside the stage. */
.photo-dialog{width:min(1180px,calc(100vw - 40px));max-width:none;margin:auto;padding:0;border:0;background:#f2f0eb;color:#131312;box-shadow:0 30px 120px rgba(0,0,0,.48)}.photo-dialog::backdrop{background:rgba(10,10,10,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.photo-dialog__bar,.photo-dialog__controls{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px}.photo-dialog__bar{border-bottom:1px solid rgba(10,10,10,.18)}.photo-dialog__bar p,.photo-dialog__bar h2,.photo-dialog__controls p{margin:0}.photo-dialog__bar p,.photo-dialog__controls{font-size:10px;font-weight:700;letter-spacing:.16em}.photo-dialog__bar h2{margin-top:3px;font-size:18px;font-weight:600;letter-spacing:.06em}.photo-dialog button{min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-size:10px;font-weight:700;letter-spacing:.14em;cursor:pointer}.photo-dialog__stage{display:grid;grid-template: minmax(0,1fr) / minmax(0,1fr);place-items:center;height:min(72vh,820px);background:#111}.photo-dialog__stage img{display:block;min-width:0;min-height:0;max-height:100%;width:100%;height:100%;object-fit:contain;background:#111}.photo-dialog__controls{border-top:1px solid rgba(10,10,10,.18)}
@media (max-width:900px){.photo-hero{grid-template-columns:1fr;height:calc(100svh - 108px);min-height:700px}.photo-hero__copy,.photo-hero__media{grid-area:1/1}.photo-hero__copy{display:flex;align-self:end;flex-direction:column;justify-content:flex-end;min-height:100%;padding:44px 24px 54px;background:linear-gradient(0deg,rgba(250,249,246,.98) 0,rgba(250,249,246,.9) 42%,rgba(250,249,246,.18) 72%,rgba(250,249,246,.02) 88%)}.photo-hero__copy>*{position:relative;z-index:2}.photo-hero h1{font-size:clamp(58px,17vw,112px)}.photo-hero__role{color:#2e2c28}.photo-hero__media img{object-position:center 26%}.photo-intro{grid-template-columns:1fr}.photo-intro__visual,.photo-intro h2,.photo-intro>p:last-child{grid-column:auto;grid-row:auto}.photo-intro__image{width:min(100%,520px)}.photo-feature{grid-template-columns:1fr}}
@media (max-width:620px){.photo-hero{height:760px;min-height:760px}.photo-hero__copy{padding-bottom:38px}.photo-hero__media img{object-position:center 20%}.photo-hero__credit{display:none}.photo-intro,.photo-work,.photo-feature{padding-right:20px;padding-left:20px}.photo-intro h2{font-size:var(--sj-title)}.photo-grid{grid-template-columns:1fr;gap:38px}.photo-card:nth-child(n){grid-column:1;padding-top:0}.photo-dialog{width:calc(100vw - 20px)}.photo-dialog__bar,.photo-dialog__controls{padding:12px 14px}.photo-dialog__bar h2{font-size:14px}.photo-dialog__controls button{font-size:9px}}
@media (prefers-reduced-motion:reduce){.photo-card img{transition:none}}

/* Only the photo crosses between gallery and viewer; the document stays in place. */
.photo-dialog{overflow:visible}
.photo-dialog__stage{height:min(72svh,820px,max(60px,calc(100svh - 180px)))}
.photo-dialog::backdrop{opacity:1;transition:opacity 480ms cubic-bezier(.22,.75,.18,1)}
.photo-dialog[data-photo-motion]{background:transparent;box-shadow:none}
.photo-dialog[data-photo-motion="preparing"]::backdrop,.photo-dialog[data-photo-motion="closing"]::backdrop{opacity:0}
.photo-dialog[data-photo-motion="closing"]::backdrop{transition-duration:320ms}
.photo-dialog__bar,.photo-dialog__controls{background:#f2f0eb}
.photo-dialog[data-photo-motion="preparing"]>.photo-dialog__stage,.photo-dialog[data-photo-motion="preparing"]>.photo-dialog__flight{visibility:hidden}
/* Modal controls remain focusable while the image is decoding. */
.photo-motion-source{visibility:hidden!important}
.photo-dialog>.photo-dialog__flight{position:fixed;z-index:2;display:block;max-width:none;max-height:none;margin:0;object-fit:fill;transform-origin:0 0;pointer-events:none;will-change:transform}
@media (prefers-reduced-motion:reduce){.photo-dialog::backdrop{transition:none}}

.photo-work .section-index{color:#5d5953}
