/* Approved homepage treatment. Department pages keep their existing appearance. */
body.cm-home-atelier #shop-occasions .occasion-tile>span{border-bottom:0;}
body.cm-home-atelier #shop-occasions .occasion-tile>.cm-halo-media{padding:0;margin:0;border:0;}
/* Soft Halo is limited to the two approved homepage preview sections. */
body.cm-home-atelier #collections .piece-card{aspect-ratio:auto;overflow:visible;background:transparent;color:var(--ink);justify-content:start;}
body.cm-home-atelier #collections .piece-card::before{display:none;}
body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media{display:block;position:relative;overflow:hidden;border-radius:14px;background:#f1f1eb;box-shadow:0 5px 16px #3145290d;isolation:isolate;transition:box-shadow .45s,transform .5s;}
body.cm-home-atelier #collections .cm-halo-media{aspect-ratio:4/5;}
body.cm-home-atelier #collections .cm-halo-media img{position:static;display:block;inset:auto;width:100%;height:100%;object-fit:cover;object-position:center top;transform:none;filter:none;mask-image:none;-webkit-mask-image:none;z-index:auto;}
body.cm-home-atelier #collections .piece-card__body{padding:16px 0 0;color:var(--ink);}
body.cm-home-atelier #collections .piece-card__body p{color:var(--slate);}
body.cm-home-atelier #collections .piece-card__link{color:var(--pine);border-color:var(--pine);}
body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media::after{content:'';position:absolute;inset:-70% -80%;background:linear-gradient(110deg,transparent 40%,#fff8 49%,transparent 58%);transform:translateX(-70%);transition:transform .8s;pointer-events:none;}
body.cm-home-atelier :is(#collections .piece-card,#shop-occasions .occasion-tile):is(:hover,:focus-visible) .cm-halo-media{box-shadow:0 8px 24px #b6a08055;transform:translateY(-4px);}
body.cm-home-atelier :is(#collections .piece-card,#shop-occasions .occasion-tile):is(:hover,:focus-visible) .cm-halo-media::after{transform:translateX(70%);}
body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media img{transition:transform .7s,filter .7s;}
body.cm-home-atelier :is(#collections .piece-card,#shop-occasions .occasion-tile):is(:hover,:focus-visible) .cm-halo-media img{transform:scale(1.035);filter:brightness(1.045);}
body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media.is-halo-visible{animation:cm-halo-reveal .65s both;animation-delay:var(--halo-delay,0ms);}
@keyframes cm-halo-reveal{from{opacity:.5;translate:0 14px;}to{opacity:1;translate:0 0;}}
@media(prefers-reduced-motion:reduce){body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media,body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media::after,body.cm-home-atelier :is(#collections,#shop-occasions) .cm-halo-media img{animation:none!important;transition:none!important;}}
@font-face{font-family:'Herr Von Muellerhoff';src:url('../assets/fonts/HerrVonMuellerhoff-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
body.cm-home-atelier.cm-modern-white #siteHeader,
body.cm-home-atelier.cm-modern-white #siteHeader.solid{background:#111715!important;color:#eee9df;border-color:#37423b;}
body.cm-home-atelier #siteHeader::before{background:rgba(17,23,21,.96);}
body.cm-home-atelier #siteHeader :is(.main-nav a,.hdr-menu-label,.header-actions > a,.header-actions > button){color:#eee9df!important;}
body.cm-home-atelier #siteHeader .McButton b{background:#eee9df;}
body.cm-home-atelier #siteHeader>.brand img{filter:grayscale(1) invert(1);}
body.cm-home-atelier .announce{background:#eee7d5;color:#183b2d;border-bottom:1px solid #d7cfbd;}
body.cm-home-atelier .announce :is(a,button){color:#183b2d;}
body.cm-home-atelier :is(#megaPanel,#siteMenu){--ink:#303030;--paper:#fff;--slate:#656565;--pine:#153e31;--pine-deep:#153e31;background:#fff!important;color:#303030;}
body.cm-home-atelier #siteHeader #megaPanel :is(a,h4,b,span,em,i){color:inherit!important;}
body.cm-home-atelier #siteHeader #megaPanel .mega__img{background:#f4f3ee;}
body.cm-home-atelier :is(#featured,#event-journal){--paper:#111715;--paper-dim:#38443b;--ink:#f0ece3;--slate:#bec6bc;--pine:#b6c5ad;--brass-deep:#c9b890;background:#111715;color:#f0ece3;}
body.cm-home-atelier :is(#featured,#event-journal) :is(h2,h3,h4,p,.eyebrow,.piece-tag,figcaption,.event-journal__link,.home-review-disclosure){color:inherit;}
body.cm-home-atelier :is(#featured,#event-journal) p{color:#c7cec4;}
body.cm-home-atelier #featured .featured-tabs button{background:transparent;color:#d4dbd0;border-color:#677260;}
body.cm-home-atelier #featured .featured-tabs button[aria-selected=true]{background:#e9e4d6;color:#1b281e;border-color:#e9e4d6;}
body.cm-home-atelier #featured .featured-card{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;}
body.cm-home-atelier #featured .featured-card:hover{background:transparent;border:0;box-shadow:none;transform:none;}
body.cm-home-atelier #featured .featured-card__image{background:#fff;}
body.cm-home-atelier #featured .featured-card :is(h3,p,span){padding-inline:0;color:#eee9df;}
body.cm-home-atelier #featured .featured-card .cm-card-reviews{border:0;}
body.cm-home-atelier #featured .featured-save{color:#c6cdbc;border-color:#3f4d41;}
body.cm-home-atelier #featured .featured-save span{padding:0;}
body.cm-home-atelier #featured .grid-foot a{color:#e9e4d6;border-color:#a5b19a;}
body.cm-home-atelier #event-journal .home-customer-reviews{border-color:#435043;}
body.cm-home-atelier #event-journal .home-review-invite a{color:#e8e3d8;}
/* One continuous board area: copy, 3D scene and department keys share the section. */
body.cm-home-atelier :is(#heroBoard,#diagram,#featured,#event-journal){scroll-margin-top:84px;}
body.cm-home-atelier .play-board{padding:0;background:#f1eee7;}
body.cm-home-atelier .play-board #heroBoard{max-width:none;width:100%;margin:0;border:0;grid-template-columns:minmax(340px,.85fr) minmax(0,1.3fr);grid-template-rows:minmax(600px,70vh) auto;}
body.cm-home-atelier .play-board .hb-copy{padding:48px clamp(28px,5vw,90px);}
body.cm-home-atelier .play-board .categories__head{display:block;padding:0;margin:0 0 28px;border:0;}
body.cm-home-atelier .play-board .categories__head h2{font-size:clamp(46px,4vw,68px);margin:0 0 10px;}
body.cm-home-atelier .play-board .categories__head p{max-width:34ch;font-size:18px;line-height:1.45;}
body.cm-home-atelier .play-board .hb-copy>h2{font-size:36px;line-height:1.08;}
body.cm-home-atelier .play-board .hb-copy .hb-sub{font-size:18px;line-height:1.45;}
body.cm-home-atelier .play-board .hb-keys{padding-inline:clamp(20px,5vw,90px);}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-continuous-title{font-family:var(--script)!important;font-size:clamp(42px,3.7vw,62px);line-height:1.16;font-weight:400;letter-spacing:0;color:var(--pine);margin:0 0 32px;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-seat-title{font-size:36px;line-height:1.1;font-weight:400;margin:12px 0 20px;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-sub{margin:0;max-width:34ch;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy :is(.hb-continuous-title,.hb-eyebrow){display:block;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-keys{gap:8px;border:0;padding-block:18px 24px;background:transparent;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key{grid-template-columns:1fr;grid-template-rows:30px auto auto;justify-items:center;text-align:center;row-gap:6px;min-height:104px;padding:12px 6px;border:0!important;position:relative;background:transparent;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key svg{grid-row:1;align-self:center;width:22px;height:28px;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key b{font-size:11px;font-weight:400;letter-spacing:.13em;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key span{font-size:17px;line-height:1.25;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key::after{content:'';position:absolute;bottom:0;width:32px;height:1px;background:#a99b7c;opacity:.35;transition:width .2s,opacity .2s;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key:is(:hover,:focus-visible,.is-on){background:transparent;color:var(--pine);}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-key:is(:hover,:focus-visible,.is-on)::after{width:64px;opacity:1;}
@media(max-width:760px){body.cm-home-atelier.cm-modern-white #heroBoard .hb-continuous-title{font-size:46px;max-width:18ch;margin-bottom:26px;}body.cm-home-atelier.cm-modern-white #heroBoard .hb-seat-title{font-size:32px;}body.cm-home-atelier.cm-modern-white #heroBoard .hb-keys{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 4px;}body.cm-home-atelier.cm-modern-white #heroBoard .hb-key span{font-size:16px;}}

/* Room navigation and customer reviews. The whole page keeps its existing fonts. */
body.cm-home-atelier #diagram{width:100%!important;max-width:none!important;padding:60px 0 0!important;margin:0!important;}
body.cm-home-atelier #diagram .diagram-head{padding:24px 24px 0;}
.room-scene__hint{display:none;font-size:14px!important;margin-top:8px!important;}
.room-scene__canvas{position:relative;isolation:isolate;background:#191915;outline-offset:-3px;}
.room-scene__viewport{position:relative;}
.room-scene__photo{display:block;width:100%;height:auto;}
.room-scene__map{position:absolute;inset:0;width:100%;height:100%;}
.room-scene__target{cursor:pointer;outline:none;}
.room-scene__region{fill:#fff1cd;fill-opacity:.035;stroke:none;filter:blur(5px);transition:fill-opacity .6s,filter .6s;}
.room-scene__target.is-in-view .room-scene__region{fill-opacity:.12;filter:blur(8px);}
.room-scene__target:is(:hover,:focus-visible) .room-scene__region{fill-opacity:.16;filter:blur(8px);}
.room-scene__label{opacity:0;pointer-events:none;transition:opacity .4s;}
.room-scene__target:is(:hover,:focus-visible) .room-scene__label{opacity:1;}
.room-scene__label text{fill:#fff;font-family:'Herr Von Muellerhoff',cursive!important;font-size:44px;font-weight:400;font-synthesis:none;filter:drop-shadow(0 1px 1px #0009);transform:translateY(10px) scale(.96);transform-box:fill-box;transform-origin:center;transition:transform .45s cubic-bezier(.2,.7,.2,1);}
.room-scene__target:is(:hover,:focus-visible) .room-scene__label text{transform:translateY(0) scale(1);}
@media(hover:none){.room-scene__target.is-label-visible .room-scene__label{opacity:1;}.room-scene__target.is-label-visible .room-scene__label text{transform:translateY(0) scale(1);}}
.room-mobile-controls{display:none;}
body.cm-home-atelier .anatomy-tabs{margin:24px auto 28px;}
.reviews-restored{background:#fff;color:#17191a;padding:32px 0 48px;}
.reviews-restored .home-customer-reviews{width:calc(100% - clamp(40px,12vw,192px));max-width:1600px;margin:0 auto;}
.reviews-restored .home-customer-reviews :is(h3,h4,p,a){color:inherit;}
@media(max-width:760px){body.cm-home-atelier .play-board #heroBoard{display:flex;flex-direction:column;}body.cm-home-atelier .play-board .hb-copy{padding:36px 24px 10px;}body.cm-home-atelier .play-board .hb-stage{height:clamp(330px,83vw,520px);}body.cm-home-atelier .play-board .hb-keys{padding-inline:16px;}}
@media(max-width:700px){
 .room-scene__hint{display:block;}
 .anatomy-panel{position:relative;}
 .room-scene__canvas{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a28e67 #e4dfd1;}
 .room-scene__viewport{min-width:0;width:100%;}
 .room-scene__canvas.is-zoomed .room-scene__viewport{min-width:680px;width:185%;}
 .room-scene__canvas:not(.is-zoomed) .room-scene__label{opacity:0!important;}
 .room-mobile-controls{position:absolute;top:10px;left:10px;right:10px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none;}
 .room-mobile-controls button,.room-pan-cue{pointer-events:auto;background:rgba(18,29,22,.73);color:#fff8e8;border:0;border-radius:20px;font:12px/1.3 Arial,sans-serif!important;padding:9px 12px;min-height:36px;box-shadow:0 1px 7px #0002;}
 .room-mobile-controls button:focus-visible{outline:2px solid #e2cfa7;outline-offset:2px;}
 .room-pan-cue{pointer-events:none;transition:opacity .4s;}
 .room-pan-cue[hidden]{display:none;}
 .room-pan-cue.has-panned{opacity:.45;}
}
@media(prefers-reduced-motion:reduce){body.cm-home-atelier #featured .featured-card,.room-scene__region,.room-scene__label,.room-scene__label text,.room-pan-cue{transition:none;}}

/* Play the board, centered "signature" header (H4, 2026-11): label, gold script, instruction, then the board and tabs. */
body.cm-home-atelier .play-board #heroBoard{display:flex;flex-direction:column;}
body.cm-home-atelier .play-board #heroBoard .hb-copy--center{align-self:center;text-align:center;padding:clamp(44px,5vw,72px) 24px 0;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-eyebrow{font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:.28em;color:var(--brass);}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-continuous-title{font-size:clamp(58px,6vw,84px);line-height:1.1;color:var(--brass);margin:6px 0 0;max-width:none;transform:rotate(-4deg);}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-sub{font-size:16px;font-weight:300;line-height:1.6;color:#4a5650;margin:10px auto 0;max-width:46ch;}
body.cm-home-atelier .play-board #heroBoard .hb-stage{height:clamp(420px,58vh,640px);flex:none;}
@media(max-width:760px){body.cm-home-atelier .play-board #heroBoard .hb-copy--center{padding:68px 20px 0;}body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-continuous-title{font-size:56px;margin:4px 0 0;}body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-sub{font-size:15px;}body.cm-home-atelier .play-board #heroBoard .hb-stage{height:clamp(320px,82vw,480px);}}
/* Board header spacing + minimal zoom controls under the board (2026-11) */
body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-continuous-title{margin:22px 0 18px;}
body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-sub{margin-top:14px;}
body.cm-home-atelier .play-board #heroBoard>.hb-copy{order:1}
body.cm-home-atelier .play-board #heroBoard>.hb-stage{order:2}
body.cm-home-atelier .play-board #heroBoard>.hb-controls{order:3;position:static;justify-content:center;gap:4px;margin:6px 0 0;}
body.cm-home-atelier .play-board #heroBoard>.hb-keys{order:4}
body.cm-home-atelier .play-board #heroBoard .hb-controls button{min-width:32px;min-height:32px;padding:4px 8px;border:0;background:none;border-radius:0;color:#7a7568;font-size:1.15rem;}
body.cm-home-atelier .play-board #heroBoard .hb-controls button:last-child{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;margin-left:8px;padding-left:14px;border-left:1px solid #cfc8ba;min-height:18px;}
body.cm-home-atelier .play-board #heroBoard .hb-controls button:hover{color:var(--pine);background:none;}
@media(max-width:760px){body.cm-home-atelier .play-board #heroBoard .hb-copy--center{padding-top:40px;}body.cm-home-atelier.cm-modern-white #heroBoard .hb-copy--center .hb-continuous-title{margin:16px 0 14px;}}
/* Occasions: first six, then "Show more occasions" (2026-11) */
#occasionTiles.is-collapsed .occasion-tile:nth-child(n+7){display:none;}
.occasion-more{display:flex;justify-content:center;margin:34px 0 0;}
.occasion-more button{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:0 28px;border:1px solid #173c2c;background:transparent;color:#173c2c;font:500 12px/1 var(--sans,Jost,Arial,sans-serif);letter-spacing:.16em;text-transform:uppercase;cursor:pointer;transition:background .25s,color .25s;}
.occasion-more button:hover,.occasion-more button:focus-visible{background:#173c2c;color:#fff;}
.occasion-more svg{width:16px;height:16px;transition:transform .25s;}
.occasion-more button[aria-expanded="true"] svg{transform:rotate(180deg);}
@media(max-width:600px){.occasion-more{margin-top:26px}.occasion-more button{width:100%;justify-content:center;}}
#shop-occasions .occasion-more button{font-size:12px!important;letter-spacing:.16em!important;line-height:1!important;}

/* ---- Soft blend between homepage sections (2026-11). Strips sit BETWEEN sections, so nothing inside a section is covered or cropped. ---- */
.cm-blend{display:block;height:var(--h,72px);pointer-events:none;margin:0;
  background:linear-gradient(180deg,var(--a) 0%,color-mix(in oklab,var(--a) 96%,var(--b)) 12%,color-mix(in oklab,var(--a) 80%,var(--b)) 30%,color-mix(in oklab,var(--a) 50%,var(--b)) 50%,color-mix(in oklab,var(--a) 20%,var(--b)) 70%,color-mix(in oklab,var(--a) 4%,var(--b)) 88%,var(--b) 100%)}
.cm-blend--light{--h:64px}
.cm-blend--deep{--h:150px}
/* photo edge: a blurred mirror of the photo's own bottom edge, melting into the next colour */
.cm-blend--photo{--h:150px;position:relative;overflow:hidden;background:var(--b)}
.cm-blend--photo::before{content:"";position:absolute;left:-60px;right:-60px;top:-50px;height:calc(100% + 50px);background:var(--img,none) center bottom/100% auto no-repeat;transform:scaleY(-1);filter:blur(26px) saturate(.92)}
.cm-blend--photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in oklab,var(--b) 0%,transparent) 0%,color-mix(in oklab,var(--b) 30%,transparent) 22%,color-mix(in oklab,var(--b) 70%,transparent) 48%,var(--b) 82%)}
@media(max-width:650px){
  .cm-blend--light{--h:44px}.cm-blend--deep{--h:96px}.cm-blend--photo{--h:96px}
  /* on phones the hero ends in solid green, so its strip is a plain colour blend */
  .cm-blend--photo[data-blend-src="#showcase .scene"]{background:linear-gradient(180deg,var(--a) 0%,color-mix(in oklab,var(--a) 80%,var(--b)) 25%,color-mix(in oklab,var(--a) 45%,var(--b)) 50%,color-mix(in oklab,var(--a) 12%,var(--b)) 78%,var(--b) 100%)}
  .cm-blend--photo[data-blend-src="#showcase .scene"]::before,.cm-blend--photo[data-blend-src="#showcase .scene"]::after{display:none}
}
.cm-blend--photo{margin-top:-24px;z-index:1;-webkit-mask:linear-gradient(180deg,transparent 0,#000 24px);mask:linear-gradient(180deg,transparent 0,#000 24px)}
.cm-blend--photo::before{opacity:.75}
@media(max-width:650px){.cm-blend--photo[data-blend-src="#showcase .scene"]{margin-top:0;-webkit-mask:none;mask:none}}

/* ---- Smoother, lighter blends (2026-11-11): taller strips, cosine-eased 13-stop gradient, softer photo mirror ---- */
.cm-blend{background:linear-gradient(180deg,color-mix(in oklab,var(--a) 100.0%,var(--b)) 0.0%,color-mix(in oklab,var(--a) 98.3%,var(--b)) 8.3%,color-mix(in oklab,var(--a) 93.3%,var(--b)) 16.7%,color-mix(in oklab,var(--a) 85.4%,var(--b)) 25.0%,color-mix(in oklab,var(--a) 75.0%,var(--b)) 33.3%,color-mix(in oklab,var(--a) 62.9%,var(--b)) 41.7%,color-mix(in oklab,var(--a) 50.0%,var(--b)) 50.0%,color-mix(in oklab,var(--a) 37.1%,var(--b)) 58.3%,color-mix(in oklab,var(--a) 25.0%,var(--b)) 66.7%,color-mix(in oklab,var(--a) 14.6%,var(--b)) 75.0%,color-mix(in oklab,var(--a) 6.7%,var(--b)) 83.3%,color-mix(in oklab,var(--a) 1.7%,var(--b)) 91.7%,color-mix(in oklab,var(--a) 0.0%,var(--b)) 100.0%)}
.cm-blend--light{--h:110px}
.cm-blend--deep{--h:240px}
.cm-blend--photo{--h:200px;background:var(--b)}
.cm-blend--photo::before{opacity:.35;filter:blur(44px) saturate(.85)}
.cm-blend--photo::after{background:linear-gradient(180deg,color-mix(in oklab,var(--b) 0%,transparent) 0%,color-mix(in oklab,var(--b) 25%,transparent) 15%,color-mix(in oklab,var(--b) 55%,transparent) 32%,color-mix(in oklab,var(--b) 82%,transparent) 50%,var(--b) 68%)}
@media(max-width:650px){.cm-blend--light{--h:70px}.cm-blend--deep{--h:150px}.cm-blend--photo{--h:130px}
 .cm-blend--photo[data-blend-src="#showcase .scene"]{background:linear-gradient(180deg,color-mix(in oklab,var(--a) 100.0%,var(--b)) 0.0%,color-mix(in oklab,var(--a) 98.3%,var(--b)) 8.3%,color-mix(in oklab,var(--a) 93.3%,var(--b)) 16.7%,color-mix(in oklab,var(--a) 85.4%,var(--b)) 25.0%,color-mix(in oklab,var(--a) 75.0%,var(--b)) 33.3%,color-mix(in oklab,var(--a) 62.9%,var(--b)) 41.7%,color-mix(in oklab,var(--a) 50.0%,var(--b)) 50.0%,color-mix(in oklab,var(--a) 37.1%,var(--b)) 58.3%,color-mix(in oklab,var(--a) 25.0%,var(--b)) 66.7%,color-mix(in oklab,var(--a) 14.6%,var(--b)) 75.0%,color-mix(in oklab,var(--a) 6.7%,var(--b)) 83.3%,color-mix(in oklab,var(--a) 1.7%,var(--b)) 91.7%,color-mix(in oklab,var(--a) 0.0%,var(--b)) 100.0%)}}
/* ---- Blends, in-between (2026-11-11): medium lengths; the photo strip no longer overlaps the photo, and starts faint ---- */
.cm-blend--light{--h:84px}
.cm-blend--deep{--h:190px}
.cm-blend--photo{--h:170px;margin-top:0;-webkit-mask:none;mask:none}
.cm-blend--photo::before{opacity:.45;filter:blur(32px) saturate(.88);-webkit-mask:linear-gradient(180deg,#000 0,#000 30%,transparent 80%);mask:linear-gradient(180deg,#000 0,#000 30%,transparent 80%)}
.cm-blend--photo::after{background:linear-gradient(180deg,color-mix(in oklab,var(--b) 8%,transparent) 0%,color-mix(in oklab,var(--b) 22%,transparent) 14%,color-mix(in oklab,var(--b) 45%,transparent) 30%,color-mix(in oklab,var(--b) 72%,transparent) 48%,color-mix(in oklab,var(--b) 92%,transparent) 64%,var(--b) 78%)}
@media(max-width:650px){.cm-blend--light{--h:56px}.cm-blend--deep{--h:120px}.cm-blend--photo{--h:110px}}
.cm-blend--photo::before{opacity:1;filter:blur(24px) saturate(.9);-webkit-mask:linear-gradient(0deg,#000 0,rgba(0,0,0,.85) 18%,rgba(0,0,0,.5) 42%,rgba(0,0,0,.18) 66%,transparent 88%);mask:linear-gradient(0deg,#000 0,rgba(0,0,0,.85) 18%,rgba(0,0,0,.5) 42%,rgba(0,0,0,.18) 66%,transparent 88%)}
.cm-blend--photo::after{background:linear-gradient(180deg,transparent 0%,color-mix(in oklab,var(--b) 10%,transparent) 15%,color-mix(in oklab,var(--b) 35%,transparent) 35%,color-mix(in oklab,var(--b) 68%,transparent) 55%,color-mix(in oklab,var(--b) 92%,transparent) 75%,var(--b) 90%)}
/* ---- Blends v4 (2026-11-11): back to the first sizes and the soft edge over the photo, with smoother easing ---- */
.cm-blend--light{--h:72px}
.cm-blend--deep{--h:160px}
.cm-blend--photo{--h:160px;margin-top:-32px;-webkit-mask:linear-gradient(180deg,transparent 0,rgba(0,0,0,.12) 8px,rgba(0,0,0,.4) 16px,rgba(0,0,0,.78) 24px,#000 32px);mask:linear-gradient(180deg,transparent 0,rgba(0,0,0,.12) 8px,rgba(0,0,0,.4) 16px,rgba(0,0,0,.78) 24px,#000 32px)}
.cm-blend--photo::before{opacity:.7;filter:blur(26px) saturate(.92);-webkit-mask:none;mask:none}
.cm-blend--photo::after{background:linear-gradient(180deg,transparent 0%,color-mix(in oklab,var(--b) 6%,transparent) 10%,color-mix(in oklab,var(--b) 20%,transparent) 22%,color-mix(in oklab,var(--b) 42%,transparent) 36%,color-mix(in oklab,var(--b) 66%,transparent) 50%,color-mix(in oklab,var(--b) 86%,transparent) 64%,color-mix(in oklab,var(--b) 97%,transparent) 78%,var(--b) 90%)}
@media(max-width:650px){.cm-blend--light{--h:48px}.cm-blend--deep{--h:104px}.cm-blend--photo{--h:110px}
 .cm-blend--photo[data-blend-src="#showcase .scene"]{margin-top:0;-webkit-mask:none;mask:none}}
/* ---- Tighter photo edges (hero + Anatomy room), 2026-11-11 ---- */
.cm-blend--photo{--h:84px;margin-top:-20px;-webkit-mask:linear-gradient(180deg,transparent 0,rgba(0,0,0,.3) 6px,rgba(0,0,0,.75) 13px,#000 20px);mask:linear-gradient(180deg,transparent 0,rgba(0,0,0,.3) 6px,rgba(0,0,0,.75) 13px,#000 20px)}
.cm-blend--photo::before{top:-20px;height:calc(100% + 20px);opacity:.8;filter:blur(12px) saturate(.95)}
.cm-blend--photo::after{background:linear-gradient(180deg,transparent 0%,color-mix(in oklab,var(--b) 18%,transparent) 18%,color-mix(in oklab,var(--b) 50%,transparent) 38%,color-mix(in oklab,var(--b) 82%,transparent) 58%,color-mix(in oklab,var(--b) 97%,transparent) 76%,var(--b) 88%)}
@media(max-width:650px){.cm-blend--photo{--h:60px}}
.cm-blend--photo[data-blend-src="#showcase .scene"]::before{opacity:.4;filter:blur(16px) saturate(.9)}
/* ---- Stronger blur on the tight photo edges (2026-11-11) ---- */
.cm-blend--photo{margin-top:-28px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-mask:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 8px,rgba(0,0,0,.8) 18px,#000 28px);mask:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 8px,rgba(0,0,0,.8) 18px,#000 28px)}
.cm-blend--photo::before{top:-28px;height:calc(100% + 28px);opacity:.9;filter:blur(22px) saturate(.95)}
.cm-blend--photo[data-blend-src="#showcase .scene"]::before{opacity:.55;filter:blur(24px) saturate(.9)}
@media(max-width:650px){.cm-blend--photo[data-blend-src="#showcase .scene"]{-webkit-backdrop-filter:none;backdrop-filter:none}}
