:root {
  --ink: #111;
  --ink-2: #3b3b3b;
  --muted: #777;
  --line: #e7e4df;
  --paper: #fff;
  --paper-2: #f7f5f1;
  --accent: #c8102e;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow span { margin: 0 0.6em; }
.eyebrow--line { display: flex; align-items: center; gap: 16px; }
.eyebrow--line::after { content: ""; width: 64px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--light { color: #f3ede3; }
.h-xl, .h-lg, .h-md, .hero__title, .cat h3, .commission__title {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.h-xl { font-size: clamp(40px, 5vw, 72px); font-weight: 800; }
.h-lg { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; }
.h-md { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 44ch; }

.link-u {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.2s;
}
.link-u:hover { gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: #f3ede3; color: #f3ede3; }
.btn--outline-light:hover { background: #f3ede3; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- announce + header ---------- */
.announce {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.logo--sm { font-size: 18px; }
.nav { display: flex; gap: 40px; font-size: 15px; font-weight: 500; }
.nav__item { position: relative; padding: 8px 0; }
.nav__item > a, a.nav__item { display: inline-flex; align-items: center; gap: 6px; }
a.nav__item::after, .nav__item > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
a.nav__item:hover::after, .nav__item > a:hover::after { transform: scaleX(1); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.dropdown a { display: block; padding: 9px 20px; font-size: 14px; }
.dropdown a:hover { background: var(--paper-2); }
.nav__item--drop:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.icons { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0 4px;
  transition: transform 0.25s;
}
.cart-count.bump { transform: scale(1.35); }
.burger { display: none; }
.search { max-height: 0; overflow: hidden; transition: max-height 0.3s; border-top: 1px solid transparent; }
.search.is-open { max-height: 90px; border-color: var(--line); }
.search input {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  padding: 16px 0;
  margin: 12px 0 16px;
  font: inherit;
  font-size: 18px;
  outline: none;
}

/* ---------- image slots ---------- */
.img-slot { position: relative; overflow: hidden; background: var(--paper-2); }
.img-slot > img, .img-slot > canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2, .7, .2, 1);
}
.img-slot[data-mono] > img { filter: grayscale(1) contrast(1.05); }
.ph-label {
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 2;
  font: 500 11px/1 ui-monospace, Menlo, monospace;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  padding: 6px 8px;
  border-radius: 3px;
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.55fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.hero__title {
  font-size: clamp(64px, 8.4vw, 132px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin: 22px 0 28px;
}
.hero__sub {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.7;
  max-width: 34ch;
  margin-bottom: 32px;
  color: var(--ink-2);
}
.hero__main { aspect-ratio: 4 / 5; }
.hero__side { display: flex; flex-direction: column; gap: 28px; height: 100%; justify-content: space-between; }
.newdrop .rule { display: block; width: 36px; height: 1.5px; background: var(--ink); margin: 14px 0; }
.newdrop__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.8; }
.hero__detail { aspect-ratio: 3 / 4; }

/* ---------- category trio ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.cat { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.cat__img { aspect-ratio: 4 / 5; }
.cat:hover .img-slot > * { transform: scale(1.04); }
.cat h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cat p { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.cat .link-u { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- builder ---------- */
.builder { background: var(--paper-2); padding: clamp(56px, 8vw, 110px) 0; }
.builder__inner {
  display: grid;
  grid-template-columns: 0.95fr 1fr 0.95fr;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}
.builder__intro .h-xl { margin: 20px 0 20px; }
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks li::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }

.jacket { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 400 / 430; }
.jacket__svg { width: 100%; height: 100%; }
.j-body, .j-collar { transition: fill 0.4s; }
.j-seam { fill: none; stroke-width: 1.6; stroke-dasharray: 3 3; transition: stroke 0.4s; }
.jacket[data-base="black"] .j-body { fill: #1b1b1b; }
.jacket[data-base="black"] .j-collar { fill: #262626; }
.jacket[data-base="black"] .j-band { fill: #222; }
.jacket[data-base="black"] .j-seam { stroke: #4a4a4a; }
.jacket[data-base="denim"] .j-body { fill: #7c9ac0; }
.jacket[data-base="denim"] .j-collar { fill: #6c8bb2; }
.jacket[data-base="denim"] .j-band { fill: #6f8eb5; }
.jacket[data-base="denim"] .j-seam { stroke: #c98a45; }
.jacket__patch {
  position: absolute;
  left: 31%; top: 31%;
  width: 38%; height: 52%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s;
}
.jacket__patch.is-swapping { opacity: 0; }
.jacket__caption { text-align: center; margin-top: 18px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.builder__panel { background: #fff; padding: clamp(22px, 2.4vw, 34px); border: 1px solid var(--line); }
.panel__title { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.step { font-size: 14px; font-weight: 600; margin: 18px 0 10px; }
.bases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.base { border: 1.5px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; display: grid; gap: 10px; transition: border-color 0.2s; }
.base input { position: absolute; opacity: 0; pointer-events: none; }
.base.is-active { border-color: var(--ink); }
.base__swatch { height: 56px; border-radius: 4px; }
.base__swatch--black { background: linear-gradient(135deg, #2a2a2a, #111); }
.base__swatch--denim { background: repeating-linear-gradient(45deg, #7f9dc3 0 2px, #7090b8 2px 4px); }
.base__name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.radio { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #bbb; display: inline-block; position: relative; }
.base.is-active .radio { border-color: var(--ink); }
.base.is-active .radio::after { content: ""; position: absolute; inset: 2.5px; background: var(--ink); border-radius: 50%; }
.designs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.design {
  aspect-ratio: 1;
  border-radius: 5px;
  border: 2px solid transparent;
  outline: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s;
}
.design:hover { transform: translateY(-2px); }
.design.is-active { border-color: var(--ink); outline-color: var(--ink); }
.design .img-slot { width: 100%; height: 100%; }
.design .ph-label { display: none; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 46px; height: 40px; border: 1.5px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 600; }
.sizes button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.panel__foot .muted { display: block; font-size: 12px; }
.price { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- shop ---------- */
.shop { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs { display: flex; gap: 28px; flex-wrap: wrap; }
.tabs button { font-size: 15px; padding: 6px 0; border-bottom: 1.5px solid transparent; color: var(--ink-2); transition: 0.2s; }
.tabs button.is-active, .tabs button:hover { border-color: var(--ink); color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.card { cursor: pointer; animation: fadeUp 0.5s both; }
.card__media { aspect-ratio: 1 / 1.08; background: var(--paper-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.card__media > .img-slot { position: absolute; inset: 0; }
/* framed placeholder */
.img-slot.is-framed { display: grid; place-items: center; }
.img-slot.is-framed > .frame {
  position: relative;
  width: 70%;
  aspect-ratio: 1;
  background: #fff;
  border: 10px solid #c9a477;
  border-image: linear-gradient(135deg, #dcbd92, #a77d4c) 1;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  transition: transform 0.5s;
}
.img-slot.is-framed > .frame > canvas { position: absolute; inset: 9%; width: 82%; height: 82%; }
.card:hover .img-slot.is-framed > .frame { transform: scale(1.03); }
/* jacket placeholder */
.img-slot.is-jacket { display: grid; place-items: center; }
.img-slot.is-jacket .jacket { width: 82%; transition: transform 0.5s; }
.img-slot.is-jacket .jacket__patch canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card:hover .img-slot.is-jacket .jacket { transform: scale(1.03); }
.card:hover .card__media > .img-slot > * { transform: scale(1.04); }
.card__quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s;
}
.card:hover .card__quick { opacity: 1; transform: none; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; }
.card__name { font-weight: 600; font-size: 16px; }
.card__price { color: var(--ink-2); font-size: 15px; }
.heart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: 0.2s; }
.heart.is-on svg { fill: var(--accent); stroke: var(--accent); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 3; background: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px; }

/* ---------- story ---------- */
.story {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: clamp(20px, 3.5vw, 56px);
  align-items: center;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.story__detail { aspect-ratio: 4 / 3.3; }
.story__portrait { aspect-ratio: 4 / 5; }
.story__text .h-md { margin: 16px 0 18px; }
.story__text p:not(.eyebrow) { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.story__text .link-u { margin-top: 8px; }

/* ---------- archive ---------- */
.archive { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0; }
.archive__inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.archive__intro .h-lg { margin: 16px 0 18px; }
.archive__intro p:not(.eyebrow) { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.archive__rail-wrap { min-width: 0; }
.archive__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 21vw, 260px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.archive__rail::-webkit-scrollbar { display: none; }
.work { scroll-snap-align: start; }
.work .img-slot { aspect-ratio: 9 / 10; }
.work:hover .img-slot > * { transform: scale(1.04); }
.work h4 { font-size: 15px; font-weight: 600; margin-top: 12px; }
.work p { font-size: 13px; color: var(--muted); }
.rail-ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.circle-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 18px; transition: 0.2s; }
.circle-btn:hover { background: var(--ink); color: #fff; }

/* ---------- commission ---------- */
.commission {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 40px 0;
  margin: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spool { width: 180px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.commission__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; padding: 0 clamp(16px, 2.5vw, 40px); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.commission p { color: var(--ink-2); max-width: 46ch; }

/* ---------- editorial ---------- */
.editorial { position: relative; min-height: clamp(460px, 48vw, 640px); display: flex; align-items: center; color: #f3ede3; overflow: hidden; }
.editorial__bg { position: absolute; inset: 0; background: #2b2520; }
.editorial__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 14, 10, 0.78) 0%, rgba(20, 14, 10, 0.35) 55%, rgba(20, 14, 10, 0.05) 100%);
  z-index: 1;
}
.editorial__bg .ph-label { z-index: 3; left: auto; right: 10px; }
.editorial__content { position: relative; z-index: 2; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.editorial__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6.4vw, 96px); line-height: 0.95; letter-spacing: -0.01em; margin: 22px 0 18px; }
.editorial__sub { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); max-width: 26ch; margin-bottom: 32px; line-height: 1.3; }

/* ---------- footer ---------- */
.footer { padding-top: clamp(56px, 7vw, 96px); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer__lede { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; margin: 18px 0 24px; max-width: 30ch; }
.news { display: flex; border-bottom: 1.5px solid var(--ink); max-width: 440px; }
.news input { flex: 1; border: 0; outline: none; font: inherit; padding: 14px 0; background: transparent; }
.news button { font-size: 20px; padding: 0 6px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.footer__cols a { display: block; font-size: 15px; color: var(--ink-2); padding: 4px 0; }
.footer__cols a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; }
.socials { display: flex; gap: 12px; }
.socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.socials .fill { fill: currentColor; stroke: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 100;
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 26px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .hero__detail { width: 40%; aspect-ratio: 16 / 9; }
  .cats { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 220px 1fr; }
  .builder__inner { grid-template-columns: 1fr 1fr; }
  .builder__intro { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .story { grid-template-columns: 1fr 1fr; }
  .story__portrait { display: none; }
  .commission { grid-template-columns: auto 1fr; }
  .commission__title { border: 0; padding: 0; }
  .commission p { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .header { backdrop-filter: none; background: #fff; }
  .header__inner { grid-template-columns: 1fr auto; height: 72px; }
  .logo { font-size: 20px; }
  .burger { display: grid; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    flex-direction: column;
    gap: 4px;
    padding: 96px 28px 28px;
    font-size: 22px;
    font-family: var(--display);
    font-weight: 600;
    transform: translateX(100%);
    transition: transform 0.35s;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.08);
    z-index: -1;
  }
  .nav.is-open { transform: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 0; }
  .dropdown a { font-family: var(--body); font-weight: 400; font-size: 15px; padding: 6px 0; color: var(--muted); }
  .chev { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .builder__inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .archive__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .announce { font-size: 10px; }
  .cat { grid-template-columns: 1fr 1fr; gap: 16px; }
  .designs { grid-template-columns: repeat(3, 1fr); }
  .tabs { gap: 18px; }
  .commission { grid-template-columns: 1fr; text-align: left; }
  .spool { width: 140px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .card__quick { display: none; }
}

/* =========================================================
   v2 — real photography
   ========================================================= */
.img-slot[data-fit="contain"] > img { object-fit: contain; padding: 7%; }
.card__media--scan { background: #fff; border: 1px solid var(--line); }
.card__media { aspect-ratio: 4 / 5; }
.hero__main { aspect-ratio: 3 / 4; }
.hero__detail { aspect-ratio: 4 / 5; }
.cat__img { aspect-ratio: 3 / 4; }
.grid__more { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: 12px; }

/* marquee */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  font-family: "Silkscreen", var(--display);
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.06em;
}
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 38s linear infinite; white-space: nowrap; align-items: center; }
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* featured dress */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: clamp(20px, 3.5vw, 56px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.feature__main { aspect-ratio: 3 / 4; }
.feature__side { aspect-ratio: 1 / 1.07; }
.feature__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.95;
  margin: 20px 0 22px;
}
.feature__text p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 14px; max-width: 42ch; }
.feature__text .muted { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }

/* story tweaks */
.story { padding-top: 0; }
.story__portrait { aspect-ratio: 3 / 4; }

/* archive */
.work { cursor: zoom-in; }
.work .img-slot { aspect-ratio: 4 / 5; background: #3a2a1f; }

/* lookbook grid */
.looks {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  grid-template-rows: repeat(2, clamp(220px, 24vw, 360px));
  gap: clamp(10px, 1.4vw, 18px);
  padding-top: clamp(16px, 2vw, 24px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.look { height: 100%; }
.look--a { grid-row: span 2; }
.look--b { grid-row: span 2; }
.look--c { grid-row: span 2; }
.look:hover > img { transform: scale(1.03); }

/* footer wordmark */
.footer__wordmark {
  font-family: "Silkscreen", var(--display);
  font-size: clamp(22px, 5.4vw, 84px);
  line-height: 1;
  text-align: center;
  padding: 10px var(--gut) 28px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}
.socials a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 10, 8, 0.92);
  display: grid;
  place-items: center;
  padding: 56px 16px 72px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 140px); object-fit: contain; cursor: e-resize; }
.lightbox__cap { position: absolute; bottom: 24px; left: 16px; right: 16px; text-align: center; color: #f3ede3; font-size: 14px; }
.lightbox__close { position: absolute; top: 12px; right: 18px; color: #fff; font-size: 40px; line-height: 1; }

@media (max-width: 1180px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature__side { display: none; }
  .looks { grid-template-columns: repeat(3, 1fr); }
  .look--e { display: none; }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .looks { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 300px; }
  .look--a, .look--b, .look--c { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
/* crop white scan margins on builder patch + thumbnails */
.jacket__patch .img-slot > img, .design .img-slot > img { transform: scale(1.18); }
.jacket__patch .img-slot { background: #fff; }
/* fade photos in once loaded */
.img-slot > img { opacity: 0; transition: opacity 0.5s ease, transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.img-slot > img.is-loaded { opacity: 1; }

/* =========================================================
   v3: sold out, garment builder, languages
   ========================================================= */
/* language switch */
.icons { align-items: center; }
.lang { display: flex; border: 1.5px solid var(--ink); margin-inline-end: 8px; }
.lang button { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 6px 9px; min-width: 34px; }
.lang button + button { border-inline-start: 1.5px solid var(--ink); }
.lang button.is-active { background: var(--ink); color: #fff; }
.lang button[lang="ar"] { font-family: "Noto Kufi Arabic", sans-serif; font-size: 13px; padding-block: 4px; }

/* arrows on underlined links */
.link-u::after { content: "→"; }
[dir="rtl"] .link-u::after { content: "←"; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

/* shop: sold out */
.shop__note { color: var(--ink-2); font-size: 15px; max-width: 52ch; margin-top: 12px; }
.sold {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px;
}
.tag { inset-inline-start: 12px; left: auto; }
[dir="ltr"] .tag { left: 12px; }
.card__price s { color: var(--muted); }
.card__price span { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.card__quick { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.card.is-sold .img-slot > img.is-loaded { opacity: 0.92; }

/* garment builder */
.garment { position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 400 / 440; }
.garment__svg { width: 100%; height: 100%; display: block; }
.garment__patch {
  position: absolute;
  box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 6px 14px rgba(0,0,0,.18);
  animation: patchIn .35s ease;
}
.garment__patch::after {
  content: ""; position: absolute; inset: -5px;
  border: 1.6px dashed var(--seam); border-radius: 2px; pointer-events: none;
}
.garment[data-type="tee"] .garment__patch { left: 31%; top: 25%; width: 38%; height: 46%; }
.garment[data-type="jacket"] .garment__patch { left: 33%; top: 33%; width: 34%; height: 47%; }
.garment__patch .img-slot { background: #fff; }
.garment__patch .img-slot > img, .design .img-slot > img { transform: scale(1.18); }
.garment__caption { text-align: center; margin-top: 18px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@keyframes patchIn { from { opacity: 0; transform: scale(.96); } }

.bases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.base {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 6px 10px;
  display: grid; gap: 6px; justify-items: center; background: #fff; transition: border-color .2s;
}
.base:hover { border-color: #bbb; }
.base.is-active { border-color: var(--ink); }
.base__art { width: 100%; aspect-ratio: 1; display: block; }
.base__art svg { width: 100%; height: 100%; }
.base__name { font-size: 11.5px; font-weight: 500; line-height: 1.2; text-align: center; display: flex; gap: 6px; align-items: center; }
.base .radio { flex: none; width: 12px; height: 12px; }

/* lookbook: keep the right column photos framed nicely */
.look > img { object-fit: cover; }

/* Arabic */
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", var(--body); }
html[lang="ar"] .hero__title, html[lang="ar"] .h-xl, html[lang="ar"] .h-lg, html[lang="ar"] .h-md,
html[lang="ar"] .cat h3, html[lang="ar"] .commission__title, html[lang="ar"] .panel__title,
html[lang="ar"] .feature__title, html[lang="ar"] .editorial__title {
  font-family: "Noto Kufi Arabic", var(--display); font-style: normal; letter-spacing: 0; line-height: 1.25;
}
html[lang="ar"] .hero__title { font-weight: 900; font-size: clamp(56px, 7.4vw, 116px); line-height: 1.15; }
html[lang="ar"] .eyebrow, html[lang="ar"] .hero__sub, html[lang="ar"] .newdrop__text, html[lang="ar"] .btn,
html[lang="ar"] .tag, html[lang="ar"] .sold, html[lang="ar"] .card__quick, html[lang="ar"] .announce,
html[lang="ar"] .garment__caption, html[lang="ar"] .feature__text .muted, html[lang="ar"] .footer__cols h4,
html[lang="ar"] .cat .link-u, html[lang="ar"] .link-u { letter-spacing: 0; text-transform: none; }
html[lang="ar"] .hero__sub { font-size: 16px; line-height: 1.8; }
html[lang="ar"] .editorial__sub, html[lang="ar"] .footer__lede { font-family: "IBM Plex Sans Arabic", sans-serif; font-style: normal; }
[dir="rtl"] .editorial__bg::after { background: linear-gradient(270deg, rgba(20,14,10,.78) 0%, rgba(20,14,10,.35) 55%, rgba(20,14,10,.05) 100%); }
[dir="rtl"] .dropdown { left: auto; right: -20px; }
[dir="rtl"] .ticks li::before { margin: 0; }

@media (max-width: 900px) {
  .lang button { padding: 5px 7px; min-width: 28px; }
  .bases { grid-template-columns: repeat(2, 1fr); }
}

/* v4: big back print (almost to the hem), Vogue credit */
.garment[data-type="tee"] .garment__patch { left: 26.6%; top: 19%; width: 46.8%; height: 64%; }
.garment[data-type="jacket"] .garment__patch { left: 27.5%; top: 31%; width: 45%; height: 48.6%; }
.garment__patch .img-slot > img { transform: none; object-fit: fill; }
.design .img-slot > img { transform: none; }
.garment__patch::after { inset: -4px; }
.look__credit {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 5px 8px;
}
