/* Saif Ramy: scroll-led photography study, independent from the partner orbit. */
.ms-photography{padding-top:20px;padding-bottom:70px}
.ms-photography-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding-bottom:40px}
.ms-photography-heading h2{font-size:clamp(42px,6vw,86px);max-width:11ch}
.ms-photography-heading p{font-size:15px;line-height:1.5;margin-bottom:5px}
.ms-photography-heading p span{color:var(--ms-taupe);font-size:13px}
.ms-photography-scene{min-height:98svh;padding:28px var(--ms-gutter) 60px;display:flex;align-items:center;justify-content:center;perspective:1600px;overflow:clip}
.ms-photography-card{width:100%;max-width:1500px;display:block;transform-origin:center;will-change:transform;backface-visibility:hidden}
.ms-photography-card figure{position:relative;width:100%;height:clamp(380px,74svh,820px);overflow:hidden;border-radius:8px;background:var(--ms-card)}
.ms-photography-card img{width:100%;height:100%;object-fit:cover;object-position:var(--ms-photo-position,center);filter:none}
.ms-photography-card figcaption{position:absolute;inset:auto 0 0;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:65px 28px 24px;background:linear-gradient(transparent,rgba(0,0,0,.65));color:#f1ede5;opacity:0;transition:opacity .4s;font-size:16px;line-height:1.4;pointer-events:none}
.ms-photography-card figcaption span:last-child{font-size:13px}
.ms-photography-card:hover figcaption,.ms-photography-card:focus-visible figcaption{opacity:1}
.ms-photography-more{text-align:center;padding-top:5px}
.ms-gallery figure[id]{scroll-margin-top:35px}
@media(max-width:720px){
 .ms-photography{padding-bottom:35px}
 .ms-photography-heading{display:block;padding-bottom:20px}
 .ms-photography-heading h2{font-size:43px;max-width:none;margin-bottom:18px}
 .ms-photography-heading p{font-size:14px}
 .ms-photography-scene{min-height:76svh;padding:18px 16px 35px;perspective:1200px}
 .ms-photography-card figure{height:66svh;min-height:360px;max-height:680px;border-radius:5px}
 .ms-photography-card img{object-position:var(--ms-photo-position,center)}
 .ms-photography-card figcaption{opacity:1;padding:45px 18px 18px;font-size:14px}
 .ms-photography-card figcaption span:last-child{font-size:11px}
 .ms-photography-more{padding-top:15px}
}
@media(prefers-reduced-motion:reduce){.ms-photography-card{transform:none!important;will-change:auto}.ms-photography-card figcaption{transition:none}}
