/* Editorial rail: one hero, discoverable neighbors, never ten squeezed miniatures. */
.editorial-showroom .showroom{grid-template-columns:minmax(0,1fr) minmax(310px,28%);gap:28px;min-height:640px}
.editorial-showroom .showroom.panel-closed{grid-template-columns:1fr}
.editorial-showroom .collection-stage{min-height:620px}
.editorial-showroom .rail-view{padding-top:28px;overflow:hidden}
.editorial-showroom .rail-line{top:40px;left:0;right:0}
.editorial-showroom .rail-items{gap:36px;padding:18px calc(50% - 210px) 12px;align-items:flex-start;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x pan-y}
.editorial-showroom .rail-product{flex:0 0 220px;min-width:0;max-width:none;transition:flex-basis .45s cubic-bezier(.22,.7,.28,1);--stage-height:340px}
.editorial-showroom .rail-product.selected{flex:0 0 420px;min-width:0;max-width:none;--stage-height:clamp(380px,calc(100dvh - 450px),510px)}
.editorial-showroom .rail-scene{height:var(--stage-height);transition:height .45s cubic-bezier(.22,.7,.28,1)}
.editorial-showroom .visual-composition{transition:width .45s cubic-bezier(.22,.7,.28,1)}
.editorial-showroom .rail-name{font-size:14px;margin-top:14px}
.editorial-showroom .rail-product.selected .rail-name{font-size:19px}
.editorial-showroom .rail-navigation{margin:8px 0 0}
.editorial-showroom .collection-note{position:relative;margin-top:22px}
.editorial-showroom .product-panel{padding:28px;min-height:0}
.editorial-showroom .panel-photo{height:185px}
@media(min-width:681px){
 .editorial-showroom .panel-photo{height:150px;margin-block:10px 14px}
 .editorial-showroom .product-panel .panel-copy{margin-bottom:12px}
 .editorial-showroom .product-panel .pending{margin-block:8px 12px}
}
.editorial-showroom .intro{margin-top:8px;margin-bottom:12px}
.editorial-showroom .toolbar{margin-top:18px}
.editorial-showroom .rail-product:focus-visible{outline-offset:-3px;border-radius:10px}
.editorial-showroom .grid-view{grid-template-columns:repeat(3,minmax(0,1fr))}
.editorial-showroom .grid-photo{height:250px}
.editorial-showroom .source-note{margin:18px 20px}
.rail-controls{display:flex;align-items:center;gap:22px;flex-shrink:0}
.presentation-switch{display:flex;gap:0;padding:3px;border:1px solid #d9d1c3;border-radius:18px}
.presentation-switch button{border:0;border-radius:14px;background:transparent;padding:7px 12px;font:9px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);cursor:pointer}
.presentation-switch button[aria-pressed=true]{color:#fffaf2;background:#493329}
.presentation-switch button:focus-visible{outline:2px solid #af9565;outline-offset:3px}
.profile-note{font:italic 11px var(--serif);text-align:center;color:var(--muted);margin:12px 0 0}
/* SIDE uses a consistent hanging height: the reveal opens space around the
   suspension point, while narrow textile profiles remain visible at rest. */
.editorial-showroom.side-presentation .rail-items{gap:18px;padding-inline:calc(50% - 50px);scroll-snap-type:none;--reveal-space:125px}
.editorial-showroom.side-presentation .rail-product,
.editorial-showroom.side-presentation .rail-product.selected{flex-basis:100px;--stage-height:calc(clamp(380px,calc(100dvh - 450px),510px) * var(--side-length,1));transform:translateX(var(--rail-shift,0px));transition:transform .45s cubic-bezier(.22,.7,.28,1),flex-basis .45s cubic-bezier(.22,.7,.28,1)}
.editorial-showroom.side-presentation .rail-product.pinned,
.editorial-showroom.side-presentation .rail-product.preview{z-index:1}
.editorial-showroom.side-presentation .rail-product.pinned .rail-scene,
.editorial-showroom.side-presentation .rail-product.preview .rail-scene{width:350px;margin-inline:-125px}
.editorial-showroom.side-presentation .showroom.panel-closed .rail-items{padding-inline:24px;justify-content:center}
.editorial-showroom.side-presentation .visual-composition{flex:none;width:calc(var(--stage-height) * var(--fit));max-width:none}
.editorial-showroom.side-presentation .rail-name{font-size:10px;opacity:0;white-space:nowrap;transition:opacity .2s}
.editorial-showroom.side-presentation .rail-product.pinned .rail-name,
.editorial-showroom.side-presentation .rail-product.preview .rail-name{font-size:17px;opacity:1}
.editorial-showroom.side-presentation .rail-product:focus-visible{outline-offset:0}
.editorial-showroom.side-presentation .rail-scene{overflow:visible}
@media(min-width:681px) and (max-height:850px){
 .editorial-showroom .site-header{min-height:78px}
 .editorial-showroom .intro h1{font-size:43px}
 .editorial-showroom .rail-product.selected{--stage-height:440px}
 .editorial-showroom .rail-product{--stage-height:300px}
 .editorial-showroom .showroom,.editorial-showroom .collection-stage{min-height:550px}
}
@media(min-width:681px) and (max-width:1000px){
 .editorial-showroom .showroom{grid-template-columns:minmax(0,1fr) 280px;gap:16px}
 .editorial-showroom .rail-product{flex-basis:170px;--stage-height:280px}
 .editorial-showroom .rail-product.selected{flex-basis:300px;--stage-height:430px}
 .editorial-showroom .rail-items{padding-inline:calc(50% - 150px);gap:18px}
 .editorial-showroom .product-panel{padding:22px}
}
@media(max-width:680px){
 .editorial-showroom .site-header{min-height:76px}
 .editorial-showroom .showroom,.editorial-showroom .showroom.panel-closed{display:block;min-height:0}
 .editorial-showroom .collection-stage{min-height:0}
 .editorial-showroom .rail-view{padding-top:12px}
 .editorial-showroom .rail-line{top:28px}
 .editorial-showroom .rail-items{padding:16px 15vw 2px;gap:8vw;scroll-snap-type:x mandatory}
 .editorial-showroom .rail-product,.editorial-showroom .rail-product.selected{flex:0 0 70vw;min-width:0;--stage-height:clamp(200px,calc(100dvh - 515px),380px)}
 .editorial-showroom .rail-scene{height:var(--stage-height)}
 .editorial-showroom .rail-navigation{margin:5px 0 12px}
 .editorial-showroom .rail-name{display:none}
 .editorial-showroom .product-panel{padding:8px 22px calc(16px + env(safe-area-inset-bottom))}
 .editorial-showroom .product-panel[data-sheet=peek]{max-height:154px}
 .editorial-showroom .source-note{margin:0 15px 175px;font-size:10px}
 .rail-controls{width:100%;justify-content:space-between;gap:12px;margin-top:4px}
 .editorial-showroom .toolbar:after{display:none}
 .presentation-switch button{padding:6px 13px}
 .editorial-showroom.side-presentation .rail-items,.editorial-showroom.side-presentation .showroom.panel-closed .rail-items{gap:18px;padding-inline:calc(50% - 35px);scroll-snap-type:x proximity;justify-content:flex-start;--reveal-space:calc((70vw - 70px)/2)}
 .editorial-showroom.side-presentation .rail-product,
 .editorial-showroom.side-presentation .rail-product.selected{flex-basis:70px;--stage-height:calc(clamp(190px,calc(100dvh - 540px),360px) * var(--side-length,1))}
 .editorial-showroom.side-presentation .rail-product.pinned .rail-scene,
 .editorial-showroom.side-presentation .rail-product.preview .rail-scene{width:70vw;margin-inline:calc((70px - 70vw)/2)}
 .profile-note{margin:6px 0;font-size:10px}
 .editorial-showroom .grid-view{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:190px}
 .editorial-showroom .grid-photo{height:210px}
}
@media(prefers-reduced-motion:reduce){.editorial-showroom .rail-product,.editorial-showroom .rail-scene,.editorial-showroom .visual-composition{transition:none}}
