
/* --- V2.20 refinements: project meta, grain, home brand, hover lines, San Carlo + Pur Vin --- */
.fine-grain{
  opacity:0 !important;
  background-image:url('assets/grain-trix400-d76.png') !important;
  background-repeat:repeat !important;
  background-size:256px 256px !important;
  mix-blend-mode:multiply !important;
}
body.case-open .fine-grain,
body.plan-viewer-open .fine-grain{opacity:.32 !important;z-index:310 !important;}

body.home-scrolled:not(.case-open) .header .brand{opacity:1 !important;visibility:visible !important;transform:none !important;pointer-events:auto !important;}

.header-end a{position:relative;padding:14px 0;}
.header-end a::after{position:absolute;bottom:7px;left:0;width:0;height:1px;background:var(--clay);content:'';transition:width .3s;}
.header-end a:hover::after{width:100%;}

.case-opening-thumb-meta{
  left:50% !important;
  right:auto !important;
  width:55% !important;
  transform:translate(-50%, calc(-100% - 0.5cm)) !important;
  top:27.05% !important;
}
.case-opening-v28.case-opening-san .case-opening-thumb-meta,
.case-opening-v28.case-opening-grande-parcelle .case-opening-thumb-meta,
.case-opening-v28.case-opening-pur-vin .case-opening-thumb-meta,
.case-opening-v28.case-opening-la-garenne .case-opening-thumb-meta{width:54% !important;}
@media(max-width:900px){
  .case-opening-thumb-meta{width:36% !important;top:31% !important;}
  .case-opening-v28.case-opening-san .case-opening-thumb-meta,
  .case-opening-v28.case-opening-grande-parcelle .case-opening-thumb-meta,
  .case-opening-v28.case-opening-pur-vin .case-opening-thumb-meta,
  .case-opening-v28.case-opening-la-garenne .case-opening-thumb-meta{width:36% !important;}
}

.allwork-tile.has-image .artwork,
.allwork-tile.has-image .artwork img{height:100%;width:100%;}
.allwork-tile.has-image .artwork img{object-fit:cover;object-position:center center;}
.allwork-tile[data-project="la-grande-parcelle"] .artwork img{object-position:left center;}

.case-panel.san-carlo-panel,
.case-panel.pur-vin-panel{background:var(--paper) !important;}
.case-panel.san-carlo-gap,
.case-panel.pur-vin-gap{margin-right:3cm !important;}
.case-panel.san-carlo-panel .case-figure,
.case-panel.pur-vin-panel .case-figure{height:100% !important;background:var(--paper) !important;}
.case-panel.san-carlo-panel .artwork,
.case-panel.pur-vin-panel .artwork{height:100% !important;background:var(--paper) !important;}
.case-panel.san-carlo-panel img,
.case-panel.pur-vin-panel img{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center center !important;background:transparent !important;}
.case-panel.san-carlo-panel figcaption,
.case-panel.pur-vin-panel figcaption{display:none !important;}
.case-panel.san-carlo-axo img,
.case-panel.pur-vin-axo img{object-fit:contain !important;background:transparent !important;}


.case-panel.pur-vin-schema{display:flex;align-items:center;justify-content:center;background:var(--paper)!important;}
.case-panel.pur-vin-schema .case-figure,.case-panel.pur-vin-schema .artwork{height:100%!important;width:100%!important;background:var(--paper)!important;}
.case-panel.pur-vin-schema img{width:50%!important;height:auto!important;max-height:70vh!important;object-fit:contain!important;object-position:center center!important;background:transparent!important;}
.case-panel.pur-vin-schema figcaption{display:none!important;}
.case-panel.la-garenne-panel{background:var(--paper)!important;}
.case-panel.la-garenne-gap{margin-right:3cm!important;}
.case-panel.la-garenne-panel .case-figure{height:100%!important;background:var(--paper)!important;}
.case-panel.la-garenne-panel .artwork{height:100%!important;background:var(--paper)!important;}
.case-panel.la-garenne-panel img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;background:transparent!important;}
.case-panel.la-garenne-panel figcaption{display:none!important;}
.case-panel.la-garenne-plan img{object-fit:contain!important;}
.case-opening-v28.case-opening-la-garenne .case-opening-thumb .artwork img{object-fit:cover!important;object-position:center center!important;}
