:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff; background: #191a17;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
a, button { color: inherit; font: inherit; }
a { text-decoration: none; }
[hidden] { display: none !important; }
:is(a,button):focus-visible { outline: 2px solid white; outline-offset: -5px; box-shadow: inset 0 0 0 5px #272520; }
.stage { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 320px; overflow: hidden; isolation: isolate; }
.cover-pending .opening, .opening.is-scroll { height: 248vh; height: 248svh; }
.collection { display: grid; grid-template-rows: minmax(0,1.23fr) minmax(0,1fr) auto; height: 100%; }
.mast, .portals, .portal { position: relative; overflow: hidden; }
.mast-photo, .portal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mast-photo { object-position: 63% 48%; }
.mast::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,15,10,.43),transparent 74%); }
.mast-type { position: absolute; left: 5.1vw; bottom: 14%; z-index: 1; }
.mark { display: block; width: clamp(245px, 43vw, 840px); height: auto; filter: brightness(0) invert(1); }
.mast-type p, .cover-type p { text-transform: uppercase; letter-spacing: .18em; font-weight: 500; font-size: clamp(11px, .9vw, 15px); }
.mast-type p { margin-top: clamp(12px, 1.6vh, 24px); }
.portals { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.portal { display: grid; place-items: center; isolation: isolate; }
.portal img { position: absolute; inset: 0; transition: transform .75s cubic-bezier(.21,.65,.24,1),filter .45s; filter: saturate(.84); }
.discover img { object-position: 73% 60%; }
.sidekicks img { object-position: 75% 51%; }
.community img { object-position: 38% 52%; }
.portal::before, .portal::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.portal::before { z-index: 1; background: linear-gradient(0deg,rgba(8,7,6,.32),rgba(8,7,6,.43) 51%,rgba(8,7,6,.12)); }
.portal::after { z-index: 1; opacity: 0; background: radial-gradient(ellipse at center, rgba(255,247,230,.14),transparent 69%); transition: opacity .4s; }
.portal-label { z-index: 2; color: rgba(255,255,255,.86); font-size: clamp(29px,3.35vw,65px); font-weight: 420; letter-spacing: -.057em; line-height: 1.12; text-shadow: 0 1px 6px #14110f55; transition: color .35s,text-shadow .4s; }
.portal:focus-visible { z-index: 3; outline-offset: -6px; }
.portal:focus-visible .portal-label { color: white; text-shadow: 0 0 18px #fff8,0 1px 4px #211c18; }
.portal:focus-visible::after { opacity: 1; }
@media (hover:hover) and (pointer:fine) {
  .portal:hover img { transform: scale(1.032); filter: saturate(1); }
  .portal:hover .portal-label { color: #fff; text-shadow: 0 0 20px #fff8,0 1px 4px #211c18; }
  .portal:hover::after { opacity: 1; }
}
.design-dock {
  display: grid; place-items: center;
  padding: clamp(9px,1.7vh,19px) 16px max(env(safe-area-inset-bottom),clamp(9px,1.7vh,19px));
  background: linear-gradient(90deg,#121411e8,#21241cec,#111310e8), url('06-Selvedge.webp') center 92% / cover;
}
.shop {
  display: inline-flex; justify-content: center; align-items: center; gap: 16px;
  min-width: min(344px,100%); min-height: 58px; padding: 9px 23px;
  background: #f4f2ea; color: #181917; font-size: 21px; font-weight: 490; letter-spacing: -.045em;
  transition: background .25s;
}
.shop-caption { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .085em; padding-right: 15px; border-right: 1px solid #99998e; }
.shop:hover { background: #fff; }
.shop:focus-visible, #lift:focus-visible { outline-color: #211f1c; box-shadow: inset 0 0 0 5px white; }
.arrow { font-size: .94em; }
.skin, .skin-fallback, .skin canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.skin { z-index: 2; }
.skin-fallback { background: #bdbab6 url('15-Envelope-Curtain.webp') var(--cloth-x, 50%) center / cover no-repeat; }
.skin canvas { display: block; }
.cover-type { position: absolute; z-index: 3; left: 7%; top: 39%; color: #242320; }
.cover-mark { width: clamp(210px,22vw,446px); height: auto; display: block; filter: brightness(.86); }
.cover-type p { margin-top: 10px; }
#lift { cursor: pointer; display: inline-flex; align-items: center; gap: 18px; min-height: 46px; margin: clamp(22px,4.3vh,60px) 0 0; padding: 0 1px; border: none; border-bottom: 1px solid currentColor; background: none; font-size: 14px; }
@media (max-width:700px) and (orientation:portrait) {
  .collection { grid-template-rows: minmax(0,.75fr) minmax(0,1.24fr) auto; }
  .mast-type { left: 6%; bottom: 15%; }
  .mark { width: min(68vw,385px); }
  .portals { grid-template-columns: 1fr; grid-template-rows: repeat(3,minmax(0,1fr)); }
  .portal { justify-items: start; }
  .portal-label { margin-left: 6vw; font-size: clamp(24px,7.4vw,40px); }
  .portal::before { background: linear-gradient(90deg,rgba(8,7,6,.65),rgba(8,7,6,.16) 68%,rgba(8,7,6,.06)); }
  .discover img { object-position: 65% 58%; }
  .sidekicks img { object-position: 72% 46%; }
  .community img { object-position: center 48%; }
  .cover-type { left: 8%; top: 16%; }
  .cover-mark { width: 52vw; }
  .skin-fallback { background-position: 65% center; }
  .shop { min-height: 53px; min-width: min(300px,100%); }
}
@media (max-height:500px) {
  .shop { min-height: 44px; }
  .design-dock { padding-block: 6px; }
  .cover-type { top: 21%; }
  #lift { margin-top: 8px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::after { transition: none !important; }
  .portal:hover img { transform: none; }
}
@media (max-aspect-ratio:1/1) {
  .skin-fallback { background-image: url('16-Envelope-Curtain-Vertical.webp'); }
}

.cover-pending :is(.skin,.cover-type)[hidden] { display: block !important; }
.cover-pending #lift, .cover-pending .skin canvas { visibility: hidden; }
.skin::after {
  content: "";
  position: absolute; inset: 0;
  clip-path: var(--edge-mask, inset(0));
  pointer-events: auto;
}
@media (max-width:355px) {
  .shop { padding-inline: 12px; gap: 10px; font-size: 19px; white-space: nowrap; }
  .shop-caption { padding-right: 10px; }
}
.cover-pending .collection { visibility: hidden; }
