#products .story {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr);
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
}
#products .story-copy {
  grid-area: auto;
  justify-self: stretch;
  min-width: 0;
}
.showcase {
  --accent: #84e8ba;
  --tint: #193b31;
  --surface: #101317;
  --border: #ffffff22;
  --muted: #b9bdc8;
  min-width: 0;
  position: relative;
  isolation: isolate;
  padding: clamp(10px, 2vw, 25px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: radial-gradient(ellipse at 82% 0%, var(--tint), transparent 62%), #0c0f13;
  font: 500 15px/1.5 var(--sans);
  color: #f2f3f6;
}
.showcase-fan { --accent: #e0baff; --tint: #3b2354; }
.showcase-case { --accent: #a5ddfb; --tint: #1c374f; }
.showcase-window {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 14px 34px #0007, 0 5px 0 -2px #39404a, 0 9px 0 -4px #20262d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.showcase-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  padding: 13px clamp(13px, 2vw, 24px);
  border-bottom: 1px solid var(--border);
}
.showcase-bar strong span { color: var(--accent); padding-inline: 3px; }
.showcase-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: color-mix(in srgb, var(--tint) 70%, #111318);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.auction-layout, .creator-layout, .evidence-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(12px, 2vw, 24px);
}
.auction-vehicle {
  min-width: 0;
  margin: 0;
  align-self: start;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #191e22;
}
.auction-vehicle img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 48% center;
}
.auction-vehicle figcaption { padding: 10px 12px; }
.auction-vehicle figcaption span, .showcase small { display: block; color: var(--muted); font-size: 13px; }
.auction-decision { align-self: center; }
.decision-label { color: #ffd28b; font-size: 13px; }
.decision-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-end: 4px;
  border-radius: 50%;
  background: #ffd28b;
}
.metric-label { margin: 12px 0 0; }
.metric-label span { color: var(--muted); font-size: 13px; }
.auction-max {
  display: block;
  color: var(--accent);
  font-size: clamp(32px, 4.1vw, 62px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.auction-metrics, .creator-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}
.auction-metrics div, .creator-metrics div {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #1a1e24;
}
.showcase dt { color: var(--muted); font-size: 13px; }
.showcase dd { margin: 0; font-weight: 650; }
.risk-value { color: #ffd28b; }
.auction-evidence {
  display: grid;
  gap: 12px;
  padding: 0 clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px);
}
.auction-evidence p, .showcase-muted { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.showcase-disclosure {
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #181c21;
}
.showcase-disclosure summary { color: var(--accent); cursor: pointer; }
.cost-ledger { margin: 10px 0 0; }
.cost-ledger div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.cost-ledger div:last-child { border-top: 1px solid var(--border); padding-top: 8px; }
.creator-layout { grid-template-columns: minmax(0, 1fr) minmax(125px, .43fr); align-items: start; }
.creator-main, .case-events, .case-records { min-width: 0; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.showcase [hidden] { display: none !important; }
.showcase-tabs button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #1b1c24;
  color: #e0e1eb;
  font: inherit;
  cursor: pointer;
}
.showcase-tabs button:hover { border-color: var(--accent); }
.showcase-tabs button[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--tint);
  color: var(--accent);
}
.showcase :is(button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.showcase-panel h4, .case-events h4 { margin: 0 0 8px; font: 650 clamp(18px, 2vw, 24px)/1.25 var(--sans); }
.vault-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.vault-samples > div { min-width: 0; }
.vault-samples strong { display: block; margin-top: 6px; }
.cover {
  display: flex;
  align-items: end;
  min-height: 105px;
  padding: 10px;
  border: 1px solid #ffffff35;
  border-radius: 9px;
  font: 700 clamp(16px, 2.2vw, 30px)/.95 var(--sans);
  letter-spacing: -.06em;
  text-shadow: 0 2px 8px #000b;
}
.cover-teaser { background: radial-gradient(ellipse at 70% 14%, #ce71c8, transparent 53%), linear-gradient(135deg, #422085, #19112d 70%); }
.cover-weekend { background: radial-gradient(ellipse at 73% 14%, #8157be, transparent 60%), linear-gradient(145deg, #45234a, #200f27 72%); }
.creator-phone {
  padding: 9px;
  border: 1px solid #bf93ef70;
  border-radius: 20px;
  background: #191222;
  box-shadow: 0 14px 26px #0008;
  transform: translateY(8px);
}
.creator-phone p { margin: 3px 0 8px; color: var(--accent); font-size: 13px; }
.creator-phone .cover { aspect-ratio: 4 / 5; }
.creator-phone strong { display: block; margin-top: 8px; }
.studio-lines { display: grid; gap: 6px; }
.studio-lines > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding: 8px;
  border-bottom: 1px solid var(--border);
}
.creator-metrics { grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); }
.evidence-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.case-tabs { display: grid; margin: 10px 0 0; }
.case-tabs button { text-align: start; border-inline-start: 3px solid var(--border); }
.evidence-sheet {
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(155deg, #202d3c, #171d25 75%);
}
.evidence-sheet + .evidence-sheet { margin-top: 8px; }
.evidence-sheet h4 { margin: 10px 0; }
.evidence-sheet p { margin: 0 0 14px; }
.evidence-sheet small { padding-top: 10px; border-top: 1px solid var(--border); }
.evidence-sheet[data-kind="video"] .showcase-tag { color: #e3bdff; }
.evidence-sheet[data-kind="audio"] .showcase-tag { color: #a6ecd7; }
.evidence-sheet[data-kind="filing"] .showcase-tag { color: #ffe0ae; }
@media (max-width: 1180px) {
  #products .story { grid-template-columns: minmax(0, 1fr); }
  #products .story-copy { max-width: 65ch; }
}
@media (max-width: 600px) {
  .auction-layout, .creator-layout, .evidence-layout { grid-template-columns: minmax(0, 1fr); }
  .creator-phone { width: 100%; max-width: 185px; transform: none; }
  .auction-vehicle img { aspect-ratio: 16 / 10; }
  .showcase-bar { align-items: start; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .showcase:hover .showcase-window { transform: translateY(-2px); box-shadow: 0 18px 36px #0009; }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase-revealed { animation: showcase-in 420ms ease-out; }
  .showcase-panel:not([hidden]) { animation: showcase-panel-in 170ms ease-out; }
  @keyframes showcase-in { from { opacity: .65; transform: translateY(10px); } }
  @keyframes showcase-panel-in { from { opacity: .65; } }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-window { transition: none; }
}

.detail-page .product-showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.product-showcase-hero .showcase h2 {
  margin: 0 0 8px;
  font: 650 clamp(18px, 2vw, 24px)/1.25 var(--sans);
}
.product-showcase-hero .evidence-sheet h2 { margin-block: 10px; }
.hero-bid-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, .4fr);
  align-items: center;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #181c21;
}
.hero-bid-example label span { display: block; color: var(--muted); font-size: 13px; }
.hero-bid-example input {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #ffffff50;
  border-radius: 6px;
  background: #101317;
  color: #f2f3f6;
  font: inherit;
}
.hero-bid-example p { grid-column: 1 / -1; }
.hero-bid-example output { margin-inline-start: 6px; color: var(--accent); font-weight: 700; }
@media (max-width: 1100px) {
  .detail-page .product-showcase-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .hero-bid-example { grid-template-columns: minmax(0, 1fr); }
}
