/* ═══════════════════════════════════════════════════════════
   BROTHERS PYROTECHNICS — landing
   warm near-black · film grain · video as texture · editorial serif
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #1a120e;
  --bg-deep: #120c09;
  --bg-lift: #271b14;
  --ink: #f6eddf;
  --ink-dim: #b9a695;
  --ink-faint: #8f7d6b;
  --line: rgba(246, 237, 223, 0.14);
  --line-soft: rgba(246, 237, 223, 0.08);
  --ember: #ff5a1f;
  --ember-deep: #b23a14;
  --gold: #f2a93c;
  /* spark palette — burst colours, used to code categories & details */
  --pink: #ff5d8f;
  --violet: #a98bff;
  --teal: #35d49e;
  --green: #62d47f;
  --fuse-gradient: linear-gradient(90deg, var(--ember), var(--gold), var(--pink), var(--violet));
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', sans-serif;
  --mono: 'Manrope', 'Segoe UI', sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Desktop pointer accent. It replaces the native pointer only after nav.js
   has mounted it, so unsupported environments retain the browser default. */
.site-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-site-cursor, body.has-site-cursor a, body.has-site-cursor button,
  body.has-site-cursor input, body.has-site-cursor select, body.has-site-cursor textarea,
  body.has-site-cursor [role="button"] { cursor: none; }
  .site-cursor {
    --cursor-scale: 1;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--ember);
    pointer-events: none;
    opacity: 0;
    transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate(-50%, -50%) scale(var(--cursor-scale));
    transition: background .16s ease, border-color .16s ease, opacity .12s ease;
  }
  .site-cursor.is-visible { opacity: 1; }
  .site-cursor.is-action { --cursor-scale: 1.8; background: var(--gold); }
  .site-cursor.is-pressed { --cursor-scale: .72; }
}
@media (prefers-reduced-motion: reduce) { .site-cursor { display: none !important; } }

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

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── film grain — sits above every layer ─────────────────── */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 900;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.92 0 0 0 0 0.86 0 0 0 0 0.78 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(6) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-32px, 18px); }
  40%  { transform: translate(24px, -40px); }
  60%  { transform: translate(-48px, -12px); }
  80%  { transform: translate(36px, 30px); }
  100% { transform: translate(0, 0); }
}

/* ── reveal-on-scroll ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 1.05em 2.1em;
  border: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease,
              color 0.35s ease, box-shadow 0.35s ease;
}
.btn--solid {
  background: var(--ember);
  border-color: var(--ember);
  color: #160904;
}
.btn--solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 42px rgba(255, 82, 29, 0.35);
}
.btn--ghost:hover {
  border-color: var(--ink-dim);
  background: rgba(234, 223, 208, 0.05);
}
.btn--big { padding: 1.3em 3em; font-size: 0.85rem; }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem var(--pad);
  transition: background 0.5s ease, border-color 0.5s ease, padding 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 8, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.nav__mark { display: flex; align-items: center; gap: 0.8rem; line-height: 1; }
.nav__logo { height: 44px; width: auto; display: block; }
.nav__mark-text { display: flex; flex-direction: column; }
.nav__mark-main {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__mark-sub {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 0.3em;
}
.nav__links {
  display: flex;
  gap: 2.4rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--ink-dim);
  transition: color 0.3s ease;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.45em;
  width: 100%; height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__portal {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 0.8em 1.5em;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.nav__portal:hover {
  border-color: var(--ember);
  background: var(--ember);
  color: #160904;
}
.nav__portal-arrow { display: inline-block; margin-left: 0.4em; }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(560px, 88svh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* let the burst colours through — the fireworks ARE the palette */
  filter: saturate(1) brightness(0.72) contrast(1.05);
  opacity: 0.78;
  animation: hero-drift 40s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.14) translateY(-2.5%); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(178, 58, 20, 0.18), transparent 55%),
    linear-gradient(to bottom, rgba(26, 18, 14, 0.82) 0%, rgba(26, 18, 14, 0.12) 42%, rgba(26, 18, 14, 0.38) 78%, var(--bg) 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 55%, rgba(18, 12, 9, 0.5) 100%);
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(4rem, 9vh, 7rem);
  width: 100%;
}
.hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--ink-dim);
  margin-bottom: clamp(1.5rem, 3vh, 3rem);
}
.hero__meta-divider {
  width: 3rem; height: 1px;
  background: var(--line);
}
.hero__title {
  line-height: 0.86;
  text-transform: uppercase;
  font-weight: 900;
  margin-left: -0.05em;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}
.hero__title-line { display: block; white-space: nowrap; width: max-content; }
.hero__title-line--one {
  font-size: clamp(4.2rem, 14vw, 15rem);
  letter-spacing: -0.015em;
}
.hero__title-line--two {
  font-size: clamp(2.1rem, 8.1vw, 7.4rem);
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  font-weight: 500;
  margin-top: 0.12em;
  transition-delay: 0.15s;
}
.hero__title-line--two em {
  color: var(--ember);
  font-weight: 800;
}
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero__lede {
  max-width: 34ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-dim);
  line-height: 1.65;
  transition-delay: 0.3s;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  transition-delay: 0.42s;
}
/* ── trade facts bar (static — no marquee) ───────────────── */
.infobar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}
.infobar__cell {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 1.05rem var(--pad) 1.05rem 1.4rem;
  position: relative;
  line-height: 1.6;
}
.infobar__cell + .infobar__cell { border-left: 1px solid var(--line-soft); }
.infobar__cell::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 1.6em;
  background: var(--c, var(--ember));
}
.infobar__cell strong { color: var(--ink); font-weight: 500; }

/* ── fuse — the one recurring brand mark (a lit fuse line) ── */
.fuse {
  display: block;
  width: 56px; height: 3px;
  background: var(--fuse-gradient);
  margin-bottom: 1.2rem;
}

/* ── section head: title + jump link ─────────────────────── */
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.2rem, 5vh, 3.5rem);
}
.sectionhead__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}
.sectionhead__title em { font-style: normal; text-transform: none; color: var(--gold); }
.sectionhead__link {
  color: var(--ink-dim);
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.sectionhead__link:hover { color: var(--ember); border-color: var(--ember); }

/* ── featured stock cards ────────────────────────────────── */
.featured { padding-top: clamp(4.5rem, 10vh, 7rem); }
.featured__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 8 cards — keep the rows even */
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 1100px) { .featured__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .featured__grid { grid-template-columns: 1fr; } }
.fcard a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg);
  transition: background 0.3s ease;
}
.fcard a:hover { background: var(--bg-lift); }
.fcard__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 1.4rem 1.4rem 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, color-mix(in srgb, var(--c, var(--ember)) 13%, transparent), transparent 75%);
}
.fcard__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fcard a:hover .fcard__img img { transform: translateY(-5px) scale(1.03); }
.fcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 1.4rem 1.5rem;
}
.fcard__cat {
  font-size: 0.6rem;
  color: var(--c, var(--ember));
}
.fcard__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  text-transform: uppercase;
}
.fcard__meta { color: var(--ink-faint); font-size: 0.62rem; }
.fcard__price { font-weight: 700; font-size: 1rem; margin-top: 0.3rem; }
.fcard__price .mono { color: var(--ink-faint); font-size: 0.56rem; margin-left: 0.3em; }

/* ── range tiles ─────────────────────────────────────────── */
.range { background: var(--bg-deep); }
.range__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.range__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 1.5rem 1.6rem;
  background:
    radial-gradient(ellipse 90% 75% at 50% 20%, color-mix(in srgb, var(--c, var(--ember)) 12%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
  transition: background-color 0.3s ease;
}
.range__tile--big { grid-column: span 2; min-height: 300px; }
.range__tile img {
  position: absolute;
  inset: 0 0 4.2rem;
  width: 100%;
  height: calc(100% - 4.2rem);
  object-fit: contain;
  padding: 1.6rem 1.6rem 0;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.range__tile:hover img { transform: translateY(-6px) scale(1.04); }
.range__big {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -62%);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 1;
  color: color-mix(in srgb, var(--c, var(--ember)) 55%, transparent);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.range__tile:hover .range__big {
  transform: translate(-50%, -66%) scale(1.05);
  color: var(--c, var(--ember));
}
.range__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.range__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  text-transform: uppercase;
  line-height: 1.1;
}
.range__count { color: var(--ink-faint); font-size: 0.62rem; }
.range__tile:hover .range__count { color: var(--c, var(--ember)); }
.range__note { color: var(--ink-faint); margin-top: 1.6rem; }
.range__note a { color: var(--ember); }

/* ── shared section chrome ───────────────────────────────── */
.section { padding: clamp(6rem, 14vh, 10rem) var(--pad); }
.section__label {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ember);
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.section__label--center::after { display: none; }
.section__label--center { justify-content: center; }

/* ── 01 · the house ──────────────────────────────────────── */
.house__body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.house__statement {
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.house__statement em { color: var(--gold); font-weight: 800; }
.house__copy {
  color: var(--ink-dim);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  max-width: 42ch;
  transition-delay: 0.15s;
  border-left: 1px solid var(--line);
  padding-left: 1.6rem;
}
.house__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(4rem, 8vh, 6rem);
  padding-top: clamp(2rem, 4vh, 3rem);
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 0.6rem; }
.stat__num {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat__label { color: var(--ink-faint); }

/* ── brochure ────────────────────────────────────────────── */
.brochure {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}
.brochure__body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.brochure__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.brochure__title em { font-style: normal; text-transform: none; color: var(--gold); }
.brochure__copy {
  color: var(--ink-dim);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 2rem;
}
.brochure__cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.brochure__meta { color: var(--ink-faint); }

/* ── retail hand-off ─────────────────────────────────────── */
.retail {
  border-top: 1px solid var(--line-soft);
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}
.retail__kicker { color: var(--ember); }
.retail__copy { color: var(--ink-dim); max-width: 46ch; line-height: 1.7; }

/* ── 04 · terms ──────────────────────────────────────────── */
.terms__title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.terms__title em { color: var(--ink-dim); font-weight: 800; }
.terms__intro {
  color: var(--ink-dim);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}
.terms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.terms__cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 1.8rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.4s ease;
}
.terms__cell:hover { background: var(--bg-lift); }
.terms__key { color: var(--ember); }
.terms__val { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; }

/* ── cta ─────────────────────────────────────────────────── */
.account {
  padding: clamp(8rem, 18vh, 13rem) var(--pad);
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(166, 52, 19, 0.14), transparent 65%),
    var(--bg-deep);
}
.account__title {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.account__title em { font-weight: 800; text-transform: none; color: var(--gold); }
.account__copy {
  color: var(--ink-dim);
  max-width: 40ch;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.account__cta { margin-bottom: 3.2rem; }
.account__contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  color: var(--ink-dim);
}
.account__contact span[aria-hidden] { color: var(--ember-deep); }
.account__contact a { transition: color 0.3s ease; }
.account__contact a:hover { color: var(--ember); }

/* ── footer ───────────────────────────────────────────…5179 tokens truncated…font-size: 0.62rem; }

/* list view: yt-still thumbs + inline play chip */
.stock .thumb.is-yt img {
  width: 52px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: none;
}
.row__play {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ember);
  background: none;
  border: 1px solid var(--line);
  padding: 0.25em 0.6em;
  margin-left: 0.7em;
  cursor: pointer;
  vertical-align: 1px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.row__play:hover { background: var(--ember); border-color: var(--ember); color: #160904; }

/* ── firing-video modal ──────────────────────────────────── */
.vmodal[hidden] { display: none; }
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(12, 8, 6, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.vmodal__box { width: min(92vw, 960px); }
.vmodal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.vmodal__title { color: var(--ink-dim); }
.vmodal__close {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 0.6em 1.2em;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.vmodal__close:hover { border-color: var(--ember); color: var(--ink); }
.vmodal__frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
}
.vmodal__frame iframe { width: 100%; height: 100%; display: block; border: 0; }

/* ── lightbox: media / video ─────────────────────────────── */
.lightbox__media { position: relative; width: min(90vw, 640px); }
.lightbox__media img {
  max-height: 56vh;
  width: 100%;
  object-fit: contain;
}
.lightbox__player { width: 100%; aspect-ratio: 16 / 9; }
.lightbox__player iframe { width: 100%; height: 100%; display: block; }
.lightbox__player[hidden] { display: none; }
.lightbox__watch {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: none;
  border: 1px solid var(--line);
  padding: 0.5rem 1.1rem 0.5rem 0.5rem;
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.lightbox__watch:hover { border-color: var(--ember); color: var(--ink); }
.lightbox__watch[hidden] { display: none; }
.lightbox__watch-frame { position: relative; width: 96px; height: 54px; overflow: hidden; }
.lightbox__watch-frame img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__watch-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  background: rgba(9, 6, 5, 0.45);
}
.lightbox__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── trade gate (unlock modal) ───────────────────────────── */
.unlock { z-index: 960; } /* above the lightbox */
.unlock__card {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  padding: 2.4rem 2.2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  cursor: default;
}
.unlock__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.unlock__copy { color: var(--ink-dim); line-height: 1.65; font-size: 0.95rem; }
.unlock__form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.unlock__input {
  flex: 1;
  min-width: 160px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.9em 1em;
  text-transform: uppercase;
}
.unlock__input:focus { outline: none; border-color: var(--ember-deep); }
.unlock__error { color: var(--ember); }
.unlock__apply { color: var(--ink-faint); font-size: 0.85rem; }
.unlock__apply a { color: var(--ember); }
.unlock__close { align-self: flex-start; }

/* ── product detail page (one template, ?item=…) ─────────── */
.product__crumb { color: var(--ink-faint); font-size: 0.62rem; margin-bottom: clamp(2rem, 4vh, 3rem); }
.product__crumb a { color: var(--ink-dim); transition: color 0.25s ease; }
.product__crumb a:hover { color: var(--ember); }
.product__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.product__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.product__media > img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  filter: drop-shadow(0 14px 44px rgba(0, 0, 0, 0.6));
}
.product__media--noimg > img { display: none; }
.product__placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  border-radius: 4px;
  background: var(--bg-lift);
  color: var(--ink-faint);
}
.product__media--noimg .product__placeholder { display: flex; }
.product__placeholder svg { width: 44px; height: 44px; opacity: 0.55; }
.product__placeholder .mono { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; }
.product__media .lightbox__player { width: 100%; }
.product__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 1rem 0 0.6rem;
}
.product__itemno { color: var(--ink-faint); margin-bottom: 1.6rem; }
.product__tagline {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 44ch;
  margin-bottom: 1rem;
}
.product__desc { color: var(--ink-dim); line-height: 1.75; max-width: 52ch; margin-bottom: 1.2rem; }
.product__effects { color: var(--ink-dim); line-height: 1.75; max-width: 52ch; margin-bottom: 1.6rem; }
.product__effects .mono { color: var(--ink-faint); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; }
.product__contents { color: var(--ink-dim); line-height: 1.75; max-width: 48ch; margin-bottom: 1.6rem; }
.product__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  margin-bottom: 2rem;
  max-width: 32ch;
}
.product__specs dt {
  color: var(--ink-faint);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  padding-top: 0.2em;
}
.product__specs dd { color: var(--ink); font-size: 0.95rem; }
.product__actions { display: flex; flex-direction: column; gap: 1rem; }
.rowadd__btn--big { padding: 0.5em 2em; font-size: 0.72rem; }
.product__note { color: var(--ink-faint); max-width: 40ch; line-height: 1.7; }
.product__missing .page__sub a { color: var(--ember); }
.product__back { margin-top: 2rem; }
.product__loading { color: var(--ink-faint); }
@media (max-width: 900px) {
  .product__body { grid-template-columns: 1fr; }
}

/* lightbox → full product page */
.lightbox__link {
  color: var(--ink-dim);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3em;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.lightbox__link:hover { color: var(--ember); border-color: var(--ember); }

/* ── order builder: fab + drawer ─────────────────────────── */
.orderfab {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 700;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #160904;
  background: var(--ember);
  border: none;
  padding: 1em 1.6em;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(255, 82, 29, 0.35);
  transition: background 0.25s ease;
}
.orderfab:hover { background: var(--gold); }
.orderfab[hidden] { display: none; }
.orderfab__count {
  display: inline-block;
  min-width: 1.6em;
  margin-left: 0.5em;
  padding: 0.15em 0.35em;
  background: #160904;
  color: var(--ink);
  border-radius: 2px;
}
.drawer[hidden] { display: none; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(9, 6, 5, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
}
.drawer__panel {
  width: min(440px, 100vw);
  height: 100%;
  overflow-y: auto;
  background: var(--bg-deep);
  border-left: 1px solid var(--line);
  padding: 1.8rem 1.6rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.drawer__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
}
.drawer__close {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 0.5em 1em;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.drawer__close:hover { border-color: var(--ember); color: var(--ink); }
.drawer__note { color: var(--ink-faint); }
.drawer__account {
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 0.7em 1em;
  background: var(--bg-lift);
}
.drawer__account[hidden] { display: none; }
.drawer__items {
  list-style: none;
  border-top: 1px solid var(--line);
  max-height: 34vh;
  overflow-y: auto;
}
.drawer__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__item-name { flex: 1; font-size: 0.9rem; line-height: 1.3; }
.drawer__item-sku { display: block; color: var(--ink-faint); font-size: 0.6rem; margin-top: 0.2em; }
.drawer__item-stepper { display: flex; align-items: stretch; }
.drawer__item-stepper > * + * { margin-left: -1px; }
.drawer__item-qty {
  width: 3em;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.45em 0.3em;
  text-align: center;
}
.drawer__item-remove {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  width: 1.9em; height: 1.9em;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
}
.drawer__item-remove:hover { border-color: var(--ember); color: var(--ember); }
.drawer__empty { padding: 1.2rem 0; color: var(--ink-faint); }
.drawer__form { display: flex; flex-direction: column; gap: 1rem; }
.drawer__form .field textarea { min-height: 64px; }
.drawer__submit { margin-top: 0.4rem; }
.drawer__success p { color: var(--ink-dim); line-height: 1.7; margin-bottom: 1rem; }
.drawer__success strong { color: var(--ink); }
.drawer__success-label { color: var(--ember); }
.drawer__csv {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1rem;
  font-size: 0.68rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}
.drawer__fail {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid var(--ember-deep);
  padding: 1rem;
  margin-top: 1rem;
}
.drawer__fail-msg { color: var(--ember); line-height: 1.8; }
.drawer__fail-msg a { color: var(--ink); }

/* ── legal / info pages (safety, terms) ──────────────────── */
.legal-body {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vh, 3.5rem);
}
.legal-block__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.legal-block p {
  color: var(--ink-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a { color: var(--ember); }

.legal-defs {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.8rem 1.4rem;
  margin: 1.2rem 0;
}
.legal-defs dt {
  color: var(--ember);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding-top: 0.15em;
}
.legal-defs dd { color: var(--ink-dim); line-height: 1.6; }

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 1.2rem;
  color: var(--ink-dim);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.legal-list li { padding-left: 1.2rem; position: relative; }
.legal-list li::before {
  content: '\25AA';
  position: absolute;
  left: 0;
  color: var(--ember-deep);
}

.legal-note {
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.7;
}
.legal-note.mono { font-size: 0.62rem; letter-spacing: 0.1em; }

.legal-todo {
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  padding: 0.8em 1em;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

/* homepage terms section → full conditions page */
.terms__more { margin-top: 1.6rem; }
.terms__more a { color: var(--ember); }

/* ── reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hero__video { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  /* kill movement, keep colour fades — hover feedback isn't motion */
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  *, *::before, *::after { transition-property: color, background-color, border-color, box-shadow, opacity !important; }
}

/* ── toast (add-to-order feedback) ───────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 1.2rem);
  z-index: 950;
  background: var(--bg-lift);
  color: var(--ink);
  border: 1px solid var(--ember);
  border-left: 3px solid var(--ember);
  padding: 0.85em 1.4em;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: min(90vw, 30rem);
  text-align: center;
}
.toast--show { opacity: 1; transform: translate(-50%, 0); }

/* ── 18+ / trade-only notice bar ─────────────────────────── */
.notice {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 850;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55em 3em 0.55em 1em;
}
.notice strong { color: var(--ember); font-weight: 700; }
.notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }
.notice__close {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1;
  padding: 0.3em 0.5em;
  cursor: pointer;
}
.notice__close:hover { color: var(--ink); }

/* when the notice is showing, push the fixed nav + page content down
   so nothing hides behind it. Homepage hero is full-bleed and just
   sits under the bar — that's the standard pattern and looks fine. */
body.has-notice { --notice-h: 2.4rem; }
body.has-notice .nav,
body.has-notice .nav__mobile { top: var(--notice-h); }
body.has-notice .page { padding-top: calc(8.5rem + var(--notice-h)); }
@media (max-width: 700px) {
  body.has-notice { --notice-h: 2.7rem; } /* wraps to two lines on narrow screens */
}

/* ── delivery / collection checker ────────────────────────── */
.checker {
  border: 1px solid var(--line);
  background: var(--bg-lift);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.checker__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.checker__sub { color: var(--ink-dim); margin-bottom: 1.4rem; max-width: 46ch; }
.checker__field {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.checker__input {
  flex: 1 1 14rem;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9em 1em;
}
.checker__input:focus { outline: 2px solid var(--ember); outline-offset: 0; border-color: var(--ember); }
.checker__btn {
  background: var(--ember);
  border: 1px solid var(--ember);
  color: #160904;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.9em 1.6em;
  cursor: pointer;
}
.checker__btn:hover { background: var(--ink); border-color: var(--ink); }
.checker__result {
  margin-top: 1.3rem;
  padding: 1.1em 1.3em;
  border: 1px solid var(--line);
  border-left-width: 3px;
  background: var(--bg-deep);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  display: none;
}
.checker__result.is-show { display: block; }
.checker__result--ok { border-left-color: var(--teal); }
.checker__result--warn { border-left-color: var(--gold); }
.checker__result--no { border-left-color: var(--ember); }
.checker__result strong { color: var(--ink); font-weight: 700; }
.checker__result .ok { color: var(--teal); }
.checker__result .warn { color: var(--gold); }
.checker__result .no { color: var(--ember); }
.checker__result small { color: var(--ink-faint); display: block; margin-top: 0.5em; }

/* ── related products on detail page ──────────────────────── */
.related { margin-top: 3.5rem; }
.related__title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.related__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.related__card {
  display: block;
  border: 1px solid var(--line-soft);
  background: var(--bg-lift);
  padding: 0.9rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.related__card:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.related__img {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  margin-bottom: 0.7rem;
  filter: saturate(0.9);
}
.related__name { font-weight: 700; font-size: 0.92rem; }
.related__meta {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.3rem;
}

/* ── privacy page (skeleton, same shell as terms) ─────────── */
.privacy-todo { color: var(--ember); }

/* ── 404 page ────────────────────────────────────────────── */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 6rem var(--pad) 4rem;
}
.notfound__code {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ember);
}
.notfound__msg { color: var(--ink-dim); max-width: 46ch; }

/* shared responsive navigation chrome */
.nav__end { display: flex; align-items: center; gap: 0.75rem; }
.nav--auth-pending .nav__portal { visibility: hidden; }
.nav__session { display: flex; align-items: center; gap: 0.55rem; min-width: 0; }
.nav__account { display: grid; min-width: 0; padding: 0.45rem 0.65rem; border: 1px solid currentColor; line-height: 1.05; }
.nav__account-name { max-width: 15rem; overflow: hidden; font-size: 0.72rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.nav__account-company { max-width: 15rem; margin-top: 0.22rem; overflow: hidden; color: var(--ink-dim); font: 600 0.56rem/1.1 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.nav__signout,
.nav__mobile-signout { min-height: 44px; padding: 0.65rem 0.75rem; color: inherit; background: transparent; border: 1px solid currentColor; font: 700 0.68rem/1 var(--body); text-transform: uppercase; cursor: pointer; }
.nav__mobile-signout { width: 100%; text-align: left; }
.nav__burger {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.55rem;
  border: 2px solid var(--ink);
  background: var(--yellow, var(--ember));
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(0.46rem) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-0.46rem) rotate(-45deg); }

/* Touch controls retain a reliable target without changing compact text links. */
button,
input:not([type='checkbox']):not([type='radio']),
select {
  min-height: 44px;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.notice__close,
.drawer__close,
.vmodal__close,
.lightbox__close,
.rowadd__step {
  min-width: 44px;
  min-height: 44px;
}
.nav__mobile {
  position: fixed;
  inset: 0 0 auto;
  z-index: 790;
  display: none;
  flex-direction: column;
  padding: 5.5rem var(--pad) 1.5rem;
  background: var(--yellow, var(--bg-lift));
  border-bottom: 2px solid var(--ink);
}
.nav__mobile a {
  padding: 0.9rem 0;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}
.nav__mobile a:hover { color: var(--blue, var(--ember)); }
.nav__mobile[hidden] { display: none; }
.nav__mobile:not([hidden]) { display: flex; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-block; }
  .nav__session { display: none; }
  .nav__portal { padding: 0.7em 0.9em; }
}

@media (max-width: 520px) {
  .nav { gap: 0.6rem; }
  .nav__portal { display: none; }
  .nav__logo { height: 38px; }
  .nav__mark-main { font-size: 1.05rem; }
  .nav__mark-sub { font-size: 0.48rem; }
}

/* Shared catalogue layout primitives.  The bright Dealer Catalogue skin
   supplies the colours; these rules keep the working controls and product
   grid structurally stable across every viewport. */
.nav--flat { background: rgba(11, 8, 7, .92); border-bottom-color: var(--line-soft); }
.page { padding: 8.5rem var(--pad) 5rem; min-height: 70svh; }
.page__head { margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.page__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; line-height: 1; margin: .6rem 0 1rem; }
.page__sub { color: var(--ink-dim); max-width: 56ch; line-height: 1.7; }
.page__sub a { color: var(--ember); }

.filters { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.filters__cats { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters__btn, .viewtoggle__btn { font: .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); background: none; border: 1px solid var(--line); padding: .65em 1.2em; cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.filters__btn:hover, .viewtoggle__btn:hover { color: var(--ink); border-color: var(--ink-dim); }
.filters__btn.is-on { color: #160904; background: var(--ember); border-color: var(--ember); }
.filters__search { font: .72rem/1 var(--mono); letter-spacing: .08em; color: var(--ink); background: var(--bg-deep); border: 1px solid var(--line); padding: .8em 1.2em; min-width: 240px; }
.filters__search:focus { outline: none; border-color: var(--ember-deep); }
.filters__end { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.viewtoggle { display: flex; }
.viewtoggle__btn + .viewtoggle__btn { border-left: 0; }
.viewtoggle__btn.is-on { color: var(--ink); background: var(--bg-lift); border-color: var(--ink-dim); }

.stock-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.stock { width: 100%; border-collapse: collapse; font-size: .86rem; }
.stock th { font: 400 .58rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stock td { padding: .72rem 1rem .72rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: baseline; color: var(--ink-dim); }
.stock .sku, .stock .case, .stock .price { font: .68rem/1 var(--mono); white-space: nowrap; }
.stock .sku, .stock .price { color: var(--ink-faint); }
.stock .name { color: var(--ink); font-weight: 600; }
.stock .cat { font: .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.stock .status { font: .58rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.stock .status::before { content: '● '; }
.stock__empty { padding: 3rem 0; text-align: center; color: var(--ink-faint); }
.stock .thumb { width: 64px; padding-right: .6rem; }
.stock .thumb img { width: 52px; height: 52px; object-fit: contain; display: block; }
.stock .thumb--none img { display: none; }
.stock-note { margin-top: 1.6rem; color: var(--ink-faint); }
.stock-count { color: var(--ink-faint); }

.rowadd { display: flex; align-items: stretch; }
.rowadd > * + * { margin-left: -1px; }
.rowadd__step, .rowadd__qty, .rowadd__btn { font: .72rem/1 var(--mono); color: var(--ink); background: var(--bg-deep); border: 1px solid var(--line); }
.rowadd__step { width: 2.1em; cursor: pointer; }
.rowadd__qty { width: 3em; padding: .5em .4em; text-align: center; }
.rowadd__btn { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: .5em 1em; cursor: pointer; white-space: nowrap; }
.rowadd__btn:hover { background: var(--ember); border-color: var(--ember); color: #160904; }
.rowadd__btn--big { padding: .5em 2em; font-size: .72rem; }

.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.cards[hidden], .stock-wrap[hidden] { display: none; }
.cards .card { min-width: 0; background: var(--bg); padding: 1.4rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; cursor: pointer; }
.cards__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; min-width: 0; }
.card__imgwrap { position: relative; min-width: 0; height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: .4rem; overflow: hidden; }
.card__imgwrap img { display: block; max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.card__imgwrap.thumb--none img { display: none; }
.card__play { position: absolute; }
.card__body { min-width: 0; display: flex; flex-direction: column; gap: .45rem; }
.card__name { font-weight: 700; font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; }
.card__meta { color: var(--ink-faint); font-size: .62rem; display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.card__case { color: var(--ink-faint); font-size: .62rem; }
.card__price { color: var(--ink-dim); font-size: .68rem; min-height: 1em; }
.card__foot { margin-top: auto; }
.cards .stock__empty { grid-column: 1 / -1; background: var(--bg); }

.trade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.trade > *,
.form,
.form__grid,
.field { min-width: 0; }
.form fieldset { border: 0; margin: 0 0 2.4rem; padding: 0; }
.form legend { font: .62rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 1.2rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font: .58rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.field input, .field select, .field textarea { font: .92rem var(--body); color: var(--ink); background: var(--bg-deep); border: 1px solid var(--line); padding: .85em 1em; }
.field textarea { resize: vertical; min-height: 96px; }
.checks { display: flex; flex-direction: column; gap: .7rem; }
.check { display: flex; align-items: center; gap: .7rem; color: var(--ink-dim); font-size: .92rem; }
.check input { accent-color: var(--ember); width: 15px; height: 15px; }
.form__note { color: var(--ink-faint); margin-top: 1.2rem; }
.trade__aside { border: 1px solid var(--line); padding: 1.8rem; position: sticky; top: 6.5rem; }
.trade__aside-title { color: var(--ember); margin-bottom: 1.4rem; }
.trade__aside dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; }
.trade__aside dt { font: .58rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.trade__aside dd { color: var(--ink-dim); font-size: .9rem; }
.trade__aside-contact { min-width: 0; border-top: 1px solid var(--line-soft); margin-top: 1.6rem; padding-top: 1.4rem; display: flex; flex-direction: column; gap: .5rem; color: var(--ink-dim); }
.trade__aside-contact a { max-width: 100%; overflow-wrap: anywhere; }
.trade__pricing { border-top: 1px solid var(--line-soft); margin-top: 1.8rem; padding-top: 1.4rem; }
.trade__pricing-title { color: var(--ember); font-size: .82rem; letter-spacing: .08em; margin-bottom: .7rem; text-transform: uppercase; }
.trade__pricing-note, .trade__pricing-foot { color: var(--ink-dim); font-size: .78rem; line-height: 1.5; }
.trade__pricing-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .9rem; margin: 1rem 0; }
.trade__pricing-list dt { color: var(--ink-faint); font: .58rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.trade__pricing-list dd { color: var(--ink-dim); font-size: .8rem; text-align: right; }
.trade__pricing-foot { border-top: 1px solid var(--line-soft); padding-top: .8rem; }

@media (max-width: 900px) { .trade { grid-template-columns: 1fr; } .trade__aside { position: static; } .form__grid { grid-template-columns: 1fr; } .filters__search { min-width: 0; width: 100%; } }
@media (max-width: 360px) { .form-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-progress li:nth-child(2) { border-inline-end: 0; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .page { padding-top: 7.5rem; } }

.footer { padding: 3rem var(--pad) 1.5rem; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer__mark { display: flex; flex-direction: column; gap: .35rem; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.4rem; min-width: 0; }
.footer__legal { padding-top: 1.2rem; font-size: .62rem; line-height: 1.65; }
.footer__legal p + p { margin-top: .45rem; }
