
/* ========================================================================
   AME Studio / V2.8 — 1/3 : 2/3 editorial composition
   ======================================================================== */
body.case-open .project-experience { inset:0!important; }
body.case-open .case-scroller { inset:0!important; height:100dvh!important; }
/* All project pages remain exclusively horizontal. */
.case-opening-v28,
.case-data-split-v28 { width:100vw!important; min-width:100vw!important; height:100dvh!important; padding:0!important; display:grid!important; gap:0!important; position:relative; overflow:hidden!important; }
.case-opening-v28 { grid-template-columns: 33.333333% 66.666667%!important; }
.case-data-split-v28 { grid-template-columns: 33.333333% 66.666667%!important; }
.case-opening-band { position:relative; height:100%; width:100%; background:#846264; overflow:hidden; }
.case-opening-thumb-meta { position:absolute; top:13.6%; left:6.7%; right:6.7%; display:flex; justify-content:space-between; align-items:center; font:600 clamp(10px,.85vw,13px)/1.3 var(--sans); color:#4B3E34; z-index:4; }
.case-opening-thumb { position:absolute; width:55%; height:39.6%; left:50%; bottom:33.333333%; transform:translateX(-50%); overflow:hidden; }
.case-opening-thumb .artwork {height:100%;width:100%;}
.case-opening-thumb .artwork img {width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;transform:none!important;}
.case-opening-title { position:absolute; bottom:6.4%; left:6.5%; right:4%; z-index:2; margin:0; font:700 clamp(52px,5.6vw,89px)/.94 var(--sans);letter-spacing:-.055em;color:#241c18; overflow-wrap:normal; }
.case-opening-perspective,.case-data-image{height:100%;width:100%;min-height:0;min-width:0;overflow:hidden;}
.case-opening-perspective .artwork,.case-data-image .artwork{height:100%;width:100%;overflow:hidden;}
.case-opening-perspective img,.case-data-image img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:center center!important;}
.case-opening-v28 .art-placeholder,.case-data-split-v28 .art-placeholder{display:none;}
.case-data-copy { height:100%; min-height:0; width:100%; overflow:hidden; background:#F8F8F8; padding:clamp(115px,15vh,152px) clamp(54px,7vw,134px) clamp(78px,9vh,116px) clamp(58px,6.2vw,110px); display:flex; flex-direction:column; justify-content:space-between; align-items:stretch; color:#4B3E34; }
.case-data-summary { font:400 clamp(24px,2.4vw,38px)/1.16 var(--sans);margin:0;max-width:27ch; letter-spacing:-.018em; }
.case-data-copy .case-specs-clean { display:grid!important; grid-template-columns:1fr!important;gap:0!important; margin:0!important;max-width:780px!important; }
.case-data-copy .case-specs-clean>div { border-top:1px solid rgba(75,62,52,.36); padding:clamp(10px,1.25vh,14px) 0!important; display:flex; justify-content:space-between;gap:18px; }
.case-data-copy .case-specs-clean>div:last-child { border-bottom:1px solid rgba(75,62,52,.36); }
.case-data-copy .case-specs-clean dt,.case-data-copy .case-specs-clean dd {font:400 clamp(10px,.84vw,14px)/1.15 var(--sans);letter-spacing:.07em;text-transform:uppercase;margin:0;}
.case-data-copy .case-specs-clean dd {text-align:right;}
.case-data-area { display:block; font:700 clamp(68px,7.9vw,137px)/.92 var(--sans); white-space:nowrap; letter-spacing:-.065em;color:#4B3E34; margin:0;padding:0; }
/* One bare and functional arrow in the lower right: no boxes, track or other chrome. */
.case-forward-v28 { display:flex!important;position:fixed;right:2.5vw;bottom:2.8vh;z-index:350; width:66px;height:48px;align-items:center;justify-content:center;border:0!important; outline-offset:4px;box-shadow:none!important;border-radius:0;background:transparent!important;color:#4B3E34;font:400 clamp(35px,3.2vw,54px)/1 var(--serif);cursor:pointer;transition:transform .24s ease,opacity .2s; }
.case-forward-v28:hover {transform:translateX(8px);}
.case-forward-v28:disabled {opacity:0;pointer-events:none;}
body:not(.case-open) .case-forward-v28 {display:none!important;}
.case-aerial .case-full-image-head {display:none!important;}
/* Keep the image source whole: the aerial frame owns exactly the image ratio times vh. */
.case-aerial .case-full-image-figure,.case-aerial .case-full-image-figure .artwork {height:100dvh!important;}
.case-aerial .case-full-image-figure img {object-fit:contain!important;object-position:center center!important;}
/* Transparent header overlays both views. */
body.case-open .header {position:fixed!important;top:0;left:0;right:0;background:transparent!important;border:0!important;z-index:320;pointer-events:none;}
body.case-open .header a,body.case-open .header button {pointer-events:auto;}
body.case-open .header .brand,body.case-open .header .brand-ame,body.case-open .header .brand-studio {color:#4B3E34!important;}
@media (max-width:899px){
  /* Vertical thirds preserve readable composition on portrait screens. */
  .case-opening-v28,.case-data-split-v28 {display:flex!important;flex-direction:column!important;}
  .case-opening-band {flex:0 0 33.333333%;height:33.333333%!important;position:relative;}
  .case-opening-perspective {flex:0 0 66.666667%;height:66.666667%!important;}
  .case-opening-thumb-meta {top:22%;left:5%;right:5%;font-size:9px;}
  .case-opening-thumb {top:31%;height:42%;bottom:auto;width:30%;}
  .case-opening-title {left:5%;bottom:6%;font-size:clamp(35px,8vw,56px);line-height:.97;white-space:nowrap;}
  .case-data-image {flex:0 0 33.333333%;height:33.333333%!important;}
  .case-data-copy {flex:0 0 66.666667%;height:66.666667%!important;padding:clamp(16px,3vh,25px) 7vw clamp(22px,4vh,38px);gap:10px!important;}
  .case-data-summary {font-size:clamp(19px,4.7vw,25px);line-height:1.13;max-width:30ch;}
  .case-data-copy .case-specs-clean>div {padding:6px 0!important;}
  .case-data-copy .case-specs-clean dt,.case-data-copy .case-specs-clean dd {font-size:10px;}
  .case-data-area {font-size:clamp(49px,12vw,74px);}
  .case-forward-v28 {right:3vw;bottom:1.5vh;width:45px;height:40px;font-size:37px;}
}
@media (max-height:680px) and (min-width:900px) {
  .case-data-copy {padding-top:85px;padding-bottom:55px;}
  .case-data-summary {font-size:24px;}
  .case-data-copy .case-specs-clean>div {padding:7px 0!important;}
  .case-data-area{font-size:clamp(65px,6vw,103px);}
}

/* No small project-stage captions or image-stage labels. */
.case-full-image-head,.case-image-kicker,.case-image-foot { display:none!important; }


/* --- V2.9 sequence refinements --- */
.case-data-copy .case-specs-clean {max-width: 520px !important; width: 100% !important;}
.case-data-copy {padding-right: clamp(48px,6vw,104px) !important;}
.case-data-copy .case-specs-clean > div {padding: clamp(8px,1vh,12px) 0 !important;}
.case-data-copy .case-specs-clean dt,
.case-data-copy .case-specs-clean dd {font-size: clamp(9px,.72vw,12px) !important;}
.case-data-area {margin-top: 20px !important;}
.case-data-image {background: var(--paper);}
.case-data-image .case-figure,
.case-data-image .artwork,
.case-data-image img {height:100% !important; width:100% !important;}
.case-data-image img {object-fit: cover !important; object-position: center center !important;}
.case-data-image figcaption {display:none !important;}

.case-plan-masse-full .case-full-image-figure,
.case-plan-masse-full .case-full-image-figure .artwork,
.case-plan-masse-full .case-full-image-figure img {height:100dvh !important; width:100% !important;}
.case-plan-masse-full .case-full-image-figure img {object-fit: cover !important; object-position: center center !important; background: var(--paper);}

.case-bioclimatic-full,
.case-atrium-full {width:100vw !important; min-width:100vw !important; height:100dvh !important; padding:0 !important; display:grid !important; gap:0 !important; overflow:hidden !important;}
.case-bioclimatic-full {grid-template-columns: 50% 50% !important;}
.case-atrium-full {grid-template-columns: 50% 50% !important;}
.case-bioclimatic-figure,
.case-atrium-figure {height:100% !important; min-height:0; margin:0 !important;}
.case-bioclimatic-figure .artwork,
.case-atrium-figure .artwork {height:100% !important; width:100% !important;}
.case-bioclimatic-figure img,
.case-atrium-figure img {height:100% !important; width:100% !important; object-fit: cover !important; object-position: center center !important; background: var(--paper);}
.case-bioclimatic-figure figcaption,
.case-atrium-figure figcaption {display:none !important;}

.case-cut-interactive {width:100vw !important; min-width:100vw !important; height:100dvh !important; padding:0 !important; position:relative; overflow:hidden !important; background: var(--paper);}
.case-cut-trigger {position:relative; display:block; width:100%; height:100%; padding:0; border:0; background:none; cursor:pointer; text-align:left;}
.case-cut-trigger .case-cut-figure,
.case-cut-trigger .case-cut-figure .artwork,
.case-cut-trigger .case-cut-figure img {width:100%; height:100% !important;}
.case-cut-trigger .case-cut-figure img {object-fit: cover !important; object-position:center center !important; background: var(--paper);}
.case-cut-trigger figcaption {display:none !important;}
.case-cut-hint {position:absolute; right:2.5vw; bottom:2.4vh; font:600 11px/1 var(--sans); letter-spacing:.08em; text-transform:uppercase; color:#4B3E34; background:rgba(248,248,248,.78); padding:10px 14px; backdrop-filter: blur(8px);}
.case-cut-plans {position:absolute; inset:0; display:grid !important; grid-template-columns: 50% 50%; gap:0; background: rgba(248,248,248,.98);}
.case-cut-plans[hidden] {display:none !important;}
.case-cut-plans.is-visible {display:grid !important;}
.case-plan-figure,
.case-plan-figure .artwork,
.case-plan-figure img {width:100%; height:100% !important;}
.case-plan-figure img {object-fit: contain !important; object-position:center center !important; background: var(--paper);}
.case-plan-figure figcaption {display:none !important;}

@media (max-width:899px){
  .case-data-copy .case-specs-clean {max-width:100% !important;}
  .case-bioclimatic-full,
  .case-atrium-full,
  .case-cut-plans {grid-template-columns:1fr !important;}
  .case-cut-hint {right:5vw; bottom:2vh; font-size:9px; padding:8px 10px;}
}


/* --- V2.10 data-only panel and plan masse alignment --- */
.case-data-full-v30 {width:100vw !important; min-width:100vw !important; height:100dvh !important; display:block !important; position:relative; background:var(--paper); overflow:hidden !important;}
.case-data-full-v30 .case-data-copy-full {height:100%; width:100%; max-width:none !important; padding:clamp(118px,15vh,156px) 0 clamp(72px,8vh,104px) clamp(20px,1.2vw,28px) !important; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start;}
.case-data-full-v30 .case-data-summary {max-width:16ch; font-size:clamp(28px,3vw,54px); line-height:1.12; margin:0 0 28px;}
.case-data-full-v30 .case-specs-clean {width:36vw !important; max-width:600px !important; min-width:560px;}
.case-data-full-v30 .case-data-area {font-size:clamp(76px,8vw,144px); margin-top:26px !important;}

.case-aerial .case-full-image-figure,
.case-aerial .case-full-image-figure .artwork {height:100dvh !important; width:100% !important;}
.case-aerial .case-full-image-figure img {object-fit:cover !important; object-position:center center !important; background:var(--paper);}
.case-aerial figcaption {display:none !important;}

.case-plan-masse-full {background:var(--paper) !important;}
.case-plan-masse-full .case-full-image-figure,
.case-plan-masse-full .case-full-image-figure .artwork,
.case-plan-masse-full .case-full-image-figure img {height:100dvh !important; width:100% !important;}
.case-plan-masse-full .case-full-image-figure img {object-fit:cover !important; object-position:center 44% !important; background:var(--paper); transform:none !important;}
.case-plan-masse-full figcaption {display:none !important;}

@media (max-width:899px){
  .case-data-full-v30 .case-data-copy-full {padding:84px 7vw 32px !important;}
  .case-data-full-v30 .case-data-summary {font-size:clamp(22px,6.8vw,38px); max-width:14ch;}
  .case-data-full-v30 .case-specs-clean {width:100% !important; min-width:0; max-width:100% !important;}
  .case-data-full-v30 .case-data-area {font-size:clamp(56px,14vw,92px);}
}


/* --- V2.11 refinements --- */
.case-bioclimatic-figure img {object-fit:cover !important;}
.case-bioclimatic-full .case-bioclimatic-figure:first-child img {object-position:center 42% !important;}
.case-bioclimatic-full .case-bioclimatic-figure:last-child img {object-position:center 46% !important;}

.case-cut-trigger {overflow:hidden;}
.case-cut-trigger .case-cut-figure img {object-fit:cover !important; object-position:center center !important;}
.case-cut-hint {right:2.2vw; bottom:2.2vh; background:rgba(248,248,248,.82);}

.plan-viewer-open {overflow:hidden !important;}
.plan-viewer {position:fixed; inset:0; z-index:1000; background:rgba(248,248,248,.98); display:grid; grid-template-columns:84px 1fr 84px; align-items:center;}
.plan-viewer-stage {width:100%; height:100dvh; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.plan-viewer-stage img {max-width:100%; max-height:100dvh; width:auto; height:auto; object-fit:contain; box-shadow:none;}
.plan-viewer-arrow, .plan-viewer-close {appearance:none; border:0; background:transparent; color:#4B3E34; cursor:pointer;}
.plan-viewer-arrow {height:100%; font:400 clamp(34px,2.8vw,52px)/1 var(--serif);}
.plan-viewer-close {position:absolute; top:18px; right:24px; width:44px; height:44px; font:400 38px/1 var(--serif); z-index:2;}
.plan-viewer-arrow:hover, .plan-viewer-close:hover {opacity:.7;}
@media (max-width:899px){
  .case-plan-masse-full .case-full-image-figure img {object-position:center 43% !important;}
  .plan-viewer {grid-template-columns:56px 1fr 56px;}
  .plan-viewer-close {top:12px; right:12px; width:36px; height:36px; font-size:30px;}
}
