:root {
  --bg: #000;
  --fg: #f2f2f0;
  --muted: #8c8c8c;
  --line: #222;
  --panel: #0b0b0b;
  --wa: #25d366;
  --display: "Anybody", "Arial Black", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: .6rem 1rem; background: var(--fg); color: #000;
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Condensed caps: the brand's voice for buttons, nav and small labels */
.btn, .nav a, .cart-btn, .filter, .hero__skip, .hero__tagline, .product__tag, .product__badge, .product__quick,
.size span, .pagination-btn, .pagination-info, .drop-countdown__kicker, .drop-countdown__unit small,
.footer__links, .footer__link-btn, .link-btn, .modal__label, .rows dt, .channels h3, .quick-view__stock,
.size-guide__table th, .drawer__total, .line__meta, .signup__instagram p {
  font-family: var(--display); font-stretch: 75%; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}

/* Wordmark: very wide letters with a thin horizontal cut through them */
.logo {
  font-family: var(--display);
  font-stretch: 150%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  -webkit-mask-image: linear-gradient(#000 0 56%, transparent 56% 61%, #000 61%);
  mask-image: linear-gradient(#000 0 56%, transparent 56% 61%, #000 61%);
}
.display {
  font-family: var(--display);
  font-stretch: 150%;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: .95;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: 0 1.5rem;
  border: 1px solid var(--fg); background: var(--fg); color: #000;
  font-size: .9375rem; letter-spacing: .1em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: #000; }
.btn--sm { min-height: 2.4rem; padding: 0 1rem; font-size: .8125rem; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #000; }
.btn--wa:hover { background: transparent; color: var(--wa); }
.btn svg { flex-shrink: 0; }
.btn:disabled, .btn:disabled:hover { background: #161616; border-color: #161616; color: #666; cursor: not-allowed; }

.icon-btn { display: grid; padding: .4rem; background: none; border: 0; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--fg); }
.link-btn {
  padding: 0; background: none; border: 0; color: var(--muted); font-size: .8125rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-btn:hover { color: var(--fg); }

/* Hero / 3D intro */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 540px;
  overflow: hidden;
}
/* Fixed behind the whole page: after the intro, scrolling flies the camera through the valley */
.hero canvas {
  position: fixed; inset: 0; z-index: -1; width: 100%; height: 100vh; height: 100lvh; display: block;
  opacity: 0; transition: opacity 1.2s ease;
  filter: contrast(1.02) saturate(1.03);
}
.hero.is-running canvas { opacity: 1; }
.hero.no-webgl { background: radial-gradient(130% 60% at 50% 115%, #222, #000 70%); }
.hero__loading {
  position: absolute; left: 0; right: 0; top: 50%;
  text-align: center; color: var(--muted); font-size: .875rem;
  transition: opacity .8s;
}
.hero.is-running .hero__loading, .hero.no-webgl .hero__loading { opacity: 0; }
.hero__brand {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  padding: 0 var(--gutter); text-align: center;
  pointer-events: none;
}
.logo--xl {
  font-size: clamp(1.6rem, 8vw, 8.5rem);
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(255, 255, 255, .28);
}
.logo--xl [aria-hidden] { display: inline-block; opacity: 0; }
.hero.is-revealed .logo--xl [aria-hidden] { animation: power-on 1.2s calc(var(--i) * 85ms) both; }
@keyframes power-on {
  0% { opacity: 0; filter: blur(14px); transform: translateY(.3em) scaleY(1.8); }
  35% { opacity: 1; filter: blur(0); transform: none; }
  42% { opacity: .15; }
  48% { opacity: 1; }
  56% { opacity: .4; }
  64%, 100% { opacity: 1; filter: none; transform: none; }
}
.hero__tagline { color: #c4c4c4; font-size: clamp(.8125rem, 1.3vw, 1.05rem); letter-spacing: .28em; }
.hero__tagline, .hero__cta {
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 1s 1.6s, transform 1s 1.6s, visibility 0s 1.6s;
}
.hero.is-revealed .hero__tagline, .hero.is-revealed .hero__cta { opacity: 1; visibility: visible; transform: none; }
.hero__cta { pointer-events: auto; }
.hero__skip {
  position: absolute; right: var(--gutter); bottom: clamp(16px, 4vh, 40px);
  padding: .6rem 1rem; font-size: .8125rem; cursor: pointer;
  background: rgba(0, 0, 0, .4); border: 1px solid rgba(242, 242, 240, .3);
}
.hero__skip:hover { border-color: var(--fg); }
.hero.is-revealed .hero__skip { display: none; }

/* Ticker: the brand promises on a white band */
.ticker { overflow: hidden; background: var(--fg); color: #000; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span {
  display: flex; align-items: center; gap: 1.5rem; padding: .75rem 1.5rem .75rem 0;
  font: 800 clamp(.9375rem, 1.5vw, 1.2rem)/1 var(--display); font-stretch: 125%;
  text-transform: uppercase; white-space: nowrap;
}
.ticker span::after { content: ""; width: .4em; height: .4em; background: currentColor; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 14px var(--gutter);
  border-bottom: 1px solid transparent;
  opacity: 0; visibility: hidden;
  transition: opacity .6s, visibility .6s, background-color .3s, border-color .3s;
}
body.intro-done .site-header, .site-header.is-solid { opacity: 1; visibility: visible; }
.site-header.is-solid {
  background: rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-color: var(--line);
}
.logo--sm { font-size: 1rem; }
.nav { display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem); margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .875rem; transition: color .2s; }
.nav a:hover { color: var(--fg); }
.header-icon {
  position: relative; display: grid; place-items: center; padding: .4rem;
  background: none; border: 0; color: var(--muted); cursor: pointer; transition: color .2s;
}
.header-icon:hover { color: var(--fg); }
.wish-toggle__count {
  position: absolute; top: -2px; right: -4px;
  display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px;
  background: var(--fg); color: #000; font-size: .625rem; font-weight: 700; line-height: 1;
}
.cart-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .5rem .45rem .9rem; background: none; border: 1px solid var(--line); font-size: .875rem; cursor: pointer;
  transition: border-color .2s;
}
.cart-btn:hover { border-color: var(--fg); }
.cart-btn__count {
  display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .3rem;
  background: var(--fg); color: #000;
  font: 700 .75rem var(--body); letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.cart-btn__count.is-bumped { animation: cart-bump .4s cubic-bezier(.4, 0, .2, 1); }
@keyframes cart-bump { 30% { transform: scale(1.4); } 60% { transform: scale(.85); } }

.nav-toggle {
  position: relative; z-index: 2; display: none; flex-direction: column; justify-content: center; gap: 5px;
  padding: .5rem; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--fg); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 700px) {
  .site-header { gap: .5rem; }
  .nav, .cart-btn__label { display: none; }
  .cart-btn { padding: .45rem; }
  .search-toggle { margin-left: auto; }
  .nav-toggle { display: flex; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 15;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-nav a {
  font: 800 clamp(1.8rem, 8vw, 2.6rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  opacity: 0; transform: translateY(20px); transition: color .2s, transform .2s;
}
.mobile-nav.is-open a { opacity: 1; transform: none; transition: color .2s, transform .5s ease, opacity .5s ease; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: .08s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: .16s; }
.mobile-nav a:hover, .mobile-nav a:active { color: var(--fg); }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: rgba(0, 0, 0, .95); border-color: var(--line); }

.search-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 25;
  background: rgba(0, 0, 0, .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .3s ease;
}
.search-bar.is-open { opacity: 1; transform: none; }
.search-bar__inner { display: flex; align-items: center; gap: 1rem; max-width: 720px; margin: 0 auto; padding: .9rem var(--gutter); }
.search-bar__inner > svg { flex-shrink: 0; color: var(--muted); }
.search-bar__inner input {
  flex: 1; min-height: 2.2rem; padding: 0; background: transparent; border: 0; outline: none;
  color: var(--fg); font: inherit; font-size: 1.125rem;
}
.search-bar__inner input::placeholder { color: #5c5c5c; }

/* Drop countdown */
.drop-countdown {
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: radial-gradient(50% 80% at 50% 100%, rgba(40, 40, 40, .35), transparent);
}
.drop-countdown__inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; max-width: 640px; margin: 0 auto; }
.drop-countdown__kicker { color: var(--muted); font-size: .8125rem; letter-spacing: .25em; }
.drop-countdown__title { font-size: clamp(2rem, 6vw, 4rem); }
.drop-countdown__timer { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.25rem); margin: .5rem 0; }
.drop-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.drop-countdown__unit span {
  min-width: 2ch; text-align: center;
  font: 800 clamp(2.25rem, 7vw, 4rem)/1 var(--display); font-stretch: 125%; font-variant-numeric: tabular-nums;
}
.drop-countdown__unit small { color: var(--muted); font-size: .75rem; letter-spacing: .15em; }
.drop-countdown__sep { margin-top: -1rem; color: #444; font: 800 clamp(1.5rem, 4vw, 2.5rem) var(--display); }
.drop-countdown__text { color: var(--muted); }
.drop-countdown .btn { margin-top: .5rem; }

/* Collection */
.collection { padding: clamp(5rem, 11vw, 9rem) var(--gutter) clamp(4rem, 8vw, 7rem); }
.collection__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end;
  gap: 1.5rem 4rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.lede { color: var(--muted); font-size: 1.125rem; max-width: 44ch; }
@media (max-width: 800px) { .collection__head { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 0 1.75rem; border-bottom: 1px solid var(--line); }
.filter {
  padding: .9rem 0; margin-bottom: -1px; cursor: pointer; font-size: .875rem;
  background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted);
}
.filter:hover { color: var(--fg); }
.filter[aria-pressed="true"], .filter[aria-selected="true"] { color: var(--fg); border-color: var(--fg); }

.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collection__empty { grid-column: 1 / -1; padding: 4rem 1rem; text-align: center; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.product {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .3s ease;
}
.product:hover { background: rgba(255, 255, 255, .02); }
.product__media, .line__thumb {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center;
  background: radial-gradient(65% 50% at 50% 45%, #1c1c1c 0%, #090909 60%, #000 100%);
}
.product__media { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
/* Idle float + drag-to-spin turntable (front and back faces) */
.float { width: 74%; perspective: 900px; animation: float 6s ease-in-out infinite; animation-delay: calc(var(--d) * -.8s); }
@keyframes float { 50% { transform: translateY(-8px); } }
.turn { position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.turn.is-dragging { transition: none; }
.turn__face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.turn__face--back { position: absolute; inset: 0; transform: rotateY(180deg); }
.turn svg { width: 100%; height: auto; }
.garment-photo {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .85));
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.product__media::after {
  content: ""; position: absolute; left: 50%; bottom: 6%; width: 60%; height: 8%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent);
  animation: shadow 6s ease-in-out infinite; animation-delay: calc(var(--d) * -.8s);
  pointer-events: none;
}
@keyframes shadow { 50% { transform: translateX(-50%) scale(.8); opacity: .6; } }

.product__tag, .product__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: .25rem .5rem; font-size: .75rem; line-height: 1.2; pointer-events: none;
}
.product__tag { background: var(--fg); color: #000; }
.product__badge { background: #000; color: var(--fg); border: 1px solid var(--fg); }
.product__tag + .product__badge { top: 42px; }
.product__badge--sold { background: #161616; border-color: #161616; color: #888; }
.product.is-sold-out .product__media { opacity: .45; }

.product__wish {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: grid; place-items: center; width: 34px; height: 34px;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(242, 242, 240, .2); color: var(--muted);
  cursor: pointer; opacity: 0; transition: opacity .25s, color .2s, border-color .2s;
}
.product__media:hover .product__wish, .product__wish:focus-visible, .product__wish.is-wished { opacity: 1; }
.product__wish:hover, .product__wish.is-wished { color: var(--fg); border-color: var(--fg); }
.product__wish path { fill: none; transition: fill .2s; }
.product__wish.is-wished path { fill: currentColor; }
.product__wish.is-wished { animation: wish-pop .35s ease-out; }
@keyframes wish-pop { 35% { transform: scale(1.2); } }

.product__quick {
  position: absolute; left: 50%; bottom: 14px; z-index: 2;
  transform: translateX(-50%) translateY(6px);
  padding: .45rem 1.1rem; font-size: .8125rem; white-space: nowrap;
  background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 242, 240, .3); color: var(--fg);
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s, border-color .2s;
}
.product__media:hover .product__quick, .product__quick:focus-visible { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.product__quick:hover { border-color: var(--fg); }

.product__body { display: flex; flex-direction: column; gap: .8rem; flex: 1; padding: 1rem 1rem 1.25rem; }
.product__row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.product__name { font: 700 .9375rem/1.25 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.product__price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.product__detail {
  color: var(--muted); font-size: .875rem;
  /* Long captions: two lines on the card, the full text in Vista rápida */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.product .btn { width: 100%; }

.sizes { display: flex; flex-wrap: wrap; gap: .375rem; margin: auto 0 0; padding: 0; border: 0; }
.sizes:disabled { opacity: .4; }
.size { position: relative; }
.size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.size span {
  display: grid; place-items: center; min-width: 2.5rem; height: 2.25rem; padding: 0 .55rem;
  border: 1px solid var(--line); color: var(--muted); font-size: .875rem;
}
.size input:hover + span { border-color: var(--muted); }
.size input:checked + span { border-color: var(--fg); color: var(--fg); }
.size input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }

@media (max-width: 760px) {
  .product__body { padding: .85rem .75rem 1rem; }
  .product__row { flex-direction: column; gap: .2rem; }
  .sizes { gap: .25rem; }
  .size span { min-width: 2rem; padding: 0 .3rem; }
  .product .btn { padding: 0 .5rem; font-size: .8125rem; }
  .product__wish { opacity: 1; width: 30px; height: 30px; }
  .product__quick { opacity: 1; transform: translateX(-50%); pointer-events: auto; bottom: 10px; padding: .3rem .8rem; font-size: .75rem; }
}

/* Garment drawings for pieces without photos */
.garment path { fill: #070707; stroke: rgba(220, 220, 220, .4); stroke-width: 1.1; stroke-linejoin: round; filter: url(#relief); }
.garment .d { fill: none; stroke: rgba(220, 220, 220, .28); filter: none; }
.garment text {
  font: 800 9px var(--display); font-stretch: 150%; letter-spacing: .05em;
  fill: rgba(220, 220, 220, .5); text-anchor: middle;
}
.garment .back-print { font-size: 7px; }
.garment .graphic { filter: none; pointer-events: none; }
.garment .graphic path { filter: none; stroke-width: 0; }
.garment .graphic text { font-stretch: normal; }

.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem; padding: 3rem 0 0; }
.pagination-btn {
  display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem;
  background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: .875rem; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.pagination-btn:hover:not(:disabled) { border-color: var(--fg); color: var(--fg); }
.pagination-btn[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: #000; }
.pagination-btn:disabled { opacity: .3; cursor: not-allowed; }
.pagination-info { margin-left: 1rem; color: var(--muted); font-size: .8125rem; }

/* Story */
.story {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 5rem;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  border-top: 1px solid var(--line);
}
.story__copy { display: grid; place-content: center; text-align: center; }
.story .display { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.story__text { max-width: 40ch; margin: 1.25rem auto 0; color: var(--muted); font-size: 1.0625rem; }
.facts { list-style: none; margin: 0; padding: 0; align-self: end; border-top: 1px solid var(--line); }
.facts li {
  display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.facts strong { font: 700 1rem/1.3 var(--display); text-transform: uppercase; }
.facts span { color: var(--muted); }
@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: .25rem; }
}

/* Footer */
.site-footer { padding: clamp(3rem, 7vw, 5rem) var(--gutter) 1.5rem; border-top: 1px solid var(--line); overflow: hidden; }
.signup { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 1.5rem 4rem; align-items: start; }
.signup h2 {
  font: 800 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase;
}
.signup__left p { color: var(--muted); margin-top: .75rem; }
.signup__right { display: flex; flex-direction: column; gap: 1.5rem; }
.signup form { display: flex; gap: .5rem; }
.signup input {
  flex: 1; min-width: 0; min-height: 3rem; padding: 0 1rem;
  background: transparent; border: 1px solid var(--line); color: var(--fg); font: inherit;
}
.signup input:focus { border-color: var(--fg); outline: none; }
.signup input::placeholder { color: #5c5c5c; }
.signup__instagram { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.signup__instagram p { color: var(--muted); font-size: .8125rem; }
@media (max-width: 700px) {
  .signup { grid-template-columns: 1fr; }
  .signup form { flex-direction: column; }
}
.footer__links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 3rem; color: var(--muted); font-size: .8125rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover, .footer__link-btn:hover { color: var(--fg); }
.footer__link-btn { padding: 0; background: none; border: 0; color: inherit; font-size: inherit; cursor: pointer; transition: color .2s; }
.footer__copy { margin-left: auto; font-size: inherit; }
.logo--giant {
  margin-top: 2.5rem; font-size: 8.6vw; letter-spacing: 0; line-height: .8;
  color: #111; white-space: nowrap; user-select: none;
}

/* Cart drawer (native <dialog>) */
.drawer {
  margin: 0 0 0 auto; width: min(440px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  padding: 0; border: 0; border-left: 1px solid var(--line);
  background: #000; color: var(--fg);
}
.drawer[open] { animation: slide-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font: 800 1.25rem/1 var(--display); font-stretch: 125%; text-transform: uppercase; }
.drawer__empty { display: grid; gap: 1.25rem; justify-items: start; padding: 2rem 1.25rem; color: var(--muted); }
.lines { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 0 1.25rem; }
.line {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.line__thumb { cursor: pointer; }
.line__thumb svg { width: 82%; height: auto; }
.line__thumb img { width: 100%; height: 100%; object-fit: contain; }
.line__name { font: 700 .875rem/1.25 var(--display); text-transform: uppercase; cursor: pointer; }
.line__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.line__meta { margin-top: .25rem; color: var(--muted); font-size: .75rem; }
.qty { display: inline-flex; align-items: center; margin-top: .6rem; border: 1px solid var(--line); }
.qty button { width: 2rem; height: 2rem; background: none; border: 0; color: var(--muted); cursor: pointer; }
.qty button:hover { color: var(--fg); }
.qty span { min-width: 1.75rem; text-align: center; font-size: .875rem; font-variant-numeric: tabular-nums; }
.line__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-variant-numeric: tabular-nums; }
.drawer__foot { display: grid; gap: .75rem; padding: 1.25rem; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.drawer__ship { color: var(--muted); font-size: .875rem; }
.drawer__foot .btn { width: 100%; }

/* Toast (popover, so it shows above the open drawer) */
.toast {
  inset: auto auto 24px 50%; margin: 0; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: .85rem 1.2rem; border: 0;
  background: var(--fg); color: #000; font-size: .9375rem; font-weight: 600;
}
.toast:popover-open { animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* Dialogs: quick view, size guide, shipping, contact */
.modal {
  width: min(600px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px);
  margin: auto; padding: 0; border: 1px solid var(--line);
  background: var(--panel); color: var(--fg);
}
.modal::backdrop, .drawer::backdrop { background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: fade-in .25s ease-out; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }
.modal__inner { position: relative; display: flex; flex-direction: column; gap: 1.25rem; padding: 2.25rem clamp(1.25rem, 4vw, 2.25rem); }
.modal__close { position: absolute; top: .9rem; right: .9rem; z-index: 2; }
.modal__title { padding-right: 2.5rem; font: 800 clamp(1.6rem, 4vw, 2.25rem)/1 var(--display); font-stretch: 125%; text-transform: uppercase; }
.modal__lede { color: var(--muted); }
.modal__label { margin-top: .5rem; color: var(--muted); font-size: .75rem; letter-spacing: .18em; }
.modal__note { color: var(--muted); font-size: .8125rem; }
.modal__inner > .btn { width: 100%; margin-top: .5rem; }

/* Key/value rows, used for policies and measuring tips */
.rows { margin: -.5rem 0 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.rows dt { padding-top: .1rem; font-size: .8125rem; }
.rows dd { margin: 0; color: var(--muted); font-size: .9375rem; }
.rows strong { color: var(--fg); font-weight: 600; }
@media (max-width: 480px) { .rows > div { grid-template-columns: 1fr; gap: .2rem; } }

.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.channels h3 { font-size: .9375rem; }
.channels p { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }

/* Size guide */
.size-guide__tip { padding-left: .9rem; border-left: 2px solid var(--fg); font-size: .9375rem; }
.size-guide__tabs { display: flex; gap: 0 1.5rem; margin-bottom: -.5rem; border-bottom: 1px solid var(--line); }
.size-guide__table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.size-guide__table { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: center; font-variant-numeric: tabular-nums; }
.size-guide__table th { padding: .75rem; background: #111; font-size: .75rem; border-bottom: 1px solid var(--line); }
.size-guide__table td { padding: .75rem; color: #ccc; border-bottom: 1px solid var(--line); }
.size-guide__table tr:last-child td { border-bottom: 0; }
.size-guide__table :is(th, td):first-child { text-align: left; }
.size-guide__table td:first-child { color: var(--muted); }
.size-guide__table tbody tr:hover td { background: rgba(255, 255, 255, .03); }

/* Quick view */
.quick-view { width: min(900px, calc(100% - 32px)); }
.quick-view__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 420px; }
.quick-view__media {
  display: grid; place-items: center; min-height: 320px; padding: 2.5rem 2rem; overflow: hidden;
  background: radial-gradient(65% 50% at 50% 45%, #1c1c1c 0%, #090909 60%, #000 100%);
}
.quick-view__photo {
  width: 100%; max-height: 460px; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .85));
  user-select: none; -webkit-user-select: none;
  animation: qv-float 5s ease-in-out infinite;
}
@keyframes qv-float { 50% { transform: translateY(-6px); } }
.quick-view__media .garment { width: 60%; height: auto; }
.quick-view__body { display: flex; flex-direction: column; gap: .9rem; padding: 2.5rem 2rem; }
.quick-view__tag { position: static; align-self: flex-start; }
.quick-view__name { padding-right: 2rem; font: 800 clamp(1.35rem, 2.6vw, 1.9rem)/1.05 var(--display); font-stretch: 125%; text-transform: uppercase; }
.quick-view__price { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.quick-view__stock { align-self: flex-start; padding: .25rem .55rem; border: 1px solid var(--fg); font-size: .75rem; }
.quick-view__stock.is-sold { background: #161616; border-color: #161616; color: #888; }
.quick-view__detail { color: var(--muted); font-size: .9375rem; white-space: pre-line; }
.quick-view__body form { display: flex; flex-direction: column; gap: 1rem; margin-top: .25rem; }
.quick-view__body .sizes { margin: 0; }
.qv-size-link { align-self: flex-start; }
.quick-view__body .btn { width: 100%; }
@media (max-width: 700px) {
  .quick-view__inner { grid-template-columns: 1fr; min-height: 0; }
  .quick-view__media { min-height: 240px; padding: 1.5rem; }
  .quick-view__body { padding: 1.5rem 1.25rem; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s ease-out; }
