/* BLACKWORKS — 4HZ PTY LTD static storefront */
:root {
  --black: #000;
  --ink: #030303;
  --panel: #070707;
  --white: #f4f4ef;
  --bone: #ecece4;
  --muted: #b2b2aa;
  --dim: #76766f;
  --line: rgba(244,244,239,.32);
  --line-strong: rgba(244,244,239,.58);
  --rail: clamp(280px, 16.5vw, 330px);
  --gutter: clamp(18px, 1.55vw, 34px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.035), transparent 31vw),
    linear-gradient(90deg, #000 0%, #010101 58%, #000 100%);
  color: var(--white);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .105;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.06) 48% 48.07%, transparent 48.1%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.038) 0 1px, transparent 1px 4px),
    url("assets/noise.svg");
  mix-blend-mode: screen;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
button { border: 0; background: transparent; cursor: pointer; }
img { display: block; max-width: 100%; }
code { text-transform: none; letter-spacing: .02em; color: var(--bone); }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--black);
  padding: .8rem 1rem;
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  padding: clamp(20px, 1.55vw, 34px) clamp(24px, 1.8vw, 38px) 28px;
  border-right: 1px solid var(--line-strong);
  background: #000;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: clamp(26px, 2.1vw, 40px);
  z-index: 40;
  overflow-y: auto;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(148px, 11.6vw, 210px);
  padding: 10px 0 20px;
  overflow: visible;
}
.brand-image {
  flex-direction: column;
  gap: 10px;
}
.brand-logo-img {
  width: clamp(142px, 9.4vw, 190px);
  max-width: 100%;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.04);
}
.brand-image span,
.brand-image small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .28em;
  text-align: center;
}
.brand-image small { color: var(--dim); }
.brand-text {
  flex-direction: column;
  text-align: center;
  gap: 8px;
}
.brand-text span,
.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .28em;
}
.brand-text small { color: var(--dim); }
.brand-text strong {
  display: block;
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.65rem, 3.15vw, 4.35rem);
  line-height: .82;
  letter-spacing: .03em;
  text-shadow:
    1px 0 0 rgba(255,255,255,.28),
    -1px 0 0 rgba(255,255,255,.16),
    0 0 18px rgba(255,255,255,.12);
}
.rail-nav,
.rail-utility {
  display: grid;
  gap: 20px;
  font-size: 15px;
  line-height: 1;
}
.rail-nav a,
.rail-nav button,
.rail-utility a,
.rail-utility button {
  width: max-content;
  color: var(--muted);
  position: relative;
}
.rail-nav a:hover,
.rail-nav button:hover,
.rail-utility a:hover,
.rail-utility button:hover,
.rail-nav .active { color: var(--white); }
.rail-nav .active::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(24px, 1.8vw, 38px));
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--white);
}
.rail-utility {
  border-top: 1px solid var(--line-strong);
  padding-top: 31px;
  font-size: 12px;
  gap: 15px;
}
.rail-lockup {
  align-self: end;
  border-top: 1px solid var(--line-strong);
  padding-top: 34px;
}
.rail-lockup p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.rail-lockup img {
  width: 132px;
  max-height: 132px;
  object-fit: contain;
  opacity: .9;
  margin-left: 24px;
}
.copyright {
  margin: 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.7;
}

.site {
  width: calc(100vw - var(--rail));
  margin-left: var(--rail);
  padding: var(--gutter) var(--gutter) 76px;
  min-width: 0;
}
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  height: clamp(500px, 42vw, 760px);
  min-height: 0;
  border: 1px solid rgba(244,244,239,.16);
  background: #050505;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.84) 14%, rgba(0,0,0,.42) 44%, rgba(0,0,0,.18) 68%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.03) 36%, rgba(0,0,0,.74) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: .11;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.12) 48.05% 48.12%, transparent 48.18%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 5px),
    url("assets/noise.svg");
  mix-blend-mode: screen;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .85s ease, transform 6.8s linear;
  filter: grayscale(1) contrast(1.03) brightness(1.04);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-copy {
  position: absolute;
  left: clamp(32px, 7vw, 148px);
  top: 50%;
  transform: translateY(-48%);
  z-index: 5;
  width: min(46rem, 54vw);
  max-width: calc(100% - clamp(72px, 14vw, 220px));
}
.hero-copy h1 {
  margin: .28em 0 .34em;
  color: var(--white);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.1rem, 6.6vw, 8.2rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: clamp(.11em, .46vw, .28em);
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(0,0,0,.78);
}
.hero-kicker,
.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.68rem, .86vw, 1.05rem);
  line-height: 1.45;
  letter-spacing: clamp(.18em, .38vw, .34em);
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(0,0,0,.9);
}
.hero-subtitle { color: var(--bone); }
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: clamp(150px, 13vw, 260px);
  min-height: clamp(46px, 3.2vw, 64px);
  margin-top: clamp(22px, 2.5vw, 44px);
  border: 1px solid rgba(244,244,239,.5);
  color: var(--bone);
  background: rgba(0,0,0,.18);
  font-size: clamp(.72rem, .84vw, 1rem);
  letter-spacing: .24em;
}
.hero-button:hover { background: var(--white); color: var(--black); }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: clamp(44px, 4vw, 76px);
  height: clamp(54px, 5vw, 92px);
  display: grid;
  place-items: center;
  color: rgba(244,244,239,.82);
  font-size: clamp(2.1rem, 4vw, 5.2rem);
  line-height: 1;
  font-weight: 200;
  border: 0;
  background: transparent;
}
.hero-arrow:hover { color: var(--white); }
.hero-arrow-prev { left: clamp(8px, 1.2vw, 24px); }
.hero-arrow-next { right: clamp(8px, 1.2vw, 24px); }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 2.5vw, 42px);
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dots button {
  width: clamp(24px, 1.6vw, 38px);
  height: 6px;
  border-radius: 999px;
  background: rgba(244,244,239,.2);
}
.hero-dots button.active {
  background: var(--white);
  box-shadow: 0 0 14px rgba(255,255,255,.25);
}


.shop { padding-top: 28px; }
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .24em;
}
.section-head span {
  height: 1px;
  background: var(--line-strong);
}
.section-head button {
  color: var(--muted);
  font-size: 12px;
}
.section-head button:hover { color: var(--white); }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-top: 1px solid rgba(244,244,239,.2);
  border-bottom: 1px solid rgba(244,244,239,.2);
  margin-bottom: 20px;
}
.filter-row button {
  min-height: 47px;
  padding: 0 21px;
  border-right: 1px solid rgba(244,244,239,.25);
  color: var(--muted);
  font-size: 11px;
}
.filter-row button:first-child { border-left: 1px solid rgba(244,244,239,.25); }
.filter-row .active,
.filter-row button:hover { color: var(--white); background: rgba(255,255,255,.045); }
.filter-row span { color: var(--dim); margin-left: 6px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 14px;
  align-items: start;
}
.product-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .16s ease;
}
.product-card:hover::before { border-color: rgba(244,244,239,.42); }
.product-media {
  display: block;
  width: 100%;
  padding: 0;
  background: #090909;
  border: 0;
  overflow: hidden;
  position: relative;
}
.product-media::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 9px;
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity .14s ease;
  background:
    linear-gradient(var(--white), var(--white)) center/100% 1px no-repeat,
    linear-gradient(var(--white), var(--white)) center/1px 100% no-repeat;
}
.product-card:hover .product-media::after { opacity: .9; }
.product-media img {
  width: 100%;
  aspect-ratio: 206 / 222;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.1) brightness(.98);
  transition: filter .16s ease, transform .16s ease;
}
.product-card:hover img {
  filter: grayscale(1) contrast(1.18) brightness(1.08);
  transform: scale(1.018);
}
.product-info { padding-top: 13px; }
.product-info h3 {
  margin: 0 0 8px;
  color: var(--bone);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: .18em;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.product-meta button {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(244,244,239,.36);
  line-height: 1;
}
.product-meta button:hover { background: var(--white); color: var(--black); }

.collection-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .9fr) minmax(280px, .9fr);
  gap: 22px;
}
.editorial-panel,
.text-panel,
.lookbook,
.service-grid > div,
.faq {
  border: 1px solid rgba(244,244,239,.24);
  background: rgba(255,255,255,.025);
}
.editorial-panel {
  position: relative;
  min-height: clamp(250px, 18vw, 330px);
  overflow: hidden;
}
.editorial-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.7) contrast(1.12);
}
.editorial-panel div {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(430px, calc(100% - 48px));
}
.text-panel {
  padding: clamp(22px, 2vw, 34px);
  min-height: clamp(250px, 18vw, 330px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.editorial-panel span,
.text-panel span,
.lookbook p { color: var(--muted); font-size: 11px; }
.editorial-panel h2,
.text-panel h2,
.lookbook h2,
.faq h2 {
  margin: 10px 0 14px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .052em;
  line-height: .92;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.editorial-panel h2 { font-size: clamp(2.35rem, 3.2vw, 3.95rem); white-space: nowrap; }
.no-break { white-space: nowrap; }
.text-panel h2 { font-size: clamp(2.25rem, 3vw, 3.55rem); white-space: nowrap; }
.lookbook h2 { font-size: clamp(2.5rem, 4.4vw, 5.4rem); }
.faq h2 { font-size: 2.2rem; }

.collection-grid h2 {
  max-width: 100%;
  text-wrap: balance;
}
@media (min-width: 1181px) {
  .collection-grid h2 { text-wrap: nowrap; }
}

.editorial-panel p,
.text-panel p,
.faq p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.lookbook {
  margin-top: 44px;
}
.lookbook-editorial {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(340px, 1fr) minmax(320px, 1.08fr);
  gap: 0;
  border: 1px solid rgba(244,244,239,.16);
  background: linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.92));
}
.lookbook-panel {
  position: relative;
  min-width: 0;
  border-right: 1px solid rgba(244,244,239,.13);
  border-bottom: 1px solid rgba(244,244,239,.13);
  overflow: hidden;
  background: rgba(0,0,0,.58);
}
.lookbook-editorial > *:last-child { border-right: 0; }
.lookbook-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.6vw, 44px);
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.9)),
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.05), transparent 40%);
}
.lookbook-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .24em;
}
.lookbook-rule {
  width: 60px;
  height: 2px;
  background: rgba(244,244,239,.82);
  margin: 54px 0 36px;
}
.lookbook-copy h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: .94;
  letter-spacing: .03em;
  overflow-wrap: normal;
}
.lookbook-deck {
  margin: 32px 0 0;
  max-width: 18ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.lookbook-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding-top: 42px;
  color: var(--bone);
  font-size: 12px;
}
.lookbook-link:hover { color: var(--white); }
.lookbook-stamp {
  margin-top: auto;
  padding-top: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}
.lookbook-stamp img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: .85;
}
.lookbook-stamp-logo {
  width: 82px !important;
  height: auto !important;
  max-height: 82px;
  object-fit: contain;
  opacity: .92;
  filter: contrast(1.08) brightness(1.02);
}
.lookbook-stamp strong,
.lookbook-stamp span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}
.lookbook-stamp strong { color: var(--bone); }
.lookbook-frame,
.lookbook-stack,
.lookbook-subgrid {
  min-width: 0;
}
.lookbook-frame {
  display: flex;
  flex-direction: column;
}
.lookbook-frame img {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(1) contrast(1.04) brightness(1.02);
}
.lookbook-frame-main img {
  aspect-ratio: 4 / 7;
  object-fit: cover;
  object-position: center center;
}
.lookbook-stack {
  display: grid;
  grid-template-rows: auto auto;
}
.lookbook-frame-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
}
.lookbook-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.lookbook-frame-tall { border-right: 1px solid rgba(244,244,239,.13); }
.lookbook-frame-tall img,
.lookbook-frame-detail img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.lookbook-frame-tall img { object-position: center center; }
.lookbook-frame-detail img { object-position: center center; }
.frame-index {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-size: 12px;
  color: var(--white);
}
.frame-mark {
  position: absolute;
  top: 46px;
  left: 20px;
  z-index: 2;
  width: 14px;
  height: 2px;
  background: var(--white);
}
.lookbook-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 11px;
  background: rgba(0,0,0,.92);
}
.service-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-grid div { padding: 24px; min-height: 112px; }
.service-grid strong,
.service-grid span { display: block; font-size: 12px; line-height: 1.6; }
.service-grid strong { color: var(--white); }
.service-grid span { color: var(--muted); }
.faq { margin-top: 14px; padding: 24px; }
details { border-top: 1px solid rgba(244,244,239,.2); padding: 18px 0; }
details:last-child { padding-bottom: 0; }
summary { cursor: pointer; font-size: 13px; }
summary:hover { color: var(--bone); }

.cart {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, 100vw);
  background: #020202;
  border-left: 1px solid var(--line-strong);
  z-index: 120;
  transform: translateX(100%);
  transition: transform .2s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.cart.open { transform: translateX(0); }
.cart header,
.cart footer { padding: 24px; }
.cart header { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(244,244,239,.25); }
.cart h2 { margin: 0; font-size: 18px; }
.cart header button,
.search-box button { font-size: 32px; line-height: 1; }
.cart-lines { overflow: auto; padding: 0 24px; }
.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244,244,239,.16);
}
.cart-line img { width: 78px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.04); }
.cart-line h3 { margin: 0 0 8px; font-size: 12px; line-height: 1.3; }
.cart-line p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button,
.remove-line { border: 1px solid rgba(244,244,239,.32); min-width: 28px; min-height: 28px; font-size: 12px; }
.remove-line { padding: 0 8px; }
.qty button:hover,
.remove-line:hover { background: var(--white); color: var(--black); }
.total { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(244,244,239,.25); font-size: 13px; }
.checkout { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); }
.checkout:hover { background: var(--white); color: var(--black); }
.cart footer p { margin: 16px 0 0; color: var(--dim); font-size: 10px; line-height: 1.6; }
.empty { color: var(--muted); font-size: 12px; padding: 24px 0; line-height: 1.6; }


.product-lightbox,
.contact-lightbox,
.info-lightbox {
  position: fixed;
  inset: clamp(14px, 2.4vw, 42px);
  z-index: 140;
  border: 1px solid var(--line-strong);
  background: rgba(2,2,2,.96);
  box-shadow: 0 0 0 1px rgba(0,0,0,.88), 0 30px 90px rgba(0,0,0,.72);
  overflow: hidden;
}
.product-lightbox-inner {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr);
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  font-size: 30px;
  line-height: 1;
  color: var(--white);
}
.modal-close:hover { color: var(--muted); }
.product-detail-media {
  min-height: 0;
  height: 100%;
  border-right: 1px solid rgba(244,244,239,.18);
  background: #050505;
  overflow: hidden;
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(1.04);
}
.product-detail-copy {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: clamp(20px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.35vh, 17px);
  overflow: hidden;
}
.modal-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.product-detail-copy h2,
.contact-form h2 {
  margin: 0;
  max-width: 11ch;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.9rem);
  line-height: .9;
  letter-spacing: .045em;
}
.product-detail-price {
  margin: 0;
  color: var(--bone);
  font-size: 14px;
}
.product-detail-description {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: .05em;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 2px 0 0;
  border-top: 1px solid rgba(244,244,239,.18);
  border-left: 1px solid rgba(244,244,239,.18);
}
.product-specs div {
  padding: 10px;
  border-right: 1px solid rgba(244,244,239,.18);
  border-bottom: 1px solid rgba(244,244,239,.18);
}
.product-specs dt,
.product-specs dd {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}
.product-specs dt { color: var(--bone); }
.product-specs dd { color: var(--dim); }
.size-block > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
}
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-option {
  min-width: 64px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid rgba(244,244,239,.28);
  color: var(--bone);
  display: grid;
  gap: 2px;
  justify-items: center;
  align-content: center;
  font-size: 11px;
}
.size-option small {
  display: block;
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .12em;
}
.size-option.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.size-option.active small { color: #333; }
.size-option:disabled {
  cursor: not-allowed;
  opacity: .28;
  color: var(--dim);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(244,244,239,.45) 50%, transparent calc(50% + 1px));
}
.purchase-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 10px;
  align-items: stretch;
}
.quantity-picker {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  border: 1px solid rgba(244,244,239,.32);
}
.quantity-picker button,
.quantity-picker input {
  min-height: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  outline: 0;
}
.quantity-picker button { font-size: 16px; }
.quantity-picker button:hover:not(:disabled) { background: rgba(244,244,239,.1); }
.quantity-picker input { border-inline: 1px solid rgba(244,244,239,.18); }
.modal-add,
.form-submit {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--bone);
}
.modal-add:hover:not(:disabled),
.form-submit:hover { background: var(--white); color: var(--black); }
.modal-add:disabled,
.quantity-picker button:disabled,
.quantity-picker input:disabled { opacity: .35; cursor: not-allowed; }
.modal-status,
.contact-status {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(244,244,239,.22);
  color: var(--bone);
  font-size: 10px;
  line-height: 1.45;
}
.contact-lightbox,
.info-lightbox {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 44px);
}
.contact-form {
  position: relative;
  width: min(720px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(244,244,239,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 32%),
    #040404;
}
.form-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: .05em;
}
.contact-form label {
  display: grid;
  gap: 8px;
}
.contact-form label span {
  color: var(--muted);
  font-size: 11px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(244,244,239,.24);
  background: #000;
  color: var(--white);
  padding: 14px;
  outline: 0;
  resize: vertical;
  text-transform: none;
  letter-spacing: .06em;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--line-strong); }


.info-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 96px));
  overflow: auto;
  padding: clamp(28px, 4.6vw, 64px);
  border: 1px solid rgba(244,244,239,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.045), transparent 38%),
    #040404;
}
.info-panel h2 {
  margin: 0;
  max-width: 11ch;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .86;
  letter-spacing: .045em;
}
.info-lede {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--bone);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.8;
  letter-spacing: .12em;
}
.info-copy,
.info-foot,
.faq-panel details p {
  max-width: 72ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-transform: none;
  letter-spacing: .055em;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.info-grid div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(244,244,239,.2);
  background: rgba(255,255,255,.025);
}
.info-grid strong,
.info-grid span {
  display: block;
  font-size: 11px;
  line-height: 1.65;
}
.info-grid strong { color: var(--white); }
.info-grid span { color: var(--muted); }
.info-foot {
  padding-top: 20px;
  border-top: 1px solid rgba(244,244,239,.16);
}
.faq-panel {
  width: min(780px, 100%);
}
.faq-panel details {
  border-top: 1px solid rgba(244,244,239,.18);
  padding: 18px 0;
}
.faq-panel details:first-of-type {
  margin-top: 28px;
}
.faq-panel summary {
  cursor: pointer;
  color: var(--bone);
  font-size: 13px;
  line-height: 1.5;
}
.faq-panel summary:hover { color: var(--white); }
.faq-panel code {
  color: var(--bone);
}
@media (max-width: 900px) {
  .info-panel {
    max-height: none;
  }
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-panel h2 {
    font-size: clamp(2.4rem, 16vw, 4.4rem);
  }
}



@media (max-height: 760px) and (min-width: 821px) {
  .product-lightbox { inset: 12px; }
  .product-detail-copy {
    padding: 22px 32px;
    gap: 9px;
  }
  .product-detail-copy h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
  .product-detail-description { font-size: 11px; line-height: 1.45; }
  .product-specs div { padding: 8px; }
  .size-option { min-height: 40px; min-width: 58px; }
  .quantity-picker button,
  .quantity-picker input,
  .modal-add { min-height: 40px; }
  .modal-kicker { font-size: 10px; line-height: 1.3; }
}

@media (max-width: 1100px) {
  .product-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Explicit hidden-state guards. Some static hosts/browsers let component display rules override the hidden attribute. */
.search[hidden],
.scrim[hidden],
.product-lightbox[hidden],
.contact-lightbox[hidden],
.info-lightbox[hidden],
[data-search][hidden],
[data-scrim][hidden],
[data-product-modal][hidden],
[data-contact-modal][hidden],
[data-about-modal][hidden],
[data-faq-modal][hidden],
[data-size-guide-modal][hidden],
[data-policy-modal][hidden] {
  display: none !important;
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 100;
}
.search {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.85);
}
.search-box {
  width: min(680px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  background: #020202;
  padding: 24px;
  display: grid;
  gap: 16px;
  position: relative;
}
.search-box button { position: absolute; right: 20px; top: 16px; }
.search-box label { font-size: 12px; color: var(--muted); }
.search-box input {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--white);
  font-size: clamp(1.4rem, 4vw, 3rem);
  outline: 0;
}

@media (min-width: 1500px) {
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 2000px) {
  .product-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  :root { --rail: 250px; }
  .rail { padding-inline: 24px; }
  .brand { min-height: 148px; }
  .brand-text strong { font-size: 3.15rem; }
  .hero { height: clamp(430px, 48vw, 620px); }
  .hero-copy { left: clamp(28px, 5vw, 56px); width: min(42rem, 64vw); }
  .hero-copy h1 { font-size: clamp(2.25rem, 6.4vw, 5.5rem); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: 1fr; }
  .editorial-panel h2,
  .text-panel h2 { white-space: normal; font-size: clamp(2.4rem, 8vw, 4.2rem); }
  .lookbook-editorial { grid-template-columns: 1fr; }
  .lookbook-copy { min-height: 0; }
  .lookbook-stack { grid-template-rows: auto; }
  .lookbook-subgrid { grid-template-columns: 1fr 1fr; }
  .product-lightbox-inner { grid-template-columns: 1fr; }
  .product-detail-media { min-height: auto; max-height: 66vh; border-right: 0; border-bottom: 1px solid rgba(244,244,239,.18); }
  .product-detail-media img { aspect-ratio: 4 / 5; height: auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body { letter-spacing: .14em; }
  .rail {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 14px 16px;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .brand { min-height: 0; justify-content: flex-start; align-items: flex-start; padding: 0; }
  .brand-text { align-items: flex-start; gap: 4px; }
  .brand-text span, .brand-text small { font-size: 8px; letter-spacing: .22em; }
  .brand-text strong { font-size: 2rem; line-height: .9; }
  .rail-nav { grid-column: 1 / -1; display: flex; overflow-x: auto; gap: 20px; font-size: 12px; padding-bottom: 4px; }
  .rail-nav .active::before { display: none; }
  .rail-utility { grid-row: 1; grid-column: 2; justify-self: end; display: flex; align-items: center; border-top: 0; padding-top: 0; }
  .rail-utility a { display: none; }
  .rail-lockup, .copyright { display: none; }
  .site { width: 100%; margin-left: 0; padding: 16px 14px 48px; }
  .hero { height: clamp(390px, 68vw, 560px); }
  .hero-copy { left: clamp(22px, 7vw, 46px); width: min(34rem, 78vw); max-width: calc(100% - 58px); }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 4.2rem); line-height: .96; letter-spacing: .2em; }
  .hero-kicker, .hero-subtitle { font-size: 10px; letter-spacing: .22em; white-space: normal; max-width: 42ch; }
  .hero-button { min-width: 142px; min-height: 42px; margin-top: 20px; font-size: 10px; }
  .hero-arrow { width: 34px; font-size: 2.4rem; }
  .hero-dots { bottom: 18px; }
  .hero-dots button { width: 24px; height: 5px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .lookbook-copy h2 { font-size: clamp(2.25rem, 7vw, 4rem); }
  .lookbook-rule { margin: 26px 0 20px; }
  .lookbook-deck { margin-top: 20px; max-width: none; line-height: 1.8; }
  .lookbook-link { padding-top: 24px; }
  .lookbook-stamp { padding-top: 28px; }
  .product-lightbox, .contact-lightbox, .info-lightbox { inset: 12px; }
  .product-detail-copy { padding: 24px; }
  .product-specs { grid-template-columns: 1fr; }
  .purchase-row { grid-template-columns: 1fr; }
  .contact-form h2, .product-detail-copy h2 { font-size: clamp(2.4rem, 14vw, 4.4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; }
  .filter-row button { white-space: nowrap; }
}
@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr; }
  .lookbook-subgrid { grid-template-columns: 1fr; }
  .hero { height: 410px; }
  .hero-slide { object-position: 62% center; }
  .hero-copy { top: 48%; left: 18px; width: calc(100% - 56px); max-width: none; }
  .hero-copy h1 { font-size: clamp(1.85rem, 12vw, 3.4rem); letter-spacing: .16em; }
  .hero-kicker, .hero-subtitle { font-size: 9px; }
}

@media (max-width: 820px) {
  .product-lightbox,
  .contact-lightbox,
  .info-lightbox {
    inset: 12px;
    overflow: auto;
  }
  .product-lightbox-inner {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .product-detail-media {
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(244,244,239,.18);
  }
  .product-detail-media img {
    aspect-ratio: 4 / 5;
    height: auto;
  }
  .product-detail-copy {
    height: auto;
    overflow: visible;
    justify-content: flex-start;
  }
  .product-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .purchase-row { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: 1fr; }
}


/* BLACKWORKS coming-soon landing */
.coming-soon-page {
  min-height: 100vh;
  overflow: hidden;
}
.coming-soon {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 54px);
  isolation: isolate;
}
.coming-soon::before,
.coming-soon::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 3;
}
.coming-soon::before {
  inset: clamp(14px, 1.6vw, 32px);
  border: 1px solid rgba(244,244,239,.22);
}
.coming-soon::after {
  right: clamp(14px, 1.6vw, 32px);
  bottom: clamp(14px, 1.6vw, 32px);
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}
.coming-soon-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #000;
}
.coming-soon-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08) brightness(.44);
  opacity: .58;
}
.coming-soon-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(0,0,0,.58) 56%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.58) 42%, rgba(0,0,0,.96));
}
.coming-soon-card {
  width: min(1180px, 92vw);
  min-height: min(620px, 74vh);
  border: 1px solid rgba(244,244,239,.18);
  background:
    linear-gradient(180deg, rgba(0,0,0,.54), rgba(0,0,0,.86)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 6vw, 92px);
  text-align: center;
}
.coming-soon-owner,
.coming-soon-trading,
.coming-soon-message,
.coming-soon-sub,
.coming-soon-footer {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.68rem, .85vw, .95rem);
  line-height: 1;
  letter-spacing: .34em;
}
.coming-soon-trading {
  margin-top: 14px;
  color: var(--dim);
}
.coming-soon-logo {
  margin: clamp(26px, 3.8vw, 56px) 0 clamp(24px, 3vw, 44px);
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: .78;
  letter-spacing: .035em;
  text-shadow:
    2px 0 0 rgba(255,255,255,.28),
    -2px 0 0 rgba(255,255,255,.16),
    0 0 34px rgba(255,255,255,.2);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.coming-soon-message {
  color: var(--white);
  font-size: clamp(1rem, 1.45vw, 1.55rem);
  letter-spacing: .42em;
}
.coming-soon-sub {
  margin-top: 22px;
  line-height: 1.8;
}
.coming-soon-footer {
  position: fixed;
  left: clamp(28px, 3vw, 58px);
  right: clamp(28px, 3vw, 58px);
  bottom: clamp(24px, 2.4vw, 42px);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--dim);
  font-size: 10px;
}
@media (max-width: 720px) {
  .coming-soon-card {
    min-height: 68vh;
  }
  .coming-soon-footer {
    position: static;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
  }
}

.coming-soon-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.coming-soon-logo-image {
  display: block;
  width: min(760px, 66vw);
  max-width: 100%;
  max-height: 46vh;
  height: auto;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.04);
}

@media (max-width: 980px) {
  .brand-logo-img {
  width: clamp(142px, 9.4vw, 190px);
  max-width: 100%;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.04);
}
}
@media (max-width: 720px) {
  .brand-logo-img {
  width: clamp(142px, 9.4vw, 190px);
  max-width: 100%;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.04);
}
  .brand-image span, .brand-image small { font-size: 8px; letter-spacing: .22em; }
  .coming-soon-logo-image {
  display: block;
  width: min(760px, 66vw);
  max-width: 100%;
  max-height: 46vh;
  height: auto;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.04);
}
  .lookbook-stamp-logo {
  width: 82px !important;
  height: auto !important;
  max-height: 82px;
  object-fit: contain;
  opacity: .92;
  filter: contrast(1.08) brightness(1.02);
}
}


/* BLACKWORKS 404 */
.error-page {
  min-height: 100vh;
  overflow: hidden;
}
.error-404 {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 54px);
  isolation: isolate;
}
.error-404::before,
.error-404::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 3;
}
.error-404::before {
  inset: clamp(14px, 1.6vw, 32px);
  border: 1px solid rgba(244,244,239,.22);
}
.error-404::after {
  right: clamp(14px, 1.6vw, 32px);
  bottom: clamp(14px, 1.6vw, 32px);
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}
.error-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #000;
}
.error-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.1) brightness(.35);
  opacity: .62;
}
.error-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(0,0,0,.64) 54%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.62) 48%, rgba(0,0,0,.96));
}
.error-card {
  width: min(900px, 90vw);
  min-height: min(560px, 72vh);
  border: 1px solid rgba(244,244,239,.2);
  background:
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.88)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(34px, 5vw, 82px);
  text-align: center;
}
.error-logo {
  width: min(560px, 74vw);
  height: auto;
  object-fit: contain;
  filter: contrast(1.08) brightness(1.04);
}
.error-kicker,
.error-copy,
.error-footer {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.68rem, .85vw, .95rem);
  line-height: 1.7;
  letter-spacing: .34em;
}
.error-card h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.1rem, 5.8vw, 6rem);
  line-height: .9;
  letter-spacing: .08em;
}
.error-copy {
  max-width: 40ch;
}
.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 210px;
  min-height: 52px;
  border: 1px solid rgba(244,244,239,.56);
  color: var(--bone);
  font-size: 12px;
}
.error-button:hover {
  background: var(--white);
  color: var(--black);
}
.error-footer {
  position: fixed;
  left: clamp(28px, 3vw, 58px);
  right: clamp(28px, 3vw, 58px);
  bottom: clamp(24px, 2.4vw, 42px);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--dim);
  font-size: 10px;
}
@media (max-width: 720px) {
  .error-card {
    min-height: 68vh;
  }
  .error-footer {
    position: static;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
  }
}


/* BLACKWORKS v7 responsive QA patch */
@media (max-width: 820px) {
  .rail {
    align-items: start;
  }
  .brand-image {
    gap: 4px;
  }
  .brand-logo-img {
    width: clamp(116px, 34vw, 142px);
  }
  .brand-image span,
  .brand-image small {
    font-size: 8px;
    letter-spacing: .18em;
    white-space: nowrap;
  }
  .rail-nav {
    flex-wrap: wrap;
    overflow: visible;
    gap: 10px 16px;
    line-height: 1.2;
    font-size: 11px;
  }
  .rail-nav a,
  .rail-nav button {
    white-space: nowrap;
  }
  .rail-utility {
    gap: 14px;
    font-size: 10px;
  }

  .product-lightbox,
  .contact-lightbox,
  .info-lightbox {
    inset: 10px;
    overflow: auto;
  }

  .contact-lightbox,
  .info-lightbox {
    place-items: start center;
    padding: 10px;
  }
  .contact-form,
  .info-panel {
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow: auto;
  }
  .info-panel {
    padding: clamp(20px, 6vw, 34px);
  }

  .product-lightbox-inner {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    height: auto;
  }
  .product-detail-media {
    height: auto;
    max-height: none;
  }
  .product-detail-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center 42%;
  }
  .product-detail-copy {
    padding: clamp(14px, 4vw, 24px);
    gap: 10px;
  }
  .product-detail-copy h2 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 3.2rem);
    line-height: .92;
  }
  .product-detail-description {
    font-size: 11px;
    line-height: 1.45;
  }
  .product-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-specs div {
    padding: 8px;
  }
  .product-specs dt,
  .product-specs dd {
    font-size: 9px;
    line-height: 1.35;
  }
  .size-block {
    gap: 8px;
  }
  .size-options {
    gap: 6px;
  }
  .size-option {
    min-width: 54px;
    min-height: 38px;
    padding: 6px 8px;
    font-size: 10px;
  }
  .size-option small {
    margin-top: 3px;
    font-size: 8px;
  }
  .purchase-row {
    grid-template-columns: 112px 1fr;
    gap: 8px;
  }
  .quantity-picker {
    grid-template-columns: 32px 1fr 32px;
  }
  .quantity-picker button,
  .quantity-picker input,
  .modal-add {
    min-height: 38px;
  }
  .modal-status {
    padding: 8px;
    font-size: 9px;
  }
}

@media (max-width: 560px) {
  .rail {
    grid-template-columns: minmax(116px, auto) 1fr;
    gap: 10px 14px;
  }
  .rail-nav {
    gap: 9px 14px;
    font-size: 10px;
  }
  .site {
    padding-top: 12px;
  }
  .hero {
    height: clamp(360px, 104vw, 410px);
  }
  .hero-copy {
    top: 44%;
  }
  .hero-copy h1 {
    font-size: clamp(1.75rem, 11vw, 3rem);
  }
  .product-detail-copy h2 {
    font-size: clamp(1.7rem, 10vw, 2.7rem);
  }
  .product-detail-description {
    display: none;
  }
  .product-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .purchase-row {
    grid-template-columns: 1fr;
  }
  .contact-form,
  .info-panel {
    padding: 20px;
  }
  .info-panel h2 {
    font-size: clamp(2.2rem, 14vw, 3.8rem);
  }
  .info-lede {
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: .08em;
  }
  .info-copy,
  .info-foot,
  .faq-panel details p {
    font-size: 11px;
    line-height: 1.65;
  }
}

@media (max-width: 380px) {
  .rail-utility {
    gap: 10px;
  }
  .hero-copy {
    top: 42%;
  }
  .hero-button {
    min-width: 132px;
  }
  .product-specs {
    display: none;
  }
}


/* BLACKWORKS v8 professional lightbox system */
body.overlay-open {
  overflow: hidden;
}
.scrim {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.045), transparent 28vw),
    rgba(0,0,0,.84);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 118;
}
.product-lightbox,
.contact-lightbox,
.info-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 48px);
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: auto;
}
.product-lightbox::before,
.contact-lightbox::before,
.info-lightbox::before {
  content: "";
  position: fixed;
  inset: clamp(12px, 1.2vw, 24px);
  pointer-events: none;
  border: 1px solid rgba(244,244,239,.18);
  opacity: .9;
}
.product-lightbox-inner,
.contact-form,
.info-panel {
  position: relative;
  width: min(1120px, calc(100vw - 72px));
  max-height: min(760px, calc(100dvh - 72px));
  border: 1px solid rgba(244,244,239,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.012) 31%, transparent 100%),
    linear-gradient(90deg, rgba(255,255,255,.035), transparent 22%, transparent 78%, rgba(255,255,255,.026)),
    rgba(3,3,3,.88);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.92),
    0 28px 96px rgba(0,0,0,.86),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.product-lightbox-inner::before,
.contact-form::before,
.info-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.18) 50%, transparent 50.1%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 5px),
    url("assets/noise.svg");
  mix-blend-mode: screen;
}
.product-lightbox-inner {
  height: min(720px, calc(100dvh - 72px));
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(340px, .95fr) minmax(420px, 1.05fr);
}
.modal-close {
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244,244,239,.26);
  background: rgba(0,0,0,.46);
  color: var(--white);
  font-size: 26px;
  display: grid;
  place-items: center;
}
.modal-close:hover {
  background: var(--white);
  color: var(--black);
}
.product-detail-media {
  border-right: 1px solid rgba(244,244,239,.2);
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.055), transparent 42%),
    #020202;
}
.product-detail-media img {
  filter: grayscale(1) contrast(1.08) brightness(.98);
}
.product-detail-copy {
  padding: clamp(28px, 3.3vw, 56px);
  justify-content: center;
  gap: clamp(12px, 1.45vh, 18px);
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.34));
}
.product-detail-copy h2,
.contact-form h2,
.info-panel h2 {
  max-width: 12ch;
  text-shadow: 0 0 22px rgba(255,255,255,.08);
}
.modal-kicker {
  color: var(--dim);
  letter-spacing: .32em;
}
.product-detail-description,
.form-note,
.info-copy,
.info-foot,
.faq-panel details p {
  color: var(--muted);
}
.product-specs {
  border-color: rgba(244,244,239,.16);
  background: rgba(255,255,255,.018);
}
.product-specs div {
  border-color: rgba(244,244,239,.14);
}
.size-option,
.quantity-picker,
.modal-add,
.form-submit,
.error-button,
.checkout {
  background: rgba(0,0,0,.3);
}
.size-option:hover:not(:disabled),
.quantity-picker button:hover:not(:disabled) {
  background: rgba(255,255,255,.09);
}
.size-option.active {
  background: var(--white);
  color: var(--black);
}
.contact-lightbox,
.info-lightbox {
  padding: clamp(18px, 3vw, 48px);
}
.contact-form,
.info-panel {
  width: min(780px, calc(100vw - 72px));
  padding: clamp(30px, 4.2vw, 62px);
  overflow: auto;
}
.info-panel {
  width: min(900px, calc(100vw - 72px));
}
.faq-panel {
  width: min(780px, calc(100vw - 72px));
}
.contact-form input,
.contact-form textarea {
  background: rgba(0,0,0,.52);
  border-color: rgba(244,244,239,.2);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(244,244,239,.72);
  background: rgba(0,0,0,.7);
}
.info-grid div,
.faq-panel details {
  background: rgba(255,255,255,.018);
  border-color: rgba(244,244,239,.16);
}
.faq-panel summary {
  color: var(--bone);
}
.search {
  background: transparent;
}
.search-box {
  border: 1px solid rgba(244,244,239,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 30%),
    rgba(3,3,3,.9);
  box-shadow: 0 28px 96px rgba(0,0,0,.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cart {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 28%),
    rgba(3,3,3,.92);
  box-shadow: -24px 0 80px rgba(0,0,0,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 1100px) {
  .product-lightbox-inner {
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
    width: min(980px, calc(100vw - 48px));
  }
  .contact-form,
  .info-panel {
    width: min(760px, calc(100vw - 48px));
  }
}

@media (max-width: 820px) {
  .product-lightbox,
  .contact-lightbox,
  .info-lightbox {
    inset: 0;
    padding: 12px;
    place-items: start center;
  }
  .product-lightbox::before,
  .contact-lightbox::before,
  .info-lightbox::before {
    inset: 8px;
  }
  .product-lightbox-inner,
  .contact-form,
  .info-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    overflow: auto;
  }
  .product-lightbox-inner {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .product-detail-media {
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid rgba(244,244,239,.18);
  }
  .product-detail-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center 42%;
  }
  .product-detail-copy {
    height: auto;
    overflow: visible;
    justify-content: flex-start;
    padding: clamp(18px, 5vw, 28px);
  }
  .contact-form,
  .info-panel {
    padding: clamp(22px, 6vw, 34px);
  }
  .modal-close {
    right: 12px;
    top: 12px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .product-lightbox,
  .contact-lightbox,
  .info-lightbox {
    padding: 8px;
  }
  .product-lightbox-inner,
  .contact-form,
  .info-panel {
    max-height: calc(100dvh - 16px);
  }
  .product-detail-copy h2,
  .contact-form h2,
  .info-panel h2 {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }
  .product-detail-description {
    display: block;
    font-size: 10.5px;
    line-height: 1.45;
  }
  .contact-form,
  .info-panel {
    padding: 20px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}


/* BLACKWORKS v10 thumbnail-safe coming soon logo */
.coming-soon-card {
  width: min(1080px, 90vw);
  min-height: min(560px, 70vh);
  padding: clamp(28px, 4.6vw, 76px);
  overflow: hidden;
}
.coming-soon-logo {
  width: 100%;
  margin: clamp(18px, 2.8vw, 38px) 0 clamp(18px, 2.5vw, 34px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  line-height: 1;
  text-shadow: none;
  overflow-wrap: normal;
}
.coming-soon-logo-image {
  display: block;
  width: min(620px, 58vw);
  max-width: 100%;
  max-height: min(250px, 34vh);
  height: auto;
  object-fit: contain;
  filter: contrast(1.1) brightness(1.04);
}
@media (max-width: 720px) {
  .coming-soon-card {
    width: min(92vw, 680px);
    min-height: 64vh;
    padding: 26px 18px;
  }
  .coming-soon-logo-image {
    width: min(420px, 76vw);
    max-height: 28vh;
  }
}
@media (max-width: 420px) {
  .coming-soon-logo-image {
    width: min(340px, 78vw);
    max-height: 24vh;
  }
  .coming-soon-owner,
  .coming-soon-trading,
  .coming-soon-sub {
    font-size: 8px;
    letter-spacing: .22em;
  }
  .coming-soon-message {
    font-size: 13px;
    letter-spacing: .26em;
  }
}


/* BLACKWORKS v11 admin analytics dashboard */
.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.04), transparent 34vw),
    linear-gradient(180deg, #020202, #000);
}
.admin-shell {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 48px);
}
.admin-login,
.admin-dashboard {
  position: relative;
  border: 1px solid rgba(244,244,239,.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01) 32%, transparent),
    rgba(3,3,3,.88);
  box-shadow: 0 28px 96px rgba(0,0,0,.74);
}
.admin-login {
  width: min(720px, 92vw);
  margin: 8vh auto 0;
  padding: clamp(30px, 5vw, 72px);
  text-align: center;
}
.admin-login img,
.admin-header img {
  width: min(320px, 70vw);
  height: auto;
  object-fit: contain;
}
.admin-login p,
.admin-header p,
.admin-note,
.admin-card,
.admin-table-card,
.admin-login label span {
  color: var(--muted);
}
.admin-login h1,
.admin-header h1 {
  margin: 20px 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: .86;
  letter-spacing: .04em;
}
.admin-login form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.admin-login label {
  display: grid;
  gap: 8px;
  text-align: left;
}
.admin-login input {
  min-height: 52px;
  border: 1px solid rgba(244,244,239,.26);
  background: #000;
  color: var(--white);
  padding: 14px;
  outline: 0;
}
.admin-login button,
.admin-header button,
.admin-header a {
  min-height: 42px;
  border: 1px solid rgba(244,244,239,.34);
  padding: 0 14px;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-login button:hover,
.admin-header button:hover,
.admin-header a:hover {
  background: var(--white);
  color: var(--black);
}
.admin-warning,
.admin-error {
  font-size: 11px;
  line-height: 1.7;
}
.admin-error {
  color: var(--white);
  border: 1px solid rgba(244,244,239,.24);
  padding: 12px;
}
.admin-dashboard {
  padding: clamp(18px, 2.6vw, 40px);
}
.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(244,244,239,.18);
  padding-bottom: 24px;
}
.admin-header img {
  width: min(220px, 36vw);
}
.admin-header h1 {
  margin-bottom: 0;
}
.admin-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.admin-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(244,244,239,.18);
  background: rgba(255,255,255,.025);
  font-size: 12px;
  line-height: 1.6;
}
.admin-note strong {
  color: var(--white);
}
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.admin-kpis article,
.admin-card,
.admin-table-card {
  border: 1px solid rgba(244,244,239,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), transparent 35%),
    rgba(0,0,0,.35);
}
.admin-kpis article {
  min-height: 128px;
  padding: 18px;
  display: grid;
  align-content: space-between;
}
.admin-kpis span,
.admin-card h2,
.admin-table-card h2 {
  color: var(--muted);
  font-size: 11px;
}
.admin-kpis strong {
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: .9;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.admin-card,
.admin-table-card {
  padding: 18px;
}
.admin-card h2,
.admin-table-card h2 {
  margin: 0 0 16px;
}
.admin-bars {
  display: grid;
  gap: 12px;
}
.admin-bar {
  display: grid;
  grid-template-columns: minmax(100px, 180px) 1fr 56px;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}
.admin-bar > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--bone);
}
.admin-bar div {
  height: 10px;
  border: 1px solid rgba(244,244,239,.2);
  background: rgba(255,255,255,.035);
}
.admin-bar i {
  display: block;
  height: 100%;
  background: var(--white);
}
.admin-bar strong {
  color: var(--white);
  text-align: right;
}
.admin-muted {
  margin: 0;
  font-size: 12px;
  color: var(--dim);
}
.admin-table-card {
  margin-top: 12px;
}
.admin-table-wrap {
  overflow: auto;
  max-height: 520px;
}
.admin-table-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  font-size: 11px;
}
.admin-table-card th,
.admin-table-card td {
  border-bottom: 1px solid rgba(244,244,239,.14);
  padding: 12px;
  text-align: left;
  color: var(--muted);
}
.admin-table-card th {
  color: var(--bone);
  position: sticky;
  top: 0;
  background: #050505;
}
@media (max-width: 980px) {
  .admin-header {
    display: grid;
  }
  .admin-header nav {
    justify-content: flex-start;
  }
  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .admin-shell {
    padding: 10px;
  }
  .admin-login,
  .admin-dashboard {
    padding: 18px;
  }
  .admin-kpis {
    grid-template-columns: 1fr;
  }
  .admin-bar {
    grid-template-columns: 1fr;
  }
  .admin-bar strong {
    text-align: left;
  }
}


/* BLACKWORKS v15 coming-soon page matched to not_found image weight/formatting */
.coming-soon-bg img {
  filter: grayscale(1) contrast(1.1) brightness(.35);
  opacity: .62;
}
.coming-soon-bg::after {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(0,0,0,.64) 54%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.62) 48%, rgba(0,0,0,.96));
}
.coming-soon-card {
  width: min(900px, 90vw);
  min-height: min(560px, 72vh);
  border: 1px solid rgba(244,244,239,.2);
  background:
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.88)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 5px);
  gap: clamp(14px, 2.1vw, 28px);
  padding: clamp(34px, 5vw, 82px);
}
.coming-soon-logo {
  margin: clamp(8px, 1.4vw, 18px) 0 clamp(8px, 1.4vw, 18px);
}
.coming-soon-logo-image {
  width: min(560px, 74vw);
  max-height: min(245px, 32vh);
  filter: contrast(1.08) brightness(1.04);
}
.coming-soon-owner,
.coming-soon-trading,
.coming-soon-sub,
.coming-soon-footer {
  line-height: 1.7;
}
.coming-soon-message {
  line-height: 1.1;
}
@media (max-width: 720px) {
  .coming-soon-card {
    width: min(900px, 90vw);
    min-height: 68vh;
    padding: clamp(30px, 7vw, 54px) 20px;
  }
  .coming-soon-logo-image {
    width: min(560px, 74vw);
    max-height: 24vh;
  }
}
@media (max-width: 420px) {
  .coming-soon-logo-image {
    width: min(340px, 76vw);
    max-height: 22vh;
  }
}


/* BLACKWORKS v16 index rebuilt from not_found page */
.coming-soon-error-card .error-copy:first-of-type {
  margin-top: -8px;
}
.coming-soon-error-logo {
  margin-block: clamp(4px, 1vw, 10px);
}
.coming-soon-error-card h1 {
  max-width: 11ch;
}
@media (max-width: 520px) {
  .coming-soon-error-card {
    gap: 14px;
  }
  .coming-soon-error-logo {
    width: min(520px, 76vw);
  }
}


/* BLACKWORKS v17 production polish */
.size-table-wrap {
  margin-top: 28px;
  overflow: auto;
  border: 1px solid rgba(244,244,239,.16);
}
.size-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.size-table th,
.size-table td {
  border-bottom: 1px solid rgba(244,244,239,.14);
  padding: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
  text-transform: none;
  letter-spacing: .055em;
}
.size-table th {
  color: var(--bone);
  background: rgba(255,255,255,.035);
}
.guide-panel .info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rail-nav button[aria-expanded="true"] {
  color: var(--white);
}
.rail-nav button[aria-expanded="true"]::before {
  transform: scaleX(1);
}
@media (max-width: 1180px) {
  .guide-panel .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .guide-panel .info-grid { grid-template-columns: 1fr; }
  .size-table { min-width: 560px; }
}
