/* MIRE · Dolap (2026-11-10). The MIRE page is a wardrobe: the drop's pieces hang in a rotating
 * 3D ring, the chosen piece's photographs follow. Darkness is cherry taken almost to black
 * (never anthracite, never green). Motion uses transform / opacity only.
 * 2026-11-11 · every screen: the stage is sized from the screen's width AND height, the pieces are
 * sized from the stage (JS), each piece carries its own perspective (no nested 3D context, no blend
 * modes — the parts phone browsers disagree on), and every newer unit has a plain fallback. */
.mw{
  --night:#14060B;--wine:#2A0D17;--cherry:#70243F;--porcelain:#F6F1E8;--butter:#FFE497;--gold:#C9B37A;
  --serif:"MA Serif","MA Mire",Georgia,"Times New Roman",serif;--sans:"MA Sans","Helvetica Neue",Arial,sans-serif;--mono:"MA Mono",ui-monospace,Menlo,monospace;
  --ease:cubic-bezier(.16,1,.3,1);
  position:relative;color:var(--porcelain);font-family:var(--sans);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;
  background:radial-gradient(120% 55% at 50% 18%,#45172a 0%,#2A0D17 45%,var(--night) 100%);
  margin-top:calc(-1 * var(--ms-header-h, 65px));padding:calc(var(--ms-header-h, 65px) + 22px) 0 0;overflow:hidden;
}
.mw[hidden]{display:none!important}
.mw *{box-sizing:border-box}
.mw .mw-mono{font:500 10.5px/1.6 var(--mono);letter-spacing:.3em;text-transform:uppercase}
.mw .mw-wrap{width:calc(100% - 48px);max-width:620px;margin:0 auto}
@supports (width:min(1px,2px)){.mw .mw-wrap{width:min(100% - 48px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px),620px);max-width:none}}
@media (min-width:900px){.mw .mw-wrap{max-width:760px}@supports (width:min(1px,2px)){.mw .mw-wrap{width:min(100% - 48px,760px);max-width:none}}}

/* entrance curtain: once per visit, gone in ~1.4 s, never blocks input */
.mw-curtain{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#2A0D17 0,#14060B 70%);pointer-events:none;
  animation:mw-curtain 1.45s var(--ease) .1s both}
.mw-curtain span{font:400 clamp(64px,22vw,140px)/1 var(--serif);letter-spacing:.2em;margin-left:.2em;color:var(--porcelain);animation:mw-word 1.2s var(--ease) both}
/* the title card dissolves in place (2026-11-11): nothing on the page moves up or down as it opens */
@keyframes mw-curtain{0%,45%{opacity:1}100%{opacity:0;visibility:hidden}}
/* arriving from the film: the wardrobe fades in over the film's last frame, as its last scene */
.mw.mw-arrive{animation:mw-arrive 1.1s cubic-bezier(.16,1,.3,1) both}
@keyframes mw-arrive{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.mw.mw-arrive{animation:none}}
@keyframes mw-word{0%{opacity:0;letter-spacing:.12em}35%{opacity:1}70%{opacity:1;letter-spacing:.32em}100%{opacity:0;letter-spacing:.36em}}
.mw-curtain[hidden]{display:none}

/* head */
.mw-head .mw-eyebrow{margin:0;color:rgba(246,241,232,.58)}
.mw-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;margin:14px -8px 0}
.mw-title > *{margin-left:8px!important;margin-right:8px!important}
.mw-code{margin:0;font:400 44px/1 var(--serif);font-size:clamp(34px,10vw,60px);letter-spacing:-.01em;color:var(--porcelain);white-space:nowrap}
.mw-status{margin:0;padding:6px 0;color:var(--butter);white-space:nowrap}
.mw-status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--butter);box-shadow:0 0 10px var(--butter);margin-right:10px;vertical-align:1px}
.mw-status[data-live="1"] i{animation:mw-pulse 2.4s ease-in-out infinite}
@keyframes mw-pulse{50%{opacity:.35}}
.mw-tagline{margin:14px 0 0;font:italic 400 19px/1.4 var(--serif);color:rgba(246,241,232,.82)}
.mw-sub{margin:12px 0 0;color:rgba(246,241,232,.5);font-size:9.5px}

/* wardrobe frame */
/* .mw .mw-wrap centres with margin:0 auto; the frame's own top margin needs the same weight */
.mw .mw-frame{margin-top:26px}
.mw-frame{border:1px solid rgba(246,241,232,.36);padding:24px 0 26px}
.mw-frame-head,.mw-nav{display:flex;justify-content:space-between;align-items:center;padding:0 24px}
.mw-frame-head{font-size:10px}
.mw-frame-head span:last-child{color:rgba(246,241,232,.6);font-variant-numeric:tabular-nums}
/* stage height: as tall as the screen allows (so the wardrobe and its controls share one screen in
   portrait, landscape and in-app browsers), never taller than its width needs */
.mw-stage{position:relative;height:480px;height:clamp(300px,min(142vw,100vh - 170px),780px);margin-top:20px;-webkit-perspective:1200px;perspective:1200px;-webkit-perspective-origin:50% 30%;perspective-origin:50% 30%;overflow:hidden;
  background:#1f0a12;background:radial-gradient(60% 50% at 50% 55%,#3a1322,#16070d);touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;cursor:grab;outline:none}
@supports (height:100svh){.mw-stage{height:clamp(300px,min(142vw,100svh - 170px),780px)}}
.mw-stage:active{cursor:grabbing}
.mw-stage:focus-visible{box-shadow:inset 0 0 0 2px var(--butter)}
/* the ring is a plain layer; JS places each piece with its own perspective() and stacks by depth */
.mw-ring{position:absolute;left:50%;top:var(--pt,7%);width:0;height:0;z-index:1}
.mw-piece{position:absolute;left:calc(var(--pw,150px) / -2);top:0;width:var(--pw,150px);height:calc(var(--pw,150px) * 1.62);will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.mw-piece::after{content:"";position:absolute;inset:-4% -8%;background:radial-gradient(closest-side,rgba(20,6,11,.92),rgba(20,6,11,.75));opacity:var(--dim,0);pointer-events:none;border-radius:50%}
.mw-hanger{position:absolute;left:50%;top:0;width:76%;transform:translateX(-50%);overflow:visible}
.mw-hanger path{fill:none;stroke:var(--gold);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.mw-piece img{position:absolute;display:block;pointer-events:none;-webkit-user-drag:none}
.mw-piece[data-display="cutout"] img{left:0;right:0;top:15%;width:100%;height:85%;object-fit:contain;object-position:50% 0;filter:drop-shadow(0 18px 22px rgba(0,0,0,.5))}
.mw-piece[data-display="card"] .mw-clip{position:absolute;left:50%;top:21.5%;width:2px;height:5%;background:var(--gold);transform:translateX(-50%)}
.mw-piece[data-display="card"] img{left:6%;width:88%;top:26%;height:72%;object-fit:cover;border:1px solid rgba(246,241,232,.35);box-shadow:0 22px 34px rgba(0,0,0,.5)}
.mw-piece[data-display="bare"] .mw-clip{position:absolute;left:50%;top:21.5%;width:2px;height:5%;background:var(--gold);transform:translateX(-50%)}
.mw-piece[data-display="bare"] .mw-bare{position:absolute;left:6%;width:88%;top:26%;height:72%;display:grid;place-items:center;border:1px solid rgba(246,241,232,.35);background:linear-gradient(160deg,#3a1322,#1c0910);font:400 34px/1 var(--serif);color:rgba(246,241,232,.7)}
.mw-chip .mw-bare{display:grid;place-items:center;width:100%;height:100%;font:400 14px/1 var(--serif);color:rgba(246,241,232,.8)}
.mw-piece.is-empty .mw-hanger path{stroke:rgba(201,179,122,.55)}
.mw-beam{position:absolute;left:50%;top:-10%;width:76%;height:120%;transform:translateX(-50%);pointer-events:none;z-index:2;
  background:linear-gradient(90deg,rgba(255,228,151,0) 30%,rgba(255,228,151,.09) 50%,rgba(255,228,151,0) 70%);
  background:conic-gradient(from 160deg at 50% 0%,rgba(255,228,151,0) 0deg,rgba(255,228,151,0) 2deg,rgba(255,228,151,.13) 20deg,rgba(255,228,151,0) 38deg,rgba(255,228,151,0) 40deg)}
.mw-floor{position:absolute;left:9%;right:9%;bottom:7%;height:8%;border-radius:50%;background:radial-gradient(rgba(255,228,151,.18),transparent 70%);pointer-events:none}
.mw-door{position:absolute;top:0;bottom:0;width:50%;z-index:5;background:linear-gradient(90deg,#2a0d17,#4a1a2b 60%,#2a0d17);border:1px solid rgba(201,179,122,.35);
  transition:transform 1.6s var(--ease),opacity .5s ease 1.15s,visibility 0s linear 1.7s;pointer-events:none}
.mw-door.l{left:0;transform-origin:0 50%}.mw-door.r{right:0;transform-origin:100% 50%}
.mw-door::after{content:"";position:absolute;top:44%;width:2px;height:16%;background:var(--gold)}
.mw-door.l::after{right:14px}.mw-door.r::after{left:14px}
.mw-door b{position:absolute;inset:18px;border:1px solid rgba(201,179,122,.22)}
.mw.is-open .mw-door.l{transform:rotateY(-105deg);opacity:0;visibility:hidden}
.mw.is-open .mw-door.r{transform:rotateY(105deg);opacity:0;visibility:hidden}
/* no pieces yet: the doors stay shut, a line of light shows through the gap */
.mw.is-empty .mw-door{transition:none}
.mw.is-empty .mw-door.l{transform:none;opacity:1;visibility:visible}.mw.is-empty .mw-door.r{transform:none;opacity:1;visibility:visible}
.mw-gap{position:absolute;left:50%;top:6%;bottom:6%;width:2px;margin-left:-1px;z-index:6;background:linear-gradient(transparent,rgba(255,228,151,.85),transparent);filter:blur(1px);opacity:0;transition:opacity .8s}
.mw.is-empty .mw-gap{opacity:1}
.mw-closed{position:absolute;z-index:7;left:0;right:0;bottom:22px;margin:0;text-align:center;color:rgba(246,241,232,.75)}

.mw-nav{margin-top:16px;color:rgba(246,241,232,.6)}
.mw-nav button{-webkit-appearance:none;appearance:none;flex:0 0 auto;padding:0;border:1px solid rgba(246,241,232,.28);background:transparent;color:var(--porcelain);width:44px;height:44px;border-radius:50%;font:400 20px/1 var(--serif);cursor:pointer;touch-action:manipulation}
.mw-nav button:disabled{opacity:.3;cursor:default}
.mw-nav button:focus-visible{outline:2px solid var(--butter);outline-offset:3px}
/* the name takes the room it needs (long names wrap instead of running off a narrow screen) */
.mw-name{position:relative;display:grid;min-height:46px;margin:14px 24px 0;font:italic 400 30px/1.2 var(--serif);font-size:clamp(26px,7.4vw,38px)}
.mw-name span{grid-area:1/1;min-width:0;overflow-wrap:anywhere;transition:opacity .45s var(--ease),transform .45s var(--ease)}
.mw-name span.out{opacity:0;transform:translateY(-14px)}
.mw-name span.in{opacity:0;transform:translateY(14px)}
.mw-chips{position:relative;display:flex;margin-top:16px;padding:0 24px 4px;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding:0 24px}
.mw-chips::-webkit-scrollbar{display:none}
.mw-chip + .mw-chip{margin-left:8px}
.mw-chips::after{content:"";flex:0 0 24px}
.mw-chip{flex:0 0 calc((100% - 40px) / 6);min-width:44px;max-width:64px;height:64px;-webkit-appearance:none;appearance:none;padding:4px;touch-action:manipulation;border:1px solid rgba(246,241,232,.18);background:rgba(20,6,11,.4);cursor:pointer;opacity:.5;transition:opacity .3s,border-color .3s;scroll-snap-align:start}
.mw-chip[aria-selected="true"]{opacity:1;border-color:var(--butter)}
@supports (aspect-ratio:1){.mw-chip{height:auto;aspect-ratio:3/4}}
.mw-chip:focus-visible{outline:2px solid var(--butter);outline-offset:2px}
.mw-chip img{display:block;width:100%;height:100%;object-fit:cover}
.mw-chip[data-display="cutout"] img{object-fit:contain}
.mw .mw-cta{color:var(--porcelain)!important}
.mw-cta{display:flex;align-items:center;justify-content:center;text-align:center;margin:20px 24px 0;padding:8px 16px;min-height:54px;border:1px solid rgba(246,241,232,.35);border-radius:40px;color:var(--porcelain);text-decoration:none;transition:background-color .3s}
.mw-cta:hover,.mw-cta:focus-visible{background:rgba(246,241,232,.1);outline:none}

/* lookbook: the chosen piece's photographs */
.mw-look{margin-top:8px;transition:opacity .35s ease}
.mw-look.is-swapping{opacity:0}
.mw-look figure{margin:0 0 6px;position:relative}
.mw-look .mw-ph{position:relative;overflow:hidden;background:#2A0D17}
.mw-look .mw-ph::before{content:"";display:block;padding-top:125%}
.mw-look .mw-ph img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);opacity:0;transition:opacity .9s var(--ease),transform 1.6s var(--ease)}
.mw-look figure.is-in .mw-ph img{opacity:1;transform:none}
.mw-look figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;padding:16px 24px 34px;color:rgba(246,241,232,.62)}
@media (min-width:760px){.mw-look{display:grid;grid-template-columns:repeat(2,1fr);gap:0 6px;width:calc(100% - 48px);max-width:1100px;margin-left:auto;margin-right:auto}.mw-look figure:first-child{grid-column:1/-1}.mw-look figure:first-child .mw-ph::before{padding-top:62.5%}}

/* after the film: the wardrobe follows the last scene directly (the film carries the header offset) */
/* (the film's still last frame, .scr-ghost, is not the film: the wardrobe is already in its own place) */
.ms-screening:not([hidden]):not(.scr-ghost) ~ .mw{margin-top:0;padding-top:30px}
/* the MIRE page is only the film and the wardrobe: the line introduction stays for crawlers and
   screen readers (one real h1, Studio copy targets), never on screen */
html body.has-mw main .ms-page-hero.mw-sr-hero,html body.has-mw main .ms-page-hero.mw-sr-hero *{min-height:0!important;padding:0!important;margin:0!important}
html body.has-mw main .ms-page-hero.mw-sr-hero{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}
body.collection-page--mire main{padding-bottom:0}
.mw-look{padding-bottom:calc(48px + env(safe-area-inset-bottom))}

/* closed wardrobe: one screen, no scrolling, no light page behind a rubber-band pull */
html:has(body.has-mw),html body[data-maison].has-mw{background:#14060B!important}
html.mw-locked,html.mw-locked body{overflow:hidden!important;overscroll-behavior:none;height:100%}
html.mw-locked .mw{height:calc(100vh - var(--mw-top,0px));height:calc(var(--mw-vh,100svh) - var(--mw-top,0px));display:flex;flex-direction:column;padding-bottom:calc(36px + env(safe-area-inset-bottom))}
html.mw-locked .mw-frame{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.mw-locked .mw-stage{flex:1 1 auto;height:auto!important;min-height:0}
/* closed wardrobe on short screens (phones on their side, small phones, in-app browsers): the head
   gives its room to the doors, which always stay on screen */
@media (max-height:620px){
  html.mw-locked .mw{padding-top:calc(var(--ms-header-h, 65px) + 12px);padding-bottom:calc(14px + env(safe-area-inset-bottom))}
  html.mw-locked .mw-code{font-size:32px}
  html.mw-locked .mw-title{margin-top:6px}
  html.mw-locked .mw-sub,html.mw-locked .mw-tagline{display:none}
  html.mw-locked .mw .mw-frame{margin-top:12px;padding:10px 0 12px}
  html.mw-locked .mw-stage{margin-top:10px;min-height:96px}
}
@media (max-height:440px){
  html.mw-locked .mw-eyebrow,html.mw-locked .mw-frame-head{display:none}
  html.mw-locked .mw .mw-frame{padding:0;margin-top:8px}
  html.mw-locked .mw-stage{margin-top:0}
  html.mw-locked .mw-closed{bottom:10px}
}
.mw.is-empty .mw-name,.mw.is-empty .mw-chips,.mw.is-empty .mw-tagline{display:none}
/* closed: the doors run to the bottom of their frame (no empty band under them) */
html.mw-locked .mw .mw-frame{padding-bottom:0}
html.mw-locked .mw-closed{bottom:clamp(18px,5%,40px)}
html.mw-locked .mw{padding-bottom:calc(14px + env(safe-area-inset-bottom))}

/* the way back to the house: the last thing on the page, and under the closed doors */
.mw-exit{display:flex;justify-content:center;padding:34px 0 calc(44px + env(safe-area-inset-bottom))}
.mw .mw-home{color:rgba(246,241,232,.78)!important}
.mw-home{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 26px;border:1px solid rgba(246,241,232,.3);border-radius:40px;text-decoration:none;transition:background-color .3s,border-color .3s,color .3s}
.mw-home:hover,.mw-home:focus-visible{background:rgba(246,241,232,.1);border-color:var(--butter);color:var(--porcelain)!important;outline:none}
.mw-look{padding-bottom:0!important}.mw-page-link{padding-bottom:0!important}
html.mw-locked .mw-exit{flex:0 0 auto;padding:14px 0 0}

/* piece info */
.mw-meta{margin:0;color:rgba(246,241,232,.55);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mw-pill{margin-left:auto;padding:5px 10px;border:1px solid rgba(255,228,151,.55);border-radius:30px;color:var(--butter);letter-spacing:.24em}
.mw-price{margin:10px 0 0;font:400 20px/1.3 var(--serif);color:rgba(246,241,232,.9)}
.mw-info{padding:56px 0 34px;scroll-margin-top:calc(var(--ms-header-h, 65px) + 8px)}
.mw-info h3{margin:12px 0 0;font:italic 400 34px/1.15 var(--serif);font-size:clamp(30px,8vw,42px);overflow-wrap:anywhere}
.mw-info .mw-note{margin:14px 0 0;color:rgba(246,241,232,.75);line-height:1.65;font-size:15px}
.mw-rows{margin-top:18px}
.mw-rows div{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid rgba(246,241,232,.14)}
.mw-rows span:first-child{flex:0 0 auto;margin-right:16px}
.mw-rows span:last-child{min-width:0;color:rgba(246,241,232,.62);text-align:right;overflow-wrap:anywhere}
.mw .mw-buy{color:var(--wine)!important;}
.mw-buy{display:flex;align-items:center;justify-content:center;text-align:center;margin-top:18px;padding:8px 16px;min-height:56px;border-radius:40px;background:var(--porcelain);color:var(--wine);text-decoration:none}
.mw-buy:focus-visible{outline:2px solid var(--butter);outline-offset:3px}
.mw-info .mw-cta{margin:12px 0 0}

/* site header over the wardrobe: deep cherry glass, everything in it pure white (no colour inversion → no green) */
html body[data-maison].mw-dark .site-header{background:rgba(20,6,11,.84)!important;box-shadow:none!important;border-color:rgba(246,241,232,.14)!important;-webkit-backdrop-filter:blur(14px) saturate(1.1)!important;backdrop-filter:blur(14px) saturate(1.1)!important}
html body[data-maison].mw-dark .site-header > *{filter:brightness(0) invert(1);opacity:.92}
html body[data-maison].mw-dark .site-header::before,html body[data-maison].mw-dark .site-header::after{opacity:0!important}
html body[data-maison] .site-header{transition:background-color .45s ease,box-shadow .45s ease}
/* the line page keeps one real h1 for crawlers and screen readers; the wardrobe leads visually */
body.has-mw .ms-page-hero h1{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;view-transition-name:none!important;animation:none!important}

@media (prefers-reduced-motion:reduce){
  .mw-curtain{display:none}
  .mw-door,.mw-name span,.mw-look,.mw-look .mw-ph img{transition:none!important}
  .mw-look .mw-ph img{opacity:1;transform:none}
  .mw-status i{animation:none}
}

/* The piece page is the final action, after every photograph. */
.mw-page-link{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
.mw-page-link[hidden]{display:none!important}

/* phones on their side and other short screens: tighter head so the stage keeps the screen */
@media (max-height:520px) and (orientation:landscape){
  .mw-stage{height:clamp(200px,100vh - 150px,360px)}
  .mw-frame{margin-top:18px;padding-top:16px}
  .mw-name{min-height:0}
}
@supports (height:100svh){@media (max-height:520px) and (orientation:landscape){.mw-stage{height:clamp(200px,100svh - 150px,360px)}}}
/* very narrow phones (320 px and below) */
@media (max-width:340px){
  .mw .mw-wrap{width:calc(100% - 32px)}
  .mw .mw-mono{letter-spacing:.22em}
  .mw-frame-head,.mw-nav{padding:0 16px}
  .mw-name,.mw-cta{margin-left:16px;margin-right:16px}
  .mw-chips{padding-left:16px;padding-right:16px;scroll-padding:0 16px}
}
/* mouse and trackpad: the small pictures wrap into rows instead of hiding behind a sideways scroll */
@media (hover:hover) and (pointer:fine){.mw-chips{flex-wrap:wrap;overflow:visible}.mw-chips::after{content:none}.mw-chip{flex:0 0 58px;margin:0 8px 8px 0!important}.mw-stage:hover .mw-piece{cursor:pointer}}
/* touch browsers float their own bar over the bottom of the page: the way home stays above it */
@media (hover:none){html.mw-locked .mw{padding-bottom:calc(46px + env(safe-area-inset-bottom))}}

/* closed wardrobe, taller (2026-11-11): the head is set tight so the doors take the screen */
html.mw-locked .mw{padding-top:calc(var(--ms-header-h, 65px) + 18px)}
html.mw-locked .mw-title{margin-top:8px}
html.mw-locked .mw-sub{margin-top:8px}
html.mw-locked .mw .mw-frame{margin-top:16px;padding-top:14px}
html.mw-locked .mw-stage{margin-top:12px}
html.mw-locked .mw-exit{padding-top:12px}
html.mw-locked .mw-home{min-height:44px}
