/* ============================================================
   BIJI — Drop 001  ·  design tokens
   ============================================================ */
:root {
  --ink:    #0C0C0D;
  --coal:   #16161A;
  --coal-2: #1D1D22;
  --bone:   #EAE6DD;
  --paper:  #F5F3EE;
  --white:  #FDFDFC;
  --sun:    #D9A13B;
  --sale:   #BE3A2B;
  --stock:  #1F8A4C;
  --smoke:  #6E6A63;   /* muted on light */
  --ash:    #A7A49E;   /* muted on dark */
  --line-l: rgba(12,12,13,.14);
  --line-d: rgba(234,230,221,.16);

  --font-d: "Archivo", "Arial Narrow", sans-serif;
  --font-m: "Space Mono", "Courier New", monospace;

  --z-nav: 40; --z-menu: 45; --z-backdrop: 50; --z-cart: 60; --z-toast: 70;

  --ease: cubic-bezier(.22,.9,.28,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-d);
  font-size: 16px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

::selection { background: var(--sun); color: var(--ink); }

/* ============================================================
   Ticker (top announcement)
   ============================================================ */
.ticker {
  background: var(--bone);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: flex; width: max-content;
  animation: tick 28s linear infinite;
  font-family: var(--font-m);
  font-size: 10.5px; letter-spacing: .14em;
  padding: 7px 0;
  white-space: nowrap;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), padding .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line-d); padding-top: 12px; padding-bottom: 12px; }

.nav-logo {
  font-weight: 900; font-stretch: 125%;
  font-size: 24px; letter-spacing: -.01em; line-height: 1;
}
.dot { color: var(--sun); font-style: normal; }

.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav-links a, .nav-access {
  font-family: var(--font-m); font-size: 11.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ash);
  transition: color .2s;
  padding: 6px 2px;
}
.nav-links a:hover, .nav-access:hover { color: var(--bone); }

.nav-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-cart {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; color: var(--bone);
  transition: color .2s;
}
.nav-cart:hover { color: var(--sun); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--sun); color: var(--ink);
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  border-radius: 20px; display: grid; place-items: center; line-height: 1;
}

.nav-burger { display: none; width: 44px; height: 44px; position: relative; }
.nav-burger span {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--bone); transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav-burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 32px; gap: 8px;
}
.mobile-menu a {
  font-weight: 800; font-stretch: 118%;
  font-size: clamp(38px, 9vw, 56px); text-transform: uppercase;
  line-height: 1.25; letter-spacing: -.01em;
  border-bottom: 1px solid var(--line-d);
  padding: 10px 0;
  transition: color .2s, padding-left .25s var(--ease);
}
.mobile-menu a:hover { color: var(--sun); padding-left: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - 115px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vh, 90px) clamp(20px, 4vw, 48px) 24px;
  overflow: hidden;
}
.hero-grain, .look-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .13;
  mix-blend-mode: overlay;
}
.hero-grain { position: absolute; }

.hero-inner { position: relative; max-width: 1440px; width: 100%; margin: 0 auto; }

.hero-entry {
  font-family: var(--font-m);
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: .04em;
  color: var(--ash);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline;
}
.entry-word { color: var(--bone); font-style: italic; font-weight: 700; }
.entry-phon { opacity: .75; }
.entry-def em { color: var(--sun); font-style: italic; }

.hero-word {
  font-size: clamp(88px, 19.5vw, 264px);
  font-weight: 900; font-stretch: 125%;
  line-height: .93; letter-spacing: -.018em;
  color: var(--bone);
  margin: 8px 0 10px -0.04em;
  text-transform: uppercase;
}
.hero-dot { color: var(--sun); }

.hero-sub {
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--ash);
  line-height: 1.55;
  max-width: 46ch;
}

/* --- drop tag / countdown --- */
.drop-tag {
  display: inline-block;
  margin-top: clamp(26px, 4vh, 44px);
  border: 1px solid var(--line-d);
  background: rgba(234,230,221,.03);
  padding: 14px 22px 16px;
}
.drop-tag-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .22em; color: var(--ash);
  margin-bottom: 10px;
}
.drop-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sun);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

/* live "OUT NOW" marks — replaced the drop countdown */
.drop-marks { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.drop-marks span {
  display: flex; flex-direction: column;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .12em; color: var(--ash);
}
.drop-marks b {
  font-family: var(--font-d); font-weight: 800; font-stretch: 115%;
  font-size: clamp(15px, 1.8vw, 18px); letter-spacing: .01em;
  color: var(--bone); text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4.5vh, 48px); }

.hero-foot {
  position: relative;
  max-width: 1440px; width: 100%; margin: 48px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-m); font-size: 10px; letter-spacing: .2em;
  color: var(--smoke);
  border-top: 1px solid var(--line-d);
  padding-top: 16px;
}
.hero-scroll { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid transparent;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  min-height: 48px;
  text-align: center;
}
.btn-bone { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-bone:hover { background: transparent; color: var(--bone); }
.btn-ghost { border-color: var(--line-d); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); }
.btn-ink { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-ink:hover { background: transparent; color: var(--ink); }
.btn-wide { width: 100%; }

/* ============================================================
   Marquee divider
   ============================================================ */
.marquee {
  background: var(--bone); color: var(--ink);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content;
  animation: tick 22s linear infinite;
  font-weight: 800; font-stretch: 122%;
  font-size: clamp(20px, 2.6vw, 30px);
  text-transform: uppercase; letter-spacing: .02em;
  padding: 14px 0;
  white-space: nowrap;
}

/* ============================================================
   Shop
   ============================================================ */
.shop {
  background: var(--bone); color: var(--ink);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 48px) clamp(56px, 7vw, 96px);
}
.shop-head {
  max-width: 1440px; margin: 0 auto clamp(32px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
}
.eyebrow {
  font-family: var(--font-m); font-size: 10.5px;
  letter-spacing: .22em; color: var(--smoke);
  margin-bottom: 14px;
}
.eyebrow-gold { color: var(--sun); }
.shop-head h2 {
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .95; letter-spacing: -.015em;
  text-transform: uppercase;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid var(--line-l);
  color: var(--smoke);
  transition: all .2s var(--ease);
  min-height: 40px;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.grid {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

/* --- product card --- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-l);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(12,12,13,.28); }
.card.is-hidden { display: none; }

.card-fig {
  position: relative; aspect-ratio: 4 / 4.6;
  display: grid; place-items: center;
  overflow: hidden;
  cursor: pointer;
}
/* photos are shot on white — multiply blends the white into the page color,
   so garments sit directly on the site background with no visible square */
.g-wrap { position: absolute; inset: 0; display: grid; place-items: center; }
.card-fig svg.garment { width: 88%; height: auto; transition: transform .4s var(--ease); }
.card:hover .card-fig svg.garment { transform: translateY(-6px) scale(1.015); }

/* real product photography */
.garment-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  mix-blend-mode: multiply;
  transition: transform .5s var(--ease), opacity .35s var(--ease);
}
.card:hover .garment-photo { transform: scale(1.04); }
/* with multiply, stacked photos would ghost through each other —
   so the front hides whenever the back is being shown */
.card:hover .g-wrap .garment-photo,
.card.sizes-open .g-wrap .garment-photo { opacity: 0; }
.card:hover .g-wrap .garment-photo:only-child,
.card.sizes-open .g-wrap .garment-photo:only-child { opacity: 1; }
.garment-photo-back { opacity: 0; }
.card:hover .g-wrap .garment-photo-back,
.card.sizes-open .g-wrap .garment-photo-back { opacity: 1; }
.ci-fig .garment-photo { position: static; }

/* NOTE: garment art lives inside <use> shadow trees — only simple class
   selectors match there, and colors must travel via custom properties. */
.garment { --print: rgba(24,23,20,.8); --string: rgba(0,0,0,.35); }
.garment.print-light { --print: rgba(245,243,238,.88); --string: rgba(245,243,238,.5); }
.g-fill { fill: var(--g, #1a1a1a); }
.g-string { stroke: var(--string); }
.g-string-dot { fill: var(--string); }

/* garment prints match the real BIJI chest logo: bold sans + gold period */
.g-print { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; fill: var(--print); }
.g-print-big  { font-size: 34px; letter-spacing: .1em; }
.g-print-mid  { font-size: 19px; letter-spacing: .1em; }
.g-print-cap  { font-size: 20px; letter-spacing: .08em; }
.g-dot { fill: var(--sun); }

.card-badges {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none;
}
.badge-sale {
  background: var(--sale); color: var(--paper);
  font-family: var(--font-m); font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; padding: 5px 9px;
}
.badge-tag {
  font-family: var(--font-m); font-size: 9.5px;
  letter-spacing: .18em; color: var(--smoke);
  padding: 5px 0;
}

/* size quick-add overlay */
.card-sizes {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 6px; justify-content: center;
  padding: 12px;
  background: linear-gradient(rgba(245,243,238,0), rgba(245,243,238,.94) 38%);
  opacity: 0; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.card:hover .card-sizes, .card.sizes-open .card-sizes { opacity: 1; transform: none; }
.size-btn {
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  min-width: 42px; min-height: 40px; padding: 0 8px;
  background: var(--paper); border: 1px solid var(--line-l);
  transition: all .15s var(--ease);
}
.size-btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.card-info { padding: 16px 16px 18px; border-top: 1px solid var(--line-l); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.card-price { font-family: var(--font-m); font-size: 13.5px; white-space: nowrap; }
.price-old { color: var(--smoke); text-decoration: line-through; margin-right: 7px; font-size: 12px; }
.price-new { font-weight: 700; }
.card-color { font-size: 12.5px; color: var(--smoke); margin-top: 3px; }

.card-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-l);
  padding: 0; position: relative;
  transition: transform .15s var(--ease);
}
.swatch::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }

.card-add {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-l);
  transition: all .2s var(--ease);
}
.card-add:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.shop-note {
  max-width: 1440px; margin: 28px auto 0;
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: .08em; color: var(--smoke);
}

/* ============================================================
   Story / Lookbook
   ============================================================ */
.story {
  background: var(--ink); color: var(--bone);
  padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 48px);
}
.story-inner { max-width: 1440px; margin: 0 auto; }
.story-statement {
  font-weight: 700; font-stretch: 112%;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.14; letter-spacing: -.01em;
  max-width: 22ch;
}
.story-accent { color: var(--sun); font-style: italic; font-stretch: 100%; }
.story-copy {
  margin-top: 28px; max-width: 58ch;
  color: var(--ash); font-size: clamp(15px, 1.6vw, 17px);
}

.looks {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
}
.look-frame {
  position: relative; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--coal) 0%, var(--coal-2) 60%, #232329 100%);
  border: 1px solid var(--line-d);
  display: grid; place-items: center;
  overflow: hidden;
}
.look-frame img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.look:hover .look-frame img { transform: scale(1.04); }
.look-frame::after { z-index: 2; }
.look-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .22em; color: var(--bone);
  background: rgba(12,12,13,.55); padding: 4px 8px;
  backdrop-filter: blur(2px);
}
.look-soon {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .26em; color: var(--ash); opacity: .65;
  text-align: center; padding: 0 20px; line-height: 2.2;
}
.look figcaption {
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: .1em; color: var(--ash);
  margin-top: 10px;
}

/* ============================================================
   Early access
   ============================================================ */
.access {
  background: var(--paper); color: var(--ink);
  padding: clamp(72px, 10vw, 130px) clamp(20px, 4vw, 48px);
}
.access-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.access-text h2 {
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: .98; letter-spacing: -.015em;
  text-transform: uppercase;
}
.access-text p:last-child { margin-top: 18px; color: var(--smoke); max-width: 44ch; }

.access-row { display: flex; gap: 10px; }
.access-row input {
  flex: 1; min-width: 0;
  background: transparent;
  border: 1px solid rgba(12,12,13,.35);
  padding: 15px 18px;
  font-family: var(--font-m); font-size: 13.5px;
  color: var(--ink);
}
.access-row input::placeholder { color: var(--smoke); }
.access-row input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.access-fine, .access-error, .access-done {
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: .06em; margin-top: 14px; color: var(--smoke);
}
.access-error { color: var(--sale); }
.access-done { color: var(--ink); font-weight: 700; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink); color: var(--bone);
  padding: 0 clamp(20px, 4vw, 48px) 28px;
  overflow: hidden;
  border-top: 1px solid var(--line-d);
}
.footer-word {
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(120px, 24vw, 400px);
  line-height: .82;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(234,230,221,.15);
  user-select: none;
  margin: 20px 0 clamp(40px, 6vw, 80px);
  white-space: nowrap;
}
.footer-word span { -webkit-text-stroke-color: rgba(217,161,59,.35); }

.footer-cols {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-d);
}
.f-logo { font-weight: 900; font-stretch: 125%; font-size: 26px; }
.f-tag { font-family: var(--font-m); font-size: 11px; color: var(--ash); margin-top: 8px; letter-spacing: .08em; }
.f-col h3 {
  font-family: var(--font-m); font-size: 10px; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--smoke); margin-bottom: 16px;
}
.f-col a {
  display: block;
  font-size: 14px; color: var(--ash);
  padding: 5px 0;
  transition: color .2s;
}
.f-col a:hover { color: var(--bone); }
.f-fine { font-family: var(--font-m); font-size: 10px; color: var(--smoke); margin-top: 12px; letter-spacing: .06em; }

.pay-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.pay {
  font-family: var(--font-m); font-size: 9px; font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--line-d);
  padding: 6px 9px;
  color: var(--ash);
  display: inline-flex; align-items: center; gap: 3px;
  min-height: 26px;
}
.pay-visa { font-style: italic; letter-spacing: .14em; }
.pay-mc i {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.pay-mc i:first-child { background: #EB001B; margin-right: -5px; opacity: .9; }
.pay-mc i:last-child { background: #F79E1B; opacity: .9; }

.footer-base {
  max-width: 1440px; margin: 22px auto 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .16em; color: var(--smoke);
}

/* ============================================================
   Cart drawer
   ============================================================ */
.cart-backdrop {
  position: fixed; inset: 0; z-index: var(--z-backdrop);
  background: rgba(8,8,9,.6);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.cart-backdrop.show { opacity: 1; }

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-cart);
  width: min(430px, 100vw);
  background: var(--ink); color: var(--bone);
  border-left: 1px solid var(--line-d);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
}
.cart.show { transform: none; }

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-d);
}
.cart-head h2 {
  font-weight: 800; font-stretch: 120%; font-size: 20px;
  text-transform: uppercase; letter-spacing: .02em;
}
.cart-head h2 span { color: var(--sun); font-family: var(--font-m); font-size: 13px; font-weight: 700; }
.cart-close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ash); transition: color .2s; }
.cart-close:hover { color: var(--bone); }

.ship-bar { padding: 14px 24px; border-bottom: 1px solid var(--line-d); }
.ship-bar p { font-family: var(--font-m); font-size: 10.5px; letter-spacing: .1em; color: var(--ash); margin-bottom: 9px; }
.ship-bar p b { color: var(--sun); }
.ship-track { height: 3px; background: rgba(234,230,221,.12); }
.ship-fill { height: 100%; width: 0%; background: var(--sun); transition: width .4s var(--ease); }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto;
  gap: 14px; padding: 16px 0;
  border-bottom: 1px solid rgba(234,230,221,.08);
}
.ci-fig {
  width: 76px; height: 88px;
  background: var(--paper);
  display: grid; place-items: center;
}
.ci-fig img { mix-blend-mode: multiply; }
.ci-fig svg { width: 92%; }
.ci-name { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.ci-meta { font-family: var(--font-m); font-size: 10.5px; color: var(--ash); letter-spacing: .06em; margin-top: 4px; }
.ci-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; border: 1px solid var(--line-d); }
.ci-qty button {
  width: 30px; height: 30px;
  font-family: var(--font-m); color: var(--ash);
  transition: color .15s, background .15s;
}
.ci-qty button:hover { color: var(--ink); background: var(--bone); }
.ci-qty b { font-family: var(--font-m); font-size: 12px; min-width: 26px; text-align: center; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.ci-price { font-family: var(--font-m); font-size: 13px; font-weight: 700; }
.ci-remove { font-family: var(--font-m); font-size: 10px; letter-spacing: .12em; color: var(--smoke); text-transform: uppercase; padding: 6px 0; transition: color .15s; }
.ci-remove:hover { color: var(--sale); }

.cart-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; }
.cart.is-empty .cart-empty { display: flex; }
.cart.is-empty .cart-items, .cart.is-empty .cart-foot, .cart.is-empty .ship-bar { display: none; }
.ce-big { font-weight: 800; font-stretch: 120%; font-size: 24px; text-transform: uppercase; }
.ce-sub { font-family: var(--font-m); font-size: 11.5px; color: var(--ash); letter-spacing: .1em; margin-bottom: 18px; }

.cart-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line-d); }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.cart-sub b { font-family: var(--font-m); font-size: 19px; }
.cart-fine { font-family: var(--font-m); font-size: 10px; color: var(--smoke); letter-spacing: .06em; margin: 6px 0 14px; }
.pay-badges-cart { margin-top: 12px; justify-content: center; }
.checkout-note {
  margin-top: 14px; padding: 12px 14px;
  border: 1px solid rgba(217,161,59,.4);
  background: rgba(217,161,59,.07);
  font-size: 12px; line-height: 1.55; color: var(--ash);
}
.checkout-note b { color: var(--sun); }
.checkout-note code { font-family: var(--font-m); font-size: 10.5px; color: var(--bone); }

/* ============================================================
   Product detail (PDP)
   ============================================================ */
.pdp-backdrop {
  position: fixed; inset: 0; z-index: 46;
  background: rgba(8,8,9,.66);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.pdp-backdrop.show { opacity: 1; }

.pdp {
  position: fixed; inset: 0; z-index: 48;
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  transform: translateY(4%);
  opacity: 0;
  transition: transform .42s var(--ease), opacity .32s var(--ease);
}
.pdp.show { transform: none; opacity: 1; }

.pdp-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--paper);
  border: 1px solid var(--line-l);
  transition: all .2s var(--ease);
}
.pdp-close:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.pdp-gallery { background: var(--paper); display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line-l); }
.pdp-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 26px; }
.pdp-img { width: 100%; height: 100%; display: grid; place-items: center; min-height: 0; }
.pdp-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-img svg.garment { width: 72%; height: auto; max-height: 100%; }

.pdp-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; z-index: 2;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line-l);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.pdp-prev { left: 14px; }
.pdp-next { right: 14px; }
.pdp-nav:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pdp-nav[hidden] { display: none !important; }

.pdp-count {
  position: absolute; bottom: 12px; right: 16px;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .18em; color: var(--smoke);
}

.pdp-thumbs {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line-l);
  overflow-x: auto;
}
.pdp-thumb {
  flex: 0 0 58px; height: 66px;
  background: var(--paper);
  border: 1px solid var(--line-l);
  display: grid; place-items: center;
  overflow: hidden;
  opacity: .65;
  transition: opacity .2s, border-color .2s;
  padding: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pdp-thumb svg.garment { width: 86%; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb.is-active { opacity: 1; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.pdp-info { padding: clamp(40px, 8vh, 84px) clamp(32px, 4vw, 72px) 32px; overflow-y: auto; }
.pdp-info > * { max-width: 560px; }
.pdp-img img { cursor: pointer; }
.pdp-name {
  font-weight: 800; font-stretch: 122%;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase;
  margin-top: 2px;
}
.pdp-price { font-family: var(--font-m); font-size: 15px; margin-top: 12px; }
.pdp-price .price-old { font-size: 13px; }
.pdp-price .price-new { font-size: 17px; }
.pdp-price .price-save {
  background: var(--sale); color: var(--paper);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  padding: 3px 7px; margin-left: 10px;
}
.pdp-desc { font-size: 14px; line-height: 1.7; color: var(--smoke); margin-top: 14px; max-width: 52ch; }

.pdp-label {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .22em; color: var(--smoke);
  margin: 22px 0 10px;
}
.pdp-label span { color: var(--ink); }

.pdp-stock {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: 14px;
  color: var(--stock);
  letter-spacing: .16em;
}
.pdp-stock i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--stock);
  box-shadow: 0 0 0 3px rgba(31,138,76,.15);
  animation: pulse 1.8s ease-in-out infinite;
}

.pdp-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-size {
  min-width: 48px; height: 44px; padding: 0 12px;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  border: 1px solid var(--line-l);
  transition: all .15s var(--ease);
}
.pdp-size:hover { border-color: var(--ink); }
.pdp-size.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.pdp-add { margin-top: 22px; }
.pdp-add[disabled] { opacity: .4; cursor: not-allowed; }
.pdp-add[disabled]:hover { background: var(--ink); color: var(--bone); }

.pdp-details { list-style: none; margin-top: 24px; border-top: 1px solid var(--line-l); }
.pdp-details li {
  font-size: 13px; color: rgba(12,12,13,.78);
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--line-l);
  position: relative;
}
.pdp-details li::before { content: "—"; position: absolute; left: 0; color: var(--smoke); }

.pdp-guide { border: 1px solid var(--line-l); margin-top: 18px; }
.pdp-guide summary {
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 16px; cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.pdp-guide summary::-webkit-details-marker { display: none; }
.pdp-guide summary::after { content: "+"; font-size: 15px; color: var(--smoke); }
.pdp-guide[open] summary::after { content: "–"; }

.guide-body { border-top: 1px solid var(--line-l); padding: 16px; }
.guide-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.guide-hint { font-family: var(--font-m); font-size: 10px; letter-spacing: .06em; color: var(--smoke); }
.unit-toggle { display: inline-flex; border: 1px solid var(--line-l); }
.unit-btn {
  font-family: var(--font-m); font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; padding: 7px 15px; color: var(--smoke);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.unit-btn + .unit-btn { border-left: 1px solid var(--line-l); }
.unit-btn:hover { color: var(--ink); }
.unit-btn.is-active { background: var(--ink); color: var(--bone); }

.guide-scroll { overflow-x: auto; }
.guide-table { border-collapse: collapse; width: 100%; min-width: 480px; }
.guide-table th, .guide-table td {
  text-align: center; padding: 9px 6px;
  border-bottom: 1px solid var(--line-l);
  font-family: var(--font-m); font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.guide-table thead th {
  color: var(--smoke); font-size: 10.5px; letter-spacing: .06em;
  border-bottom: 1px solid var(--ink);
}
.guide-table tbody th {
  text-align: left; white-space: nowrap; padding-right: 16px;
  font-family: var(--font-d); font-weight: 700; font-size: 12.5px;
  letter-spacing: .01em;
}
.guide-table thead th:first-child { text-align: left; }
.guide-table td { color: rgba(12,12,13,.82); }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: none; }

.guide-note { font-family: var(--font-m); font-size: 10px; color: var(--smoke); margin-top: 11px; letter-spacing: .03em; line-height: 1.6; }
.guide-measure { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-l); }
.guide-measure-h { font-family: var(--font-m); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); margin-bottom: 9px; }
.guide-measure ul { list-style: none; }
.guide-measure li { font-size: 12.5px; color: rgba(12,12,13,.78); padding: 4px 0; line-height: 1.5; }
.guide-measure b { font-weight: 700; }

.pdp-fine {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: .08em; color: var(--smoke);
  margin-top: 18px;
}

.card-name { cursor: pointer; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .pdp {
    grid-template-columns: 1fr;
    overflow-y: auto;
    display: flex; flex-direction: column;
  }
  .pdp-gallery { border-right: none; border-bottom: 1px solid var(--line-l); flex: none; }
  .pdp-stage { height: 48vh; }
  .pdp-info { overflow-y: visible; padding: 26px 22px 40px; }
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: var(--z-toast);
  transform: translate(-50%, 80px);
  background: var(--bone); color: var(--ink);
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: .06em;
  padding: 13px 22px;
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal-load { opacity: 0; transform: translateY(26px); animation: rise .8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .marquee-track, .drop-live-dot, .hero-scroll { animation: none; }
  .reveal-load { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cart, .cart-backdrop, .card, .card-fig svg.garment,
  .pdp, .pdp-backdrop, .garment-photo { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .access-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-access { display: none; }
  .nav-burger { display: block; }
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .hero { min-height: calc(100svh - 96px); }
  .hero-foot span:nth-child(3) { display: none; }
  .card-sizes { opacity: 1; transform: none; background: linear-gradient(rgba(245,243,238,0), rgba(245,243,238,.9) 30%); }
}
@media (max-width: 560px) {
  .drop-marks { gap: 12px 22px; }
  .access-row { flex-direction: column; }
  .access-row .btn { width: 100%; }
  .hero-cta .btn { flex: 1; padding: 16px 12px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .cart { width: 100vw; }
}
