
/* AME Studio — V2.3  /  Telha × MERSI
   Compact editorial home, exclusively horizontal project essays,
   half-and-half opening and bottom-up visual reveals.
*/
:root { --ease-sweep: cubic-bezier(.22,.68,0,1); }
html { scrollbar-gutter: auto; }
html, body { overflow-x: clip; }
/* 50% presentation zoom for the home editorial system only.
   Project canvases deliberately remain at full viewport resolution so the
   opening photograph fills all available height. */
@media (min-width: 900px) {
  #home { zoom:.5; width:200%; max-width:none; }
  .header { height:59px; }
  .brand-ame { font-size:29px; }
  .brand-studio { font-size:9px; }
  .nav { gap:clamp(18px,3vw,50px); }
  .nav a { font-size:10px; }
  .hero { padding-top:100px; }
  .section-space { padding-top:130px; padding-bottom:135px; }
  .featured-list { gap:90px; }
  .feature-art { max-height:80vh; }
  .project-experience { inset:59px 0 0 !important; }
}
/* On tablets/mobile retain readable text rather than squeezing whole pages. */
@media (max-width:899px) {
  #home { zoom:1; width:100%; }
}
body.case-open, html:has(body.case-open) {
  overflow: hidden !important; height:100%; overscroll-behavior:none;
}
body.case-open #home { display:none !important; }
body.case-open .project-experience { overflow:hidden!important; }
body.case-open .header { position:fixed;top:0;left:0;right:0; }
.project-experience { inset:59px 0 0; overflow:hidden!important; }
.case-bar { display:none!important; }
.case-scroller {
  position:absolute!important; inset:0!important;
  display:flex!important; height:100%!important;
  overflow-x:auto!important; overflow-y:hidden!important;
  scroll-behavior:auto!important; scroll-snap-type:none!important;
  overscroll-behavior:contain!important;
  scrollbar-width:none!important;
  touch-action:pan-x;
  -webkit-overflow-scrolling:touch;
}
.case-scroller::-webkit-scrollbar, .case-context-copy::-webkit-scrollbar,
.case-cover-information::-webkit-scrollbar { display:none!important; width:0!important; }
.case-scroller.dragging {cursor:grabbing!important}
.case-panel {
  flex-shrink:0!important;height:100%!important; max-height:100%!important;
  overflow:hidden!important;scroll-snap-align:none!important;
  contain:layout paint;
}
.case-panel * { overscroll-behavior: none; }
.case-figure { min-height:0; overflow:hidden; }
.case-figure .artwork { width:100%; height:calc(100% - 24px); overflow:hidden; }
.case-figure figcaption {height:24px;font-size:9px;line-height:1.35;}
.artwork.loaded>img { object-position:center center; }
/* The first image owns the full screen height, and the text lives in a separate 50% column. */
.case-cover {
  width:100vw!important; min-width:100vw!important; padding:0!important;
  display:grid!important;grid-template-columns:50% 50%; gap:0!important;
  background:var(--paper);
}
.case-cover-art {
  grid-area:1/1;height:100%!important;width:100%!important;
  margin:0!important;align-self:stretch!important; overflow:hidden;
}
.case-cover-art .artwork {width:100%;height:100%!important;}
.case-cover-art img { object-fit:cover; object-position:center; }
.case-cover-information {
  grid-area:1/2; height:100%; width:100%; min-height:0;
  display:grid; grid-template-rows:auto minmax(0,1fr) auto;
  gap:22px; padding:clamp(26px,3.2vw,58px) clamp(30px,4vw,70px) 76px;
  overflow:hidden!important; background:var(--paper);
}
.case-intro-top { display:flex;justify-content:space-between;gap:15px; font-size:10px;letter-spacing:.13em; text-transform:uppercase; }
.case-intro-center {min-height:0;align-self:center;display:flex;flex-direction:column;align-items:start;}
.case-intro-center h1 {
  font:clamp(50px,5.7vw,100px)/1.03 var(--serif);
  letter-spacing:-.045em;margin:20px 0 24px;
  overflow-wrap:anywhere;
}
.case-intro-center p {font:clamp(17px,1.55vw,25px)/1.3 var(--sans);font-weight:400;max-width:560px;}
.case-intro-bottom {align-self:end;display:flex;flex-direction:column;gap:14px;min-height:0;}
.case-specs {display:grid;grid-template-columns:1fr 1fr;gap:0 22px; margin:0;max-width:650px;}
.case-specs>div {border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;padding:9px 0;}
.case-specs dt,.case-specs dd {font:10px/1.25 var(--sans);text-transform:uppercase;letter-spacing:.065em;margin:0;}
.case-specs dt {opacity:.56;}
.case-specs dd {text-align:right;max-width:62%;}
.case-enter-compact {border-top:1px solid var(--line);font:10px var(--sans);letter-spacing:.1em;padding-top:12px;display:flex;justify-content:space-between;align-items:center;}
.case-enter-compact b {font:26px var(--serif);}
/* All ensuing spreads have strictly no vertical scrolling, even on text columns. */
.case-context {
  width:116vw!important; display:grid!important;
  grid-template-columns:55vw 52vw!important;gap:4vw!important;
  padding:0 5vw 0 0!important;align-items:center!important;
}
.case-context-image {height:86%!important;width:100%!important;margin:0!important;align-self:center!important;}
.case-context-copy {
  overflow:hidden!important;min-height:0!important;max-height:100%!important;
  align-self:center!important; padding:2vw 5vw 2vw 1vw;
}
.case-context-copy h2 {font:clamp(55px,5.7vw,100px)/1.05 var(--serif);margin:20px 0 26px;}
.case-context-copy>p {font:clamp(18px,1.8vw,28px)/1.33 var(--serif);max-width:570px;margin:0 0 38px;}
.case-note {font-size:10px;letter-spacing:.14em;border-top:1px solid var(--line);padding-top:12px;}
.case-image-wide {width:112vw!important;padding:28px 4vw 66px!important;}
.case-big-picture {height:calc(100% - 66px)!important;}
.case-image-kicker {height:28px;font-size:10px;}
.case-image-foot {font-size:9px;}
.case-pair {
  width:139vw!important;display:grid!important;
  grid-template-columns:27vw 44vw 54vw!important; gap:3vw!important;
  padding:40px 5vw 67px!important;align-items:center!important;
}
.case-pair-heading {padding-top:5vh!important;}
.case-pair-heading h2 {font:clamp(48px,4.7vw,85px)/1.1 var(--serif);margin-top:22px;}
.case-pair-left {height:67%!important;margin-top:11vh!important;}
.case-pair-right {height:84%!important;margin-top:-3vh!important;}
.case-sentence {width:96vw!important;padding:38px 6vw 75px!important;}
.case-sentence>p {font:clamp(70px,7vw,125px)/1.05 var(--serif);}
.case-sentence-art {height:75%!important;}
.case-documents {
  width:161vw!important;display:grid!important;
  grid-template-columns:29vw 58vw 36vw 27vw;gap:3vw;
  align-items:center;padding:30px 4vw 76px!important;
}
.case-documents-head {align-self:center;overflow:hidden;}
.case-documents-head>span {font-size:10px;letter-spacing:.15em;}
.case-documents-head h2 {font:clamp(58px,5vw,90px)/1.06 var(--serif);margin:25px 0 20px;}
.case-documents-head p {font:clamp(18px,1.55vw,25px)/1.25 var(--serif);max-width:380px;}
.case-document-main {height:84%!important;}
.case-document-secondary {height:65%!important;margin-top:12vh;}
.case-document-small {height:48%!important;margin-top:-12vh;}
.case-end {width:100vw!important;padding:28px var(--pad) 82px!important;}
.case-end-link {font:clamp(58px,7vw,125px)/1.04 var(--serif);}
/* Timeline floats over the canvas; doesn't steal height from the first photograph. */
.case-footer {
  position:absolute!important;bottom:0!important;left:50%!important;right:0!important;
  width:50%!important; height:60px!important; z-index:5;
  background:rgba(248,248,248,.94)!important;
  backdrop-filter:blur(9px);
  padding:0 clamp(18px,3.3vw,58px)!important;
  grid-template-columns:auto minmax(65px,1fr) auto!important;
  gap:18px!important;
}
.case-step {gap:9px!important;white-space:nowrap;font-size:9px!important;}
.case-scroll-hint {display:none;}
.case-track {height:2px;}
.case-arrows {gap:5px;}
.case-arrows button {height:33px;width:39px;font-size:17px;}
/* Image unfolding from bottom toward top at the moment of entry. */
.reveal-up .artwork {
  clip-path:inset(100% 0 0 0);
  transform:translateY(8%) scale(1.02);
  opacity:0;
  will-change:clip-path,transform,opacity;
}
.reveal-up.is-in-view .artwork {
  clip-path:inset(0 0 0 0);
  transform:translateY(0) scale(1);
  opacity:1;
  transition:clip-path 1250ms var(--ease-sweep), transform 1300ms var(--ease-sweep),opacity 500ms ease-out;
}
@media(max-height:690px) and (min-width:900px) {
  .case-cover-information {gap:8px;padding-top:23px;padding-bottom:66px;}
  .case-intro-center h1 {font-size:clamp(42px,4.1vw,74px);margin:10px 0 15px;}
  .case-intro-center p {font-size:16px;line-height:1.22;}
  .case-specs>div {padding:5px 0;}
}
@media(max-width:899px) {
  .header {height:56px!important;}
  .project-experience {inset:56px 0 0!important;}
  .case-footer {left:0!important;width:100%!important;height:51px!important;padding:0 17px!important;}
  .case-panel {scroll-snap-align:none!important;}
  .case-cover {
    width:100vw!important; min-width:100vw!important;
    display:flex!important;flex-direction:column!important; padding:0!important;
  }
  .case-cover-art {flex:0 0 48%;height:48%!important;width:100%!important;min-height:0!important;}
  .case-cover-information {
    flex:1;min-height:0;height:52%;width:100%;display:grid;
    padding:14px 20px 53px!important;gap:7px;
  }
  .case-intro-top {font-size:8px;}
  .case-intro-center h1 {font-size:clamp(39px,7.6vw,62px);margin:6px 0 8px;line-height:1;}
  .case-intro-center p {font-size:clamp(12px,3.2vw,17px);line-height:1.24;max-width:95%;}
  .case-eyebrow {font-size:9px;}
  .case-specs {grid-template-columns:1fr 1fr;gap:0 14px;}
  .case-specs>div {padding:5px 0;}
  .case-specs dt,.case-specs dd {font-size:8px;}
  .case-enter-compact {font-size:8px;padding-top:5px;}
  .case-enter-compact b {font-size:17px;}
  .case-context {width:100vw!important;min-width:100vw!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:0 16px 55px!important;}
  .case-context-image {order:0;height:52%!important;width:100%!important;flex:0 0 52%!important;min-height:0;}
  .case-context-copy {order:1;padding:20px 4px!important;height:auto!important;flex:1;display:flex;flex-direction:column;justify-content:center;overflow:hidden!important;}
  .case-context-copy h2 {font-size:clamp(43px,9.1vw,66px);margin:8px 0 10px;}
  .case-context-copy>p {font-size:clamp(17px,4.5vw,24px);line-height:1.2;margin:0 0 14px;}
  .case-note {font-size:8px;}
  .case-image-wide {width:100vw!important;padding:17px 16px 59px!important;}
  .case-image-kicker {font-size:8px;height:19px;}
  .case-big-picture {height:calc(100% - 45px)!important;}
  .case-pair {width:150vw!important;display:grid!important;grid-template-columns:35vw 51vw 55vw!important;gap:3vw!important;padding:15px 4vw 57px!important;}
  .case-pair-heading h2 {font-size:clamp(35px,7vw,58px);}
  .case-pair-left {height:57%!important;}
  .case-pair-right {height:72%!important;}
  .case-sentence {width:116vw!important;padding:24px 5vw 60px!important;}
  .case-sentence>p {font-size:clamp(48px,10vw,80px);}
  .case-documents {width:240vw!important;grid-template-columns:60vw 86vw 50vw 38vw!important;gap:2vw;padding:18px 4vw 60px!important;}
  .case-documents-head h2 {font-size:clamp(40px,8vw,68px);}
  .case-documents-head p {font-size:18px;}
  .case-documents-head>span {font-size:9px;}
  .case-end {width:100vw!important;padding:20px 18px 60px!important;}
  .case-end-link {font-size:clamp(44px,11vw,82px);}
}
@media(prefers-reduced-motion:reduce){.reveal-up .artwork,.reveal-up.is-in-view .artwork{clip-path:none!important;opacity:1!important;transform:none!important;transition:none!important}}

/* Quartier Libre — final sequence of original drawings and seasonal sections */
.case-climate {width:190vw!important;display:grid!important;grid-template-columns:29vw 34vw 38vw 38vw 34vw;align-items:center;gap:3vw;padding:27px 5vw 70px!important;}
.case-climate-text {align-self:center;}
.case-climate-text h2 {font:clamp(56px,5.1vw,96px)/1.04 var(--serif);margin:25px 0;}
.case-climate-text p {font:clamp(18px,1.65vw,28px)/1.2 var(--serif);max-width:350px;}
.case-climate-plan{height:83%!important;}.case-climate-summer{height:66%!important;margin-top:12vh;}
.case-climate-winter{height:73%!important;margin-top:-8vh;}.case-climate-detail{height:57%!important;margin-top:13vh;}
@media(max-width:899px){
 .case-climate{width:316vw!important;grid-template-columns:58vw 61vw 62vw 62vw 62vw;gap:2vw;padding:17px 4vw 60px!important;}
 .case-climate-text h2{font-size:clamp(42px,8.4vw,70px)}
 .case-climate-text p{font-size:17px;}
}


/* --- V2.4 refinements: overlay header and MERSI-like intro --- */
body.case-open .header {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 0 !important;
  color: var(--ink);
}
body.case-open .header a,
body.case-open .header .header-city,
body.case-open .header .menu-button { color: var(--ink); }
body.case-open .project-experience { inset: 0 !important; }
body.case-open .case-scroller { inset: 0 0 60px 0 !important; }
body.case-open .fine-grain { opacity:.32; }
.case-cover {
  width:100vw!important; min-width:100vw!important; height:100%!important; padding:0!important;
  display:grid!important; grid-template-columns:26vw 42vw 32vw!important; gap:0!important;
  background:var(--paper);
}
.case-cover-titleband {
  background: var(--clay);
  color: #1f1a17;
  height:100%; min-height:0;
  padding: 92px clamp(18px,2.6vw,34px) 7vh;
  display:grid; grid-template-rows:auto 1fr auto;
}
.case-titleband-top {
  display:flex; justify-content:space-between; gap:14px;
  font:600 11px/1.1 var(--sans); letter-spacing:.04em;
}
.case-titleband-frame {
  display:grid; place-items:center;
  padding: 4vh 0;
}
.case-titleband-frame::before {
  content:''; width:min(66%,240px); aspect-ratio:.84; border:2px solid rgba(110,65,36,.35);
  box-shadow: 0 0 0 6px rgba(227,195,162,.22) inset;
  display:block;
}
.case-titleband-frame-inner { position:absolute; opacity:0; pointer-events:none; }
.case-titleband-bottom { align-self:end; }
.case-titleband-bottom h1 {
  font: 700 clamp(72px,8.8vw,156px)/.92 var(--sans);
  letter-spacing:-.07em; margin:0 0 18px;
}
.case-titleband-bottom p {
  font: 700 clamp(20px,1.7vw,30px)/1.12 var(--sans);
  max-width: 14ch; margin:0;
}
.case-cover-art { grid-area:auto; height:100%!important; min-height:0; overflow:hidden; }
.case-cover-art .case-cover-figure, .case-cover-art .case-cover-figure .artwork { height:100%!important; }
.case-cover-art .case-cover-figure figcaption { position:absolute; left:18px; bottom:18px; z-index:4; color:var(--paper); background:rgba(0,0,0,.14); padding:6px 10px; height:auto; backdrop-filter: blur(4px); }
.case-cover-art .visual-perspective .artwork>img,
.case-cover-art img { object-fit:cover!important; object-position:center center!important; }
.case-cover-information {
  grid-area:auto; background:var(--paper);
  height:100%; min-height:0; overflow:hidden!important;
  padding: clamp(110px,9vw,148px) clamp(26px,3vw,44px) 82px !important;
  display:grid; grid-template-rows:auto 1fr auto; gap:18px;
}
.case-intro-top { justify-content:space-between; font-size:10px; }
.case-cover-summary {
  font: 400 clamp(28px,2.55vw,52px)/1.08 var(--sans);
  max-width: 14ch; margin:0;
}
.case-specs { max-width:none; grid-template-columns:1fr; gap:0; }
.case-specs>div { padding:12px 0; }
.case-specs dt,.case-specs dd { font-size:10px; }
.case-surface-highlight {
  border-top:1px solid var(--line); padding-top:18px; margin-top:6px;
  display:flex; align-items:baseline; gap:18px; flex-wrap:wrap;
}
.case-surface-highlight span { font:10px/1 var(--sans); letter-spacing:.12em; text-transform:uppercase; opacity:.64; }
.case-surface-highlight strong { font:700 clamp(78px,8vw,132px)/.9 var(--sans); letter-spacing:-.07em; }
.case-enter-compact { margin-top:2px; }

.case-full-image {
  width:100vw!important; min-width:100vw!important;
  padding: 94px 3.2vw 72px!important;
  display:grid!important; grid-template-rows:auto 1fr; gap:16px;
}
.case-full-image-head {
  display:flex; justify-content:space-between; gap:16px;
  font:10px/1.2 var(--sans); letter-spacing:.12em; text-transform:uppercase;
}
.case-full-image-figure { height:100%!important; min-height:0; }
.case-full-image-figure .artwork { height:calc(100% - 24px)!important; }
.case-full-image.visual-document .artwork>img, .case-sheet .artwork>img { object-fit:contain!important; background:var(--paper); }
.case-full-image:not(.case-sheet) .artwork>img { object-fit:contain!important; background:var(--paper); }

.case-figure.visual-document .artwork>img { object-fit:contain!important; object-position:center center!important; background:var(--paper); }
.case-figure.visual-perspective .artwork>img { object-fit:cover!important; object-position:center center!important; }
.case-figure.visual-portrait .artwork>img { object-fit:contain!important; background:var(--paper); }

.case-pair-equal {
  width:134vw!important; min-width:134vw!important;
  padding: 105px 4vw 74px!important;
  display:grid!important; grid-template-columns:28vw 46vw 46vw; gap:3vw; align-items:center;
}
.case-pair-equal-intro h2 { font:clamp(54px,5.2vw,92px)/1.02 var(--serif); margin:22px 0; }
.case-pair-equal-intro p { font:clamp(18px,1.5vw,24px)/1.25 var(--serif); max-width:320px; }
.case-pair-equal-intro span { font:10px/1.2 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.case-pair-equal-figure { height:78%!important; min-height:0; }

.case-documents-trio {
  width:170vw!important; min-width:170vw!important;
  padding: 96px 4vw 74px!important;
  display:grid!important; grid-template-columns:28vw 46vw 36vw 32vw; gap:3vw; align-items:center;
}
.case-documents-trio-intro span { font:10px/1.2 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.case-documents-trio-intro h2 { font:clamp(56px,5.1vw,90px)/1.02 var(--serif); margin:24px 0 0; }
.case-documents-trio-figure { height:74%!important; min-height:0; }
.case-documents-trio-figure .artwork>img { object-fit:contain!important; background:var(--paper); }
.case-afterdocs { width:130vw!important; grid-template-columns:28vw 45vw 45vw!important; padding-top:98px!important; }
.case-afterdocs .case-pair-left, .case-afterdocs .case-pair-right { height:72%!important; margin-top:0!important; }
.case-image-wide .visual-perspective .artwork>img { object-fit:cover!important; }
.case-image-wide .visual-document .artwork>img { object-fit:contain!important; background:var(--paper); }

@media (min-width:900px) {
  body.case-open .header { height:59px!important; }
}
@media (max-width:899px) {
  body.case-open .header { background: transparent !important; }
  body.case-open .project-experience { inset:0 !important; }
  body.case-open .case-scroller { inset:0 0 51px 0 !important; }
  .case-cover {
    display:flex!important; flex-direction:column!important;
    width:100vw!important; min-width:100vw!important; height:100%!important;
  }
  .case-cover-titleband {
    flex:0 0 29%; min-height:0; padding:64px 18px 16px;
  }
  .case-titleband-top { font-size:9px; }
  .case-titleband-frame { display:none; }
  .case-titleband-bottom h1 { font-size:clamp(54px,16vw,88px); margin-bottom:8px; }
  .case-titleband-bottom p { font-size:15px; max-width:none; }
  .case-cover-art { flex:0 0 35%; min-height:0; }
  .case-cover-art .case-cover-figure figcaption { left:10px; bottom:10px; font-size:8px; }
  .case-cover-information {
    flex:1; min-height:0; padding:12px 18px 56px !important; gap:10px;
  }
  .case-cover-summary { font-size:18px; max-width:92%; }
  .case-specs { grid-template-columns:1fr 1fr; gap:0 12px; }
  .case-specs>div { padding:6px 0; }
  .case-surface-highlight { padding-top:10px; gap:10px; }
  .case-surface-highlight strong { font-size:54px; }
  .case-full-image { padding:70px 14px 57px!important; }
  .case-pair-equal {
    width:182vw!important; min-width:182vw!important;
    grid-template-columns:44vw 64vw 64vw; padding:70px 3vw 58px!important;
  }
  .case-pair-equal-intro h2 { font-size:44px; }
  .case-pair-equal-intro p { font-size:16px; }
  .case-pair-equal-figure { height:70%!important; }
  .case-documents-trio {
    width:260vw!important; min-width:260vw!important;
    grid-template-columns:62vw 82vw 54vw 48vw; padding:68px 3vw 58px!important;
  }
  .case-documents-trio-intro h2 { font-size:42px; }
  .case-documents-trio-figure { height:68%!important; }
  .case-afterdocs { width:170vw!important; min-width:170vw!important; grid-template-columns:42vw 60vw 60vw!important; padding-top:72px!important; }
}


/* --- V2.5 micro-corrections --- */
.case-track { display:none !important; }
.case-footer { grid-template-columns: 90px 1fr 92px !important; gap: 12px !important; }
.case-step { gap: 0 !important; }
.case-scroll-hint { display:none !important; }
.case-titleband-frame {
  position: relative;
  overflow: hidden;
  display:block;
  padding: 0 !important;
  min-height: 0;
}
.case-titleband-frame::before { display:none !important; content:none !important; }
.case-titleband-frame .artwork {
  width: min(62%, 232px);
  aspect-ratio: .84;
  margin: 0 auto;
  height: auto !important;
  background: transparent !important;
}
.case-titleband-frame .artwork > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
}
.case-titleband-frame .art-placeholder,
.case-titleband-frame figcaption,
.case-titleband-frame .case-figure figcaption { display:none !important; }
.case-titleband-frame .case-figure {
  height: 100%;
  width: 100%;
  margin: 0;
}
.case-titleband-bottom h1 {
  font-size: clamp(56px, 7vw, 126px) !important;
  line-height: .92 !important;
  max-width: 95%;
}
.case-titleband-bottom p {
  max-width: 12ch !important;
}
.case-figure figcaption {
  background: none !important;
  padding: 0 !important;
  color: rgba(75,62,52,.8) !important;
  font-size: 8px !important;
  letter-spacing: .12em;
}
.case-cover-art .case-cover-figure figcaption { display:none !important; }
.case-full-image-figure figcaption,
.case-pair-equal-figure figcaption,
.case-documents-trio-figure figcaption,
.case-pair-left figcaption,
.case-pair-right figcaption,
.case-big-picture figcaption,
.case-small-picture figcaption,
.case-context-image figcaption { display:none !important; }
.case-full-image {
  align-items: stretch !important;
}
.case-full-image-figure {
  height: calc(100% - 24px) !important;
  min-height: 0;
}
.case-full-image-figure .artwork {
  height: 100% !important;
}
.case-full-image-figure.visual-perspective .artwork > img,
.case-full-image-figure .artwork > img {
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--paper);
}
@media (max-width:899px) {
  .case-track { display:none !important; }
  .case-footer { grid-template-columns: 62px 1fr 86px !important; }
  .case-titleband-frame .artwork { width: 116px; }
  .case-titleband-bottom h1 { font-size: clamp(46px, 14vw, 72px) !important; }
}


/* --- V2.6 layout refinements for Quartier Libre opening --- */
.case-cover-titleband {
  padding-top: 108px !important;
  grid-template-rows: auto auto 1fr !important;
  align-content: start;
}
.case-titleband-top {
  order: 1;
  margin-bottom: 22px;
}
.case-titleband-frame {
  order: 2;
  align-self: start;
  margin-top: 10px;
  margin-bottom: 28px;
}
.case-titleband-bottom {
  order: 3;
  align-self: end;
}
.case-titleband-bottom h1 {
  font-size: clamp(50px, 6.5vw, 121px) !important;
  line-height: .92 !important;
  margin-bottom: 0 !important;
}
.case-titleband-bottom p { display:none !important; }

.case-cover-information {
  padding-top: 138px !important;
  grid-template-rows: auto auto 1fr !important;
}
.case-intro-top {
  align-items: start;
}
.case-intro-center {
  align-self: start !important;
  padding-top: 2px;
}
.case-cover-summary {
  max-width: 13ch !important;
  font-size: clamp(25px, 2.15vw, 44px) !important;
  line-height: 1.08 !important;
}
.case-intro-bottom {
  align-self: end !important;
  width: 100%;
  padding-top: 54px !important;
}
.case-specs {
  margin-top: 16px !important;
}
.case-surface-highlight {
  margin-top: 22px !important;
}
.case-surface-highlight strong {
  font-size: clamp(74px, 7vw, 120px) !important;
}

@media (max-width:899px) {
  .case-cover-titleband {
    padding-top: 74px !important;
    grid-template-rows: auto auto 1fr !important;
  }
  .case-titleband-top { margin-bottom: 14px; }
  .case-titleband-frame { margin-top: 4px; margin-bottom: 18px; }
  .case-titleband-bottom h1 {
    font-size: clamp(40px, 12vw, 66px) !important;
  }
  .case-cover-information {
    padding-top: 14px !important;
    grid-template-rows: auto auto 1fr !important;
  }
  .case-cover-summary {
    font-size: 17px !important;
    max-width: 15ch !important;
  }
  .case-intro-bottom { padding-top: 18px !important; }
  .case-surface-highlight strong { font-size: 48px !important; }
}


/* AME V2.7 — remove all bottom navigation UI and let project imagery occupy full height. */
body.case-open .header .brand-ame,
body.case-open .header .brand-studio,
body.case-open .header .brand { color:#4B3E34 !important; }
/* Defensive rule if a previously cached version of the footer remains in the DOM. */
.project-experience .case-footer,
.project-experience .case-track,
.project-experience .case-step,
.project-experience .case-arrows { display:none !important; }
body.case-open .project-experience { top:0!important;bottom:0!important; }
body.case-open #caseScroller,
body.case-open .case-scroller {
  inset:0!important;
  top:0!important;bottom:0!important;
  height:100%!important;
  overflow-y:hidden!important;
}
/* Aerial image: its full original height fits the viewport without top or bottom padding.
   On narrow screens the horizontal canvas expands to retain full height and full image. */
.case-panel.case-full-image.case-aerial {
  position:relative!important;
  width:max(100vw, 141.43dvh)!important;
  min-width:max(100vw, 141.43dvh)!important;
  max-height:100dvh!important;
  padding:0!important;
  display:block!important;
  overflow:hidden!important;
  background:#F8F8F8!important;
}
.case-aerial .case-full-image-figure,
.case-aerial .case-full-image-figure .artwork {
  position:relative;
  display:block!important;
  height:100%!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.case-aerial .case-full-image-figure img {
  object-fit:contain!important;
  width:100%!important;
  height:100%!important;
  object-position:center center!important;
}
.case-aerial .case-full-image-head {
  position:absolute;
  top:78px;
  left:max(18px, 3vw);
  right:max(18px, 3vw);
  height:auto;
  z-index:9;
  pointer-events:none;
  color:#4B3E34;
  justify-content:space-between;
  text-shadow: 0 1px 8px rgba(248,248,248,.85);
}
.case-aerial .case-full-image-figure figcaption {display:none!important;}
@media(max-width:899px){
  body.case-open #caseScroller {bottom:0!important;}
  .case-aerial .case-full-image-head{top:64px;left:18px;right:18px;}
}

/* V2.7 — responsive corrections verified against desktop and mobile viewports. */
.case-cover-information .case-cover-summary {
  max-width:100% !important;
  font-size:clamp(18px,1.65vw,26px)!important;
  line-height:1.2!important;
  overflow-wrap:normal!important;
}
.case-titleband-frame .artwork > img {
  transform:scale(1.19)!important;
  transform-origin:center center!important;
}
@media (max-width:899px) {
  .case-cover-titleband {
    position:relative;
    flex:0 0 29%;
    padding:0!important;
    display:block!important;
  }
  .case-titleband-top {
    position:absolute!important;
    top:73px;left:18px;right:18px;
    margin:0!important;
  }
  .case-titleband-frame {
    position:absolute!important;
    top:107px;
    left:50%;
    transform:translateX(-50%);
    width:96px!important;height:95px!important;
    margin:0!important;
  }
  .case-titleband-frame .artwork {
    width:100%!important;height:100%!important;
    aspect-ratio:auto!important;
  }
  .case-titleband-bottom {
    position:absolute!important;
    bottom:9px;left:18px;right:18px;
    margin:0!important;
  }
  .case-titleband-bottom h1 {
    font-size:clamp(29px,8vw,38px)!important;
    line-height:1!important;
    letter-spacing:-.055em!important;
    white-space:nowrap!important;
  }
  .case-cover-information {
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    padding:12px 18px 18px!important;
    gap:7px!important;
  }
  .case-intro-top {font-size:8px!important;flex:none!important;}
  .case-intro-center {flex:none!important;min-height:0!important;padding:0!important;}
  .case-cover-information .case-cover-summary {
    font-size:clamp(13px,3.3vw,17px)!important;
    line-height:1.13!important;
    max-width:100%!important;
  }
  .case-intro-bottom {flex:none!important;padding:0!important;gap:6px!important;}
  .case-specs {margin:0!important;grid-template-columns:1fr 1fr!important;gap:0 14px!important;}
  .case-specs>div {padding:5px 0!important;}
  .case-specs dt,.case-specs dd {font-size:8px!important;}
  .case-surface-highlight {margin:2px 0 0!important;padding:7px 0 0!important;gap:6px!important;}
  .case-surface-highlight span {font-size:8px!important;}
  .case-surface-highlight strong {font-size:38px!important;line-height:1!important;}
  .case-enter-compact {display:none!important;}
}

