/* =====================================================================
   GIFTA — Swiss modernism for an auction house
   White, minimal, geometric. One red circle. Giant type. Asymmetry.
   ===================================================================== */
@import url('/vendor/fonts/jetbrains-mono/latin-400.css');
@import url('/vendor/fonts/jetbrains-mono/latin-500.css');

:root {
  --white: #ffffff;
  --ink: #0b0b0b;
  --red: #ff2b1c;
  --red-ink: #e4200f;
  --gray-1: #f4f4f2;
  --gray-2: #e9e9e6;

  --bg: var(--white);
  --text: var(--ink);
  --text-2: #3c3c3c;
  --muted: #8b8b8b;
  --line: rgba(11, 11, 11, 0.12);
  --line-2: rgba(11, 11, 11, 0.06);

  --glass: var(--white);
  --glass-strong: var(--white);
  --glass-hover: var(--gray-1);
  --glass-border: var(--line);
  --glass-edge: transparent;
  --hl: transparent;
  --spec: transparent;
  --shadow: none;
  --shadow-lg: none;
  --blur: none;

  --accent: var(--red-ink);
  --accent-grad: var(--red);
  --accent-glow: none;
  --accent-soft: rgba(255, 43, 28, 0.08);
  --ok: #0a7a43;
  --ok-soft: rgba(10, 122, 67, 0.08);
  --warn: #b25d00;
  --warn-soft: rgba(230, 140, 20, 0.1);

  --r-xl: 0px;
  --r-lg: 0px;
  --r-md: 0px;
  --r-sm: 0px;
  --display: 'Inter Tight Variable', 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html, body { background: #fff; }
.aurora { display: none !important; }
::selection { background: var(--red); color: #fff; }

/* kill glass, shadows and radii everywhere */
.glass, .card, .lot-card, .tabs, .table-wrap, .site-header .bar, .faq, .ticker, .pill, button, .btn {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important;
}
.glass::before, .card::before, .lot-card::before { display: none !important; }
.glass, .card, .table-wrap, .pill, .faq, .kpi, .dash-user, .dash-nav, .autobid { background: #fff; border: 1px solid var(--line); border-radius: 0 !important; }
* { border-radius: 0; }
.avatar, .dot, .switch, .switch::after, .live-dot, .circ { border-radius: 50% !important; }

/* ---------- type ---------- */
body { font-family: var(--display); }
h1, h2 { font-family: var(--display); font-weight: 780; letter-spacing: -0.055em; line-height: 0.86; text-transform: none; }
h3 { font-weight: 700; letter-spacing: -0.02em; }
.mono, .eyebrow, .badge, label, th, .kpi-l { font-family: var(--mono); }
.mono { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.eyebrow { color: var(--red-ink); font-size: 11px; letter-spacing: 0.1em; font-weight: 500; }
label { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.08em; font-weight: 500; color: var(--muted); }
.muted.small, .small.muted { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.serif { font-family: var(--display); font-style: normal; font-weight: 300; letter-spacing: -0.05em; }
.red { color: var(--red); }

/* ---------- buttons ---------- */
button, .btn {
  font-family: var(--mono); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--ink); background: #fff; color: var(--ink); padding: 14px 20px; border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
}
button:hover, .btn:hover { background: var(--ink); color: #fff; transform: none; }
.btn-primary, button.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-accent, button.btn-accent { background: var(--red); border-color: var(--red); color: #fff; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); filter: none; }
.btn-lg { padding: 20px 28px; font-size: 12px; }
.btn-small { padding: 8px 12px; font-size: 10.5px; }
.btn svg, button svg { width: 15px; height: 15px; }
button.linklike { border: 0; padding: 0; background: none; text-transform: none; letter-spacing: 0; font-family: var(--display); font-size: inherit; }
button.linklike:hover { background: none; color: var(--red-ink); }
.arrow-r::after { content: ' →'; display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow-r::after, .btn.arrow-r:hover::after { transform: translateX(4px); }

/* ---------- forms ---------- */
input, select, textarea { border-radius: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; box-shadow: none; padding-left: 0; padding-right: 0; }
select { padding-right: 24px; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: none; outline: none; }
textarea { border: 1px solid var(--line); padding: 12px; }
.switch { background: var(--gray-2); border-bottom: 0; }
.switch:checked { background: var(--ink); }
.check input { accent-color: var(--ink); }

/* ---------- badges ---------- */
.badge { background: transparent; border: 0; padding: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.badge.live { color: var(--red-ink); }
.badge.live::before { animation: pulse 1.6s infinite; }
.badge.ok { color: var(--ok); }
.badge.warn { color: var(--warn); }
.stamp { display: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; margin: 0; padding: 0; z-index: 60; }
.site-header .bar {
  max-width: none; height: 60px; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96) !important;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); gap: 16px;
}
.nav { margin: 0; gap: 2px; }
.nav-r { justify-content: flex-end; }
.nav a, .nav button.linklike { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 10px; color: var(--ink); border-radius: 0; }
.nav a:hover, .nav a.active { background: transparent; color: var(--red-ink); }
.nav .btn { margin-left: 8px; padding: 9px 14px; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff !important; }
.nav a.btn-primary { background: var(--ink); border-color: var(--ink); }
.nav a.btn-primary:hover, .nav a.btn-primary.active { background: var(--red); border-color: var(--red); }
.nav a.btn:not(.btn-primary):hover { background: var(--ink); color: #fff; }
.brand { font-family: var(--display); font-weight: 820; font-size: 26px; letter-spacing: -0.06em; text-transform: lowercase; gap: 0; line-height: 1; align-items: baseline; }
.brand-mark { display: none; }
.brand .tld { width: 9px; height: 9px; border-radius: 50%; background: var(--red); font-size: 0; margin-left: 3px; display: inline-block; align-self: center; transform: translateY(4px); }
.bell { width: auto; height: auto; padding: 8px 10px !important; }
.bell .count { background: var(--red); border-radius: 50%; top: 0; right: -2px; min-width: 16px; height: 16px; line-height: 16px; font-size: 9.5px; font-family: var(--mono); }
@media (max-width: 1100px) {
  .site-header .bar { grid-template-columns: auto 1fr; }
  .nav-l { display: none; }
}

/* ---------- footer: giant cropped wordmark ---------- */
.torn-top::before, .torn-bottom::after { display: none !important; }
.site-footer { margin: 0; padding: 0; overflow: hidden; border-top: 1px solid var(--ink); }
.site-footer .inner {
  max-width: none; border: 0 !important; background: #fff !important; color: var(--muted); padding: clamp(40px, 4vw, 70px) var(--gutter) 0;
  grid-template-columns: 2fr 1fr 1fr; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
}
.site-footer .inner .brand { color: var(--ink); font-size: 34px; }
.site-footer p { text-transform: none; font-family: var(--display); font-size: 15px; letter-spacing: 0; color: var(--text-2); max-width: 26em; }
.site-footer h4 { color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 11px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--red-ink); }
.site-footer .legal { border-color: var(--line); order: 2; padding-bottom: 18px; }
.site-footer .giant {
  grid-column: 1 / -1; font-family: var(--display); font-weight: 830; font-size: clamp(110px, 30vw, 700px); line-height: .78; letter-spacing: -0.075em;
  color: var(--ink); margin: clamp(30px, 4vw, 70px) 0 0 -0.04em; padding-bottom: .1em; text-transform: lowercase; user-select: none; white-space: nowrap;
}
.site-footer .giant::after { content: ''; display: inline-block; width: .15em; height: .15em; border-radius: 50%; background: var(--red); margin-left: .03em; }

/* ---------- LOT CARD: photo, title, labelled bid + clock, call to action ---------- */
.lot-card {
  display: flex; flex-direction: column; gap: 0; background: #fff !important; border: 1px solid var(--line) !important; padding: 0 !important; clip-path: none !important;
  color: var(--ink); text-decoration: none; filter: none !important; transform: none !important; transition: border-color .25s;
}
.lot-card:hover { border-color: var(--ink) !important; }
.lot-card .lot-wrap .string, .lot-card .hole, .lot-wrap .string { display: none !important; }
.lc-img { position: relative; aspect-ratio: 4 / 3; background: var(--gray-1); overflow: hidden; }
/* the whole photo is always visible: it sits on a soft blurred copy of itself instead of being cropped */
.lc-bg { position: absolute; inset: -10%; background: center / cover no-repeat; filter: blur(28px) saturate(1.1); opacity: .55; }
.lc-img img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.lot-card:hover .lc-img img { transform: scale(1.03); }
.lot-card.closed .lc-img img { filter: grayscale(1); opacity: .8; }
.lc-img .noimg { display: grid; place-items: center; height: 100%; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.lc-status { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--ink); padding: 6px 9px; display: inline-flex; align-items: center; gap: 7px; line-height: 1; }
.lc-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.lc-status.live { background: var(--red); color: #fff; }
.lc-status.live::before { background: #fff; animation: pulse 1.6s infinite; }
.lc-status.up::before { background: var(--ink); }
.lc-status.closed { background: var(--ink); color: #fff; }
.lc-status.closed::before { background: #fff; }
.lc-no { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.92); padding: 5px 8px; line-height: 1; }
.lc-demo { display: none; }
.lot-card .watch-btn { position: absolute; top: 10px; right: 10px; left: auto; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50% !important; background: #fff; border: 0; color: var(--ink); z-index: 3; }
.lot-card .watch-btn:hover { background: var(--ink); color: #fff; }
.lot-card .watch-btn.on { background: var(--red); color: #fff; }
.lot-card .watch-btn.on svg { fill: #fff; }
.lc-body { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 14px; flex: 1; border-top: 0; }
.lc-title { font-family: var(--display); font-weight: 650; font-size: 17px; line-height: 1.25; letter-spacing: -0.015em; margin: 0; overflow-wrap: anywhere; }
.lc-stats { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; align-items: end; }
.lc-stats > div { display: grid; gap: 5px; min-width: 0; }
.lc-stats > div:last-child { text-align: right; }
.lc-k { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lc-price { font-weight: 780; font-size: clamp(28px, 2.1vw, 40px); letter-spacing: -0.045em; line-height: .95; white-space: nowrap; }
.lc-time { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.lc-time.urgent { color: var(--red-ink); }
.lc-time.urgent::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 2px; animation: pulse 1.2s infinite; }
.lc-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lc-actions { margin: auto -16px 0; display: grid; grid-template-columns: 1fr; }
.lc-actions.two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.lc-qb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; border: 0; background: var(--red); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background .2s; }
.lc-qb svg { width: 14px; height: 14px; flex: none; }
.lc-qb:hover { background: #d81e10; color: #fff; }
.lc-qb.armed { background: var(--ink); outline: 3px solid transparent; outline-offset: -3px; animation: pulse-qb 1s ease-in-out infinite; }
.lc-qb:disabled { opacity: .7; cursor: progress; }
@keyframes pulse-qb { 50% { outline-color: var(--red); } }
.lc-actions.two .lc-cta { border-left: 1px solid rgba(255,255,255,.18); }
.lc-cta { margin: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: background .25s; }
.lc-cta i { font-style: normal; transition: transform .3s var(--ease); }
.lot-card:hover .lc-cta { background: var(--red); }
.lot-card:hover .lc-cta i { transform: translateX(4px); }
.lot-card.up .lc-cta, .lot-card.closed .lc-cta { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.lot-card.up:hover .lc-cta, .lot-card.closed:hover .lc-cta { background: var(--ink); color: #fff; }
/* the signed-in bidder's own position on this lot */
.lc-my { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 11px 40px; position: relative; color: #fff; }
.lc-my::before { content: ''; position: absolute; left: 16px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.lc-my b { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.lc-my span { font-size: 13px; line-height: 1.3; opacity: .9; }
.lc-my.leading { background: var(--ok); }
.lc-my.leading::before { background: transparent; border: 2px solid #fff; width: 13px; height: 7px; border-top: 0; border-right: 0; border-radius: 0 !important; transform: rotate(-45deg); top: 13px; }
.lc-my.outbid { background: var(--red); }
.lc-my.outbid::before { animation: pulse 1.4s infinite; }
.lc-my.won { background: var(--ink); }
.lc-my.lost { background: var(--gray-1); color: var(--muted); }
.lc-my.lost::before { background: var(--muted); }
.lot-card.my-outbid { border-color: var(--red) !important; }
.lot-card.my-leading { border-color: var(--ok) !important; }
.lot-card.my-outbid .lc-cta { background: var(--red); color: #fff; }
.lot-card.my-outbid:hover .lc-cta { background: var(--ink); }
.grid.asym > :nth-child(7n + 1) .lc-my { padding-left: 44px; }

/* old card internals are not used */
.lot-card .thumb, .lot-card .body, .lot-card .meta, .lot-card .card-meta, .lot-card .lot-head, .lot-card .print, .lot-card .lot-data, .lot-card .lot-foot { display: none; }

/* asymmetric catalogue: 12-column magazine rhythm */
.grid.asym { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.4vw, 28px); row-gap: clamp(40px, 4vw, 80px); align-items: start; padding-top: 10px; }
.grid.asym > * { grid-column: span 3; }
.grid.asym > :nth-child(7n + 1) { grid-column: 1 / span 6; grid-row: span 2; }
.grid.asym > :nth-child(7n + 1) .lc-img { aspect-ratio: 1 / 1; }
.grid.asym > :nth-child(7n + 1) .lc-price { font-size: clamp(40px, 3.6vw, 72px); }
.grid.asym > :nth-child(7n + 1) .lc-title { font-size: clamp(20px, 1.5vw, 28px); }
.grid.asym > :nth-child(7n + 1) .lc-body { padding: 20px 20px 0; }
.grid.asym > :nth-child(7n + 1) .lc-actions { margin: auto -20px 0; }
.grid.asym > :nth-child(7n + 1) .lc-cta, .grid.asym > :nth-child(7n + 1) .lc-qb { padding: 18px 20px; }
.grid.asym > :nth-child(7n + 2) { grid-column: 8 / span 5; }
.grid.asym > :nth-child(7n + 3) { grid-column: 7 / span 3; margin-top: clamp(20px, 4vw, 80px); }
.grid.asym > :nth-child(7n + 4) { grid-column: 10 / span 3; }
.grid.asym > :nth-child(7n + 5) { grid-column: 2 / span 4; }
.grid.asym > :nth-child(7n + 6) { grid-column: 7 / span 3; margin-top: clamp(40px, 7vw, 140px); }
.grid.asym > :nth-child(7n + 7) { grid-column: 10 / span 3; margin-top: clamp(10px, 2vw, 40px); }
@media (max-width: 960px) {
  .grid.asym { grid-template-columns: 1fr 1fr; }
  .grid.asym > *, .grid.asym > :nth-child(n) { grid-column: auto; grid-row: auto; margin-top: 0; }
  .grid.asym > :nth-child(5n + 1) { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .grid.asym { grid-template-columns: 1fr; } }
.grid:not(.asym) { grid-template-columns: repeat(auto-fill, minmax(clamp(220px, 15vw, 300px), 1fr)); row-gap: 40px; }

/* ---------- split-flap board (light) ---------- */
.board-sec { background: #fff; color: var(--ink); padding: clamp(70px, 7vw, 140px) 0; margin-top: 0; border-top: 1px solid var(--ink); }
.board-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin-bottom: 26px; }
.board-head h2 { color: var(--ink); font-size: clamp(64px, 9vw, 200px); margin: 0; }
.board-head .mono { color: var(--muted); text-align: right; }
.board { font-family: var(--mono); width: 100%; border-top: 1px solid var(--ink); }
.board-row { display: grid; grid-template-columns: 0.6fr 3fr 1.2fr 0.6fr 1.3fr 28px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .2s, padding .3s var(--ease); }
.board-row.hdr { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding: 12px 0; }
.board-row:not(.hdr):hover { background: var(--gray-1); padding-left: 12px; padding-right: 12px; }
.board-row:not(.hdr):hover .arrow { color: var(--red-ink); transform: translateX(4px); }
.board-row .arrow { transition: transform .3s var(--ease); font-size: 18px; }
.flaps { display: inline-flex; gap: 2px; flex-wrap: nowrap; }
.flap {
  position: relative; display: inline-grid; place-items: center; width: 1.05em; height: 1.45em; font-size: clamp(14px, 1.15vw, 22px); font-weight: 500;
  background: var(--ink); color: #fff; text-transform: uppercase; font-family: var(--mono);
}
.flap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #fff; opacity: .35; }
.flap.sp { background: var(--gray-1); }
.flap.sp::after { display: none; }
.flaps.red .flap { background: var(--red); }
/* phones and small tablets: every row becomes a mini card, name first, then labelled bid and clock */
@media (max-width: 860px) {
  .board-row.hdr { display: none; }
  .board-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "lot item arrow" "bid bid closes"; column-gap: 12px; row-gap: 14px; padding: 18px 0; align-items: start; }
  .board-row .f-lot { grid-area: lot; }
  .board-row .c-item { display: block; grid-area: item; align-self: center; font-size: 16px; }
  .board-row .arrow { grid-area: arrow; align-self: center; justify-self: end; }
  .board-row .c-bids { display: none; }
  .board-row .f-bid { grid-area: bid; }
  .board-row .f-closes { grid-area: closes; justify-self: end; }
  .board-row .f-bid, .board-row .f-closes { position: relative; padding-top: 18px; }
  .board-row .f-bid::before, .board-row .f-closes::before { position: absolute; top: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
  .board-row .f-bid::before { content: 'Current bid'; left: 0; }
  .board-row .f-closes::before { content: 'Closes in'; right: 0; }
  .board-row .f-lot .flap { font-size: 12px; }
  .board-row:not(.hdr):hover { padding-left: 0; padding-right: 0; }
}
@media (max-width: 360px) { .board-row .f-bid .flap, .board-row .f-closes .flap { font-size: 12px; } }

/* ---------- marquee band ---------- */
.band { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; font-family: var(--mono); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.band-track { display: flex; width: max-content; }
.band-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; white-space: nowrap; color: rgba(255,255,255,.85); text-decoration: none; }
.band-item b { color: #fff; font-weight: 500; }
.band-item .amt { color: #fff; font-weight: 500; }
.band-item i { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }

/* ---------- custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); }
.cursor span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: #fff; opacity: 0; transition: opacity .2s; text-transform: uppercase; }
.cursor.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- preloader: a red circle grows over white ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; background: #fff; color: var(--ink); overflow: hidden; }
.preloader .pre-dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--red); }
.preloader .pre-word { position: absolute; left: var(--gutter); bottom: 18px; font-family: var(--display); font-weight: 820; letter-spacing: -0.07em; font-size: clamp(90px, 22vw, 460px); line-height: .72; text-transform: lowercase; }
.preloader .count { position: absolute; right: var(--gutter); top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.preloader .tagline { position: absolute; left: var(--gutter); top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.preloader .pre-clip, .preloader .word { display: none; }

/* ---------- misc restyles ---------- */
.tabs { background: transparent; border: 0 !important; padding: 0; gap: 22px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; padding: 8px 0; color: var(--muted); background: transparent; font-size: 11.5px; }
.tabs button:hover { background: transparent; color: var(--ink); }
.tabs button.active, .tabs:not(.js) button.active { color: var(--ink); border-bottom-color: var(--ink); background: transparent; }
.tabs .tab-ind { display: none; }
.search-box input { height: 40px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding-left: 26px; }
.search-box svg { left: 0; }
.tools select { height: 40px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--ink); }
.result-count { font-family: var(--mono); text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
#toast div { background: var(--ink); border-radius: 0; font-family: var(--mono); font-size: 12px; border: 0; }
.notice { border-radius: 0; }
.stat-row > div { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; box-shadow: none; padding: 10px 0 0; }
.bid-panel .card { border: 0; padding: 0; }
.bid-panel .price, .price { font-family: var(--display); font-weight: 780; letter-spacing: -0.05em; }
.bid-panel .price { font-size: clamp(56px, 4.6vw, 100px); }
.kpi-v { font-family: var(--display); font-weight: 780; letter-spacing: -0.05em; }
.dash-nav a.active, .chip.active { background: var(--ink); }
.gallery .main { border: 0; background: var(--gray-1); position: relative; padding: 0; overflow: hidden; border-radius: 0;
  /* the frame takes the photo's own shape (clamped), never taller than the screen; the photo is never cropped */
  aspect-ratio: var(--ar, 1); max-height: calc(100vh - 120px); width: 100%; display: grid; place-items: center; cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery .main .zoom-hint { position: absolute; right: 12px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: #fff; padding: 6px 9px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.gallery .main:hover .zoom-hint { opacity: 1; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px; }
.thumbs button { width: 72px; height: 72px; border-radius: 0 !important; background: var(--gray-1); border: 1px solid var(--line); }
.thumbs button img { object-fit: contain; }
.thumbs button.active { outline: 2px solid var(--ink); outline-offset: 2px; }
/* full-screen photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(250,250,248,.97); display: flex; align-items: center; justify-content: center; padding: 64px 24px 76px; cursor: zoom-out; overflow: hidden; }
.lightbox img { width: auto; height: auto; max-width: min(100%, 1400px); max-height: calc(100vh - 140px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.12); cursor: default; }
.lightbox .lb-close { position: absolute; top: 14px; right: 16px; }
.lightbox .lb-nav { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.lightbox .lb-nav button, .lightbox .lb-close { padding: 10px 14px; }
.lot-desc { border: 0; border-top: 1px solid var(--ink); padding: 18px 0 0; }
.empty { font-family: var(--mono); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.bid-form .money input { border: 0; border-bottom: 1px solid var(--ink); font-weight: 760; font-size: 26px; letter-spacing: -0.04em; padding-left: 22px; height: 52px; }
.bid-form .money span { left: 0; }
.ab-status, .pay-box-inner { border-radius: 0; }
.avatar { border-radius: 50% !important; }
.lot-big { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; margin: 8px 0 6px; text-transform: uppercase; color: var(--muted); }
.lot-big small { display: inline; color: var(--red-ink); margin-right: 6px; font-size: 12px; }
.bid-panel h1 { font-size: clamp(34px, 2.8vw, 60px); letter-spacing: -0.045em; line-height: .95; }
.form-card { border: 1px solid var(--ink) !important; }
.form-card h1 { font-size: clamp(48px, 4vw, 72px); }

/* =====================================================================
   HOME
   ===================================================================== */
.home main { padding: 0; }
/* Hero = first screen: [intro | orb] fills the viewport above a full-width facts strip. */
.hx { --facts-h: clamp(96px, 9vw, 130px); position: relative; padding: 0 var(--gutter); overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(calc(100vh - 64px - var(--facts-h)), auto) auto auto; grid-template-rows: minmax(calc(100svh - 64px - var(--facts-h)), auto) auto auto; column-gap: clamp(14px, 1.4vw, 28px); }
.hx-grid { position: absolute; inset: 0; pointer-events: none; display: grid; grid-template-columns: repeat(12, 1fr); padding: 0 var(--gutter); column-gap: clamp(14px, 1.4vw, 28px); }
.hx-grid span { border-left: 1px solid var(--line-2); }
.hx-grid span:last-child { border-right: 1px solid var(--line-2); }
.hx-left { grid-column: 1 / span 5; grid-row: 1; align-self: center; position: relative; z-index: 3; padding: clamp(28px, 4vh, 56px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2.6vh, 28px); }
.hx-meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 9px 14px; border: 1px solid var(--ink); background: #fff; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-decoration: none; transition: border-color .2s; }
.hx-meta:hover { border-color: var(--red); }
.hx-meta b { color: var(--ink); font-weight: 600; }
.hx-meta .live { color: var(--red-ink); display: inline-flex; align-items: center; }
.hx-meta .live b { color: inherit; margin-right: .4em; }
.hx-meta .live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; animation: pulse 1.6s infinite; }
.hx-meta #nextCloseRow { padding-left: 16px; border-left: 1px solid var(--line); }
.hx-title { font-size: clamp(46px, min(5.6vw, 10.5vh), 128px); margin: 0; line-height: .86; }
.hx-title .light { font-weight: 300; color: var(--muted); }
.hx-lead { color: var(--text-2); max-width: 30em; margin: 0; font-size: clamp(15px, .45vw + 10px, 18px); line-height: 1.5; }
.hx-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hx-benefits { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; }
.hx-benefits li { font-size: 13px; line-height: 1.45; color: var(--text-2); }
.hx-benefits b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; font-size: 14px; margin-bottom: 4px; }
.hx-benefits b::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red); }

/* short or narrow desktop screens: keep the whole first screen visible (the lead repeats what the benefits say) */
@media (min-width: 961px) and (max-height: 800px), (min-width: 961px) and (max-width: 1180px) {
  .hx-lead { display: none; }
  .hx-left { padding: 20px 0; gap: clamp(14px, 2.2vh, 22px); }
}

/* facts strip: four live numbers, full width, always fully visible */
.hx-facts { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: #fff; }
.hx-facts div { min-height: var(--facts-h); padding: 14px 16px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; border-left: 1px solid var(--line); }
.hx-facts div:first-child { border-left: 0; padding-left: 0; }
.hx-facts b { font-weight: 780; font-size: clamp(36px, 3.4vw, 72px); line-height: .9; letter-spacing: -0.05em; }
.hx-facts span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* the giant red circle, cropped by the top-right corner */
/* the orb lives inside the hero grid: never pushed past the screen edges, sized to fit the viewport height */
/* desktop: the orb bleeds a little past the top-right corner; the lot info inside always stays on screen */
.hx-orb { --orb: min(100%, calc(100vh - 4px - var(--facts-h)), 1100px); position: relative; z-index: 2; grid-column: 7 / -1; grid-row: 1; justify-self: end; align-self: start; width: var(--orb); min-width: 340px; aspect-ratio: 1; margin: calc(var(--orb) * -0.12) calc(var(--orb) * -0.14) 0 0; border-radius: 50%; background: var(--red); }
.hx-orb .ring { position: absolute; inset: -4.5%; width: 109%; height: 109%; animation: spin 60s linear infinite; }
.hx-orb .ring text { font-family: var(--mono); font-size: 4.4px; letter-spacing: .34em; fill: var(--ink); text-transform: uppercase; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
.hx-lot { position: absolute; left: 31%; top: 16%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; display: block; text-decoration: none; }
.hx-lot img { width: 100%; height: 100%; object-fit: contain; padding: 15%; background: #fff; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform 1.2s var(--ease); }
.hx-lot:hover img { filter: none; transform: scale(1.06); }
.hx-orb { container-type: inline-size; }
.hx-lotinfo { position: absolute; left: 17%; top: 57%; width: 66%; color: #fff; display: grid; gap: 1.1cqw; justify-items: center; text-align: center; text-decoration: none; }
.hx-lotinfo .mono { color: rgba(255,255,255,.85); font-size: max(9px, 1.7cqw); }
.hx-lotinfo .ttl { font-weight: 650; font-size: max(13px, 3cqw); line-height: 1.2; letter-spacing: -0.02em; }
.hx-lotinfo .row { display: flex; align-items: baseline; justify-content: center; gap: .5cqw 2.2cqw; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.5); padding-top: 8px; }
.hx-lotinfo .p { font-weight: 800; font-size: max(24px, 8.4cqw); line-height: .85; letter-spacing: -0.06em; }
.hx-lotinfo .t { font-family: var(--mono); font-size: max(9.5px, 1.8cqw); letter-spacing: .06em; text-transform: uppercase; }
.hx-lotinfo:hover .ttl { text-decoration: underline; }
.b-item { font-family: var(--display); font-size: clamp(15px, 1.05vw, 19px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; text-transform: none; }
.hx-word { position: relative; grid-column: 1 / -1; grid-row: 3; z-index: 4; margin-left: -0.045em; font-weight: 830; font-size: clamp(150px, 29vw, 680px); line-height: .76; letter-spacing: -0.08em; margin: 0; text-transform: lowercase; pointer-events: none; mix-blend-mode: multiply; display: flex; padding-top: clamp(30px, 4vw, 80px); }
.hx-word .clip { display: flex; overflow: hidden; padding: 0 .05em .3em 0; }
.hx-word .clip span { display: inline-block; will-change: transform; }
@media (max-width: 960px) {
  .hx { display: flex; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .hx-left { order: 1; padding: 28px 0 0; }
  .hx-orb { order: 2; width: min(86vw, 600px); min-width: 0; margin: 56px auto 48px; align-self: center; }
  .hx-facts { order: 3; grid-template-columns: 1fr 1fr; }
  .hx-facts div { min-height: 0; padding: 14px 0 16px 14px; }
  .hx-facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hx-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hx-word { order: 4; }
}
@media (max-width: 560px) {
  .hx-benefits { grid-template-columns: 1fr; gap: 12px; }
  .hx-meta #nextCloseRow { padding-left: 0; border-left: 0; }
}

/* section heads: giant, asymmetric */
.ed-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.4vw, 28px); align-items: end; border-bottom: 0; padding-bottom: 0; margin-bottom: clamp(28px, 3vw, 60px); }
.ed-head h2 { grid-column: 1 / span 9; font-size: clamp(72px, 11vw, 260px); margin: 0; line-height: .8; }
.ed-head h2 sup { font-family: var(--mono); font-size: 12px; vertical-align: top; letter-spacing: .06em; color: var(--red-ink); margin-left: .5em; font-weight: 500; }
.ed-head .side { grid-column: 10 / span 3; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); max-width: none; text-align: left; border-top: 1px solid var(--ink); padding-top: 10px; }
.sec { padding-top: clamp(90px, 8vw, 170px); }
.wrap.sec, .wrap.cta-ed { padding-left: var(--gutter); padding-right: var(--gutter); }
.toolbar { border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 30px; }
@media (max-width: 760px) { .ed-head { grid-template-columns: 1fr; } .ed-head h2, .ed-head .side { grid-column: auto; } .ed-head .side { margin-top: 14px; } }

/* how it works: giant geometric shapes on a horizontal track */
.hiw { background: #fff; margin-top: clamp(90px, 8vw, 170px); overflow: hidden; border-top: 1px solid var(--ink); }
.hiw-inner { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 4vw, 70px) 0; }
.hiw-track { display: flex; gap: clamp(20px, 3vw, 60px); padding: 0 var(--gutter); width: max-content; will-change: transform; align-items: flex-end; }
.hiw-panel { width: clamp(300px, 34vw, 620px); flex: none; position: relative; border-top: 0; padding-top: 0; }
.hiw-shape { width: 100%; aspect-ratio: 1; margin-bottom: 18px; position: relative; }
.hiw-shape svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hiw-shape .num { position: absolute; left: 50%; top: 52%; transform: translate(-52%, -50%); font-weight: 820; font-size: clamp(90px, 9vw, 190px); letter-spacing: -0.07em; line-height: .8; color: #fff; pointer-events: none; }
.hiw-panel:nth-child(4) .num { top: 64%; }
.hiw-panel:nth-child(5) .num { top: 79%; color: var(--ink); }
.hiw-panel h3 { font-weight: 780; font-size: clamp(30px, 2.6vw, 54px); line-height: .9; margin: 0 0 10px; letter-spacing: -0.05em; }
.hiw-panel p { color: var(--text-2); max-width: 26em; margin: 0; }
.hiw-panel .mono { display: block; color: var(--red-ink); margin-bottom: 10px; }
.hiw-n { display: none; }
.hiw-panel .n { display: none; }
.hiw-intro { width: clamp(280px, 28vw, 520px); flex: none; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hiw-intro h2 { font-size: clamp(80px, 10vw, 220px); margin: 0 0 18px; }
@media (max-width: 900px) {
  .hiw-inner { min-height: 0; }
  .hiw-track { flex-direction: column; width: auto; align-items: stretch; }
  .hiw-panel, .hiw-intro { width: auto; }
  .hiw-shape { max-width: 420px; }
}

/* going, going, gone */
.ggg { height: 230vh; position: relative; border-top: 1px solid var(--ink); }
.ggg-stick { position: sticky; top: 60px; height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.ggg-line { font-weight: 820; font-size: clamp(90px, min(17vw, 28vh), 400px); line-height: .82; letter-spacing: -0.075em; white-space: nowrap; will-change: transform; padding: 0 var(--gutter); text-transform: lowercase; }
.ggg-line.l1 { color: var(--gray-2); }
.ggg-line.l2 { text-align: right; color: #c9c9c6; }
.ggg-line.l3 { color: var(--ink); display: flex; align-items: center; gap: .06em; }
.ggg-dot { width: .62em; height: .62em; border-radius: 50%; background: var(--red); flex: none; }
.ggg-gavel { display: none; }

/* house rules: asymmetric rows with giant numbers */
.rules-list { border-top: 1px solid var(--ink); }
.rule-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 1.4vw, 28px); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.rule-row:hover { background: var(--gray-1); padding-left: 0; padding-right: 0; color: var(--ink); }
.rule-row:hover p { color: var(--text-2); }
.rule-row:hover .k { color: var(--red); }
.rule-row .k { grid-column: 1 / span 2; font-weight: 820; font-size: clamp(40px, 4vw, 90px); letter-spacing: -0.07em; line-height: .8; color: var(--gray-2); font-family: var(--display); transition: color .25s; }
.rule-row h3 { grid-column: 3 / span 4; font-weight: 760; font-size: clamp(26px, 2.2vw, 46px); margin: 0; line-height: .95; letter-spacing: -0.045em; text-transform: none; font-family: var(--display); }
.rule-row p { grid-column: 8 / span 5; margin: 0; color: var(--text-2); max-width: 32em; }
.rule-row:nth-child(even) h3 { grid-column: 4 / span 4; }
@media (max-width: 760px) { .rule-row { grid-template-columns: 70px 1fr; } .rule-row .k, .rule-row h3, .rule-row:nth-child(even) h3 { grid-column: auto; } .rule-row p { grid-column: 2; margin-top: 8px; } }

/* faq */
.faq-ed { border-top: 1px solid var(--ink); }
.faq-ed .faq { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq-ed .faq .q { padding: 24px 0; font-size: clamp(20px, 1.3vw + 8px, 32px); font-weight: 700; letter-spacing: -0.03em; text-transform: none; font-family: var(--display); color: var(--ink); border: 0; }
.faq-ed .faq .q:hover { background: none; color: var(--red-ink); }
.faq-ed .faq .pm { border: 0; background: var(--gray-1); border-radius: 50% !important; width: 36px; height: 36px; }
.faq-ed .faq.open .pm { background: var(--red); color: #fff; }
.faq-ed .faq .a > div { padding: 0 0 24px; max-width: 48em; }

/* closing CTA: asymmetric giant line + red circle */
.cta-ed { padding: clamp(110px, 10vw, 220px) var(--gutter) clamp(110px, 10vw, 220px); text-align: left; position: relative; overflow: hidden; }
.cta-ed h2 { font-size: clamp(80px, 13vw, 320px); margin: 0 0 30px; line-height: .8; max-width: 9em; position: relative; z-index: 2; }
.cta-ed h2 .serif { color: var(--muted); }
.cta-ed .ctas { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-ed .cta-orb { position: absolute; right: -8vw; top: 50%; width: clamp(260px, 34vw, 720px); aspect-ratio: 1; border-radius: 50%; background: var(--red); transform: translateY(-50%); z-index: 1; }

/* doodles are retired in the geometric style */
.doodle { display: none; }

.site-footer .legal { order: 1; margin-top: 30px; }
.site-footer .giant { order: 5; }

.bid-form .money input { border-radius: 0 !important; }
