/* Fit supplied portrait photographs without inventing scenery or clipping the installations. */
.hero{background:#3a302b}.hero picture{left:38%;width:62%;background:#b9a393}.hero picture img{object-fit:contain;object-position:center}.hero-shade{background:linear-gradient(90deg,#3a302b 25%,#3a302bdb 39%,#3a302b18 60%,transparent 80%)}.hero-copy{max-width:65%;padding-left:6%;padding-right:4%}.hero h1{font-size:clamp(74px,7.8vw,118px)}.hero-bottom .portfolio-credit{font-size:10px;letter-spacing:.06em;background:#30251db8;padding:5px 9px;color:white}
.work-card .image-wrap{background:#342f2b}.work-card picture{display:block;width:100%;height:100%}.photo-landscape img{object-fit:contain}.photo-portrait .image-wrap{background:#3a342f}.photo-portrait picture{width:62%;margin-left:auto}.photo-portrait img{object-fit:contain;object-position:center}.photo-portrait .image-wrap:after{background:linear-gradient(90deg,#3a342f 28%,#3a342fa6 40%,transparent 65%)}.photo-portrait figcaption>div{max-width:40%}.photo-portrait h3{font-size:clamp(42px,4.3vw,66px)}.work-card .image-wrap:after{pointer-events:none}
@media(max-width:850px){.hero-copy{max-width:72%}.hero h1{font-size:clamp(70px,9vw,96px)}.photo-portrait h3{font-size:42px}}
@media(max-width:600px){.hero{height:1100px;min-height:100svh;max-height:none}.hero picture{left:0;width:100%;height:70%;background:#b9a393}.hero picture img{object-fit:contain;object-position:top center}.hero-copy{max-width:100%;padding:0 24px 110px}.hero h1{font-size:clamp(60px,15vw,78px);max-width:360px}.hero-shade{background:linear-gradient(0deg,#3a302b 18%,#3a302bd9 29%,transparent 58%)}.hero-intro{font-size:14px}.hero-bottom{flex-wrap:wrap;gap:8px}.hero-bottom .portfolio-credit{font-size:9px}.work-card .image-wrap,.work-detail .image-wrap{height:auto;min-height:0;max-height:none;aspect-ratio:auto}.work-card picture,.photo-portrait picture{width:100%;margin:0;height:auto}.work-card img,.work-detail img{display:block;width:100%;height:auto;object-fit:contain;transform:none}.work-card .image-wrap:after{display:none}.work-card figcaption{position:static;background:#342f2b;padding:25px 24px 30px;min-height:145px}.photo-portrait figcaption>div{max-width:100%}.work-card h3,.photo-portrait h3{font-size:34px;max-width:100%}.work-card figcaption .eyebrow{font-size:10px}.work-card:hover img,.work-detail:hover img{transform:none}}
@media(prefers-reduced-motion:reduce){.hero picture img{transform:none!important}}

/* Phase 2.6: editorial rhythm; selected photographs and all content unchanged. */
.portfolio .section-heading{padding-bottom:76px}
.work-grid{gap:0}
[data-photo-slot="portfolio-01"]{margin-bottom:64px}
[data-photo-slot="portfolio-01"] .image-wrap{height:88svh;min-height:640px;max-height:1000px}
[data-photo-slot="portfolio-02"]{background:var(--paper);padding:0 5% 72px}
[data-photo-slot="portfolio-02"] .image-wrap{background:var(--paper);height:82svh;min-height:610px;max-height:900px}
[data-photo-slot="portfolio-02"] picture{width:58%;margin-left:0}
[data-photo-slot="portfolio-02"] .image-wrap:after{display:none}
[data-photo-slot="portfolio-02"] figcaption{left:64%;right:7%;bottom:135px;color:var(--ink)}
[data-photo-slot="portfolio-02"] figcaption>div{max-width:100%}
[data-photo-slot="portfolio-02"] figcaption .eyebrow{color:var(--rose)}
[data-photo-slot="portfolio-02"] figcaption>span{display:none}
[data-photo-slot="portfolio-02"] h3{font-size:clamp(40px,4vw,62px)}
[data-photo-slot="portfolio-03"] .image-wrap{height:90svh;min-height:640px;max-height:980px}
[data-photo-slot="portfolio-03"] picture{width:66%}
[data-photo-slot="portfolio-03"] figcaption{bottom:120px}
[data-photo-slot="portfolio-04"]{background:var(--paper);padding:88px 7% 96px}
[data-photo-slot="portfolio-04"] .image-wrap{height:88svh;min-height:650px;max-height:960px;background:var(--paper)}
[data-photo-slot="portfolio-04"] picture{width:74%;margin:0 auto}
[data-photo-slot="portfolio-04"] .image-wrap:after{display:none}
[data-photo-slot="portfolio-04"] figcaption{position:static;color:var(--ink);max-width:1000px;margin:28px auto 0;padding:0;align-items:center}
[data-photo-slot="portfolio-04"] figcaption>div{max-width:100%}
[data-photo-slot="portfolio-04"] figcaption .eyebrow{color:var(--rose)}
[data-photo-slot="portfolio-04"] figcaption>span{color:var(--muted)}
[data-photo-slot="portfolio-04"] h3{font-size:clamp(36px,4.2vw,64px)}
@media(min-width:601px) and (max-width:900px){
.hero-copy{max-width:70%}.hero h1{font-size:clamp(64px,8.4vw,78px)}
[data-photo-slot="portfolio-02"] figcaption{left:61%;right:5%;bottom:130px}
[data-photo-slot="portfolio-02"] h3{font-size:38px}
[data-photo-slot="portfolio-02"] figcaption .eyebrow{font-size:10px}
}
@media(max-width:600px){
.portfolio .section-heading{padding-bottom:46px}
[data-photo-slot="portfolio-01"]{margin-bottom:38px}
[data-photo-slot="portfolio-01"] .image-wrap,[data-photo-slot="portfolio-02"] .image-wrap,[data-photo-slot="portfolio-03"] .image-wrap,[data-photo-slot="portfolio-04"] .image-wrap{height:auto;min-height:0;max-height:none}
[data-photo-slot="portfolio-02"]{padding:0 24px 44px}
[data-photo-slot="portfolio-02"] picture,[data-photo-slot="portfolio-03"] picture,[data-photo-slot="portfolio-04"] picture{width:100%;margin:0}
[data-photo-slot="portfolio-02"] figcaption{position:static;padding:22px 0 0;background:var(--paper);min-height:0}
[data-photo-slot="portfolio-02"] h3{font-size:34px}
[data-photo-slot="portfolio-03"] figcaption{position:static}
[data-photo-slot="portfolio-04"]{padding:46px 24px 55px}
[data-photo-slot="portfolio-04"] figcaption{background:var(--paper);min-height:0;margin-top:22px;padding:0}
[data-photo-slot="portfolio-04"] h3{font-size:34px}
}

/* Photo colour integration: original image pixels, crops and layout stay unchanged.
   Replace brown veils with the site's ivory; no sepia, hue shift or photo filter. */
.hero{background:var(--paper);color:var(--ink)}
.hero picture{background:var(--paper)}
.hero-shade{background:linear-gradient(90deg,#f8f5ef 24%,#f8f5eff5 36%,#f8f5efb8 44%,#f8f5ef30 54%,transparent 64%),linear-gradient(0deg,#f8f5ef 0%,#f8f5ef75 5%,transparent 16%)}
.hero h1 em{color:var(--rose)}
.hero-intro{color:#514944}
.hero .eyebrow,.hero-bottom{color:#514944}
.hero .button-light{background:#342e2b;color:#fffaf3}
.hero .button-light:hover,.hero .button-light:focus-visible{background:#875b55;color:#fffaf3}
.hero-actions .text-link{color:#342e2b;background:#f8f5efb8;border-color:#9c8178}
.hero-actions .text-link:hover,.hero-actions .text-link:focus-visible{background:#eed6d2;color:#342e2b}
.hero-bottom .portfolio-credit{background:#f8f5efe8;color:#514944}
.site-header{background:linear-gradient(#f8f5eff5,#f8f5ef00);color:var(--ink)}
.site-header .brand small,.site-header .nav-cta{color:var(--ink)}
.site-header .desktop-nav a:hover{color:var(--rose)}
.work-card .image-wrap,.photo-portrait .image-wrap{background:var(--paper)}
[data-photo-slot="portfolio-01"] .image-wrap:after{background:linear-gradient(0deg,#f8f5eff5, #f8f5efb8 12%,transparent 34%)}
[data-photo-slot="portfolio-01"] figcaption,[data-photo-slot="portfolio-03"] figcaption{color:var(--ink)}
[data-photo-slot="portfolio-01"] figcaption .eyebrow,[data-photo-slot="portfolio-03"] figcaption .eyebrow{color:#76534c}
[data-photo-slot="portfolio-01"] figcaption>span,[data-photo-slot="portfolio-03"] figcaption>span{color:#514944}
[data-photo-slot="portfolio-03"] .image-wrap:after{background:linear-gradient(90deg,#f8f5ef 24%,#f8f5eff5 32%,#f8f5ef99 39%,transparent 50%)}
@media(max-width:600px){
 .hero-shade{background:linear-gradient(0deg,#f8f5ef 27%,#f8f5eff5 34%,#f8f5ef99 43%,transparent 58%)}
 [data-photo-slot="portfolio-01"] figcaption,[data-photo-slot="portfolio-03"] figcaption{background:var(--paper)}
}
@media(min-width:601px){
 .hero picture img{mask-image:linear-gradient(90deg,transparent,#000 6%,#000 96%,transparent)}
}
@media(max-width:600px){
 /* Anchor the fade to the photograph's actual portrait ratio, not the tall hero. */
 .hero picture:after{content:'';position:absolute;left:0;width:100%;top:calc(100vw * 1402 / 1122 - 44px);height:45px;background:linear-gradient(transparent,var(--paper));pointer-events:none}
}
