:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --ink: #f4f1ea;
  --muted: #a39e94;
  --line: rgba(244, 241, 234, 0.14);
  --stamp: #c83b2a;
  --bone: #e7e1d4;
  --max: 1240px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 22px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links a {
  color: #fff;
  background-image: linear-gradient(
    transparent 28%,
    #fff 28%,
    #fff 72%,
    transparent 72%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.nav-links a:hover {
  color: #000;
  background-image: linear-gradient(
    transparent 28%,
    #fff 28%,
    #fff 72%,
    transparent 72%
  );
}
.nav-links a.active,
.nav-links a.active:hover {
  color: #fff;
  background-image: none;
}
.nav-links a.active:hover {
  color: #000;
  background-image: linear-gradient(
    transparent 28%,
    #fff 28%,
    #fff 72%,
    transparent 72%
  );
}
.menu-toggle { display: none; }
.cart-pill {
  color: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cart-pill:hover {
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  position: relative;
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  border-right: 1px solid var(--line);
}
.hero-logo {
  position: static;
  transform: none;
  width: min(100%, 560px);
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0;
}
.logo-slot {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 120px;
}
.hero-bottom { margin-top: 12px; }
.hero-bottom .lede { margin-top: 18px; }
.hero-bottom .actions { margin-top: 22px; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stamp);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.86;
  margin: 0;
  letter-spacing: -0.03em;
}
.lede { max-width: 460px; color: var(--bone); font-size: 18px; }
.redact {
  color: #fff;
  opacity: 1;
  background-image: linear-gradient(
    transparent 28%,
    #fff 28%,
    #fff 72%,
    transparent 72%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.02em;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #111;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn:hover { background: var(--stamp); border-color: var(--stamp); color: white; }

.hero-visual {
  position: relative;
  min-height: 560px;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 59, 42, 0.28), transparent 32%),
    linear-gradient(160deg, #1a1a1a, #050505 60%);
  overflow: hidden;
}
.shadow-figure {
  position: absolute;
  inset: 12% 18% 8%;
  background: linear-gradient(180deg, transparent, #000 30%);
  clip-path: polygon(38% 8%, 58% 8%, 70% 28%, 64% 48%, 78% 100%, 22% 100%, 36% 48%, 30% 28%);
  filter: blur(0.2px);
  opacity: 0.92;
}
.stamp {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 118px;
  height: 118px;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(12deg);
  background: rgba(10, 10, 10, 0.35);
  padding: 12px;
}
.stamp.stamp-bl {
  right: auto;
  top: auto;
  left: 14px;
  bottom: 14px;
}
.stamp.stamp-br {
  left: auto;
  top: auto;
  right: 14px;
  bottom: 14px;
}
.meta-row {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { padding: 72px 28px; max-width: var(--max); margin: 0 auto; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  margin: 0;
  line-height: 0.9;
}
.section-head p { max-width: 320px; color: var(--muted); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.swatch {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.swatch img.match-headroom {
  object-position: center top;
}
.swatch img.less-headroom {
  object-position: center 32%;
}
.bag-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bag-thumb {
  width: 92px;
  height: 116px;
  object-fit: cover;
  object-position: center top;
  flex: 0 0 auto;
  background: #111;
}
.bag-copy { flex: 1; min-width: 0; }
.bag-price { white-space: nowrap; }
  width: 100%;
  height: auto;
  object-fit: unset;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-visual img.photo {
  position: absolute;
  inset: 0;
}
.garment {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 46%;
  height: 62%;
  background: #111;
  box-shadow: 18px 28px 0 rgba(0,0,0,0.55);
}
.garment.tee { clip-path: polygon(22% 12%, 78% 12%, 92% 28%, 80% 34%, 80% 100%, 20% 100%, 20% 34%, 8% 28%); border-radius: 4px; }
.garment.hood { width: 58%; clip-path: polygon(18% 22%, 36% 8%, 64% 8%, 82% 22%, 92% 40%, 80% 40%, 80% 100%, 20% 100%, 20% 40%, 8% 40%); }
.garment.cap { width: 62%; height: 34%; top: 48%; clip-path: polygon(8% 55%, 22% 28%, 78% 28%, 96% 58%, 78% 78%, 20% 78%); }
.mark {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone);
}
.card-body { padding: 16px; display: flex; justify-content: space-between; gap: 12px; }
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; }
.price { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split div { padding: 64px 40px; }
.split div + div { border-left: 1px solid var(--line); }
.split h2 { margin-bottom: 16px; }
.muted { color: var(--muted); }

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-family: var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.marquee span { display: inline-block; padding-left: 100%; animation: slide 48s linear infinite; }
@keyframes slide { to { transform: translateX(-100%); } }

.bag-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bag-thumb {
  width: 92px;
  height: 116px;
  object-fit: cover;
  object-position: center top;
  flex: 0 0 auto;
  background: #111;
}
.bag-copy { flex: 1; min-width: 0; }
.bag-price { white-space: nowrap; }

footer {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
form { display: grid; gap: 12px; max-width: 520px; }
input, textarea, select {
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 14px;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--bone); }
.notice {
  border: 1px dashed var(--line);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}
.toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--ink);
  color: #111;
  padding: 12px 14px;
  display: none;
  font-size: 14px;
}

.shop-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 92px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #111;
}
.shop-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.shop-hero img.about-crop {
  object-position: center 62%;
}
.shop-hero-copy {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 92px);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.05) 40%, rgba(10,10,10,0.72) 100%);
}
.shop-hero-copy h1 { max-width: 8ch; }
.shop-hero-copy .lede { color: var(--bone); }

@media (max-width: 860px) {
  .hero, .split, .grid { grid-template-columns: 1fr; }
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero-copy { display: contents; }
  .hero-copy .kicker,
  .shop-hero .kicker {
    order: -2;
    padding: 10px 14px;
  }
  .logo-slot, .hero-bottom { padding: 0 18px 28px; }
  .logo-slot { justify-content: center; }
  .split div, .shop-hero-copy { padding: 28px 18px; }
  .shop-hero, .shop-hero-copy { min-height: auto; }
  .hero-logo { width: min(100%, 280px); margin: 18px auto 0; }
  h1 { font-size: clamp(42px, 12vw, 64px); }
  .lede { font-size: 16px; }
  .nav {
    padding: 8px 14px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 0;
    height: auto;
  }
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 36px;
    z-index: 2;
  }
  .logo img { height: 36px; width: auto; }
  .menu-toggle {
    display: block;
    order: 1;
    margin: 0;
    margin-right: auto;
    background: transparent;
    border: 1px solid var(--line);
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
  }
  .cart-pill { order: 3; margin-left: auto; padding: 8px 10px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    display: inline-block;
    width: fit-content;
    margin: 8px 18px;
    padding: 0;
    color: #fff;
    background-image: linear-gradient(
      transparent 28%,
      #fff 28%,
      #fff 72%,
      transparent 72%
    );
  }
  .nav-links a.active {
    background-image: none;
  }
  .hero-visual { order: -1; min-height: 72vh; }
  .shop-hero:not(.about-page-hero) img {
    position: relative;
    inset: auto;
    order: -1;
    display: block;
    width: 100%;
    height: 72vh;
    min-height: 72vh;
    object-fit: cover;
    object-position: center top;
  }
  .shop-hero {
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    background: transparent;
    overflow: hidden;
  }
  .shop-hero-copy { display: contents; }
  .shop-hero .kicker { order: -2; padding: 10px 14px; }
  .about-page-hero {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
  }
  .about-page-hero img.about-crop {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: 72vh;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center 62%;
    position: relative;
    left: 0;
    right: 0;
  }
  .shop-hero-copy > div { order: 0; padding: 28px 18px; }
  .swatch { height: 420px; }
  .section { padding: 36px 16px; }
  footer { flex-direction: column; gap: 8px; }
}
