/* =========================================================================
   outbid.pics — auction-house editorial
   Ink canvas, paper type, brass accent. One accent colour, one rule weight,
   images carry all the colour. No web fonts, no CDN, no framework.
   ========================================================================= */

:root {
  /* surfaces */
  --ink:        #0B0B0C;
  --ink-1:      #101012;
  --ink-2:      #16161A;
  --ink-3:      #1D1D22;

  /* type */
  --paper:      #F2EFE8;
  --muted:      #9A958B;
  --muted-2:    #726E67;

  /* lines */
  --line:        rgba(242, 239, 232, .10);
  --line-mid:    rgba(242, 239, 232, .18);
  --line-strong: rgba(242, 239, 232, .30);

  /* accent */
  --brass:      #D3A85F;
  --brass-2:    #EBCB92;
  --brass-wash: rgba(211, 168, 95, .10);
  --danger:     #E1705A;
  --live:       #7FD1A0;

  /* type stacks */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI",
           Inter, Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei",
           sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
           "Liberation Mono", monospace;

  /* metrics */
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --r: 3px;
  --ease: cubic-bezier(.22, .61, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain — 3.5% overlay, one tiny inline SVG, no extra request */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--brass); color: #0B0B0C; }

:focus-visible {
  outline: 1.5px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brass); color: #0B0B0C;
  padding: 12px 18px; z-index: 1000; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ---------- shared type ---------- */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted);
}
.kicker-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 3px var(--brass-wash);
}

h1, h2 { font-family: var(--serif); font-weight: 400; }

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-rule { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.section-aside p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.section-aside p + p { margin-top: 14px; }
.note-chip {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2) !important;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: none;
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: .005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brass);
  color: #0B0B0C;
  font-weight: 620;
}
.btn-primary:hover { background: var(--brass-2); }

.btn-quiet { border-color: var(--line-mid); color: var(--paper); }
.btn-quiet:hover { border-color: var(--line-strong); background: rgba(242,239,232,.04); }

.btn-outline {
  border-color: var(--line-mid);
  color: var(--paper);
  padding: 11px 18px;
  font-size: 13.5px;
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }

.btn-sm { padding: 11px 18px; font-size: 13.5px; }
.btn-wide { width: 100%; }

.btn-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .62;
}

.linkish {
  border: 0; background: none; padding: 0;
  color: var(--brass);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.linkish:hover { color: var(--brass-2); }

.textlink {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s;
}
.textlink:hover { text-decoration-color: var(--brass); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
}
.wordmark { display: flex; align-items: center; gap: 11px; flex: none; }
.wordmark-mark {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: var(--brass);
}
.wordmark-text { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.wordmark-dot { color: var(--brass); }

.topnav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.topnav a {
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .18s, background .18s;
}
.topnav a:hover { color: var(--paper); background: rgba(242,239,232,.05); }

.topbar-act { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.live {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127,209,160,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(127,209,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(127,209,160,0); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -18%; left: -8%;
  width: 52vw; height: 52vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center,
              rgba(211,168,95,.13), rgba(211,168,95,0) 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy { max-width: 40rem; }
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: .96;
  letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--brass); }

.lede {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.72;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-2);
}
.facts dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

/* ---------- carousel stage ---------- */
.stage { position: relative; }

.stage-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  background: var(--ink-1);
}
.slides { position: relative; aspect-ratio: 1517 / 947; }
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s var(--ease);
  will-change: opacity;
}
.slide[aria-hidden="true"] { pointer-events: none; }
.slide.is-active { opacity: 1; }
.slide picture, .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1.02); transition: transform 9s linear; }
.slide.is-active img { transform: scale(1); }

.stage-tag {
  position: absolute;
  left: 0; bottom: 0;
  display: flex; align-items: baseline; gap: 12px;
  padding: 26px 24px 18px;
  width: 100%;
  background: linear-gradient(to top, rgba(6,6,7,.88), rgba(6,6,7,0));
  pointer-events: none;
}
.stage-rank {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.stage-name {
  font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}

.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(242,239,232,.22);
  border-radius: 50%;
  background: rgba(11,11,12,.42);
  backdrop-filter: blur(6px);
  color: rgba(242,239,232,.85);
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, background .25s, border-color .25s, color .25s;
}
.stage-arrow svg { width: 17px; height: 17px; }
.stage-arrow-prev { left: 14px; }
.stage-arrow-next { right: 14px; }
.stage:hover .stage-arrow,
.stage:focus-within .stage-arrow { opacity: 1; }
.stage-arrow:hover { background: rgba(11,11,12,.82); border-color: var(--brass); color: var(--brass); }

.stage-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line-mid);
  border-top: 0;
  border-radius: 0 0 var(--r) var(--r);
  background: var(--ink-1);
}
.stage-caption {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--paper);
}
.stage-sub { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.stage-bar-act { display: flex; align-items: center; gap: 18px; flex: none; }
.stage-min {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2);
  text-align: right;
  line-height: 1.5;
}
.stage-min strong {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--brass);
  text-transform: none;
}

.stage-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 14px;
}
.tick {
  height: 14px;
  padding: 0; border: 0; background: none;
  cursor: pointer;
  display: flex; align-items: center;
}
.tick-fill {
  display: block;
  width: 100%; height: 2px;
  background: var(--line-mid);
  transition: background .3s;
}
.tick:hover .tick-fill { background: var(--line-strong); }
.tick.is-active .tick-fill {
  background: var(--brass);
  transform-origin: left center;
  animation: tickfill var(--tick-dur, 7000ms) linear forwards;
}
.tick.is-paused .tick-fill { animation-play-state: paused; }
@keyframes tickfill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- board ---------- */
.board { border-top: 1px solid var(--line-mid); }
.row {
  display: grid;
  grid-template-columns: 56px 168px minmax(0, 1fr) 156px 108px;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.row:hover { background: rgba(242,239,232,.022); }

.row-rank { align-self: start; padding-top: 2px; }
.rn {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  transition: color .25s;
}
.row[data-row="1"] .rn { color: var(--brass); }
.row:hover .rn { color: var(--paper); }

.row-thumb {
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.row-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.row:hover .row-thumb img { transform: scale(1.045); }

.row-name { font-size: 17.5px; font-weight: 600; letter-spacing: .01em; }
.row-line { margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.row-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.row-meta .tag {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--muted);
}
.row-meta .handle { color: var(--muted); }
.row-link { color: var(--muted-2); }

.row-price { text-align: right; }
.price-label {
  display: block;
  font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-2);
}
.price { display: block; margin-top: 4px; font-size: 19px; font-weight: 500; }
.price-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.row-act { justify-self: end; }

.board-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.board-note { font-size: 13px; color: var(--muted); }
.holder-note {
  font-size: 13px;
  color: var(--brass);
  border: 1px solid rgba(211,168,95,.32);
  background: var(--brass-wash);
  padding: 9px 14px;
  border-radius: var(--r);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}
.steps li { padding-top: 20px; border-top: 1px solid var(--line-mid); }
.step-n {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-top: 26px; font-size: 16px; font-weight: 600; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }

.callout {
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 46rem;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  background: var(--ink-1);
  border-radius: 0 var(--r) var(--r) 0;
}
.callout-k {
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}
.callout p:last-child { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.callout .mono { color: var(--paper); }

/* ---------- ladder ---------- */
.ladder { width: 100%; border-collapse: collapse; }
.ladder thead th {
  padding: 0 0 12px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-2);
  text-align: left;
  border-bottom: 1px solid var(--line-mid);
}
.ladder tbody tr { border-bottom: 1px solid var(--line); }
.ladder tbody tr:hover { background: rgba(242,239,232,.022); }
.ladder th[scope="row"] {
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.ladder td { padding: 16px 0; font-size: 14px; color: var(--muted); }
.ladder td.mono { color: var(--paper); font-size: 14.5px; }
.ladder td:last-child { color: var(--muted-2); font-size: 13px; }
.ladder-foot { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.faq-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.faq-lede { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.65; }

.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -5px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s var(--ease), border-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); border-color: var(--brass); }
.faq-list summary:hover { color: var(--brass); }
.faq-list details p {
  padding: 0 44px 22px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 44rem;
}

/* ---------- cta band ---------- */
.cta-band {
  border-top: 1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(211,168,95,.08), transparent 70%),
    var(--ink-1);
  padding: clamp(64px, 9vw, 112px) 0;
  text-align: center;
}
.cta-inner .kicker { justify-content: center; }
.cta-inner h2 {
  margin: 18px auto 0;
  max-width: 22ch;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------- footer ---------- */
.foot { padding: clamp(48px, 6vw, 72px) 0 0; }
.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 48px;
}
.foot-word { font-family: var(--serif); font-size: 22px; letter-spacing: -.01em; }
.foot-word span { color: var(--brass); }
.foot-tag { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.foot-legal { margin-top: 18px; font-size: 11.5px; color: var(--muted-2); line-height: 1.6; max-width: 26rem; }

.foot-h {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.foot-col li { margin-bottom: 9px; }
.foot-col a {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}
.foot-col a span { color: var(--muted-2); font-size: 11.5px; }
.foot-col a:hover { color: var(--brass); }
.foot-col a[aria-current="page"] { color: var(--paper); }

.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 18px var(--gutter) 26px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- bid sheet ---------- */
.sheet {
  margin: 0 0 0 auto;
  padding: 0;
  width: min(560px, 100vw);
  max-width: 100vw;
  max-height: 100dvh;
  height: 100dvh;
  border: 0;
  border-left: 1px solid var(--line-mid);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.sheet::backdrop { background: rgba(4, 4, 5, .68); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in .38s var(--ease); }
@keyframes sheet-in {
  from { transform: translateX(24px); opacity: .4; }
  to   { transform: translateX(0); opacity: 1; }
}

.sheet-form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 { margin-top: 10px; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }

.icon-btn {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--paper); border-color: var(--line-strong); }

.sheet-intro { padding: 14px 24px 0; font-size: 12.5px; color: var(--muted-2); }
.sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-3) transparent;
}
.sheet-body::-webkit-scrollbar { width: 8px; }
.sheet-body::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 8px; }

.field-set { padding: 20px 0; border-bottom: 1px solid var(--line); }
.field-set:last-child { border-bottom: 0; }
.panel-title {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.panel-n { font-family: var(--mono); color: var(--brass); font-size: 11px; }

.dropzone {
  position: relative;
  border: 1px dashed var(--line-mid);
  border-radius: var(--r);
  background: var(--ink-1);
  transition: border-color .2s, background .2s;
}
.dropzone.is-over { border-color: var(--brass); background: var(--brass-wash); }
.dropzone-label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
}
.dropzone-icon { color: var(--brass); }
.dropzone-icon svg { width: 22px; height: 22px; }
.dropzone-title { font-size: 14px; }
.dropzone-title .u { text-decoration: underline; text-underline-offset: 3px; }
.dropzone-hint { font-size: 11.5px; color: var(--muted-2); }
.dropzone-preview img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: var(--r) var(--r) 0 0;
}
.dropzone-preview-act {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.dropzone-file {
  font-size: 11.5px; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--muted);
}
.req { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.opt { font-size: 10.5px; color: var(--muted-2); }
.field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  background: var(--ink-1);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-color: var(--brass); background: var(--ink-2); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field-error { margin-top: 10px; font-size: 12.5px; color: var(--danger); }

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.target { position: relative; cursor: pointer; }
.target input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.target-in {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 13px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  transition: border-color .2s, background .2s, color .2s;
}
.target:hover .target-in { border-color: var(--line-strong); }
.target-pos {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.target-min { font-size: 12px; color: var(--muted); }
.target input:checked + .target-in { border-color: var(--brass); background: var(--brass-wash); }
.target input:checked + .target-in .target-min { color: var(--brass); }
.target input:focus-visible + .target-in { outline: 1.5px solid var(--brass); outline-offset: 2px; }

.amount-field { margin-top: 20px; }
.amount-field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--muted);
}
.amount-input {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  background: var(--ink-1);
  transition: border-color .2s;
}
.amount-input:focus-within { border-color: var(--brass); }
.amount-cur { font-family: var(--mono); font-size: 20px; color: var(--muted); }
.amount-input input {
  width: 100%;
  border: 0; background: none; outline: none;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-input input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.amount-range {
  width: 100%;
  margin-top: 14px;
  height: 2px;
  appearance: none;
  background: var(--line-mid);
  cursor: pointer;
}
.amount-range::-webkit-slider-thumb {
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brass);
  border: 0;
  box-shadow: 0 0 0 4px rgba(211,168,95,.16);
}
.amount-range::-moz-range-thumb {
  width: 14px; height: 14px; border: 0; border-radius: 50%;
  background: var(--brass);
}

.quote { margin-top: 20px; border-top: 1px solid var(--line); }
.quote > div {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.quote dd { color: var(--paper); font-size: 13.5px; }
.quote-total dt { color: var(--paper); font-weight: 600; }
.quote-total dd { font-size: 17px; color: var(--brass); }

.sheet-status { min-height: 0; padding: 0 24px; font-size: 12.5px; color: var(--muted); }
.sheet-status:not(:empty) { padding: 12px 24px; border-top: 1px solid var(--line); }
.sheet-status.is-error { color: var(--danger); }

.sheet-foot {
  flex: none;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.sheet-terms { margin-bottom: 12px; font-size: 11px; line-height: 1.55; color: var(--muted-2); }
.btn[data-submit][disabled] { opacity: .6; cursor: progress; }

/* ---------- receipt toast ---------- */
.receipt {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  width: min(520px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(211,168,95,.4);
  border-radius: var(--r);
  background: rgba(16,16,18,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
  transition: transform .45s var(--ease);
}
.receipt.is-in { transform: translateX(-50%) translateY(0); }
.receipt h3 { font-size: 14px; font-weight: 600; }
.receipt p { margin-top: 5px; font-size: 12.5px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .facts { max-width: 34rem; }
  .row { grid-template-columns: 44px 132px minmax(0, 1fr) 132px 96px; }
}

@media (max-width: 860px) {
  .topnav { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .row {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
      "rank thumb"
      "rank body"
      "rank price"
      "rank act";
    row-gap: 14px;
    padding: 22px 0;
  }
  .row-rank { grid-area: rank; }
  .row-thumb { grid-area: thumb; width: min(62%, 320px); }
  .row-body { grid-area: body; }
  .row-price {
    grid-area: price;
    display: flex; align-items: baseline; gap: 12px;
    text-align: left;
  }
  .row-price .price-label { display: none; }
  .row-price .price { margin: 0; }
  .row-act { grid-area: act; justify-self: start; }
}

@media (max-width: 720px) {
  .topbar-inner { min-height: 62px; }
  .live { display: none; }
  .hero h1 { font-size: clamp(38px, 10vw, 54px); }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stage-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .stage-bar-act { justify-content: space-between; }
  .stage-min { text-align: left; }
  .stage-arrow { opacity: 1; width: 34px; height: 34px; }
  .steps { grid-template-columns: 1fr; }
  .ladder thead th:last-child, .ladder td:last-child { display: none; }
  .sheet {
    width: 100vw;
    height: auto;
    max-height: 92dvh;
    margin: auto 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-mid);
  }
  .sheet[open] { animation: sheet-up .38s var(--ease); }
  @keyframes sheet-up {
    from { transform: translateY(30px); opacity: .5; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .field-row { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* sandbox notice inside the bid sheet (disappears once Stripe keys exist) */
.mode-note {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(211, 168, 95, .34);
  border-radius: 2px;
  color: var(--brass);
  font-size: 11px;
}
