/* AME STUDIO V2.14 — refined navigation, smooth cinematic scroll, spatial All Work */
:root {--nav-ink:#4B3E34;}
.header {justify-content:space-between!important;gap:clamp(18px,3vw,58px)!important;padding-left:clamp(22px,1.65vw,34px)!important;padding-right:clamp(22px,2.1vw,42px)!important;}
.header-left {display:flex;align-items:center;gap:clamp(25px,5.4vw,112px);min-width:0;}
.header .nav {margin:0!important;display:flex;gap:clamp(20px,2.4vw,43px)!important;letter-spacing:.04em;white-space:nowrap;}
.header .nav a {font-size:12px!important;letter-spacing:.035em;}
.header .header-end {display:flex;gap:clamp(18px,2.5vw,48px);align-items:center;justify-content:flex-end;flex:none;min-width:0;text-align:right;letter-spacing:.025em;}
.header-end a,.header-city {font:600 12px/1.2 var(--sans);letter-spacing:.055em;white-space:nowrap;}
.header .brand {transition:opacity .44s ease, transform .44s ease,visibility .44s ease;}
body.home-scrolled:not(.case-open) .header .brand {opacity:0;visibility:hidden;transform:translateY(-10px);pointer-events:none;}
body.case-open .header .brand {opacity:1;visibility:visible;}
/* No cinematic aerial thumbnail or numbering. */
.cinema-top-visual,.cinema-label,.cinema-counter,.cinema-number {display:none!important;}
.cinema-chapter{height:240svh;}
.cinema-photo{will-change:transform,opacity,top;}
.cinema-image-cta{gap:10px;padding:7px 12px;}
.cinema-image-cta .cinema-category {font-size:7px;letter-spacing:.045em;font-weight:600;opacity:.8;padding:2px 6px 2px 0;border-right:1px solid rgba(255,255,255,.44);white-space:nowrap;max-width:112px;overflow:hidden;text-overflow:ellipsis;}
.cinema-image-cta strong{font-size:12px;letter-spacing:0;white-space:nowrap;}
/* Interactive spatial index — one cohesive screen, no card-grid chrome. */
.allwork-world{height:188svh;position:relative;background:#F8F8F8;isolation:isolate;scroll-margin-top:0;}
.allwork-stage{position:sticky;top:0;height:100svh;width:100%;overflow:hidden;isolation:isolate;background:#F8F8F8;}
.allwork-collage{position:absolute;inset:0;z-index:1;pointer-events:none;}
.allwork-tile{position:absolute;display:block;overflow:hidden;pointer-events:auto;background:#e8e2d9;transform-origin:center;will-change:transform;box-shadow:none;}
.allwork-tile .artwork,.allwork-tile img{width:100%;height:100%;}
.allwork-tile img{object-fit:cover!important;transition:transform .8s cubic-bezier(.19,1,.22,1)!important;}
.allwork-tile:hover img{transform:scale(1.09)!important;}
.allwork-title{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);z-index:3;white-space:nowrap;text-align:center;pointer-events:none;color:#111010;}
.allwork-title h2{font:700 clamp(70px,7vw,148px)/.95 Arial,Helvetica,sans-serif;letter-spacing:-.075em;}
.allwork-title sup{font:600 clamp(20px,2.2vw,37px)/1 Arial,sans-serif;vertical-align:top;letter-spacing:-.06em;margin-left:.2em;}
.allwork-title>span{display:block;margin-top:17px;font:600 10px/1.2 var(--sans);letter-spacing:.13em;text-transform:uppercase;color:var(--ink);}
.allwork-tile-label{position:absolute;left:50%;bottom:12px;transform:translate(-50%,10px);z-index:4;display:flex;align-items:center;gap:12px;white-space:nowrap;padding:8px 11px;color:#fff;background:#11100feb;font:600 10px/1.2 var(--sans);opacity:0;transition:opacity .3s,transform .3s;}
.allwork-tile-label b{font-size:16px;font-weight:400;}
.allwork-tile:hover .allwork-tile-label,.allwork-tile:focus-visible .allwork-tile-label{opacity:1;transform:translate(-50%,0);}
.allwork-noimage{display:flex;position:absolute;inset:0;flex-direction:column;justify-content:flex-end;gap:6px;padding:8px;color:#51443a;background:linear-gradient(138deg,#ddd9d2,#f1eee9 59%,#dad7d2);font:600 clamp(10px,1vw,15px)/1.1 var(--sans);}
.allwork-noimage>span:last-child{position:relative;z-index:1;}
.allwork-drawing{position:absolute;width:55%;height:58%;left:20%;top:19%;border:1px solid rgba(75,62,52,.27);border-radius:47% 47% 0 0;transform:rotate(-8deg);}
.allwork-drawing::before,.allwork-drawing::after{content:'';position:absolute;border:1px solid rgba(75,62,52,.22)}
.allwork-drawing::before{inset:16% -15% 10% 20%;transform:rotate(24deg)}
.allwork-drawing::after{left:29%;width:30%;height:120%;top:-10%;transform:rotate(12deg)}
.allwork-tile.awaiting-image .allwork-tile-label{display:none;}
.allwork-discover{position:absolute;bottom:4.2%;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:16px;padding:11px 16px;background:#161414;color:#fff;font:600 11px/1 var(--sans);}
.allwork-discover strong{font-size:16px;}
/* Deliberately asymmetrical choreography inspired by editorial image walls. */
.allwork-tile-1 {left:-3%;top:19%;width:22%;height:57%;}
.allwork-tile-2 {left:26%;top:55%;width:8.5%;height:22%;}
.allwork-tile-3 {left:68.5%;top:4%;width:17%;height:34%;}
.allwork-tile-4 {left:91%;top:31%;width:11%;height:22%;}
.allwork-tile-5 {left:43%;top:27%;width:16%;height:35%;}
.allwork-tile-6 {left:59%;top:70%;width:8%;height:19%;}
.allwork-tile-7 {left:0%;top:88%;width:13%;height:25%;}
.allwork-tile-8 {left:31%;top:94%;width:16%;height:23%;}
.allwork-tile-9 {left:80%;top:86%;width:15%;height:34%;}
.allwork-tile-10 {left:74%;top:50%;width:13%;height:33%;}
.allwork-tile-11 {left:12%;top:-13%;width:15%;height:27%;}
.allwork-tile-12 {left:50%;top:-14%;width:10%;height:25%;}
/* San Carlo: technical axonometric at its full natural height without vertical bands. */
.case-panel.case-generic-full:has(.artwork[data-project="san-carlo"]) {width:calc(100dvh * 1.414)!important;min-width:calc(100dvh * 1.414)!important;height:100dvh!important;padding:0!important;}
.case-panel.case-generic-full:has(.artwork[data-project="san-carlo"]) img{object-fit:fill!important;width:100%!important;height:100%!important;}
@media(max-width:1030px){
 .header-left{gap:25px;}.header .nav{gap:19px!important;}
 .header-end{gap:19px!important;}
 .header-end a,.header-city{font-size:10px;}
 .allwork-title h2{font-size:clamp(55px,8.4vw,90px);}
}
@media(max-width:760px){
 .header {padding-left:16px!important;padding-right:16px!important;}
 .header-left{gap:14px;}
 .header .nav {display:none!important;}
 .header .header-end {gap:12px!important;}
 .header-end .header-city{font-size:9px;}
 .header-end .header-contact,.header-end .header-instagram {display:none;}
 .header-end .menu-button{display:inline-flex!important;align-items:center;font-size:10px!important;}
 .cinema-chapter{height:225svh;}
 .cinema-image-cta{padding:6px 9px;gap:8px;}
 .cinema-image-cta .cinema-category{font-size:7px;max-width:78px;}
 .cinema-image-cta strong{font-size:11px;}
 .allwork-world{height:160svh;}
 .allwork-title{top:42%;}
 .allwork-title h2{font-size:clamp(46px,11vw,75px);}
 .allwork-title sup{font-size:18px;}
 .allwork-title>span{font-size:7px;margin-top:8px;}
 .allwork-tile-1{left:-18%;top:24%;width:49%;height:40%;}
 .allwork-tile-2{left:30%;top:69%;width:19%;height:18%;}
 .allwork-tile-3{left:64%;top:4%;width:34%;height:32%;}
 .allwork-tile-4{left:89%;top:39%;width:25%;height:20%;}
 .allwork-tile-5{left:31%;top:23%;width:30%;height:23%;}
 .allwork-tile-6{left:56%;top:70%;width:21%;height:16%;}
 .allwork-tile-7{left:-8%;top:83%;width:31%;height:22%;}
 .allwork-tile-8{left:37%;top:92%;width:29%;height:20%;}
 .allwork-tile-9{left:79%;top:80%;width:27%;height:28%;}
 .allwork-tile-10{left:67%;top:49%;width:29%;height:29%;}
 .allwork-tile-11{left:8%;top:-9%;width:26%;height:22%;}
 .allwork-tile-12{left:48%;top:-12%;width:20%;height:20%;}
 .allwork-tile-label{display:none;}
 .allwork-noimage{font-size:9px;padding:5px;}
 .allwork-discover{bottom:4%;font-size:10px;}
}
@media(prefers-reduced-motion:reduce){
 .allwork-tile,.cinema-photo{will-change:auto;transition:none!important;}
}
