/* Atelier v17: all selectors are opt-in and local to the module. */
.mv-experience{--exp-ink:#2e4d43;--exp-soft:#718879;--exp-height:100svh;--exp-title:clamp(30px,4.2vw,55px);--exp-body:clamp(14px,1.25vw,18px);color:var(--exp-ink);margin:40px auto;max-width:1440px;position:relative}
.mv-exp-stage{background:radial-gradient(ellipse at 66% 31%,#eef2e9,#e0e9da 70%,#d3e1cf);border-radius:26px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(16px,4vw,50px);padding:clamp(20px,4vw,55px);position:relative;overflow:hidden;isolation:isolate;box-sizing:border-box}
.mv-exp-visual{box-sizing:border-box;padding-top:26px;position:relative;min-width:0;min-height:280px;display:flex;align-items:center;justify-content:center;gap:20px}
.mv-exp-kicker{position:absolute;left:0;top:0;margin:0;font:600 10px/1.4 system-ui;letter-spacing:.12em;max-width:100%;z-index:3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-exp-card{position:relative;flex:none;width:43%;transform-origin:center;filter:drop-shadow(0 18px 25px #364a3730)}
.mv-exp-card>img{display:block;width:100%;height:100%;object-fit:contain}
.mv-exp-qr{position:absolute;opacity:0;border:2px solid #fff4d5d9;border-radius:12%;background:#fff2cc33;box-shadow:0 0 0 4px #fff6dd30,0 0 28px 7px #f9e3b075,inset 0 0 20px #fff6da99;box-sizing:border-box;pointer-events:none}
.mv-exp-phone{position:relative;aspect-ratio:.49;width:40%;margin:0;border:3px solid #405a49;border-radius:14px;padding:3px;background:#fffaf3;box-shadow:0 12px 24px -8px #25362c38;overflow:hidden;box-sizing:border-box;flex:none}
.mv-exp-phone>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0;border-radius:8px}
.mv-experience [hidden]{display:none!important}
.mv-exp-bloom,.mv-exp-glow{position:absolute;inset:10%;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,#fff6dfaa,transparent 70%);opacity:0}
.mv-exp-rail{align-self:end;min-width:0;z-index:5}
.mv-exp-eyebrow{display:block;font:600 11px/1.4 system-ui;letter-spacing:.15em;margin-bottom:8px}
.mv-exp-chapter{margin:0 0 24px}
.mv-exp-chapter h2{font:400 var(--exp-title)/1.06 Georgia,serif;letter-spacing:-.035em;margin:0 0 12px;color:var(--exp-ink)}
.mv-exp-chapter p{font:400 var(--exp-body)/1.48 system-ui;margin:0;max-width:46ch;color:#5f6d60}
.mv-exp-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
.mv-exp-choices button{min-height:36px;padding:7px 10px;border:1px solid #9fb5a1;border-radius:9px;background:#f8f6eeb3;color:#536a56;font:500 12px/1.3 system-ui;cursor:pointer}
.mv-exp-choices button[aria-pressed=true]{background:#718879;color:white;border-color:#718879}
.mv-exp-choices button:focus-visible,.mv-exp-skip:focus-visible{outline:2px solid #2e4d43;outline-offset:3px}
.mv-exp-footer{display:flex;align-items:center;gap:12px;border-top:1px solid #a4b7a380;padding-top:12px;font:10px/1.4 system-ui;letter-spacing:.05em}
.mv-exp-track{height:2px;background:#71887940;flex:1;max-width:120px;overflow:hidden}.mv-exp-track i{display:block;width:0;height:100%;background:#718879}
.mv-exp-skip{display:inline-block;margin-top:10px;font:11px/1.4 system-ui;color:inherit;text-underline-offset:3px}
.mv-experience.is-enhanced{height:calc(var(--exp-height)*3.25)}
.mv-experience.is-enhanced .mv-exp-stage{position:sticky;top:0;height:var(--exp-height);max-height:1000px}
.mv-experience.is-enhanced .mv-exp-visual{grid-column:2;grid-row:1;min-height:0;overflow:visible}
.mv-experience.is-enhanced .mv-exp-rail{grid-column:1;grid-row:1}
.mv-experience.is-enhanced .mv-exp-chapter{margin:0 0 18px}
.mv-experience.is-enhanced .mv-exp-card{position:absolute;left:50%;top:var(--exp-art-center,calc(50% + 13px));transform:translate(-50%,-50%) translate(var(--card-x,0px),var(--card-y,0px)) rotate(var(--card-r,-10deg)) scale(var(--card-s,1));opacity:var(--card-o,1)}
.mv-experience.is-enhanced .mv-exp-phone{position:absolute;left:50%;top:var(--exp-art-center,calc(50% + 13px));height:90%;width:auto;transform:translate(-50%,-50%) translateY(var(--phone-y,34px)) scale(var(--phone-s,.9));opacity:var(--phone-o,0)}
.mv-experience.is-enhanced .mv-exp-qr{opacity:var(--focus-o,0)}
.mv-experience.is-enhanced .mv-exp-bloom{opacity:var(--bloom-o,0)}
.mv-experience.is-enhanced .mv-exp-glow{opacity:.45;background:radial-gradient(ellipse,#f9fff5,transparent 70%)}
@media(max-width:760px){
 .mv-experience{--exp-title:clamp(30px,8.4vw,39px);--exp-body:clamp(14px,3.7vw,16px);margin:28px auto}
 .mv-exp-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:14px;padding:18px 20px calc(88px + env(safe-area-inset-bottom));border-radius:22px}
 .mv-exp-rail{grid-row:2;grid-column:1;align-self:end}
 .mv-exp-visual{min-height:260px}
 .mv-experience.is-enhanced .mv-exp-visual{grid-row:1;grid-column:1}
 .mv-experience.is-enhanced .mv-exp-rail{grid-row:2;grid-column:1}
 .mv-exp-chapter h2{margin-bottom:8px}.mv-exp-eyebrow{font-size:10px;margin-bottom:6px}
 .mv-exp-footer{padding-top:9px}.mv-exp-footer>span:last-child{display:none}
 .mv-exp-kicker{font-size:9px}.mv-exp-skip{margin-top:6px}
}
@media(max-height:620px){
 .mv-experience{--exp-title:clamp(21px,6.1vw,30px);--exp-body:12px}
 .mv-exp-stage{padding:12px 15px calc(82px + env(safe-area-inset-bottom));gap:8px}
 .mv-exp-eyebrow{font-size:9px;margin-bottom:4px}.mv-exp-chapter h2{margin-bottom:5px}
 .mv-exp-choices{gap:5px;margin-top:7px}.mv-exp-choices button{font-size:10px;min-height:30px;padding:5px}
 .mv-exp-footer{padding-top:6px}.mv-experience.is-enhanced .mv-exp-chapter{margin-bottom:9px}
 .mv-exp-kicker{font-size:8px}.mv-exp-skip{font-size:10px;margin-top:4px}
}
@media(min-width:761px){.mv-exp-stage{padding-bottom:35px}}
@media(prefers-reduced-motion:reduce){.mv-experience.is-enhanced{height:auto}.mv-experience.is-enhanced .mv-exp-stage{position:relative;height:auto}}

/* Native-ratio product gallery. The canonical image, zoom and controls stay owned by product-gallery.js. */
.product-gallery[data-atelier-gallery] .product-main-image{width:100%;aspect-ratio:var(--atelier-initial-ratio,auto);border:0;border-radius:0;box-shadow:none;background:transparent;transition:height .28s ease}
.product-gallery[data-atelier-gallery] .product-main-image-button{position:relative;height:auto;overflow:hidden;touch-action:pan-y pinch-zoom}
.product-gallery[data-atelier-gallery] .product-main-image-button>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain!important;padding:0!important;transition:none;transform:none}
.product-gallery[data-atelier-gallery].is-atelier-ready .product-main-image-button{position:absolute;height:100%}
.product-gallery[data-atelier-gallery].is-atelier-ready .product-main-image-button>img{height:100%;object-fit:contain!important}
.product-gallery[data-atelier-gallery] .product-main-image-button>.mv-gallery-peek{position:absolute;inset:0;pointer-events:none}
.product-gallery[data-atelier-gallery].is-dragging .product-main-image{transition:none}
.product-gallery[data-atelier-gallery] .product-main-image-button>img.is-switching{opacity:1}
@media(prefers-reduced-motion:reduce){.product-gallery[data-atelier-gallery] .product-main-image{transition:none}}

/* Reserve the largest chapter so scrolling changes transforms, not the text layout. */
.mv-experience.is-enhanced .mv-exp-chapters{display:grid;grid-template-columns:minmax(0,1fr)}
.mv-experience.is-enhanced .mv-exp-chapter{grid-area:1/1}

/* The visible v17 gallery surface, using the existing gallery owner and original photos. */
.product-gallery[data-atelier-gallery]{display:block;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;background:#fffcf6;border:1px solid #ddd1c1;border-radius:22px;overflow:hidden}
.product-gallery[data-atelier-gallery] .product-main-image{grid-column:1;grid-row:1}
.mv-gallery-info{min-width:0;padding:clamp(18px,3vw,36px);color:#405948}
.mv-gallery-eyebrow{font:600 10px/1.5 system-ui;letter-spacing:.15em;text-transform:uppercase;color:#718879}
.mv-gallery-info h2{font:400 clamp(26px,3vw,40px)/1.08 Georgia,serif;letter-spacing:-.035em;margin:12px 0}
#mvGalleryCaption{font:14px/1.6 system-ui;color:#647465;margin:0 0 18px}
.product-gallery[data-atelier-gallery] .product-gallery-controls{justify-content:flex-start;border-top:1px solid #ddd1c1;padding-top:14px;margin-top:16px}
.product-gallery[data-atelier-gallery] .product-thumbnails-shell{margin-top:16px}
.product-gallery[data-atelier-gallery] .product-thumbnail{width:64px;height:64px;flex-basis:64px}
.mv-experience.is-enhanced:not(.is-ready) .mv-exp-visual{visibility:hidden}
@media(max-width:760px){.product-gallery[data-atelier-gallery]{display:block}.mv-gallery-info h2{font-size:30px}.mv-gallery-info{padding:20px}}

.product-gallery[data-atelier-gallery].is-wide{display:grid}
.product-gallery[data-atelier-gallery] .product-thumbnails{display:flex;overflow-x:auto;gap:8px}
.product-gallery[data-atelier-gallery] .product-thumbnail{flex:0 0 64px}

/* Reserve a soft shadow envelope inside the visual region; clipping only at the outer scene. */
.mv-exp-footer{gap:10px;flex-wrap:wrap}.mv-exp-footer .mv-exp-skip{margin:0 0 0 auto;white-space:nowrap}
@media(max-width:760px){.mv-exp-nudge{display:none}}
.mv-gallery-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.mv-gallery-count{font:600 11px/1.4 system-ui;color:#718879;white-space:nowrap}
.mv-gallery-progress{height:2px;background:#71887938;margin:20px 0 14px;overflow:hidden}.mv-gallery-progress>i{display:block;height:100%;width:0;background:#405948}
.mv-gallery-stage-controls{position:absolute;right:14px;bottom:14px;z-index:4;display:flex;gap:8px}
.mv-gallery-stage-controls button{width:44px;height:44px;border:1px solid #fff9;border-radius:50%;background:#fffaf0e8;box-shadow:0 3px 14px #2e4d4314;color:#405948;font:24px/1 Georgia,serif;cursor:pointer}
.mv-gallery-stage-controls button:disabled{opacity:.35;cursor:default}
.mv-gallery-stage-controls button:focus-visible{outline:2px solid #405948;outline-offset:3px}
.product-gallery[data-atelier-gallery] .product-gallery-zoom{bottom:auto;top:14px}
.mv-gallery-moment{position:absolute;left:14px;bottom:18px;z-index:3;pointer-events:none;padding:6px 9px;border-radius:20px;background:#fffaf0dc;color:#405948;font:600 9px/1.3 system-ui;letter-spacing:.1em}
.mv-gallery-info h2{min-height:2.2em}

.product-gallery[data-atelier-gallery] [data-gallery-stage]{touch-action:pan-y pinch-zoom}
.product-gallery[data-atelier-gallery].is-dragging .product-main-image-button>img{will-change:transform}
