/* ================= GALLERY (overview) ================= */
body.mfw .mf-gallery{background:var(--mf-ink);color:var(--mf-bone)}
body.mfw .mf-g-head{padding:clamp(120px,18vh,180px) var(--mf-gutter) clamp(28px,4vh,40px);display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
body.mfw .mf-g-title{margin:0;font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(64px,11vw,190px));line-height:.84;letter-spacing:-.01em;color:var(--mf-bone)}
body.mfw .mf-g-title .mf-ser{display:block;font-size:calc(.36em / var(--mf-dk));line-height:1.1;color:var(--mf-ice);margin-bottom:.1em}
body.mfw .mf-g-meta{display:flex;flex-direction:column;gap:14px;align-items:flex-end}
body.mfw .mf-seg{display:inline-flex;border:1px solid var(--mf-line)}
body.mfw .mf-seg button,body.mfw .mf-seg button:hover,body.mfw .mf-seg button:focus{height:44px;padding:0 18px;margin:0;background:transparent;border:0;border-radius:0;font-family:var(--mf-mono);font-size:12px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;color:var(--mf-fog);box-shadow:none}
body.mfw .mf-seg button:hover{color:var(--mf-bone)}
body.mfw .mf-seg button[aria-pressed="true"]{background:var(--mf-bone);color:var(--mf-ink)}
/* accordion of collections */
body.mfw .mf-acc{display:flex;gap:6px;height:min(80vh,820px);padding:0 var(--mf-gutter) clamp(80px,12vh,140px)}
body.mfw .mf-acc[hidden],body.mfw .mf-wall-wrap[hidden]{display:none!important}
body.mfw .mf-panel{position:relative;display:block;flex:1 1 0;min-width:0;overflow:hidden;background:var(--mf-ink-2);color:var(--mf-bone);text-decoration:none;transition:flex-grow .8s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-panel:hover,body.mfw .mf-panel:focus{color:var(--mf-bone)}
body.mfw .mf-panel img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;filter:grayscale(1) brightness(.7);transform:scale(1.15);transition:filter .8s ease,transform 1.2s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-panel::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,12,11,.1),rgba(11,12,11,0) 40%,rgba(11,12,11,.8));pointer-events:none}
body.mfw .mf-panel .no{position:absolute;top:16px;left:16px;z-index:2;font-family:var(--mf-mono);font-size:12px;color:var(--mf-bone);letter-spacing:.08em}
body.mfw .mf-panel .vname{position:absolute;left:50%;bottom:24px;z-index:2;transform:translateX(-50%) rotate(180deg);writing-mode:vertical-rl;white-space:nowrap;font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(26px,2.6vw,44px));line-height:1;transition:opacity .4s}
body.mfw .mf-panel .open{position:absolute;left:clamp(20px,2.4vw,40px);right:clamp(20px,2.4vw,40px);bottom:clamp(20px,3vh,40px);z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:12px;opacity:0;transform:translateY(16px);transition:opacity .5s .15s,transform .6s .15s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-panel .open b{font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(48px,6.4vw,112px));line-height:.86;white-space:nowrap}
body.mfw .mf-panel .open .desc{max-width:40ch;color:var(--mf-soft);font-family:var(--mf-sans);font-size:16px;line-height:1.45}
body.mfw .mf-panel.on{flex-grow:6}
body.mfw .mf-panel.on img{filter:none;transform:scale(1)}
body.mfw .mf-panel.on .vname{opacity:0}
body.mfw .mf-panel.on .open{opacity:1;transform:none}
@media (max-width:859px){body.mfw .mf-g-meta{align-items:flex-start}
body.mfw .mf-acc{flex-direction:column;height:auto;gap:8px}
body.mfw .mf-panel{flex:none;height:150px;transition:height .6s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-panel.on{height:62vh}
body.mfw .mf-panel .vname{writing-mode:horizontal-tb;transform:none;left:16px;bottom:16px;font-size:calc(var(--mf-dk) * 44px)}
body.mfw .mf-panel .open b{font-size:calc(var(--mf-dk) * min(64px,11.5vw));white-space:normal;overflow-wrap:anywhere}
body.mfw .mf-panel .vname{font-size:calc(var(--mf-dk) * min(44px,9vw))}}
/* the wall */
body.mfw .mf-wall-wrap{padding:0 0 clamp(80px,12vh,140px)}
body.mfw .mf-chips{display:flex;gap:8px;flex-wrap:wrap;padding:0 var(--mf-gutter) 18px}
body.mfw .mf-chips.is-season{padding-bottom:10px}
body.mfw .mf-chips.is-season button[aria-pressed="true"]{border-color:var(--mf-ice);color:var(--mf-ice)}
body.mfw .mf-chips button,body.mfw .mf-chips button:hover,body.mfw .mf-chips button:focus{height:38px;padding:0 14px;margin:0;background:transparent;border:1px solid var(--mf-line);border-radius:0;font-family:var(--mf-mono);font-size:11px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--mf-soft);cursor:pointer;box-shadow:none}
body.mfw .mf-chips button:hover{color:var(--mf-bone);border-color:var(--mf-fog)}
body.mfw .mf-chips button[aria-pressed="true"]{border-color:var(--mf-rust);color:var(--mf-rust)}
body.mfw .mf-wall{position:relative;height:calc(100svh - 120px);min-height:480px;overflow:hidden;cursor:grab;touch-action:none;background:#070807;user-select:none;-webkit-user-select:none}
body.mfw .mf-wall.drag{cursor:grabbing}
@media (pointer:coarse){body.mfw .mf-wall{height:66svh;min-height:360px}}
body.mfw .mf-wall-inner{position:absolute;left:0;top:0;will-change:transform}
body.mfw .mf-tile,body.mfw .mf-tile:hover,body.mfw .mf-tile:focus{position:absolute;display:block;padding:0;margin:0;border:0;border-radius:0;background:#141614;cursor:inherit;overflow:hidden;box-shadow:none;transition:opacity .5s,filter .5s}
body.mfw .mf-tile img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1);-webkit-user-drag:none;pointer-events:none}
body.mfw .mf-tile:hover img{transform:scale(1.06)}
body.mfw .mf-tile.dim{opacity:.1;filter:grayscale(1)}
body.mfw .mf-wall-hint{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:3;padding:10px 16px;background:rgba(11,12,11,.8);border:1px solid var(--mf-line);pointer-events:none;white-space:nowrap;transition:opacity .6s}
body.mfw .mf-wall-edge{position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(180deg,#070807 0,rgba(7,8,7,0) 14%,rgba(7,8,7,0) 86%,#070807 100%)}
/* ================= COLLECTION page ================= */
body.mfw .mf-coll{background:var(--mf-ink);color:var(--mf-bone)}
body.mfw .mf-c-hero{position:relative;height:clamp(560px,92svh,1000px);overflow:hidden;background:var(--mf-ink-2)}
body.mfw .mf-c-hero .mf-c-cover{position:absolute;left:0;top:-6%;width:100%;height:112%;max-width:none;object-fit:cover;will-change:transform}
body.mfw .mf-c-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,12,11,.45),rgba(11,12,11,0) 30%,rgba(11,12,11,.15) 55%,rgba(11,12,11,.92));pointer-events:none}
body.mfw .mf-c-hero .inner{position:absolute;left:var(--mf-gutter);right:var(--mf-gutter);bottom:clamp(28px,6vh,64px);z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
body.mfw .mf-c-title{margin:0;font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(60px,12vw,220px));line-height:.84;letter-spacing:-.01em;color:var(--mf-bone);overflow-wrap:anywhere}
body.mfw .mf-c-hero .row2{align-self:stretch;display:flex;justify-content:space-between;align-items:flex-end;gap:16px 32px;flex-wrap:wrap}
body.mfw .mf-c-desc{margin:0;max-width:44ch;font-family:var(--mf-serif);font-style:italic;font-weight:var(--mf-sw);font-size:clamp(22px,2vw,30px);line-height:1.2;color:var(--mf-ice)}
body.mfw .mf-c-empty{padding:80px var(--mf-gutter);color:var(--mf-fog)}
/* justified grid: pure CSS. Each photo's width grows in proportion to its aspect ratio,
   so every photo in a row ends up the same height, and rows always fill the width. */
body.mfw .mf-jg{--rh:var(--mf-rh,340px);display:flex;flex-wrap:wrap;gap:10px;padding:clamp(40px,7vh,80px) var(--mf-gutter) clamp(64px,10vh,120px)}
body.mfw .mf-jg::after{content:"";flex-grow:1e6;flex-basis:0}
body.mfw .mf-j,body.mfw .mf-j:hover,body.mfw .mf-j:focus{position:relative;display:block;flex-grow:calc(var(--a) * 100);flex-basis:calc(var(--a) * var(--rh));aspect-ratio:var(--a);min-width:0;max-height:calc(var(--rh) * 1.6);overflow:hidden;background:var(--mf-ink-2);cursor:zoom-in;text-decoration:none;color:#fff}
body.mfw .mf-j img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;filter:grayscale(.7);transform:scale(1.05);transition:filter 1.2s ease,transform 1.4s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-j.in img{filter:none;transform:scale(1)}
body.mfw .mf-j.in:hover img{transform:scale(1.03)}
body.mfw .mf-j .idx{position:absolute;left:10px;top:8px;font-family:var(--mf-mono);font-size:11px;letter-spacing:.08em;color:#fff;opacity:0;transition:opacity .3s;text-shadow:0 1px 8px rgba(0,0,0,.7)}
body.mfw .mf-j:hover .idx,body.mfw .mf-j:focus-visible .idx{opacity:1}
@media (max-width:1100px){body.mfw .mf-jg{--rh:calc(var(--mf-rh,340px) * .8)}}
body.mfw .mf-jg.is-masonry{display:block;position:relative;box-sizing:border-box}
body.mfw .mf-jg.is-masonry::after{display:none}
body.mfw .mf-jg.is-masonry .mf-j{position:absolute;max-height:none;aspect-ratio:auto;flex:none}
@media (max-width:700px){body.mfw .mf-jg{--rh:calc(var(--mf-rh,340px) * .7);gap:6px}}
body.mfw .mf-next,body.mfw .mf-next:hover,body.mfw .mf-next:focus{position:relative;display:block;height:clamp(320px,60vh,640px);overflow:hidden;margin:0 var(--mf-gutter) clamp(80px,12vh,140px);background:var(--mf-ink-2);color:var(--mf-bone);text-decoration:none}
body.mfw .mf-next img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;filter:grayscale(1) brightness(.55);transform:scale(1.08);transition:filter 1s,transform 1.4s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-next:hover img,body.mfw .mf-next:focus-visible img{filter:brightness(.8);transform:scale(1)}
body.mfw .mf-next .inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center;z-index:2;padding:0 16px}
body.mfw .mf-next b{font-family:var(--mf-display);font-weight:900;text-transform:uppercase;font-size:calc(var(--mf-dk) * clamp(56px,10vw,180px));line-height:.86}
body.mfw .mf-next .mf-ser{font-size:clamp(24px,2.4vw,36px);color:var(--mf-ice)}
/* ================= LIGHTBOX (shared) ================= */
body.mfw .mf-lb{position:fixed;inset:0;z-index:9992;background:#050605;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;opacity:0;pointer-events:none;transition:opacity .35s;color:var(--mf-bone)}
body.mfw .mf-lb[hidden]{display:none}
body.mfw .mf-lb.open{opacity:1;pointer-events:auto}
body.mfw .mf-lb-bg{position:absolute;inset:-10%;background-size:cover;background-position:center;filter:blur(40px) brightness(.35) saturate(1.2);transform:scale(1.1)}
body.mfw .mf-lb-top{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:calc(env(safe-area-inset-top,0px) + var(--mf-adminbar,0px) + 14px) var(--mf-gutter) 10px}
body.mfw .mf-lb-info{font-family:var(--mf-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mf-bone)}
body.mfw .mf-lb-btn,body.mfw .mf-lb-btn:focus{width:48px;height:48px;padding:0;margin:0;display:inline-flex;align-items:center;justify-content:center;background:rgba(11,12,11,.5);border:1px solid rgba(236,232,224,.3);border-radius:0;color:var(--mf-bone);cursor:pointer;box-shadow:none}
body.mfw .mf-lb-btn:hover{background:var(--mf-bone);color:var(--mf-ink);border-color:var(--mf-bone)}
body.mfw .mf-lb-btn svg{width:22px;height:22px}
body.mfw .mf-lb-stage{position:relative;z-index:2;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;min-height:0;padding:0 clamp(8px,6vw,96px);touch-action:pan-y}
body.mfw .mf-lb-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,.6);transition:opacity .3s,transform .45s cubic-bezier(.2,.8,.2,1)}
body.mfw .mf-lb-img.swap{opacity:0;transform:scale(.97)}
body.mfw .mf-lb-prev,body.mfw .mf-lb-prev:focus,body.mfw .mf-lb-next,body.mfw .mf-lb-next:focus{position:absolute;top:50%;transform:translateY(-50%);z-index:3}
body.mfw .mf-lb-prev,body.mfw .mf-lb-prev:focus{left:clamp(8px,1.6vw,24px)}
body.mfw .mf-lb-next,body.mfw .mf-lb-next:focus{right:clamp(8px,1.6vw,24px)}
body.mfw .mf-lb-cap{position:relative;z-index:2;margin:0;padding:12px var(--mf-gutter) 0;text-align:center;font-family:var(--mf-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--mf-fog)}
body.mfw .mf-lb-cap:empty{display:none}
body.mfw .mf-lb-strip{position:relative;z-index:2;display:flex;gap:6px;overflow-x:auto;padding:12px var(--mf-gutter) calc(env(safe-area-inset-bottom,0px) + 14px);scrollbar-width:none}
body.mfw .mf-lb-strip::-webkit-scrollbar{display:none}
body.mfw .mf-lb-strip button,body.mfw .mf-lb-strip button:hover,body.mfw .mf-lb-strip button:focus{flex:none;width:72px;height:52px;padding:0;margin:0;border:1px solid transparent;border-radius:0;background:#111;cursor:pointer;opacity:.45;transition:opacity .3s;box-shadow:none}
body.mfw .mf-lb-strip button:hover{opacity:.8}
body.mfw .mf-lb-strip button img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
body.mfw .mf-lb-strip button[aria-current="true"]{opacity:1;border-color:var(--mf-bone)}
body.mf-lb-open #sfsi_floater,body.mf-lb-open .sfsi_wicons,body.mf-lb-open .hfe-scroll-to-top-wrap,body.mf-lb-open .hfe-scroll-to-top-button{visibility:hidden}
@media (max-width:700px){body.mfw .mf-lb-prev,body.mfw .mf-lb-next{display:none!important}
body.mfw .mf-lb-strip button{width:56px;height:42px}}
@media (prefers-reduced-motion: reduce){body.mfw .mf-panel,body.mfw .mf-panel img,body.mfw .mf-panel .open,body.mfw .mf-j img,body.mfw .mf-next img,body.mfw .mf-lb,body.mfw .mf-lb-img{transition:none}}
