/* AME Studio V2.24 — image integrity, project grid, header */
/* Larger navigation, Paris as the furthest-right desktop item */
.header .nav a,
.header-end .header-contact,
.header-end .header-instagram,
.header-end .header-city,
.header-end .language-switch {
  font-family:'Open Sans Condensed','Arial Narrow',Arial,sans-serif!important;
  font-size:18px!important;
  font-weight:600!important;
  letter-spacing:.025em!important;
}
.header .header-left{gap:clamp(20px,2.4vw,54px)!important;}
.header .nav{gap:clamp(16px,2.1vw,38px)!important;}
.header .header-end{gap:clamp(13px,1.6vw,27px)!important;}
.header .header-city{order:4;white-space:nowrap;}
.header .header-contact{order:1;}
.header .header-instagram{order:2;}
.header .language-switch{order:3;gap:0!important;display:flex;align-items:center;white-space:nowrap;}
.header .language-switch button{font-size:inherit!important;letter-spacing:0!important;padding:7px 2px!important;line-height:1.05;}
.header .language-switch span{padding:0 1px;}
.header .menu-button{order:5;}
@media(max-width:1200px) and (min-width:761px){
 .header .nav a,.header-end .header-contact,.header-end .header-instagram,.header-end .header-city,.header-end .language-switch{font-size:clamp(13px,1.28vw,16px)!important;}
 .header .header-end{gap:clamp(9px,1.15vw,14px)!important;}
 .header .header-left{gap:20px!important;}
 .header .nav{gap:16px!important;}
}
@media(max-width:760px){
 .header-end .language-switch{font-size:12px!important;}
 .header .menu-button{order:5;}
}
/* All Work: never cut or enlarge any photograph, and keep the entire tile on-screen. */
.allwork-stage .allwork-tile{overflow:visible!important;background:transparent!important;}
.allwork-stage .allwork-tile.has-image .artwork{background:transparent!important;overflow:visible!important;}
.allwork-stage .allwork-tile.has-image img{
 width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;
 transform:none!important;max-width:100%;max-height:100%;
}
.allwork-stage .allwork-tile.has-image:hover img{transform:none!important;}
.allwork-tile-1{left:0%!important;top:20%!important;width:20%!important;height:40%!important;}
.allwork-tile-2{left:23%!important;top:60%!important;width:10%!important;height:20%!important;}
.allwork-tile-3{left:68%!important;top:5%!important;width:16%!important;height:28%!important;}
.allwork-tile-4{left:87%!important;top:32%!important;width:12%!important;height:24%!important;}
.allwork-tile-5{left:42%!important;top:22%!important;width:15%!important;height:28%!important;}
.allwork-tile-6{left:59%!important;top:66%!important;width:9%!important;height:18%!important;}
.allwork-tile-7{left:0%!important;top:72%!important;width:12%!important;height:26%!important;}
.allwork-tile-8{left:31%!important;top:78%!important;width:15%!important;height:20%!important;}
.allwork-tile-9{left:81%!important;top:70%!important;width:16%!important;height:28%!important;}
.allwork-tile-10{left:73%!important;top:43%!important;width:13%!important;height:24%!important;}
.allwork-tile-11{left:16%!important;top:2%!important;width:14%!important;height:15%!important;}
.allwork-tile-12{left:51%!important;top:2%!important;width:11%!important;height:18%!important;}
@media(max-width:760px){
 .allwork-tile-1{left:0%!important;top:21%!important;width:28%!important;height:34%!important;}
 .allwork-tile-2{left:29%!important;top:60%!important;width:15%!important;height:17%!important;}
 .allwork-tile-3{left:62%!important;top:6%!important;width:32%!important;height:28%!important;}
 .allwork-tile-4{left:78%!important;top:37%!important;width:21%!important;height:17%!important;}
 .allwork-tile-5{left:36%!important;top:25%!important;width:25%!important;height:21%!important;}
 .allwork-tile-6{left:54%!important;top:69%!important;width:16%!important;height:15%!important;}
 .allwork-tile-7{left:0%!important;top:78%!important;width:23%!important;height:20%!important;}
 .allwork-tile-8{left:27%!important;top:80%!important;width:24%!important;height:18%!important;}
 .allwork-tile-9{left:74%!important;top:72%!important;width:25%!important;height:26%!important;}
 .allwork-tile-10{left:62%!important;top:50%!important;width:20%!important;height:17%!important;}
 .allwork-tile-11{left:4%!important;top:2%!important;width:24%!important;height:17%!important;}
 .allwork-tile-12{left:39%!important;top:2%!important;width:20%!important;height:17%!important;}
}
/* Project grid: equal vertical/horizontal gutters and centered brown titles on media. */
.projects-grid{gap:clamp(15px,2vw,32px)!important;grid-auto-flow:row;align-items:stretch;}
.grid-project{min-width:0;overflow:visible;}
.grid-project-media{height:auto!important;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden!important;isolation:isolate;background:#efece7!important;}
.grid-project-media .artwork,.grid-project-media .artwork img{width:100%!important;height:100%!important;}
.grid-project-media img{object-fit:cover!important;object-position:center center!important;transform:none!important;}
.grid-project:hover .grid-project-media img{transform:none!important;}
.grid-project-media:after{position:absolute;inset:0;z-index:1;content:'';background:rgba(248,248,248,.22);pointer-events:none;}
.grid-project-name{position:absolute;left:5%;right:5%;top:50%;transform:translateY(-50%);z-index:3;text-align:center;
 font:600 clamp(20px,2.1vw,37px)/1.05 'Open Sans Condensed','Arial Narrow',Arial,sans-serif;
 color:#4B3E34;text-wrap:balance;overflow-wrap:break-word;text-shadow:0 1px 8px #f8f8f8b5;}
.grid-project-arrow{z-index:4;}
.grid-project-info,.projects-count{display:none!important;}
.projects-index-filters button span{display:none!important;}
@media(max-width:760px){
 .projects-grid{gap:13px!important;}
 .grid-project-media{aspect-ratio:4/5;}
 .grid-project-name{font-size:clamp(18px,4vw,26px);}
}
/* Landscape vision artwork: rotate source without cropping; preserve 60% transparency. */
.vision-image{inset:0!important;transform:translate3d(calc((var(--vision-progress) - .5)*1vw), calc((var(--vision-progress) - .5)*2vh),0)!important;}
.vision-image img{height:auto!important;width:min(84vw,1280px)!important;max-height:78svh!important;object-fit:contain!important;opacity:.4!important;transform:none!important;}
@media(max-width:760px){.vision-image img{width:96vw!important;max-height:58svh!important;}}

/* Tuju: preserve the complete table in every editorial thumbnail. */
.case-opening-v28[data-project="tuju"] .case-opening-thumb .artwork img,
.grid-project[data-project="tuju"] .grid-project-art img,
.allwork-tile[data-project="tuju"] .artwork img{
 object-fit:contain!important;
 object-position:center center!important;
 transform:scale(.9)!important;
 background:#f8f8f8!important;
}

/* Anya: anchor the turntable thumbnail from its left edge. */
.case-opening-v28[data-project="anya"] .case-opening-thumb .artwork img,
.grid-project[data-project="anya"] .grid-project-art img,
.allwork-tile[data-project="anya"] .artwork img{
 object-position:left center!important;
}
