/* =========================================================
   E4.CLOTHING — Beyond Ordinary
   ========================================================= */
:root {
  --ink: #0a0a0b;
  --ink-2: #121214;
  --ink-3: #1c1c1f;
  --line: rgba(255, 255, 255, .12);
  --text: #f3f2ef;
  --muted: #9a9894;
  --bone: #eee8dd;
  --bone-ink: #2b1d13;
  --red: #ff3b2f;
  --green: #25d366;
  --chrome: linear-gradient(100deg, #7d7d7d 0%, #f7f7f7 16%, #a8a8a8 30%, #ffffff 46%, #8a8a8a 60%, #e2e2e2 76%, #7b7b7b 100%);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 16px;
  --header-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--ink); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent;
}
body.lock { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- Shared ---------- */

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.h2 { font-size: clamp(34px, 6.4vw, 92px); line-height: .95; letter-spacing: -.02em; font-weight: 850; font-stretch: 125%; text-transform: uppercase; overflow-wrap: anywhere; }
.h2 em {
  font-style: normal; font-stretch: 62%; font-weight: 300;
  background: var(--chrome); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #c9c7c2; max-width: 52ch; }
.chrome-text { background: var(--chrome); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

.section { padding: clamp(72px, 12vw, 160px) var(--gutter); }
.section__head { margin-bottom: clamp(32px, 5vw, 64px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Buttons */
.btn {
  --bg: transparent; --fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 14px 26px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), opacity .3s;
  white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, #fff); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn:active { transform: scale(.97); }
.btn--light { --bg: #f3f2ef; --fg: #0a0a0b; --fill: var(--red); border-color: transparent; }
.btn--light:hover { color: #fff; }
.btn--ghost:hover { color: #0a0a0b; border-color: #fff; }
.btn--red { --bg: var(--red); --fg: #fff; --fill: #fff; border-color: transparent; }
.btn--red:hover { color: #0a0a0b; }
.btn--green { --bg: var(--green); --fg: #052e16; --fill: #fff; border-color: transparent; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Reveal on scroll (only hidden while JS runs) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-content: center; justify-items: center; gap: 22px;
  animation: loader-out .9s var(--ease-io) 4s forwards; /* safety net if JS fails */
}
.loader__mark { width: min(200px, 44vw); animation: loader-in 1s var(--ease) both; }
.loader__bar { width: 160px; height: 2px; background: #222; overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; background: #fff; transform-origin: left; animation: bar 1.2s var(--ease-io) .1s both; }
.loader__txt { font-family: var(--mono); font-size: 11px; letter-spacing: .4em; color: #777; animation: loader-in 1s var(--ease) .3s both; }
.loaded .loader { animation: loader-out .8s var(--ease-io) forwards; }
@keyframes loader-in { from { opacity: 0; transform: translateY(20px) scale(.96); filter: blur(8px); } }
@keyframes bar { from { transform: scaleX(0); } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }

/* Film grain (desktop only — too costly on phones) */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 4%); } 40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 2%); } 80% { transform: translate(6%, 5%); } }

.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 160; width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  }
  .cursor.is-on { opacity: 1; }
  .cursor span { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
  .cursor.is-big { width: 78px; height: 78px; margin: -39px 0 0 -39px; mix-blend-mode: normal; }
  .cursor.is-big span { opacity: 1; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; min-height: 34px; }
.ticker__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker__track span { padding: 9px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker__track span::after { content: "✦"; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter); background: rgba(10, 10, 11, .6); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(10, 10, 11, .82); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 52px; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__name { font-weight: 800; font-stretch: 125%; font-size: 14px; letter-spacing: .04em; }
.brand__name sup { font-size: 9px; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; height: 1.3em; line-height: 1.3; }
.nav a span { display: block; position: relative; transition: transform .5s var(--ease); }
.nav a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--red); }
.nav a:hover span { transform: translateY(-100%); }
.header__right { display: flex; align-items: center; gap: 8px; }
.icon-btn, .bag-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s; position: relative; }
@media (hover: hover) { .icon-btn:hover, .bag-btn:hover { background: #fff; color: #000; border-color: #fff; } }
.icon-btn svg, .bag-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.icon-btn svg .fill { fill: currentColor; stroke: none; }
.bag-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.6); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--ink); padding: calc(var(--header-h) + 50px) var(--gutter) calc(32px + var(--safe-b));
  display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font-size: clamp(36px, 11vw, 64px); font-weight: 850; font-stretch: 125%; text-transform: uppercase; line-height: 1.08; transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.menu-open .menu nav a { transform: none; opacity: 1; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .06s; } .menu-open .menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .18s; } .menu-open .menu nav a:nth-child(5) { transition-delay: .24s; }
.menu__foot { display: grid; gap: 14px; }
.menu__foot p { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h) - 34px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: 40px; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(70px, 8vw, 100px); overflow: hidden;
}
.hero__bgmark { position: absolute; right: -6vw; top: 50%; width: 70vw; transform: translateY(-50%); fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 2; pointer-events: none; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(36px, 6.6vw, 150px); line-height: .86; letter-spacing: -.035em; font-weight: 900; font-stretch: 125%; text-transform: uppercase; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.loaded .hero__title .line > span { animation: rise 1.2s var(--ease) forwards; }
.loaded .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero__sub { color: #c9c7c2; font-size: clamp(16px, 1.3vw, 19px); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.hero__facts b { display: block; font-size: clamp(18px, 2vw, 24px); font-stretch: 125%; font-weight: 800; }
.hero__facts span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero__stage { position: relative; height: min(76vh, 720px); min-height: 460px; --mx: 0; --my: 0; }
.card-float {
  position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  translate: calc(var(--mx) * var(--depth) * 1px) calc(var(--my) * var(--depth) * 1px); transition: translate .8s var(--ease);
}
.card-float img, .card-float video { width: 100%; height: 100%; object-fit: cover; }
.card-float figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .62);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.card-float--0 { --depth: 18; width: 44%; aspect-ratio: 1; left: 0; top: 8%; rotate: -7deg; }
.card-float--1 { --depth: 30; width: 40%; aspect-ratio: 9/16; left: 33%; top: 0; z-index: 2; }
.card-float--2 { --depth: 12; width: 36%; aspect-ratio: 3/4; right: 0; bottom: 4%; rotate: 6deg; }
.js .card-float { opacity: 0; }
.loaded .card-float {
  animation: float 7s ease-in-out infinite, pop 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i) * -2s), calc(.2s + var(--i) * .12s);
}
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes pop { from { opacity: 0; transform: translateY(80px) scale(.9); } to { opacity: 1; } }
.spin-badge { position: absolute; z-index: 3; width: 132px; height: 132px; left: 4%; bottom: 2%; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 10, 11, .8); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.spin-badge:hover { transform: scale(1.08); }
.spin-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.spin-badge__ring text { fill: #f3f2ef; font-family: var(--mono); font-size: 13.5px; letter-spacing: 3px; }
.spin-badge__mark { width: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-hint span { width: 1px; height: 38px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(26px, 5vw, 60px) 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee__row { --skew: 0deg; transform: skewX(var(--skew)); transition: transform .3s ease-out; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 40s; }
.marquee__track span { font-size: clamp(40px, 8vw, 120px); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1.05; padding: 0 .25em; white-space: nowrap; }
.marquee__track span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(243, 242, 239, .55); }
.marquee__track i { font-style: normal; color: var(--red); font-size: clamp(22px, 3vw, 44px); }

/* ---------- Categories ---------- */
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.cat:nth-child(even) { margin-top: 48px; }
.cat img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.25) brightness(.85); }
.cat:hover img { transform: scale(1.12); filter: none; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .78)); }
.cat__label { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; }
.cat__label b { font-size: clamp(17px, 1.8vw, 26px); font-stretch: 125%; font-weight: 850; text-transform: uppercase; line-height: 1.1; }
.cat__label small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #cfcdc8; }
.cat__label::after { content: "→"; position: absolute; right: 0; bottom: 0; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease); }
.cat:hover .cat__label::after { transform: none; }

/* ---------- Filters + products ---------- */
.filters { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; padding: 10px 18px; min-height: 40px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: background .35s var(--ease), color .35s; }
.filters button:hover { color: var(--text); }
.filters button.is-active { background: #fff; color: #000; }
.filters button sup { font-family: var(--mono); font-size: 9px; margin-left: 3px; opacity: .7; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 16px; }
.grid__msg { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }
.product { position: relative; cursor: pointer; }
.product.is-hidden { display: none; }
.product.is-entering { animation: card-in .7s var(--ease) both; animation-delay: var(--i, 0s); }
@keyframes card-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.product__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: #d9d6d1; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.product__media img.alt { opacity: 0; object-position: center top; }
@media (hover: hover) {
  .product:hover .product__media img { transform: scale(1.06); }
  .product:hover .product__media img.alt { opacity: 1; }
}
.product.sold .product__media img { filter: grayscale(1) opacity(.6); }
.badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: #0a0a0b; color: #fff; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.badge--hot { background: var(--red); }
.badge--sold { background: #fff; color: #000; }
.product__info { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 2px 0; }
.product__info h3 { font-size: 15px; font-weight: 750; font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; line-height: 1.25; }
.product__info p { grid-row: 2; font-size: 13px; color: var(--muted); }
.price { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); font-size: 13px; font-weight: 700; white-space: nowrap; }
.price.dm { color: var(--muted); font-weight: 400; font-size: 11.5px; letter-spacing: .04em; }
.sizes {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; gap: 6px; align-items: center; padding: 6px; border-radius: 999px;
  background: rgba(10, 10, 11, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.sizes::before { content: "Quick add"; flex: 1; padding-left: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #cfcdc8; }
.sizes button { width: 36px; height: 36px; border-radius: 50%; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); transition: background .25s, color .25s, transform .25s var(--ease); }
.sizes button:hover { background: #fff; color: #000; transform: scale(1.1); }
@media (hover: hover) { .product:hover .sizes, .product:focus-within .sizes { opacity: 1; transform: none; } }
.quick { display: none; position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; font-size: 22px; line-height: 1; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
@media (hover: none) {
  .sizes { display: none; }
  .quick { display: grid; }
}

/* ---------- Lookbook ---------- */
.lookbook { position: relative; background: var(--ink-2); border-block: 1px solid var(--line); }
.lookbook__sticky { padding: clamp(64px, 10vw, 120px) 0; overflow: hidden; }
.lookbook__head { padding: 0 var(--gutter); margin-bottom: 36px; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.lookbook__head .eyebrow { width: 100%; margin-bottom: 0; }
.lookbook__hint { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.lookbook__track { display: flex; gap: 16px; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lookbook__track::-webkit-scrollbar { display: none; }
.look { margin: 0; flex: none; width: clamp(230px, 26vw, 400px); scroll-snap-align: start; }
.look--square { width: clamp(250px, 32vw, 500px); }
.look img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); transition: transform 1s var(--ease), filter .6s; filter: grayscale(1) contrast(1.05); }
.look--square img { aspect-ratio: 1; }
.look:hover img { filter: none; transform: scale(.98); }
.look figcaption { display: flex; gap: 12px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.look figcaption b { font-family: var(--mono); color: var(--text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lookbook.is-pinned .lookbook__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.lookbook.is-pinned .lookbook__track { overflow: visible; scroll-snap-type: none; will-change: transform; }

/* ---------- Featured ---------- */
.surplus { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.surplus__video { position: relative; aspect-ratio: 9/16; max-height: 82vh; border-radius: 22px; overflow: hidden; background: var(--ink-3); justify-self: center; width: 100%; max-width: 440px; }
.surplus__video.is-image { aspect-ratio: 4/5; }
.surplus__video video, .surplus__video img { width: 100%; height: 100%; object-fit: cover; }
.surplus__copy { position: relative; }
.surplus__copy .h2 { margin-bottom: 22px; }
.surplus__copy .lead { margin-bottom: 32px; }
.price-big { display: inline-flex; align-items: baseline; gap: 8px; color: var(--red); font-size: 1.35em; }
.price-big small { font-size: .3em; font-stretch: 100%; color: var(--text); letter-spacing: 0; }
.sticker { position: absolute; right: 0; top: -30px; width: clamp(104px, 12vw, 160px); animation: spin 18s linear infinite reverse; }
.sticker circle { fill: var(--red); }
.sticker text { fill: #fff; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 2.6px; }
.sticker .sticker__big { font-family: var(--font); font-size: 34px; font-weight: 900; letter-spacing: 0; }

/* ---------- Story strip (cream) ---------- */
.story { background: var(--bone); color: var(--bone-ink); padding: clamp(64px, 8vw, 110px) var(--gutter); }
.story__top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.story .eyebrow { color: #7a6656; }
.story .h2 { font-size: clamp(32px, 5vw, 72px); }
.story .h2 em { background: none; color: #8a5a37; -webkit-text-fill-color: currentColor; animation: none; font-weight: 400; }
.story .lead { color: #4a3a2e; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promises li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 20px; border-radius: var(--radius); background: rgba(43, 29, 19, .05); border: 1px solid rgba(43, 29, 19, .12); }
.promises svg { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--bone-ink); fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linejoin: round; }
.promises b { font-stretch: 112%; text-transform: uppercase; font-size: 15px; line-height: 1.3; }
.promises span { color: #5b4a3d; font-size: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 28px 24px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); position: relative; overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.step::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.step:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-6px); }
.step:hover::before { transform: none; }
.step__n { display: block; font-size: 56px; font-weight: 900; font-stretch: 62%; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); margin-bottom: 26px; }
.step h3 { font-size: 18px; font-stretch: 125%; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Instagram ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig::after { content: ""; position: absolute; inset: 0; background: rgba(255, 59, 47, 0); transition: background .4s; }
.ig:hover img { transform: scale(1.1); }
.ig:hover::after { background: rgba(255, 59, 47, .25); }

/* ---------- Footer ---------- */
.footer { padding: clamp(72px, 10vw, 140px) var(--gutter) calc(28px + var(--safe-b)); border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { text-align: center; display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(56px, 8vw, 110px); }
.footer__cta .h2 { margin-bottom: 26px; }
.footer__cta .hero__cta { justify-content: center; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 30px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer__cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.footer__cols a { display: block; padding: 5px 0; font-weight: 600; transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: var(--red); transform: translateX(6px); }
.footer__word {
  font-size: clamp(30px, 10.4vw, 190px); font-weight: 900; font-stretch: 125%; letter-spacing: -.04em; line-height: .9; text-align: center; white-space: nowrap; margin: 40px 0 26px;
  background: var(--chrome); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite;
}
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer__base a:hover { color: var(--text); }

/* ---------- Bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.bag-open .scrim, .sheet-open .scrim { opacity: 1; visibility: visible; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; width: min(440px, 100%); background: var(--ink-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .65s var(--ease); visibility: hidden;
}
.bag-open .bag { transform: none; visibility: visible; }
.bag { color-scheme: dark; }
.bag__head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.bag__head h3 { flex: 1; font-stretch: 125%; text-transform: uppercase; font-size: 18px; }
.bag__panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bag__head h3 span { color: var(--muted); font-weight: 400; }
.bag__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px; }
.bag__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: card-in .5s var(--ease); }
.bag__item img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; background: #d9d6d1; }
.bag__item h4 { font-size: 14px; font-weight: 700; line-height: 1.3; }
.bag__item small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; font-size: 16px; }
.qty button:hover { background: #fff; color: #000; }
.qty span { min-width: 18px; text-align: center; font-size: 13px; font-weight: 700; }
.bag__remove { font-family: var(--mono); font-size: 11px; color: var(--muted); text-decoration: underline; padding: 8px 0; }
.bag__remove:hover { color: var(--red); }
.bag__empty { flex: 1; display: none; place-content: center; justify-items: center; gap: 20px; color: var(--muted); }
.bag.is-empty [data-panel="bag"] .bag__empty { display: grid; }
.bag.is-empty [data-panel="bag"] .bag__list, .bag.is-empty [data-panel="bag"] .bag__foot { display: none; }

/* Checkout form */
.bag__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 24px; display: grid; gap: 14px; align-content: start; }
.bag__summary { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-3);
  color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 78px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .1); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); }
.field .err { color: #ff8a80; font-size: 12.5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #cfcdc8; min-height: 40px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__err { color: #ff8a80; font-size: 14px; }
.form__err:empty { display: none; }
.btn.is-busy { pointer-events: none; opacity: .7; }

/* Order placed */
.bag__done { text-align: center; justify-items: center; padding-top: 36px; }
.done__tick { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #052e16; display: grid; place-items: center; font-size: 38px; font-weight: 900; animation: tick-in .7s var(--ease) both; }
@keyframes tick-in { from { transform: scale(.4); opacity: 0; } }
.bag__done h4 { font-size: 22px; font-stretch: 125%; text-transform: uppercase; line-height: 1.2; }
.bag__done h4 span { color: var(--green); font-family: var(--mono); font-stretch: 100%; }
.bag__done p { color: #c9c7c2; max-width: 34ch; }
.done__items { width: 100%; display: grid; gap: 6px; margin-top: 6px; text-align: left; padding: 14px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line); font-size: 13.5px; }
.done__items li { display: flex; justify-content: space-between; gap: 12px; }
.done__items li span:last-child { font-family: var(--mono); color: var(--muted); white-space: nowrap; }
.bag__foot { padding: 18px 20px calc(20px + var(--safe-b)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.bag__total { display: flex; justify-content: space-between; font-size: 18px; font-stretch: 125%; text-transform: uppercase; }
.bag__note { font-size: 12px; color: var(--muted); margin-bottom: 4px; }

/* ---------- Product sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; visibility: hidden; }
.sheet-open .sheet { visibility: visible; }
.sheet__panel {
  position: relative; width: 100%; max-height: 92svh; background: var(--ink-2); border-radius: 22px 22px 0 0; border: 1px solid var(--line); border-bottom: 0;
  overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; transform: translateY(105%); transition: transform .6s var(--ease);
  padding-bottom: var(--safe-b);
}
.sheet-open .sheet__panel { transform: translateY(var(--drag, 0px)); }
.sheet__panel.is-dragging { transition: none; }
.sheet__grab { position: sticky; top: 0; z-index: 3; display: block; width: 44px; height: 5px; margin: 10px auto -15px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.sheet__close { position: absolute; top: 12px; right: 12px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 15px; }
.sheet__media { position: relative; }
.sheet__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #d9d6d1; }
.sheet__gallery::-webkit-scrollbar { display: none; }
.sheet__gallery img { flex: none; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.sheet__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.sheet__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); transition: background .3s, transform .3s; }
.sheet__dots i.on { background: #fff; transform: scale(1.3); }
.sheet__body { padding: 20px 20px 24px; display: grid; gap: 4px; }
.sheet__cat { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet__body h3 { font-size: clamp(24px, 6vw, 34px); font-stretch: 125%; font-weight: 850; text-transform: uppercase; line-height: 1.05; }
.sheet__sub { color: var(--muted); }
.sheet__price { font-family: var(--mono); font-size: 18px; font-weight: 700; margin: 6px 0 14px; }
.sheet__price.dm { font-size: 14px; color: var(--muted); font-weight: 400; }
.sheet__label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.sheet__sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sheet__sizes button { min-width: 56px; height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; transition: background .25s, color .25s, border-color .25s; }
.sheet__sizes button[aria-checked="true"] { background: #fff; color: #000; border-color: #fff; }
.sheet__sizes button:disabled { opacity: .35; text-decoration: line-through; }
.sheet__sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sheet__actions { display: grid; gap: 10px; }
.sheet__note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }
@media (min-width: 860px) {
  .sheet { align-items: center; padding: 24px; }
  .sheet__panel { width: min(980px, 100%); max-height: 88vh; border-radius: 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.05fr .95fr; transform: translateY(40px) scale(.97); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
  .sheet-open .sheet__panel { transform: none; opacity: 1; }
  .sheet__grab { display: none; }
  .sheet__gallery img { aspect-ratio: 4/5; }
  .sheet__body { padding: 40px 34px; align-content: center; }
}

/* ---------- Floating buttons (right side) ---------- */
.fabs {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none; transform: translateY(170%); transition: transform .6s var(--ease);
}
.loaded .fabs { transform: none; }
.bag-open .fabs, .sheet-open .fabs, .menu-open .fabs { transform: translateY(170%); }
.fab {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease), opacity .35s;
}
.fab svg { width: 24px; height: 24px; flex: none; }
.fab:active { transform: scale(.95); }
.fab--wa { background: var(--green); color: #052e16; }
.fab--wa svg { width: 26px; height: 26px; }
.fab--wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: wa-pulse 2.4s infinite; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.fab--shop { display: none; background: #f3f2ef; color: #0a0a0b; }
.fab--shop.is-away { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); z-index: 170; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 999px;
  background: #fff; color: #000; font-size: 14px; font-weight: 600; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); text-align: center;
  transform: translate(-50%, 30px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .6s var(--ease), opacity .3s, visibility .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.fly { position: fixed; z-index: 175; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(36px, 12.4vw, 130px); }
  .hero__stage { height: min(80vw, 640px); max-width: 760px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 62px; --radius: 14px; }
  .hero .hero__cta { display: none; }
  .fab--shop { display: flex; }
  .toast { top: calc(var(--header-h) + 12px); bottom: auto; transform: translate(-50%, -16px); }
  .toast.is-on { transform: translate(-50%, 0); }
  .hero { padding-top: 28px; gap: 28px; min-height: 0; }
  .hero__stage { height: 96vw; min-height: 0; max-height: 560px; }
  .hero__facts { margin-top: 30px; }
  .scroll-hint, .hero__bgmark { display: none; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat:nth-child(even) { margin-top: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .section__head--row { align-items: stretch; flex-direction: column; }
  .filters { border-radius: 999px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border: 0; padding-block: 0; }
  .filters button { border: 1px solid var(--line); }
  .surplus, .story__top { grid-template-columns: 1fr; }
  .surplus__video { max-width: 360px; }
  .sticker { top: -64px; right: 0; width: 100px; }
  .promises { grid-template-columns: 1fr; gap: 10px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  /* lighter effects on phones */
  .grain { display: none; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 10, 11, .94); }
  .card-float { box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
}
@media (max-width: 520px) {
  .brand__name { display: none; }
  .hero__facts { gap: 12px; justify-content: space-between; }
  .hero__facts b { font-size: clamp(14px, 4.6vw, 20px); white-space: nowrap; }
  .hero__facts span { font-size: 10px; letter-spacing: .1em; }
  .hero__cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .spin-badge { width: 96px; height: 96px; left: 0; }
  .spin-badge__ring text { font-size: 13px; }
  .spin-badge__mark { width: 34px; }
  .card-float figcaption { font-size: 10px; left: 8px; bottom: 8px; }
  .product__info { grid-template-columns: 1fr; }
  .product__info h3 { font-size: 13.5px; }
  .price { grid-row: auto; grid-column: auto; margin-top: 4px; }
  .badge { font-size: 9.5px; padding: 4px 8px; top: 8px; left: 8px; }
  .fab--wa span { display: none; }
  .fab--wa { width: 56px; padding: 0; justify-content: center; }
  .footer__cta .btn { width: 100%; }
}
@media (hover: none) { .grain, .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .js .card-float { opacity: 1; }
}
