/* QUIXOTIC — everything below the first screen.
   The first screen (fonts, base, header, stage, scene A, entrance) is inlined in index.html.
   Rule 6: product images are only ever moved, uniformly scaled, clipped or faded in. Never filtered
   (except grayscale on the colour model shots), blended, skewed, rotated or covered. */

/* ---------- stage: wipes, scene B, scene C ---------- */
.wipe{position:absolute;top:0;left:0;width:calc(var(--sw)*1.26);height:100%;will-change:transform}
.wipe.is-on{visibility:visible}
.wipe__in{position:absolute;top:0;left:0;width:var(--sw);height:100%;will-change:transform}
.plate{position:absolute;inset:0;will-change:transform}
.plate img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.plate--b{transform-origin:50% 92%}
/* when the photo has to be cropped in height (viewport wider than 9:16), most of the crop comes off the floor, not off her head */
.plate--b img{filter:grayscale(1);object-position:50% 22%}
.plate--c{transform-origin:50% 94%}
.scene-b{background:#888}
.scene-c{background:#0a0a0a}
.cap--b{color:#000}
.cap--c{color:#fff}

/* the bands stop below the header and above the caption; their ends fade instead of cutting letters */
.vstrip{position:absolute;top:calc(66px + env(safe-area-inset-top,0px));bottom:calc(max(var(--sh)*.06,40px) + 12px);width:var(--vz,40px);display:flex;justify-content:center;overflow:hidden;opacity:0;will-change:opacity;
 -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0,#000 7%,#000 93%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0,#000 7%,#000 93%,rgba(0,0,0,0) 100%)}
.vstrip--l{left:var(--vl,4px)}
.vstrip--r{left:var(--vr,300px)}
.vstrip.is-off{display:none}
.vmq{display:flex;height:max-content;writing-mode:vertical-rl;white-space:nowrap;font-weight:800;font-size:var(--vf,32px);line-height:1;color:#000}
.vmq>span{flex:none;padding-bottom:.5em}

/* top, height and size are set from the photo geometry in stage.js: always below the header and 12px clear of the hood */
.cmq{position:absolute;left:0;right:0;top:var(--ct,calc(var(--sh)*.068));height:var(--ch,calc(var(--sh)*.152));overflow:hidden;font-weight:800;font-size:var(--cf,calc(var(--sh)*.15));line-height:var(--ch,.8);white-space:nowrap;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.85)}

.cmq.is-off{display:none}

/* live haze in the light cone only: the box ends above the hood (y = 0.27 of the photo) and its mask fades out before that */
.fog{position:absolute;left:0;top:0;width:100%;height:var(--fh,27%);opacity:0;transition:opacity 1.2s ease;
 -webkit-mask-image:radial-gradient(ellipse 44% 90% at 52% 0,#000 22%,rgba(0,0,0,0) 100%);mask-image:radial-gradient(ellipse 44% 90% at 52% 0,#000 22%,rgba(0,0,0,0) 100%)}
.fog.is-ready{opacity:1}

.seam{position:absolute;top:0;height:100%;width:calc(var(--sw)*.2);overflow:visible;pointer-events:none;will-change:transform}
.seam.is-on{visibility:visible}
.seam--1{left:calc(var(--sw)*-.03)}
.seam--2{left:calc(var(--sw)*1.09)}
.seam path{fill:none;stroke:#fff;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.seam__l{stroke-width:2px}
.seam__g1{display:none}
.seam__g2{display:none}

/* one stacking context for the page content: it can fade as a whole (header jump) and always stays above the chin */
main{position:relative;z-index:1}

/* strip that shows under the stage when mobile browser chrome retracts (large viewport > small viewport) */
.chin{position:fixed;left:0;right:0;bottom:0;z-index:0;height:calc(var(--lh) - var(--sh));overflow:hidden;background:#000;color:#888;display:flex;align-items:center;font-size:11px;line-height:1;letter-spacing:.3em;white-space:nowrap}
.chin .mq>span{padding-right:.3em}

/* ---------- curved "piping" section edges ---------- */
.edge{position:absolute;left:0;bottom:calc(100% - var(--eh)*.34);width:100%;height:var(--eh);pointer-events:none;overflow:visible}
.edge__fill{fill:#fff}
.edge__pipe{fill:none;stroke:#000;stroke-width:1.5px;vector-effect:non-scaling-stroke}
.edge--dark .edge__fill{fill:#000}
.edge--dark .edge__pipe{stroke:#fff}

/* ---------- THE COLLECTION ---------- */
.collection{--eh:clamp(56px,17vw,150px);position:relative;z-index:2;margin-top:calc(var(--sh)*-1);padding:calc(var(--eh)*.34 + 46px) 0 calc(var(--eh)*.66 + 56px);background:#fff;color:#000;scroll-margin-top:0}
.title-mq{overflow:hidden;height:calc(min(22vw,300px)*.86);font-weight:800;font-size:min(22vw,300px);line-height:.86;white-space:nowrap}
.collection__sub{margin:14px 16px 0;height:16px;font-size:13px;line-height:16px;letter-spacing:.2em;text-transform:uppercase;color:#1a1a1a}
.rail{--cw:72vw;display:flex;gap:20px;margin-top:26px;padding:4px 16px 8px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 16px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.card{flex:0 0 var(--cw);width:var(--cw);scroll-snap-align:start}
.card a{display:block;color:#000}
.card a:focus-visible{outline-offset:-2px}
.card__media{display:block;aspect-ratio:9/16;background:#fff}
.card__media img{width:100%;height:100%;object-fit:contain;will-change:transform}
.card__row{display:flex;align-items:baseline;justify-content:space-between;height:22px;margin-top:14px;font-weight:800;font-size:16px;line-height:22px;letter-spacing:.08em}
.card__name{display:block;height:24px;margin-top:4px;font-size:19px;line-height:24px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card__color{display:block;height:18px;font-size:13px;line-height:18px;letter-spacing:.2em;text-transform:uppercase;color:#1a1a1a}
.rail-foot{display:flex;align-items:center;gap:20px;height:44px;margin:14px 16px 0}
.rail-progress{flex:1;height:2px;background:#e7e4e4;overflow:hidden}
.rail-progress i{display:block;width:100%;height:100%;background:#000;transform-origin:0 50%;transform:scaleX(.125);will-change:transform}
.rail-nav{display:none;gap:8px}
.rail-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #000;border-radius:50%;background:#fff;color:#000;cursor:pointer;transition:background-color .25s ease,color .25s ease}
.rail-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
@media (hover:hover) and (pointer:fine){
 .mod .rail-nav{display:flex}
 .rail-btn:hover{background:#000;color:#fff}
}
@media (prefers-reduced-motion:no-preference){
 .mod .card{opacity:0;transform:translate3d(0,28px,0);transition:opacity .7s ease,transform 1s var(--ez);transition-delay:calc(var(--i)*70ms);will-change:opacity,transform}
 .mod .collection.is-seen .card{opacity:1;transform:none}
 /* header jump (SHOP / logo): the content fades out, the page jumps, the content fades back */
 .mod main,.mod .foot,.mod .chin{transition:opacity .15s linear}
 .is-jump main,.is-jump .foot,.is-jump .chin{opacity:0}
}

/* ---------- THE CREW ---------- */
.crew{--eh:clamp(56px,17vw,150px);--iw:150vw;position:relative;z-index:3;padding:calc(var(--eh)*.34 + 26px) 0 64px;background:#000;color:#fff}
.crew__mq{overflow:hidden;height:calc(min(15vw,190px)*.9);font-weight:800;font-size:min(15vw,190px);line-height:.9;white-space:nowrap}
.crew__mq--b{color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.9)}
.crew__frame{position:relative;margin:18px auto;width:min(100%,var(--fw,100%));height:calc(var(--iw)*.565);overflow:hidden;background:#0a0a0a}
.crew__img{width:var(--iw);max-width:none;height:calc(var(--iw)*.565);filter:grayscale(1);will-change:transform}

/* ---------- footer ---------- */
.foot{position:relative;z-index:3;padding:8px 0 calc(34px + env(safe-area-inset-bottom,0px));background:#000;color:#fff;overflow:hidden}
.foot__mq{overflow:hidden;height:calc(min(34vw,420px)*.96);font-weight:800;font-size:min(34vw,420px);line-height:.84;white-space:nowrap;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.9)}
.foot__in{display:flex;flex-direction:column;align-items:center;gap:22px;margin-top:40px;padding:0 16px}
.foot__logo{width:160px;height:auto;aspect-ratio:364/95;filter:invert(1)}
.foot__nav{display:flex;gap:10px}
.foot__nav a{display:flex;align-items:center;justify-content:center;min-width:120px;height:46px;padding:0 20px;border:1px solid #fff;font-size:14px;letter-spacing:.22em;text-indent:.22em;text-transform:uppercase;transition:background-color .25s ease,color .25s ease}
@media (hover:hover){.foot__nav a:hover{background:#fff;color:#000}}
.foot__copy{height:16px;font-size:12px;line-height:16px;letter-spacing:.24em;color:#888}

/* ---------- desktop ---------- */
@media (min-width:760px){
 .rail{--cw:min(22.5vw,calc(var(--sh)*.36),380px);gap:28px;padding-left:28px;padding-right:28px;scroll-padding:0 28px}
 .collection__sub,.rail-foot{margin-left:28px;margin-right:28px}
 .crew{--iw:min(125vw,1200px);--fw:min(100vw - 56px,960px)}
 .crew__frame{margin-top:30px;margin-bottom:30px}
 .foot__in{margin-top:56px}
}

/* ---------- reduced motion: a complete static composition, wipes become plain fades ---------- */
@media (prefers-reduced-motion:reduce){
 .wipe{width:var(--sw);will-change:opacity;transition:opacity .3s linear}
 .seam{display:none}
 .hint__line i{top:20px}
}
