/*
Theme Name: Maty Studio 3
Description: Clean mobile-first accessible portfolio theme for Maty Core.
Version: 3.4.5
Author: MorNet
*/
:root{--bg:#f4f3ef;--paper:#fff;--ink:#111;--muted:#6b6b66;--line:#d6d4ce;--red:#e5262a;--gutter:18px;--max:1680px;--reading:840px;--header:74px;--focus:#005fcc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:3px}img{display:block;max-width:100%;height:auto}button{font:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.skip-link{position:fixed;z-index:99999;top:-100px;left:12px;background:#fff;color:#000;padding:10px 14px}.skip-link:focus{top:12px}.maty-preview-notice{position:fixed;left:12px;bottom:12px;z-index:9999;background:#111;color:#fff;padding:8px 12px;font-size:11px;border-radius:3px}.container{width:100%;max-width:var(--max);margin:auto}.site-main{padding:0 var(--gutter) 70px}
.site-header{height:var(--header);position:sticky;top:0;z-index:1000;background:rgba(244,243,239,.98);border-bottom:1px solid var(--line);backdrop-filter:blur(12px);overflow:visible}.header-inner{height:100%;max-width:var(--max);margin:auto;padding:0 var(--gutter);display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px}.brand-logo{width:auto;max-width:220px;max-height:50px}.mobile-menu-toggle{border:0;background:none;text-transform:uppercase;font-size:12px;letter-spacing:.08em;position:relative;z-index:1201}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;height:calc(100dvh - var(--header));max-height:calc(100dvh - var(--header));z-index:1200;background:#fff;padding:18px var(--gutter) 40px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.nav-open{overflow:hidden}.nav-open .site-header{position:fixed;left:0;right:0;width:100%}.nav-open .site-nav{display:block}.top-nav{list-style:none;margin:0;padding:0}.top-nav>li{position:relative;border-bottom:1px solid var(--line)}.top-nav>li>a{display:block;padding:15px 42px 15px 0;font-size:22px}.projects-toggle{position:absolute;right:0;top:7px;width:38px;height:38px;border:0;background:none}.projects-toggle:before,.projects-toggle:after{content:"";position:absolute;width:14px;height:1px;background:#111;left:12px;top:18px}.projects-toggle:after{transform:rotate(90deg)}.projects-item.is-open .projects-toggle:after{transform:none}.mega-menu{display:none;padding:16px 0 22px}.projects-item.is-open .mega-menu{display:block}.mega-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px;font-size:12px}.mega-groups{display:grid;gap:28px}.mega-group h2{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);margin:0 0 10px}.mega-list{display:grid;gap:8px}.mega-card{display:grid;grid-template-columns:68px 1fr;gap:12px;align-items:center;padding:7px 0}.mega-thumb{width:68px;height:52px;background:#ddd;overflow:hidden}.mega-thumb img{width:100%;height:100%;object-fit:cover}.mega-title{font-size:14px;line-height:1.25}.utility-link{display:none}
.hero{position:relative;display:block;margin:0 calc(var(--gutter)*-1);height:72svh;min-height:520px;background:#ddd;overflow:hidden}.hero>img{width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;inset:auto 0 0;padding:28px var(--gutter);background:linear-gradient(transparent,rgba(0,0,0,.66));color:#fff}.hero h1{font-size:clamp(48px,15vw,76px);line-height:.9;letter-spacing:-.065em;margin:0;font-weight:500}.hero p{font-size:12px;margin:12px 0 0}.intro{display:grid;gap:14px;padding:52px 0 8px}.intro>span{text-transform:uppercase;font-size:10px;letter-spacing:.15em;color:var(--muted)}.intro p{font-size:clamp(28px,8vw,46px);line-height:1.07;letter-spacing:-.045em;margin:0;max-width:1150px}.intro em{font-style:normal;color:var(--red)}.section{padding-top:76px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:26px}.section-head h2{margin:0;font-size:clamp(34px,10vw,56px);line-height:1;letter-spacing:-.05em;font-weight:500}.section-head a{font-size:12px;border-bottom:1px solid currentColor}.work-grid{display:grid;grid-template-columns:1fr;gap:38px}.work-image{aspect-ratio:4/3;background:#ddd;overflow:hidden}.work-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.work-card:hover img{transform:scale(1.02)}.work-meta{display:flex;justify-content:space-between;gap:14px;padding-top:9px}.work-meta strong{font-size:17px;line-height:1.2}.work-meta span{font-size:10px;color:var(--muted);text-align:right}.timeline-teasers{border-top:1px solid var(--line)}.timeline-teaser{display:grid;grid-template-columns:70px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}.timeline-teaser time{font-size:11px;color:var(--muted)}.timeline-teaser strong{font-size:21px;line-height:1.1}.timeline-teaser>span{grid-column:1/-1;aspect-ratio:16/10;overflow:hidden}.timeline-teaser img{width:100%;height:100%;object-fit:cover}
.page-head{padding:50px 0 34px;border-bottom:1px solid var(--line)}.page-head>span,.project-head>span{text-transform:uppercase;font-size:10px;letter-spacing:.15em;color:var(--muted)}.page-head h1,.project-head h1{font-size:clamp(48px,14vw,82px);line-height:.9;letter-spacing:-.065em;margin:10px 0 0;font-weight:500}.page-head p{font-size:17px;max-width:760px}.filter-bar{display:flex;gap:10px 20px;overflow:auto;padding:24px 0}.filter-bar button,.timeline-tools button{white-space:nowrap;border:0;background:none;color:var(--muted);padding:0 0 4px;border-bottom:1px solid transparent}.filter-bar button[aria-pressed=true],.timeline-tools button[aria-pressed=true]{color:#111;border-color:#111}.project-head{padding:48px 0 30px;border-bottom:1px solid var(--line)}.facts{display:flex;gap:10px 20px;flex-wrap:wrap;margin-top:16px;font-size:12px;color:var(--muted)}.hero-image{display:block;width:calc(100% + var(--gutter)*2);margin-left:calc(var(--gutter)*-1);padding:0;border:0;background:#ddd;cursor:zoom-in}.hero-image img{width:100%;height:auto;max-height:84svh;object-fit:contain}.reading{max-width:var(--reading);padding-top:36px;font-size:17px}.reading h2,.reading h3{line-height:1.1;letter-spacing:-.035em}.reading a{text-decoration:underline;text-underline-offset:3px}.gallery{display:grid;grid-template-columns:1fr;gap:18px;padding-top:42px}.gallery figure{margin:0}.gallery-button{display:block;width:100%;border:0;padding:0;background:none;cursor:zoom-in}.gallery-button img{width:100%;height:auto;background:#e8e7e1}.gallery figcaption{font-size:11px;color:var(--muted);padding-top:6px}.documents,.video{padding-top:42px}.documents a{display:block;border-top:1px solid var(--line);padding:12px 0}.maty-consent-video{aspect-ratio:16/9;background:#151515;color:#fff;display:grid;place-items:center;text-align:center;padding:20px}.maty-consent-video iframe{width:100%;height:100%;border:0}.related{display:inline-block;margin-top:16px;color:var(--red);border-bottom:1px solid currentColor}
.timeline-tools{position:sticky;top:var(--header);z-index:80;background:rgba(244,243,239,.98);padding:12px 0;border-bottom:1px solid var(--line)}.timeline-tools nav,.timeline-tools>div{display:flex;gap:14px;overflow:auto}.timeline-tools nav{margin-bottom:9px}.timeline-tools a{font-size:11px;color:var(--muted)}.year-section{padding:34px 0 56px;border-top:1px solid var(--line)}.year-section>h2{font-size:58px;line-height:.85;color:#b6b4ae;letter-spacing:-.06em;margin:0 0 28px}.event-card{display:grid;gap:18px;margin-bottom:46px}.event-card[hidden]{display:none}.event-image{aspect-ratio:4/3;background:#ddd;overflow:hidden}.event-image img{width:100%;height:100%;object-fit:cover}.event-card>div>span{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:var(--red)}.event-card h3{font-size:28px;line-height:1.04;letter-spacing:-.04em;margin:7px 0 12px;font-weight:500}.event-card p{font-size:15px}
.lightbox{position:fixed;inset:0;z-index:99999;background:rgba(5,5,5,.985);color:#fff;display:none;grid-template-rows:auto 1fr auto}.lightbox.is-open{display:grid}.lightbox-top{display:flex;justify-content:space-between;align-items:center;padding:12px 14px}.lightbox-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:none;color:#fff;font-size:26px}.lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:0 12px}.lightbox-img{max-width:100%;max-height:calc(100svh - 145px);object-fit:contain}.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(0,0,0,.5);color:#fff;font-size:24px}.lightbox-prev{left:8px}.lightbox-next{right:8px}.lightbox-bottom{padding:10px 14px 16px;font-size:11px}.site-footer{border-top:1px solid var(--line);padding:42px var(--gutter);font-size:12px}.footer-inner{max-width:var(--max);margin:auto;display:grid;gap:20px}.footer-inner nav{display:flex;gap:14px 20px;flex-wrap:wrap}
@media(min-width:768px){:root{--gutter:28px}.work-grid{grid-template-columns:repeat(2,1fr);gap:46px 20px}.timeline-teaser{grid-template-columns:90px 1fr 300px}.timeline-teaser>span{grid-column:auto}.gallery{grid-template-columns:repeat(2,1fr)}.year-section{display:grid;grid-template-columns:120px 1fr;gap:34px}.year-section>h2{position:sticky;top:calc(var(--header) + 90px);align-self:start}.event-card{grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:28px}.footer-inner{grid-template-columns:1fr auto;align-items:end}}
@media(min-width:1024px){:root{--gutter:48px;--header:86px}.mobile-menu-toggle{display:none}.site-nav{display:block;position:static;inset:auto;width:auto;height:auto;max-height:none;padding:0;overflow:visible;overscroll-behavior:auto;background:none;z-index:auto}.top-nav{display:flex;align-items:center;gap:28px}.top-nav>li{border:0}.top-nav>li>a{font-size:13px;padding:34px 0}.projects-toggle{display:none}.projects-item{position:static!important}.mega-menu{position:fixed;left:50%;top:var(--header);width:min(1120px,calc(100vw - 80px));transform:translate(-50%,10px);padding:28px;background:rgba(255,255,255,.995);border:1px solid var(--line);box-shadow:0 28px 70px rgba(0,0,0,.12);opacity:0;visibility:hidden;pointer-events:none;display:block;transition:.2s ease}.projects-item:hover .mega-menu,.projects-item:focus-within .mega-menu,.projects-item.desktop-open .mega-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}.mega-menu:before{content:"";position:absolute;left:0;right:0;top:-24px;height:24px}.mega-head{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:22px}.mega-groups{grid-template-columns:repeat(3,1fr);gap:30px}.mega-list{gap:4px}.mega-card{grid-template-columns:82px 1fr;padding:6px 0}.mega-thumb{width:82px;height:62px}.mega-card:hover .mega-title{color:var(--red)}.utility-link{display:none}.hero{margin:0;height:min(78vh,900px)}.hero h1{font-size:100px}.intro{grid-template-columns:180px 1fr;gap:38px;padding-top:66px}.intro p{font-size:60px}.work-grid{grid-template-columns:repeat(12,1fr);gap:54px 20px}.work-card{grid-column:span 4}.work-card:nth-child(7n+1){grid-column:span 8}.work-card:nth-child(7n+6){grid-column:span 5}.work-card:nth-child(7n+7){grid-column:span 7}.page-head h1,.project-head h1{font-size:108px}.hero-image{width:100%;margin-left:0}.gallery{gap:22px}.gallery figure:nth-child(5n+1){grid-column:1/-1}.year-section{grid-template-columns:170px 1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Maty Studio 3.2 — editorial project presentation */
.project-shell{padding-bottom:90px}.project-head--editorial{padding-top:clamp(56px,8vw,118px);padding-bottom:clamp(32px,5vw,64px);border-bottom:0}.project-kicker{display:flex;align-items:center;gap:14px}.project-kicker:before{content:"";width:34px;height:1px;background:var(--red)}.project-head--editorial h1{max-width:1320px}.project-factline{display:flex;flex-wrap:wrap;gap:8px 0;margin-top:24px;color:var(--muted);font-size:12px}.project-factline span{display:flex;align-items:center}.project-factline span:not(:last-child):after{content:"";width:18px;height:1px;background:var(--line);margin:0 12px}.project-hero-wrap{margin:0 calc(var(--gutter)*-1);background:#e6e4dd}.project-hero-wrap .hero-image{width:100%;margin:0}.project-hero-wrap .hero-image img{max-height:92svh}.reading--project{padding-top:clamp(44px,7vw,90px);padding-bottom:clamp(20px,3vw,48px);font-size:clamp(17px,1.5vw,21px);line-height:1.72}.reading--project>p:first-child{font-size:1.15em;line-height:1.55}.gallery{padding-top:clamp(34px,5vw,76px)}.gallery figure{position:relative}.gallery-button{background:#e7e5df;overflow:hidden}.gallery-button img{display:block;width:100%;height:auto;transition:transform .35s ease,filter .35s ease}.gallery-button:hover img{transform:scale(1.006);filter:brightness(.985)}.gallery figcaption{max-width:720px;padding-top:8px;font-size:11px;line-height:1.45}.gallery--editorial{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(20px,2.2vw,42px) clamp(16px,2vw,34px);grid-auto-flow:dense}.gallery--editorial .gallery-item{grid-column:span 12}.gallery--editorial .is-lead,.gallery--editorial .is-featured,.gallery--editorial .is-break{grid-column:1/-1}.gallery--masonry{display:block;column-count:1;column-gap:24px}.gallery--masonry figure{break-inside:avoid;margin:0 0 24px}.gallery--grid{display:grid;grid-template-columns:1fr;gap:22px}.project-section{padding-top:clamp(54px,8vw,110px);display:grid;gap:18px}.project-section-label{text-transform:uppercase;letter-spacing:.15em;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.document-list{border-bottom:1px solid var(--line)}.document-list a{display:grid;grid-template-columns:1fr auto;gap:30px;border-top:1px solid var(--line);padding:17px 0;font-size:14px}.document-list a:hover{color:var(--red);text-decoration:none}

/* Lightbox 3.2 */
.lightbox{grid-template-rows:auto minmax(0,1fr) auto auto}.lightbox-top{padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.14)}.lightbox-brand{font-size:12px;letter-spacing:.04em}.lightbox-tools{display:flex;gap:8px}.lightbox-zoom,.lightbox-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:transparent;color:#fff;font-size:20px;cursor:pointer}.lightbox-stage{overflow:auto;padding:14px 64px}.lightbox-img{transition:transform .2s ease}.lightbox.is-zoomed .lightbox-img{max-width:none;max-height:none;cursor:zoom-out}.lightbox-bottom{display:flex;justify-content:space-between;gap:20px;padding:9px 16px 7px;border-top:1px solid rgba(255,255,255,.12)}.lightbox-caption{max-width:75%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lightbox-thumbs{display:flex;gap:7px;overflow-x:auto;padding:8px 16px 12px;scrollbar-width:thin}.lightbox-thumb{flex:0 0 66px;width:66px;height:48px;padding:0;border:1px solid transparent;background:#171717;opacity:.55;cursor:pointer;overflow:hidden}.lightbox-thumb img{width:100%;height:100%;object-fit:cover}.lightbox-thumb.is-active{opacity:1;border-color:#fff}.lightbox-prev,.lightbox-next{z-index:3}.lightbox-open{overflow:hidden}

@media(min-width:768px){
 .project-hero-wrap{margin-left:0;margin-right:0}
 .gallery--editorial .gallery-item{grid-column:span 6}
 .gallery--editorial .gallery-item.is-portrait{grid-column:span 5}
 .gallery--editorial .gallery-item.is-landscape{grid-column:span 7}
 .gallery--editorial .is-lead,.gallery--editorial .is-featured,.gallery--editorial .is-break{grid-column:1/-1}
 .gallery--grid{grid-template-columns:repeat(2,1fr)}
 .gallery--masonry{column-count:2}
}
@media(min-width:1100px){
 .project-head--editorial h1{font-size:clamp(82px,8vw,138px)}
 .gallery--editorial{padding-left:4vw;padding-right:4vw}
 .gallery--editorial .is-featured .gallery-button img,.gallery--editorial .is-lead .gallery-button img{max-height:88vh;object-fit:contain;background:#e7e5df}
 .gallery--grid{grid-template-columns:repeat(3,1fr)}
 .gallery--masonry{column-count:3}
}
@media(max-width:767px){
 .lightbox-stage{padding:8px 10px 54px}.lightbox-prev,.lightbox-next{top:auto;bottom:5px;transform:none}.lightbox-prev{left:12px}.lightbox-next{right:12px}.lightbox-caption{max-width:70%}.lightbox-thumbs{padding-left:10px;padding-right:10px}.lightbox-thumb{flex-basis:58px;width:58px;height:43px}
}


/* Maty Studio 3.3 — Museum Gallery */
.museum-hero{position:relative}.museum-hero .hero-image{position:relative;overflow:hidden;background:#e3e1da}.museum-hero .hero-image:focus-visible{outline:3px solid var(--red);outline-offset:4px}.image-open-cue{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:9px;padding:9px 12px;background:rgba(250,250,247,.92);color:#111;font-size:10px;letter-spacing:.08em;text-transform:uppercase;opacity:0;transform:translateY(5px);transition:.2s ease;backdrop-filter:blur(10px)}.hero-image:hover .image-open-cue,.hero-image:focus-visible .image-open-cue{opacity:1;transform:none}.image-open-cue b{font-size:14px;font-weight:400;color:var(--red)}
.project-gallery-section{padding-top:clamp(70px,9vw,130px)}.project-gallery-head{display:flex;justify-content:space-between;align-items:end;gap:24px;border-top:1px solid var(--line);padding-top:14px;margin-bottom:clamp(30px,4vw,58px)}.project-gallery-eyebrow{display:block;text-transform:uppercase;letter-spacing:.15em;font-size:9px;color:var(--muted);margin-bottom:7px}.project-gallery-head h2{font-size:clamp(38px,5vw,76px);line-height:.9;letter-spacing:-.055em;font-weight:500;margin:0}.project-gallery-actions{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:11px}.open-art-viewer{border:0;border-bottom:1px solid currentColor;background:none;padding:0 0 3px;font:inherit;color:#111;cursor:pointer}.open-art-viewer:hover{color:var(--red)}
.museum-gallery{padding-top:0}.museum-gallery .gallery-item{margin:0;align-self:start}.museum-gallery .gallery-button{position:relative;display:block;width:100%;padding:0;border:0;background:#e7e5df;cursor:zoom-in;overflow:hidden}.museum-gallery .gallery-button img{width:100%;height:auto;display:block;transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .35s ease}.museum-gallery .gallery-button:hover img{transform:scale(1.008);filter:brightness(.985)}.museum-gallery .gallery-button:focus-visible{outline:3px solid var(--red);outline-offset:4px}.image-number{position:absolute;top:9px;right:10px;font-size:9px;letter-spacing:.12em;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.6);opacity:0;transition:.2s}.gallery-button:hover .image-number,.gallery-button:focus-visible .image-number{opacity:1}.museum-gallery figcaption{font-size:10px;line-height:1.5;color:var(--muted);max-width:640px;padding:8px 0 0}
.gallery--editorial.museum-gallery{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(18px,2.4vw,42px);row-gap:clamp(42px,6vw,100px)}.gallery--editorial.museum-gallery .gallery-item{grid-column:1/-1}.gallery--editorial.museum-gallery .is-featured,.gallery--editorial.museum-gallery .is-lead,.gallery--editorial.museum-gallery .is-break{grid-column:1/-1}.gallery--editorial.museum-gallery .is-featured .gallery-button,.gallery--editorial.museum-gallery .is-lead .gallery-button,.gallery--editorial.museum-gallery .is-break .gallery-button{background:#e0ded7}.gallery--masonry.museum-gallery{column-gap:clamp(18px,2vw,34px)}.gallery--masonry.museum-gallery figure{margin-bottom:clamp(30px,4vw,54px)}.gallery--grid.museum-gallery{gap:clamp(24px,3vw,44px)}

/* Native museum viewer */
.viewer-open{overflow:hidden}.maty-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(9,9,9,.988);color:#fff;overflow:hidden}.maty-viewer::backdrop{background:#090909}.viewer-shell{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;position:relative}.viewer-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.13);background:rgba(9,9,9,.92);z-index:5}.viewer-identity{display:flex;align-items:baseline;gap:16px;min-width:0}.viewer-identity strong{font-size:12px;letter-spacing:.02em}.viewer-count{font-size:10px;color:rgba(255,255,255,.62);font-variant-numeric:tabular-nums}.viewer-tools{display:flex;gap:5px;align-items:center}.viewer-tools button{height:38px;min-width:38px;border:1px solid rgba(255,255,255,.24);background:transparent;color:#fff;font:inherit;cursor:pointer}.viewer-tools .viewer-info-toggle{padding:0 11px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.viewer-zoom-in,.viewer-zoom-out,.viewer-close{font-size:20px!important}.viewer-close{font-size:25px!important}.viewer-tools button:hover,.viewer-tools button:focus-visible{border-color:#fff;background:rgba(255,255,255,.08)}.viewer-stage{position:relative;min-height:0;display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:stretch}.viewer-canvas{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y;background:#090909}.viewer-canvas.is-zoomed{cursor:grab;touch-action:none}.viewer-canvas.is-zoomed:active{cursor:grabbing}.viewer-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center center;transition:transform .12s ease;user-select:none;-webkit-user-drag:none}.viewer-prev,.viewer-next{border:0;background:transparent;color:#fff;font-size:36px;opacity:.7;cursor:pointer;z-index:2}.viewer-prev:hover,.viewer-next:hover,.viewer-prev:focus-visible,.viewer-next:focus-visible{opacity:1;background:rgba(255,255,255,.04)}.viewer-info{position:absolute;right:0;top:61px;bottom:74px;width:min(390px,88vw);z-index:6;display:flex;flex-direction:column;justify-content:space-between;padding:26px;background:rgba(20,20,20,.97);border-left:1px solid rgba(255,255,255,.15);transform:translateX(101%);transition:transform .24s ease}.viewer-info.is-open{transform:none}.viewer-info-label{display:block;text-transform:uppercase;letter-spacing:.15em;font-size:9px;color:rgba(255,255,255,.5);margin-bottom:12px}.viewer-title{font-size:24px;line-height:1.05;font-weight:500;margin:0 0 15px}.viewer-caption{font-size:13px;line-height:1.6;color:rgba(255,255,255,.75)}.viewer-original{font-size:11px;border-bottom:1px solid rgba(255,255,255,.45);align-self:flex-start}.viewer-thumbs{display:flex;gap:6px;overflow-x:auto;padding:9px 12px 11px;border-top:1px solid rgba(255,255,255,.12);scrollbar-width:thin;background:#0b0b0b}.viewer-thumb{flex:0 0 72px;width:72px;height:52px;padding:0;border:1px solid transparent;background:#171717;opacity:.42;overflow:hidden;cursor:pointer}.viewer-thumb img{width:100%;height:100%;object-fit:cover}.viewer-thumb.is-active{opacity:1;border-color:#fff}.viewer-thumb:hover{opacity:.85}

/* Refined project/archive imagery */
.work-card a{display:block}.work-image{position:relative;background:#dedcd5}.work-image:after{content:'View project';position:absolute;left:12px;bottom:12px;padding:7px 9px;background:rgba(250,250,247,.92);font-size:9px;letter-spacing:.1em;text-transform:uppercase;opacity:0;transform:translateY(4px);transition:.2s ease}.work-card:hover .work-image:after,.work-card a:focus-visible .work-image:after{opacity:1;transform:none}.work-card a:focus-visible{outline:2px solid var(--red);outline-offset:5px}.work-card:hover img{transform:scale(1.012)}

@media(min-width:768px){.gallery--editorial.museum-gallery .gallery-item.is-portrait{grid-column:span 5}.gallery--editorial.museum-gallery .gallery-item.is-landscape{grid-column:span 7}.gallery--editorial.museum-gallery .gallery-item.is-square{grid-column:span 6}.gallery--editorial.museum-gallery .is-featured,.gallery--editorial.museum-gallery .is-lead,.gallery--editorial.museum-gallery .is-break{grid-column:1/-1}.gallery--editorial.museum-gallery .gallery-item:nth-child(4n+2):not(.is-featured):not(.is-lead):not(.is-break){margin-top:7vw}.gallery--masonry.museum-gallery{column-count:2}.gallery--grid.museum-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.gallery--editorial.museum-gallery{padding-left:3vw;padding-right:3vw}.gallery--editorial.museum-gallery .is-featured,.gallery--editorial.museum-gallery .is-lead,.gallery--editorial.museum-gallery .is-break{padding-left:3vw;padding-right:3vw}.gallery--editorial.museum-gallery .is-featured img,.gallery--editorial.museum-gallery .is-lead img,.gallery--editorial.museum-gallery .is-break img{max-height:88vh;object-fit:contain}.gallery--masonry.museum-gallery{column-count:3}.gallery--grid.museum-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.project-gallery-head{align-items:flex-start;flex-direction:column}.project-gallery-actions{width:100%;justify-content:space-between}.image-open-cue{opacity:1;transform:none;right:9px;bottom:9px}.gallery--editorial.museum-gallery{row-gap:42px}.image-number{opacity:.75}.viewer-top{padding:8px}.viewer-identity strong{display:none}.viewer-stage{grid-template-columns:38px minmax(0,1fr) 38px}.viewer-prev,.viewer-next{font-size:28px}.viewer-tools .viewer-info-toggle{padding:0 8px}.viewer-zoom-in,.viewer-zoom-out{display:none}.viewer-thumbs{padding:7px 8px 9px}.viewer-thumb{flex-basis:58px;width:58px;height:43px}.viewer-info{top:55px;bottom:60px;padding:20px}.viewer-title{font-size:21px}}
@media(prefers-reduced-motion:reduce){.viewer-info,.viewer-image,.image-open-cue,.work-image:after{transition:none!important}}


/* Maty Studio 3.3.1 — Balanced Museum Gallery
   Editorial now uses justified rows instead of artificial asymmetric gaps. */
.project-gallery-section{
  padding-top:clamp(58px,7vw,96px);
}
.project-gallery-head{
  align-items:flex-end;
  margin-bottom:clamp(22px,3vw,38px);
  padding-top:12px;
}
.project-gallery-head h2{
  font-size:clamp(34px,4.2vw,58px);
  letter-spacing:-.045em;
}
.project-gallery-actions{
  gap:14px;
  font-size:10px;
}
.open-art-viewer{
  padding:7px 0 4px;
}

.gallery--editorial.museum-gallery{
  display:block;
  padding:0;
}
.gallery--editorial.museum-gallery > .gallery-item{
  width:100%;
}
.maty-justified-row{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap:clamp(10px,1.15vw,18px);
  width:100%;
  margin:0 0 clamp(10px,1.15vw,18px);
}
.maty-justified-row.is-last{
  justify-content:center;
}
.maty-justified-row .gallery-item{
  flex:0 0 auto;
  min-width:0;
  margin:0!important;
  padding:0!important;
}
.maty-justified-row .gallery-button{
  height:var(--maty-row-height,320px);
  background:#e7e5df;
}
.maty-justified-row .gallery-button img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.maty-justified-row .gallery-item figcaption{
  width:100%;
}

/* Featured images are deliberate visual pauses only when the editor marks them. */
.maty-feature-row{
  display:block;
  width:100%;
  margin:clamp(34px,5vw,72px) 0;
}
.maty-feature-row:first-child{margin-top:0}
.maty-feature-row .gallery-item{
  width:100%;
  margin:0!important;
  padding:0!important;
}
.maty-feature-row .gallery-button{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height:0;
  background:transparent;
}
.maty-feature-row .gallery-button img{
  width:auto;
  max-width:100%;
  max-height:min(84vh,980px);
  height:auto;
  object-fit:contain;
}
.maty-feature-row .gallery-item.is-portrait .gallery-button img{
  max-width:min(68vw,880px);
}
.maty-feature-row figcaption{
  margin-left:auto;
  margin-right:auto;
  max-width:920px;
}

/* Cleaner image chrome */
.museum-gallery .gallery-button{
  box-shadow:none;
}
.museum-gallery .image-number{
  top:8px;
  right:8px;
  padding:3px 5px;
  background:rgba(0,0,0,.38);
  text-shadow:none;
  border-radius:2px;
}
.museum-gallery figcaption{
  padding-top:7px;
  font-size:10px;
  line-height:1.45;
}

/* Keep alternative layouts untouched and useful. */
.gallery--masonry.museum-gallery,
.gallery--grid.museum-gallery{
  padding-left:0;
  padding-right:0;
}

@media(max-width:767px){
  .project-gallery-section{padding-top:52px}
  .project-gallery-head{gap:12px;margin-bottom:24px}
  .project-gallery-head h2{font-size:38px}
  .gallery--editorial.museum-gallery{
    display:grid;
    grid-template-columns:1fr;
    gap:24px;
  }
  .gallery--editorial.museum-gallery .gallery-item{
    width:100%!important;
  }
  .gallery--editorial.museum-gallery .gallery-button{
    height:auto!important;
  }
  .gallery--editorial.museum-gallery .gallery-button img{
    width:100%;
    height:auto;
    object-fit:contain;
  }
  .maty-justified-row,
  .maty-feature-row{
    display:contents;
  }
  .maty-feature-row .gallery-item.is-portrait .gallery-button img{
    max-width:100%;
  }
}


/* Maty Studio 3.3.2 — balanced page-title scale
   Internal page titles should support the work, not dominate the viewport. */
:root{
  --maty-page-title:clamp(46px,5.2vw,86px);
  --maty-project-title:clamp(48px,5.7vw,96px);
  --maty-section-title:clamp(32px,3.4vw,52px);
}

/* Archive / standard page headers */
.page-head{
  padding-top:clamp(44px,5vw,72px);
  padding-bottom:clamp(30px,3.5vw,48px);
}
.page-head h1{
  max-width:1120px;
  margin-top:12px;
  font-size:var(--maty-page-title);
  line-height:.94;
  letter-spacing:-.052em;
  text-wrap:balance;
}
.page-head p{
  margin-top:24px;
  max-width:820px;
  font-size:clamp(15px,1.2vw,18px);
  line-height:1.5;
}

/* Individual Work / Event pages */
.project-head h1,
.project-head--editorial h1{
  max-width:1260px;
  font-size:var(--maty-project-title);
  line-height:.95;
  letter-spacing:-.052em;
  text-wrap:balance;
}
.project-head--editorial{
  padding-top:clamp(48px,5.8vw,86px);
  padding-bottom:clamp(30px,3.8vw,54px);
}

/* Section headings across the site */
.section-head h2,
.project-gallery-head h2{
  font-size:var(--maty-section-title);
  line-height:.98;
  letter-spacing:-.045em;
}

/* Timeline year remains strong, but not louder than the page title. */
.year-section>h2{
  font-size:clamp(42px,4.3vw,68px);
  line-height:1;
}

/* Prevent the old large desktop rules from overriding the new hierarchy. */
@media(min-width:1024px){
  .page-head h1{
    font-size:clamp(64px,4.7vw,86px);
  }
  .project-head h1,
  .project-head--editorial h1{
    font-size:clamp(66px,5.1vw,96px);
  }
}

/* Mobile should feel editorial, not oversized. */
@media(max-width:767px){
  :root{
    --maty-page-title:clamp(42px,13vw,58px);
    --maty-project-title:clamp(42px,12.5vw,60px);
    --maty-section-title:clamp(30px,9vw,42px);
  }
  .page-head{
    padding-top:36px;
    padding-bottom:28px;
  }
  .page-head h1,
  .project-head h1,
  .project-head--editorial h1{
    line-height:.98;
    letter-spacing:-.045em;
  }
  .page-head p{
    margin-top:18px;
    font-size:15px;
  }
  .project-head--editorial{
    padding-top:40px;
    padding-bottom:30px;
  }
}


/* Maty Studio 3.4 — 15% smaller title system */
:root{
  --maty-page-title:clamp(34px,3.75vw,62px);
  --maty-project-title:clamp(36px,4.1vw,70px);
  --maty-section-title:clamp(27px,2.9vw,44px);
}
.page-head h1{
  max-width:1040px;
  font-size:var(--maty-page-title);
  line-height:.98;
}
.project-head h1,
.project-head--editorial h1{
  max-width:1180px;
  font-size:var(--maty-project-title);
  line-height:.98;
}
.year-section>h2{font-size:clamp(35px,3.65vw,58px)}
@media(min-width:1024px){
 .page-head h1{font-size:clamp(54px,4vw,73px)}
 .project-head h1,.project-head--editorial h1{font-size:clamp(56px,4.35vw,82px)}
}
@media(max-width:767px){
 :root{
  --maty-page-title:clamp(36px,11vw,49px);
  --maty-project-title:clamp(36px,10.6vw,51px);
  --maty-section-title:clamp(26px,7.7vw,36px);
 }
 .year-section>h2{font-size:clamp(34px,10vw,48px)}
}

/* Maty Studio 3.4 — restrained professional homepage */
.home-page-minimal{padding-top:clamp(18px,2.5vw,36px);padding-bottom:96px}
.home-hero-minimal{margin:0 0 clamp(54px,7vw,104px)}
.home-hero-link{display:block;position:relative;text-decoration:none!important}
.home-hero-image{position:relative;overflow:hidden;background:#ddd9d1;aspect-ratio:16/8.7}
.home-hero-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.home-hero-link:hover .home-hero-image img{transform:scale(1.008)}
.home-hero-caption{position:absolute;left:18px;bottom:18px;display:grid;gap:2px;max-width:min(460px,calc(100% - 36px));padding:11px 13px;background:rgba(247,246,242,.94);backdrop-filter:blur(8px)}
.home-hero-caption span,.home-eyebrow,.home-section-head span{text-transform:uppercase;letter-spacing:.14em;font-size:9px;color:var(--muted)}
.home-hero-caption strong{font-size:16px;line-height:1.18;font-weight:600}
.home-hero-caption small{font-size:10px;color:var(--muted)}
.home-intro-minimal{display:grid;grid-template-columns:minmax(0,.8fr) minmax(320px,1.2fr);gap:clamp(34px,8vw,150px);align-items:end;padding:0 0 clamp(72px,9vw,132px);border-bottom:1px solid var(--line)}
.home-intro-title h1{margin:8px 0 0;font-size:clamp(44px,5vw,76px);line-height:.95;letter-spacing:-.05em;font-weight:500}
.home-intro-copy{max-width:760px}
.home-intro-copy p{margin:0 0 24px;font-size:clamp(22px,2.25vw,36px);line-height:1.28;letter-spacing:-.025em}
.text-link{display:inline-block;font-size:12px;border-bottom:1px solid currentColor}
.home-selected-minimal,.home-chronology-minimal{padding-top:clamp(64px,8vw,118px)}
.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:clamp(26px,3.5vw,46px)}
.home-section-head h2{margin:5px 0 0;font-size:clamp(30px,3vw,46px);line-height:1;letter-spacing:-.04em;font-weight:500}
.home-section-head>a{font-size:11px;border-bottom:1px solid transparent}
.home-section-head>a:hover{border-color:currentColor;text-decoration:none}
.home-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(34px,4vw,70px) clamp(18px,2vw,34px)}
.home-work-card a{display:block;text-decoration:none!important}
.home-work-image{aspect-ratio:4/3;overflow:hidden;background:#dedbd4}
.home-work-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.home-work-card:hover img{transform:scale(1.012)}
.home-work-meta{display:grid;gap:2px;padding-top:10px}
.home-work-meta strong{font-size:13px;line-height:1.3;font-weight:600}
.home-work-meta span{font-size:10px;color:var(--muted)}
.home-event-list{border-top:1px solid var(--line)}
.home-event-row{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(150px,.35fr) 20px;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);text-decoration:none!important}
.home-event-row time,.home-event-row span{font-size:10px;color:var(--muted)}
.home-event-row strong{font-size:14px;line-height:1.35;font-weight:500}
.home-event-row i{font-style:normal;text-align:right;transition:transform .2s ease}
.home-event-row:hover i{transform:translateX(3px)}

@media(max-width:900px){
 .home-intro-minimal{grid-template-columns:1fr;gap:24px}
 .home-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-event-row{grid-template-columns:58px minmax(0,1fr) 20px}
 .home-event-row span{display:none}
}
@media(max-width:600px){
 .home-page-minimal{padding-top:12px;padding-bottom:72px}
 .home-hero-minimal{margin-bottom:48px}
 .home-hero-image{aspect-ratio:4/5}
 .home-hero-caption{left:10px;right:10px;bottom:10px;max-width:none}
 .home-intro-minimal{padding-bottom:60px}
 .home-intro-title h1{font-size:44px}
 .home-intro-copy p{font-size:24px}
 .home-section-head{align-items:flex-start;flex-direction:column;gap:12px}
 .home-work-grid{grid-template-columns:1fr;gap:38px}
 .home-event-row{grid-template-columns:48px minmax(0,1fr) 18px;gap:12px;padding:15px 0}
}


/* Maty Studio 3.4.1 — configurable page presentations */
.presentation-editorial .project-head,
.presentation-gallery_first .project-head,
.presentation-minimal .project-head{
  padding-bottom:clamp(22px,3vw,40px);
}

/* The default editorial presentation intentionally has no top hero image. */
.presentation-editorial .reading--project{
  padding-top:clamp(22px,3.4vw,48px);
}

/* Gallery-first creates a strong visual page without placing a single hero above everything. */
.presentation-gallery_first .project-gallery-section{
  padding-top:clamp(18px,2.7vw,38px);
}
.presentation-gallery_first .reading--project{
  margin-top:clamp(42px,6vw,84px);
  padding-top:clamp(30px,4vw,56px);
  border-top:1px solid var(--line);
}

/* Minimal is quieter and more text-led. */
.presentation-minimal{
  max-width:1220px;
}
.presentation-minimal .project-head{
  max-width:980px;
}
.presentation-minimal .project-head h1{
  max-width:900px;
}
.presentation-minimal .reading--project{
  max-width:760px;
  margin-left:0;
  padding-top:20px;
}
.presentation-minimal .project-gallery-head{
  margin-top:18px;
}
.presentation-minimal .project-gallery-eyebrow,
.presentation-minimal .image-number{
  display:none;
}

/* Hero Feature remains available as an intentional exception. */
.presentation-hero_feature .museum-hero{
  margin-top:0;
}

/* Standard WordPress Page Templates */
.page-template-editorial-narrow .page-head{
  max-width:980px;
}
.reading--narrow{
  max-width:760px;
  margin-left:0;
}
.page-template-full-width .page-full-content{
  width:100%;
  padding-bottom:clamp(60px,8vw,110px);
}
.page-template-minimal{
  max-width:980px;
}
.reading--minimal{
  max-width:760px;
  padding-top:clamp(58px,8vw,110px);
  padding-bottom:clamp(70px,9vw,130px);
}
.reading--minimal h1{
  margin:0 0 clamp(34px,5vw,62px);
  font-size:clamp(42px,5vw,76px);
  line-height:.98;
  letter-spacing:-.05em;
}


/* Maty Studio 3.4.2 — artist-led homepage */
.home-artist-profile{
 display:grid;
 grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);
 gap:clamp(38px,7vw,118px);
 align-items:center;
 padding:0 0 clamp(72px,9vw,126px);
 border-bottom:1px solid var(--line);
}
.home-artist-visual{min-width:0}
.home-artist-visual figure{margin:0}
.home-artist-visual img{display:block;width:100%;height:auto;max-height:720px;object-fit:cover;background:#ddd9d1}
.home-artist-visual figcaption{padding-top:8px;font-size:10px;color:var(--muted)}
.home-artist-placeholder{aspect-ratio:4/5;background:#e1ded7}
.home-artist-copy{max-width:820px}
.home-artist-copy h1{margin:7px 0 0;font-size:clamp(43px,4.6vw,70px);line-height:.96;letter-spacing:-.05em;font-weight:500}
.home-artist-copy h2{margin:clamp(26px,3vw,42px) 0 16px;font-size:clamp(20px,1.8vw,28px);line-height:1.2;font-weight:500;letter-spacing:-.025em}
.home-artist-copy p{max-width:760px;margin:0 0 14px;font-size:clamp(16px,1.25vw,19px);line-height:1.65;color:#292929}
.home-artist-facts{display:grid;grid-template-columns:.7fr .7fr 1.6fr;gap:18px;margin:clamp(28px,3.5vw,46px) 0 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-artist-facts div{display:grid;gap:4px}
.home-artist-facts dt{text-transform:uppercase;letter-spacing:.12em;font-size:9px;color:var(--muted)}
.home-artist-facts dd{margin:0;font-size:12px;line-height:1.35}
.home-artist-links{display:flex;flex-wrap:wrap;gap:18px 28px;margin-top:22px}

/* Give the artwork section a little more visual presence without adding clutter. */
.home-selected-minimal{padding-top:clamp(66px,8vw,116px)}
.home-work-grid .home-work-card:first-child{grid-column:span 2}
.home-work-grid .home-work-card:first-child .home-work-image{aspect-ratio:16/9}

@media(max-width:900px){
 .home-artist-profile{grid-template-columns:1fr;gap:28px}
 .home-artist-visual{max-width:620px}
 .home-artist-facts{grid-template-columns:repeat(3,1fr)}
 .home-work-grid .home-work-card:first-child{grid-column:span 2}
}
@media(max-width:600px){
 .home-artist-profile{padding-bottom:58px}
 .home-artist-visual img{max-height:none}
 .home-artist-copy h1{font-size:43px}
 .home-artist-copy h2{margin-top:22px;font-size:21px}
 .home-artist-copy p{font-size:16px}
 .home-artist-facts{grid-template-columns:1fr;gap:12px}
 .home-artist-facts div{grid-template-columns:76px 1fr;align-items:baseline}
 .home-work-grid .home-work-card:first-child{grid-column:auto}
 .home-work-grid .home-work-card:first-child .home-work-image{aspect-ratio:4/3}
}


/* Maty Studio 3.4.3 — Work intro: Hero image beside content, aligned to the top */
.project-intro-split{
  display:grid;
  grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);
  gap:clamp(34px,5.5vw,92px);
  align-items:start;
  padding-top:clamp(22px,3.2vw,46px);
  padding-bottom:clamp(42px,5vw,76px);
}
.project-intro-split.no-hero{
  grid-template-columns:minmax(0,760px);
}
.project-intro-hero{
  margin:0;
  align-self:start;
  min-width:0;
}
.project-intro-hero img{
  display:block;
  width:100%;
  height:auto;
  max-height:760px;
  object-fit:contain;
  object-position:top center;
  background:#e8e6df;
}
.project-intro-hero figcaption{
  padding-top:8px;
  max-width:92%;
  font-size:10px;
  line-height:1.45;
  color:var(--muted);
}
.project-intro-copy.reading--project{
  margin:0;
  padding:0;
  max-width:760px;
  align-self:start;
}
.project-intro-copy.reading--project > :first-child{
  margin-top:0;
}
.project-intro-copy.reading--project > p:first-child{
  font-size:clamp(18px,1.45vw,22px);
  line-height:1.62;
}

/* Presentation variants now change proportion, not whether the image is above the content. */
.presentation-minimal .project-intro-split{
  grid-template-columns:minmax(240px,.58fr) minmax(0,1.42fr);
  max-width:1120px;
  gap:clamp(30px,4.5vw,72px);
}
.presentation-minimal .project-intro-hero img{
  max-height:620px;
}
.presentation-hero_feature .project-intro-split{
  grid-template-columns:minmax(360px,.95fr) minmax(0,1.05fr);
  gap:clamp(38px,5vw,86px);
}
.presentation-hero_feature .project-intro-hero img{
  max-height:860px;
}
.presentation-gallery_first .project-intro-split{
  margin-top:clamp(42px,6vw,84px);
  padding-top:clamp(30px,4vw,56px);
  border-top:1px solid var(--line);
}
/* neutralize old text-only spacing that would otherwise double the top gap */
.presentation-editorial .reading--project,
.presentation-gallery_first .reading--project,
.presentation-minimal .reading--project{
  padding-top:0;
}
.presentation-gallery_first .reading--project{
  margin-top:0;
  border-top:0;
}

@media(max-width:900px){
  .project-intro-split,
  .presentation-minimal .project-intro-split,
  .presentation-hero_feature .project-intro-split{
    grid-template-columns:minmax(220px,.82fr) minmax(0,1.18fr);
    gap:30px;
  }
}
@media(max-width:767px){
  .project-intro-split,
  .presentation-minimal .project-intro-split,
  .presentation-hero_feature .project-intro-split{
    grid-template-columns:1fr;
    gap:24px;
    padding-top:18px;
    padding-bottom:42px;
  }
  .project-intro-hero{
    max-width:100%;
  }
  .project-intro-hero img,
  .presentation-minimal .project-intro-hero img,
  .presentation-hero_feature .project-intro-hero img{
    width:100%;
    max-height:none;
    object-fit:contain;
  }
  .project-intro-copy.reading--project{
    max-width:none;
  }
}


/* Maty Studio 3.4.4 — Work pages: content left, hero right */
@media (min-width: 1024px) {
  .work-side-layout,
  .project-side-layout,
  .work-content-media,
  .project-content-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
  }

  .work-side-layout .project-copy,
  .project-side-layout .project-copy,
  .work-content-media .project-copy,
  .project-content-media .project-copy,
  .work-side-layout .project-text,
  .project-side-layout .project-text,
  .work-content-media .project-text,
  .project-content-media .project-text,
  .work-side-layout article,
  .project-side-layout article,
  .work-content-media article,
  .project-content-media article {
    order: 1;
    grid-column: 1;
  }

  .work-side-layout .project-side-image,
  .project-side-layout .project-side-image,
  .work-content-media .project-side-image,
  .project-content-media .project-side-image,
  .work-side-layout .hero-side-image,
  .project-side-layout .hero-side-image,
  .work-content-media .hero-side-image,
  .project-content-media .hero-side-image,
  .work-side-layout .project-hero-side,
  .project-side-layout .project-hero-side,
  .work-content-media .project-hero-side,
  .project-content-media .project-hero-side {
    order: 2;
    grid-column: 2;
    align-self: start;
    margin-top: 0;
  }

  .work-side-layout .project-side-image img,
  .project-side-layout .project-side-image img,
  .work-content-media .project-side-image img,
  .project-content-media .project-side-image img,
  .work-side-layout .hero-side-image img,
  .project-side-layout .hero-side-image img,
  .work-content-media .hero-side-image img,
  .project-content-media .hero-side-image img,
  .work-side-layout .project-hero-side img,
  .project-side-layout .project-hero-side img,
  .work-content-media .project-hero-side img,
  .project-content-media .project-hero-side img {
    width: 100%;
    height: auto;
    display: block;
  }

  .work-side-layout .project-side-image figcaption,
  .project-side-layout .project-side-image figcaption,
  .work-content-media .project-side-image figcaption,
  .project-content-media .project-side-image figcaption,
  .work-side-layout .hero-side-image figcaption,
  .project-side-layout .hero-side-image figcaption,
  .work-content-media .hero-side-image figcaption,
  .project-content-media .hero-side-image figcaption,
  .work-side-layout .project-hero-side figcaption,
  .project-side-layout .project-hero-side figcaption,
  .work-content-media .project-hero-side figcaption,
  .project-content-media .project-hero-side figcaption {
    margin-top: 12px;
  }
}

@media (max-width: 1023px) {
  .work-side-layout,
  .project-side-layout,
  .work-content-media,
  .project-content-media {
    display: block;
  }
}


/* Maty Studio 3.4.5 — corrected Work intro structure
   Title spans the page. Under it: content left, Hero image right, aligned at the top. */
.project-shell{
  display:block!important;
}
.project-intro-split.has-hero{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:clamp(38px,5vw,82px);
  align-items:start;
  width:100%;
}
.project-intro-split.no-hero{
  display:block;
  max-width:820px;
}
.project-intro-copy{
  grid-column:1;
  grid-row:1;
  align-self:start;
  min-width:0;
  margin:0;
  padding:0;
}
.project-intro-hero{
  grid-column:2;
  grid-row:1;
  align-self:start;
  min-width:0;
  margin:0;
}
.project-intro-hero img{
  display:block;
  width:100%;
  height:auto;
  max-height:760px;
  object-fit:contain;
  object-position:top center;
  background:#e8e6df;
}
.project-intro-hero figcaption{
  margin-top:8px;
  padding:0;
  font-size:10px;
  line-height:1.45;
  color:var(--muted);
}

/* Presentation variants only adjust proportions. */
.presentation-minimal .project-intro-split.has-hero{
  grid-template-columns:minmax(0,1.32fr) minmax(260px,.68fr);
  max-width:1180px;
}
.presentation-hero_feature .project-intro-split.has-hero{
  grid-template-columns:minmax(0,1fr) minmax(360px,1fr);
}
.presentation-gallery_first .project-intro-split{
  margin-top:clamp(42px,6vw,84px);
  padding-top:clamp(30px,4vw,56px);
  border-top:1px solid var(--line);
}

@media(max-width:900px){
  .project-intro-split.has-hero,
  .presentation-minimal .project-intro-split.has-hero,
  .presentation-hero_feature .project-intro-split.has-hero{
    grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);
    gap:30px;
  }
}

@media(max-width:767px){
  .project-intro-split.has-hero,
  .presentation-minimal .project-intro-split.has-hero,
  .presentation-hero_feature .project-intro-split.has-hero{
    display:flex;
    flex-direction:column;
    gap:24px;
  }
  .project-intro-hero{
    order:1;
    width:100%;
  }
  .project-intro-copy{
    order:2;
    width:100%;
  }
  .project-intro-hero img{
    width:100%;
    max-height:none;
  }
}
