@font-face{font-family:Six;src:url(fonts/six-caps-latin-400-normal.woff2) format("woff2");font-display:block}
@font-face{font-family:Arc;src:url(fonts/archivo-latin-wdth-normal.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
/* --wm: width of SOESCLOSET per 1px of Six Caps, so the wordmark fits in pure CSS on the first frame. */
:root{--paper:#f6f6f4;--black:#0b0b0b;--ground:#e1e1df;--ink:#111111;--accent:#111111;--ease:cubic-bezier(.16,1,.3,1);--wm:2.1875}
/* A deep link's first frame is the paper its beat ends on, not the opening's colour. */
html[data-land]{--ground:#e1e1df;--ink:#111111}
*{box-sizing:border-box;margin:0;padding:0}
/* No room scrolls the page; only the index does, and it sets .ix. */
html{background:var(--ground);-webkit-text-size-adjust:100%;height:100%;overflow:hidden}
html.ix{height:auto;overflow:auto;background:var(--paper)}
body{font:400 13px/17px Arc,"Helvetica Neue",Arial,sans-serif;letter-spacing:.002em;color:var(--black);background:var(--paper);overflow-x:clip;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{all:unset;cursor:pointer}
:focus-visible{outline:2px solid currentColor;outline-offset:2px}
/* The one button style: a filled pill, 44px tall. Start, Suggest and the switches share it. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 20px;border-radius:999px;background:#111;color:#e1e1df;font-size:14px;line-height:1;font-weight:600;font-stretch:88%;white-space:nowrap;transition:background-color .2s}
.btn:hover{background:#2e2e2d}
.btn svg{width:16px;height:10px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4}
.btn:focus-visible{outline:2px solid #111;outline-offset:2px}
.six{font-family:Six,Impact,sans-serif;font-weight:400;letter-spacing:0;line-height:.9;text-transform:uppercase}

main>section:not(#index){position:absolute;width:0;height:0}
#stage{position:fixed;left:0;top:0;width:100%;z-index:1;height:100svh;overflow:hidden;color:var(--ink);touch-action:pinch-zoom;contain:strict;container-type:size}
.ix #stage{clip-path:inset(0 0 100% 0)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#ground{position:absolute;inset:0;background:var(--ground)}
#gs{position:absolute;inset:0;z-index:4}
/* The contour background (bg.js): on the ground in the stage, under everything in the Closet. */
#topo{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:block}
#topo svg{width:100%;height:100%}
#index>#topo{z-index:-1}
.g{position:absolute;left:0;top:0;width:1600px;height:1600px;transform-origin:0 0;visibility:hidden} /* no will-change: a hint pins each 1600px box at its biggest raster; translate3d alone keeps a layer at its shown size */
.g img{position:absolute;inset:0;width:100%;height:100%;display:block;user-select:none;-webkit-user-drag:none;pointer-events:none}

.big{position:absolute;pointer-events:none;white-space:nowrap;visibility:hidden}
.chrome{position:absolute;z-index:9;left:20px;right:20px;top:14px;display:flex;justify-content:space-between;align-items:baseline}
#logo{font:400 36px/1 Six,Impact,sans-serif;letter-spacing:.03em;text-transform:uppercase}
/* The hanger mark stands on the wordmark's baseline, as tall as its capitals. */
#logo svg{height:.86em;width:auto;margin-right:.2em;vertical-align:0;overflow:visible}
/* Hover: the mark swings once from its hook and settles (damped). */
#logo svg g{transform-box:view-box;transform-origin:60px 10px}
#logo:hover svg g{animation:swing 1.1s cubic-bezier(.3,0,.4,1)}
@keyframes swing{0%{rotate:0deg}18%{rotate:9deg}40%{rotate:-5.5deg}60%{rotate:3deg}80%{rotate:-1.2deg}100%{rotate:0deg}}
nav{display:flex;gap:16px}
#navBtn{display:none}
nav a{padding:2px 0;border-bottom:1px solid transparent;font-size:13px;font-weight:600;font-stretch:75%;letter-spacing:.07em;text-transform:uppercase}
.note{position:absolute;z-index:9;max-width:300px;left:20px;bottom:18px;visibility:hidden}
/* The same swing tag as the rail, tied beside the hood so it never lands on a print. */
#hov{position:absolute;z-index:10;left:0;top:0;width:128px;pointer-events:none;visibility:hidden;background:var(--paper);color:var(--black);padding:18px 10px 10px;font-size:12px;line-height:14px;font-weight:500;font-stretch:75%;clip-path:polygon(20% 0,80% 0,100% 14px,100% 100%,0 100%,0 14px);transform-origin:50% 0}
#hov small{display:block;font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
#hov b{display:block;margin:2px 0 6px;font-size:46px;line-height:.92}


/* The sideways scroller stands over the garments and moves nothing itself: its scrollLeft is the room's position. */
.mover{position:absolute;inset:0;z-index:5;overflow:auto hidden;scroll-snap-type:x mandatory;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-x pinch-zoom;cursor:grab;user-select:none;-webkit-user-select:none;visibility:hidden}
.mover::-webkit-scrollbar{display:none}
.mover.on{visibility:visible}
.mover.free{scroll-snap-type:none}
.mover.drag{cursor:grabbing!important}
.mover>div{display:flex;width:max-content;height:100%}
.slot{position:relative;flex:none;width:var(--p);height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.slot:last-child{width:100cqw}
.slot button{position:absolute;left:var(--bx);top:var(--by);width:var(--bw);height:var(--bh);pointer-events:none}
.slot button:focus-visible{outline:2px solid var(--black);outline-offset:0;box-shadow:0 0 0 2px var(--paper),inset 0 0 0 2px var(--paper)}
/* Position stands on its own paper, so it reads on any room's colour. */
.pos{position:absolute;z-index:9;right:20px;bottom:18px;display:flex;align-items:center;height:40px;background:var(--paper);color:var(--black);font-size:12px;font-weight:600;font-stretch:75%;letter-spacing:.07em;text-transform:uppercase;font-variant-numeric:tabular-nums;white-space:nowrap;visibility:hidden}
.pos.on{visibility:visible}
.pos small{padding:0 12px;font:inherit;font-weight:400;letter-spacing:.02em;text-transform:none}
.pos.moved small{display:none}
.pos i{position:relative;width:clamp(60px,10cqw,140px);height:1px;margin:0 6px;background:rgba(11,11,11,.3)}
.pos i::after{content:"";position:absolute;left:0;top:-1px;width:100%;height:3px;background:var(--black);transform:scaleX(var(--at,0));transform-origin:0 0}
.pos button{display:flex;align-items:center;justify-content:center;min-width:44px;height:40px;padding:0 10px;text-align:center}
.pos button:focus-visible{outline-offset:-2px}
.pos button[disabled]{opacity:.25;cursor:default}
.pos b{font-weight:600;padding:0 2px}
.pos svg{width:16px;height:10px;fill:none;stroke:currentColor;stroke-width:1.2}
/* A room with nothing to count (Compare) keeps only its two doors, split by a short rule. */
/* The armed note: one push past the end shows it, a second turns the page. */
.pos .again{position:absolute;right:0;bottom:100%;margin-bottom:8px;padding:5px 10px;background:var(--black);color:var(--paper);font-weight:600;letter-spacing:.07em;opacity:0;translate:0 4px;transition:opacity .2s,translate .2s var(--ease);pointer-events:none}
.pos.armed .again{opacity:1;translate:0 0}
.pos.links i{width:1px;height:14px;margin:0 2px;background:rgba(11,11,11,.3)}.pos.links i::after{display:none}
#hair{position:absolute;left:0;top:0;width:1px;height:2px;background:currentColor;transform-origin:0 0;transform:scaleX(0);pointer-events:none;transition:transform .55s var(--ease)}
/* Round 4 page turn, one experience for everyone (Reduce Motion on or off), motion-safe: no 3D, no big scale.
   The new room slides up whole a short way and fades in; the old one fades and drifts up slightly (scale .97 at the least). No clip ever cuts a room. */
.stage-in{animation:turn-in .6s var(--ease) both} /* browsers without view transitions */
::view-transition-old(root){animation:turn-out .45s cubic-bezier(.4,0,.2,1) both;transform-origin:50% 0}
::view-transition-new(root){animation:turn-in .6s var(--ease) .08s both}
@keyframes turn-out{to{transform:translateY(-3%) scale(.97);opacity:0}}
@keyframes turn-in{from{transform:translateY(8%);opacity:0}}
/* Going back (to an earlier room) runs the other way. Set by rooms.js. */
html[data-turn=back]::view-transition-old(root){animation-name:turn-out-back;transform-origin:50% 100%}
html[data-turn=back]::view-transition-new(root){animation-name:turn-in-back}
@keyframes turn-out-back{to{transform:translateY(3%) scale(.97);opacity:0}}
@keyframes turn-in-back{from{transform:translateY(-8%);opacity:0}}
/* Home to Closet options 1 and 2 (rooms.js ?tr=): the rooms only cross-fade; the pieces themselves travel (hero.js). */
/* The top bar is the same in every room, so it stays put while the rooms change under it. */
/* Behind both rooms while they cross: the studio grey. */
::view-transition{background:#e1e1df}
#chrome{view-transition-name:chrome}
::view-transition-group(chrome){animation-duration:.35s}
@keyframes fade-out{to{opacity:0}}@keyframes fade-in{from{opacity:0}}

@media (max-width:760px){
  /* Padding cancelled by margin: a 44px thumb target with no change to the bar. */
  #logo{font-size:30px;position:relative;z-index:1;padding-block:7px;margin-block:-7px}
  /* Seven words never fit beside the name: the phone gets the room's own name, and all of them as a poster when asked. */
  #navBtn{display:flex;position:relative;z-index:1;align-items:center;gap:8px;min-height:44px;margin:-12px 0;font-size:13px;font-weight:600;font-stretch:75%;letter-spacing:.07em;text-transform:uppercase;pointer-events:auto}
  #navBtn::after{content:"";width:11px;height:7px;border-block:1px solid currentColor}
  #navBtn[aria-expanded=true]::after{height:0;border-bottom:0}
  nav{display:none;position:fixed;inset:0;height:100svh;padding:64px 20px 20px;flex-direction:column;background:var(--paper);overflow:auto}
  nav.open{display:flex}
  nav a{display:flex;align-items:center;flex:1 1 0;min-height:48px;max-height:84px;padding:0;border-top:1px solid var(--black);color:var(--black)!important;font:400 clamp(44px,8svh,64px)/1 Six,Impact,sans-serif;letter-spacing:.02em}
  #chrome:has(nav.open){mix-blend-mode:normal;pointer-events:auto}
  #chrome:has(nav.open) #logo,#chrome:has(nav.open) #navBtn{color:var(--black)!important}
  #hair{display:none}
  .pos{left:16px;right:16px;bottom:12px;height:44px}.pos button{height:44px}.pos i{flex:1;width:auto}.pos small{display:none}
}

/* Round 4: a garment picture still decoding shows a soft blob of its own dominant color in the garment's place, never a blank or half-drawn image (core.js whole()). */
img.wait{object-position:-99999px 0;background:radial-gradient(29% 36% at 50% 47%,color-mix(in srgb,var(--dc) 55%,transparent) 78%,transparent)}
