/* ==========================================================================
   Juwelier von Spreckelsen Auktionen
   Design-Tokens angelehnt an vspreckelsen.de
   ========================================================================== */
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 500; font-style: italic; font-display: swap; }

:root {
    --bg: #FBFAF7;
    --bg-2: #F3F0EA;
    --surface: #FFFFFF;
    --surface-strong: #E9E4DB;
    --ink: #1C1B19;
    --muted: #5A5751;
    --decor: #8A867E;
    --border: #DDD8CF;
    --border-strong: #B6B0A5;
    --accent: #6B1E2B;
    --accent-hover: #842838;
    --accent-active: #55161F;
    --brass: #8C6F3E;
    --inverse: #15161A;
    --inverse-ink: #F3F0EA;
    --inverse-muted: #B9B4AA;
    --ok: #2F6A47;
    --ok-bg: #EEF5F0;
    --error: #A3281F;
    --error-bg: #FBF1F0;
    --info-bg: #F1EEE6;
    --live: #C0392B;

    --font-heading: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

    --page-width: 85rem;
    --page-margin: clamp(16px, 4vw, 48px);
    --section: clamp(48px, 7vw, 96px);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --fast: 180ms;
    --shadow: 0 1px 2px rgba(21,22,26,.04), 0 8px 24px rgba(21,22,26,.06);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
h1, h2, h3, .lot-card__title { overflow-wrap: anywhere; hyphens: auto; }
a { color: inherit; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
em, .italic { font-family: var(--font-heading); font-style: italic; }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
address { font-style: normal; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: min(100% - 2 * var(--page-margin), var(--page-width)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--page-margin), 44rem); margin-inline: auto; }
.container--mid { width: min(100% - 2 * var(--page-margin), 62rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--inverse); color: var(--inverse-ink); }
.section--dark .muted { color: var(--inverse-muted); }

.eyebrow {
    display: inline-block;
    font: 500 .75rem/1 var(--font-body);
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--brass);
    margin-bottom: 14px;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-arrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 26px;
    font: 500 .8125rem/1 var(--font-body);
    letter-spacing: .06em; text-transform: uppercase; text-align: center; text-decoration: none;
    border: 1px solid transparent; border-radius: 0; cursor: pointer;
    transition: background-color var(--fast) ease, color var(--fast) ease, border-color var(--fast) ease, opacity var(--fast);
    white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--primary:active { background: var(--accent-active); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #33312d; color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover, .btn--ghost.is-active { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--inverse-ink); color: var(--ink); border-color: var(--inverse-ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--danger { background: transparent; color: var(--error); border-color: #e3c3bf; }
.btn--danger:hover { background: var(--error); color: #fff; border-color: var(--error); }
.btn--ok { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .72rem; }
.btn--xs { min-height: 30px; padding: 0 10px; font-size: .68rem; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: .875rem; }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent); }

/* ------------------------------------------------------------ USP & Header */
.usp-bar { background: var(--inverse); color: var(--inverse-ink); font-size: .75rem; letter-spacing: .04em; }
.usp-bar__inner { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.usp-bar strong { font-weight: 500; }
.usp-bar span { color: var(--inverse-muted); }
.usp-bar strong { color: var(--inverse-ink); }

.live-ribbon {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: #fff; text-decoration: none;
    font-size: .82rem; letter-spacing: .03em; padding: 9px var(--page-margin);
}
.live-ribbon:hover { background: var(--accent-hover); color: #fff; }
.live-ribbon__cta { text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; border-bottom: 1px solid rgba(255,255,255,.6); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 0 0 rgba(255,90,74,.7); animation: pulse 1.6s infinite; display: inline-block; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,74,.6);} 70% { box-shadow: 0 0 0 8px rgba(255,90,74,0);} 100% { box-shadow: 0 0 0 0 rgba(255,90,74,0);} }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251,250,247,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; }
.brand img { width: 210px; height: auto; }
.brand__sub { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: var(--brass); padding-left: 2px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav__link { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; display: inline-flex; align-items: center; gap: 8px; }
.main-nav__link:hover, .main-nav__link.is-active { border-bottom-color: var(--ink); color: var(--ink); }
.main-nav__link--live { color: var(--accent); }
.main-nav__sep { width: 1px; height: 22px; background: var(--border); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; background: var(--ink); margin: 6px 0; transition: transform var(--fast); }

@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 28px 28px; transform: translateX(100%); transition: transform 260ms var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.08); z-index: 30; }
    .main-nav.is-open { transform: none; }
    .main-nav__link { padding: 14px 0; border-bottom: 1px solid var(--border) !important; font-size: .85rem; }
    .main-nav__sep { display: none; }
    .main-nav .btn { margin-top: 16px; }
    .nav-toggle { position: relative; z-index: 31; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .brand img { width: 170px; }
}
@media (max-width: 860px) { .hide-md { display: none; } }
@media (max-width: 560px) { .hide-sm { display: none; } .usp-bar__inner { justify-content: center; } }

/* ------------------------------------------------------------------ Flash */
.flash-stack { margin-top: 20px; display: grid; gap: 10px; }
.flash { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--border); background: var(--info-bg); font-size: .92rem; }
.flash--success { background: var(--ok-bg); border-color: #cfe2d5; color: #1f4b31; }
.flash--error { background: var(--error-bg); border-color: #efd2cf; color: var(--error); }
.flash__close { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; opacity: .6; }
.notice { padding: 16px 18px; border: 1px solid var(--border); background: var(--bg-2); font-size: .92rem; }
.notice--warn { background: #FBF6EC; border-color: #eadbbd; }
.notice--accent { background: #F7EEEF; border-color: #e7cfd3; }
.notice p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--inverse); color: var(--inverse-ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background:
    radial-gradient(ellipse at 78% 30%, rgba(140,111,62,.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(107,30,43,.45), transparent 50%),
    linear-gradient(135deg, #15161A 0%, #22201c 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: min(78vh, 680px); padding-block: 72px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero h1 em { color: #d9c49b; }
.hero__lead { font-size: 1.12rem; color: var(--inverse-muted); max-width: 34rem; margin-bottom: 32px; }
.hero .eyebrow { color: #d9c49b; }
.hero__card { background: rgba(251,250,247,.04); border: 1px solid rgba(243,240,234,.16); padding: 28px; backdrop-filter: blur(6px); }
.hero__card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 20px; }
.hero__card h3 { color: #fff; }
.hero__meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: .85rem; color: var(--inverse-muted); }
.hero__ring { width: 100%; max-width: 420px; margin-inline: auto; opacity: .9; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; min-height: 0; } }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust__item h4 { margin-bottom: 6px; }
.trust__item p { color: var(--muted); font-size: .92rem; margin: 0; }
.trust__icon { width: 36px; height: 36px; color: var(--brass); margin-bottom: 14px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Cards */
.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid--2 { grid-template-columns: 1fr; } }

.lot-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: transparent; }
.lot-card__media { position: relative; aspect-ratio: 1/1; background: var(--surface); overflow: hidden; border: 1px solid var(--border); }
.lot-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.lot-card:hover .lot-card__media img { transform: scale(1.035); }
.lot-card__badge { position: absolute; top: 12px; left: 12px; background: rgba(251,250,247,.94); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; padding: 6px 9px; display: inline-flex; gap: 6px; align-items: center; }
.lot-card__badge--open { background: var(--accent); color: #fff; }
.lot-card__badge--sold { background: var(--ink); color: #fff; }
.lot-card__watch { position: absolute; top: 10px; right: 10px; }
.lot-card__body { padding-top: 14px; display: grid; gap: 4px; }
.lot-card__num { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.lot-card__title { font-family: var(--font-heading); font-size: 1.18rem; line-height: 1.25; margin: 0; }
.lot-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .86rem; color: var(--muted); margin-top: 6px; border-top: 1px solid var(--border); padding-top: 10px; }
.lot-card__price { color: var(--ink); font-weight: 500; font-size: 1rem; }
.lot-card a.stretched::after { content: ""; position: absolute; inset: 0; }

.auction-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); text-decoration: none; overflow: hidden; }
.auction-card__media { aspect-ratio: 4/3; background: var(--surface-strong); overflow: hidden; position: relative; }
.auction-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.auction-card:hover .auction-card__media img { transform: scale(1.03); }
.auction-card__body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.auction-card__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0; }
.auction-card__facts { display: flex; gap: 22px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.auction-card__facts strong { display: block; color: var(--ink); font-weight: 500; }
.auction-card--compact { grid-template-columns: 1fr; }
@media (max-width: 760px) { .auction-card { grid-template-columns: 1fr; } }

.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; padding: 6px 10px; border: 1px solid var(--border-strong); width: fit-content; }
.status-pill--live { border-color: var(--accent); color: var(--accent); }
.status-pill--scheduled { border-color: var(--brass); color: var(--brass); }
.status-pill--draft { border-style: dashed; color: var(--muted); }
.status-pill--ended { color: var(--muted); }
.status-pill--sold, .status-pill--paid { border-color: var(--ok); color: var(--ok); }
.status-pill--open { border-color: var(--accent); color: var(--accent); }
.status-pill--failed { border-color: var(--error); color: var(--error); }

.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--border); background: rgba(251,250,247,.94); cursor: pointer; color: var(--ink); transition: color var(--fast), border-color var(--fast); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.is-on { color: var(--accent); }
.icon-btn.is-on svg { fill: currentColor; }

/* -------------------------------------------------------------- Lot page */
.breadcrumb { font-size: .78rem; letter-spacing: .06em; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; padding-top: 24px; }
.breadcrumb a { text-decoration: none; }
.lot-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "gallery info" "desc info"; column-gap: clamp(24px, 4vw, 64px); row-gap: 40px; align-items: start; padding-block: 28px var(--section); }
.lot-gallery { grid-area: gallery; min-width: 0; }
.lot-desc { grid-area: desc; min-width: 0; }
.lot-info { grid-area: info; min-width: 0; align-self: start; }
@media (max-width: 960px) { .lot-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "info" "desc"; row-gap: 28px; } .lot-info { position: static; } }
@media (max-width: 520px) { .specs { grid-template-columns: 110px minmax(0, 1fr); } .bid-box__current { font-size: 1.9rem; } }
.gallery__main { background: var(--surface); border: 1px solid var(--border); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery__thumbs button { padding: 0; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 1/1; cursor: pointer; overflow: hidden; }
.gallery__thumbs button.is-active { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lot-info { position: sticky; top: 100px; }
.lot-info h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lot-estimate { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }

.bid-box { background: var(--surface); border: 1px solid var(--border); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.bid-box__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--border); font-size: .92rem; }
.bid-box__row:last-of-type { border-bottom: 0; }
.bid-box__current { font-family: var(--font-heading); font-size: 2.2rem; line-height: 1.1; }
.bid-box__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.bid-box__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 500; }
.countdown.is-urgent { color: var(--accent); }
.bid-form { margin-top: 20px; display: grid; gap: 12px; }
.bid-form__input { display: flex; align-items: stretch; border: 1px solid var(--ink); background: #fff; }
.bid-form__input span { display: grid; place-items: center; padding: 0 14px; font-size: 1.1rem; color: var(--muted); border-right: 1px solid var(--border); }
.bid-form__input input { border: 0 !important; font-size: 1.25rem; font-variant-numeric: tabular-nums; min-height: 54px; }
.bid-form__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bid-feedback { font-size: .9rem; min-height: 1.4em; }
.bid-feedback.is-error { color: var(--error); }
.bid-feedback.is-ok { color: var(--ok); }
.leading-banner { background: var(--ok-bg); color: #1f4b31; border: 1px solid #cfe2d5; padding: 10px 14px; font-size: .9rem; }
.outbid-banner { background: var(--error-bg); color: var(--error); border: 1px solid #efd2cf; padding: 10px 14px; font-size: .9rem; }
.bid-history { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.bid-history li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.bid-history li.is-mine { color: var(--accent); }
.bid-history li:first-child { font-weight: 500; }
.specs { display: grid; grid-template-columns: 160px 1fr; gap: 0; margin: 0; font-size: .94rem; }
.specs dt, .specs dd { padding: 12px 0; border-bottom: 1px solid var(--border); margin: 0; }
.specs dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 14px; }
.prose { max-width: 44rem; }
.prose p { color: #33312d; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* --------------------------------------------------------------- Live room */
body.is-live-room { background: #0f1013; color: var(--inverse-ink); }
body.is-live-room .site-header { background: rgba(15,16,19,.92); border-bottom-color: #26272c; }
body.is-live-room .brand img { filter: invert(1) brightness(1.8); }
body.is-live-room .main-nav__link { color: var(--inverse-ink); }
body.is-live-room .main-nav__link:hover { border-bottom-color: var(--inverse-ink); }
body.is-live-room .btn--ghost { color: var(--inverse-ink); border-color: #3b3c42; }
body.is-live-room .nav-toggle span { background: var(--inverse-ink); }
body.is-live-room .site-footer { border-top: 1px solid #26272c; }
@media (max-width: 1024px) { body.is-live-room .main-nav { background: #15161A; } }

.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 24px; padding-block: 24px 48px; }
@media (max-width: 1100px) { .live-layout { grid-template-columns: minmax(0, 1fr); } }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.live-head h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; color: #fff; }
.stage { position: relative; background: #000; aspect-ratio: 16/9; overflow: hidden; border: 1px solid #26272c; }
.stage video, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.stage__overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--inverse-muted); background: radial-gradient(ellipse at center, rgba(40,40,46,.6), rgba(0,0,0,.92)); }
.stage__overlay[hidden] { display: none; }
.stage__badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.6); color: #fff; padding: 6px 10px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.stage__unmute { position: absolute; bottom: 16px; left: 16px; z-index: 2; }
.stage__viewers { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; padding: 6px 10px; font-size: .72rem; }

.live-panel { background: #17181c; border: 1px solid #26272c; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.live-panel h2, .live-panel h3 { color: #fff; }
.live-lot { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.live-lot img { width: 96px; height: 96px; object-fit: cover; background: #222; }
.live-lot__num { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #d9c49b; }
.live-lot__title { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.2; color: #fff; margin: 2px 0 0; }
.live-price { display: flex; justify-content: space-between; align-items: end; gap: 12px; border-block: 1px solid #26272c; padding-block: 16px; }
.live-price__amount { font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.live-price__amount.flash-up { animation: flashUp 900ms var(--ease); }
@keyframes flashUp { 0% { color: #d9c49b; transform: scale(1.06); } 100% { color: #fff; transform: none; } }
.live-timer { text-align: right; }
.live-timer__value { font-size: 1.8rem; font-variant-numeric: tabular-nums; color: #fff; font-weight: 500; }
.live-timer__value.is-urgent { color: #ff7b6e; }
.live-progress { height: 3px; background: #26272c; overflow: hidden; }
.live-progress span { display: block; height: 100%; background: #d9c49b; width: 100%; transition: width 1s linear; }
.live-panel .bid-history li { border-bottom-color: #26272c; color: var(--inverse-muted); }
.live-panel .bid-history li:first-child { color: #fff; }
.live-panel .bid-history li.is-mine { color: #d9c49b; }
.live-panel .btn--primary { background: #8b2637; border-color: #8b2637; }
.live-panel .btn--primary:hover { background: #a02d40; border-color: #a02d40; }
.live-panel .bid-form__input { background: #0f1013; border-color: #3b3c42; }
.live-panel .bid-form__input span { border-right-color: #3b3c42; color: var(--inverse-muted); }
.live-panel .bid-form__input input { background: transparent; color: #fff; }
.live-panel .muted { color: var(--inverse-muted); }
.live-panel .leading-banner { background: rgba(47,106,71,.18); border-color: rgba(47,106,71,.5); color: #a7d7b8; }
.live-panel .outbid-banner { background: rgba(163,40,31,.18); border-color: rgba(163,40,31,.5); color: #ffb3aa; }
.live-panel .notice { background: #1f2025; border-color: #2f3036; color: var(--inverse-ink); }
.live-panel .btn--ghost { color: var(--inverse-ink); border-color: #3b3c42; }
.lot-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.lot-strip__item { flex: 0 0 170px; scroll-snap-align: start; background: #17181c; border: 1px solid #26272c; text-decoration: none; color: var(--inverse-ink); font-size: .8rem; }
.lot-strip__item.is-current { border-color: #d9c49b; }
.lot-strip__item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.lot-strip__item div { padding: 8px 10px; display: grid; gap: 2px; }
.lot-strip__item small { color: var(--inverse-muted); }
.lot-strip__item strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.won-burst { text-align: center; padding: 16px; border: 1px solid #d9c49b; color: #d9c49b; font-family: var(--font-heading); font-size: 1.3rem; }

/* ---------------------------------------------------------------- Studio */
body.is-studio { background: #ECE8E0; }
.studio { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; padding-block: 24px 64px; }
@media (max-width: 1100px) { .studio { grid-template-columns: minmax(0, 1fr); } }
.studio .stage { border-color: var(--border); }
.panel { background: var(--surface); border: 1px solid var(--border); padding: clamp(18px, 2.4vw, 28px); }
.panel + .panel { margin-top: 20px; }
.panel h2, .panel h3 { margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { margin: 0; }
.studio-lots { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; }
.studio-lots li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.studio-lots li.is-current { background: #FBF6EC; margin-inline: -12px; padding-inline: 12px; }
.studio-lots img { width: 52px; height: 52px; object-fit: cover; }
.studio-lots .t { font-size: .9rem; line-height: 1.3; }
.studio-lots .t small { display: block; color: var(--muted); font-size: .76rem; }
.control-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.studio-current { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.studio-current img { width: 120px; height: 120px; object-fit: cover; border: 1px solid var(--border); }
.big-number { font-family: var(--font-heading); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-row--zip { grid-template-columns: 140px 1fr; }
@media (max-width: 640px) { .form-row, .form-row--3, .form-row--zip { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
label, .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=datetime-local], input[type=search], input[type=url], select, textarea {
    width: 100%; min-height: 48px; padding: 12px 14px;
    font: 400 1rem/1.4 var(--font-body); color: var(--ink);
    background: #fff; border: 1px solid var(--border-strong); border-radius: 0;
    transition: border-color var(--fast);
    appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
input[type=file] { font: inherit; font-size: .9rem; }
.field-error { color: var(--error); font-size: .84rem; margin: 0; }
.hint { color: var(--muted); font-size: .84rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; }

.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 160px); }
.auth-wrap__visual { background: var(--inverse); color: var(--inverse-ink); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 64px); }
.auth-wrap__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 20%, rgba(140,111,62,.4), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(107,30,43,.5), transparent 50%); }
.auth-wrap__visual > * { position: relative; }
.auth-wrap__visual h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.auth-wrap__visual p { color: var(--inverse-muted); max-width: 30rem; }
.auth-wrap__form { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) var(--page-margin); }
.auth-card { width: min(100%, 440px); }
.auth-card h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-wrap__visual { display: none; } }

/* --------------------------------------------------------- Account / Admin */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 40px var(--section); }
@media (max-width: 900px) { .dash { grid-template-columns: minmax(0, 1fr); } }
.side-nav { display: grid; gap: 2px; align-content: start; position: sticky; top: 100px; }
.side-nav a { text-decoration: none; padding: 11px 14px; font-size: .9rem; border-left: 2px solid transparent; }
.side-nav a:hover { background: var(--bg-2); color: var(--ink); }
.side-nav a.is-active { border-left-color: var(--accent); background: var(--surface); }
.side-nav .side-nav__title { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--brass); padding: 18px 14px 6px; }
.side-nav form { padding: 11px 14px; }
@media (max-width: 900px) { .side-nav { position: static; grid-auto-flow: column; overflow-x: auto; border-bottom: 1px solid var(--border); } .side-nav a { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; } .side-nav a.is-active { border-bottom-color: var(--accent); } .side-nav .side-nav__title { display: none; } }
.page-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.page-title h1 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat { background: var(--surface); border: 1px solid var(--border); padding: 20px; }
.stat__value { font-family: var(--font-heading); font-size: 2rem; line-height: 1.1; }
.stat__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 500; padding: 14px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--bg-2); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .thumb { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--border); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table form { display: inline; }

.empty { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--border-strong); color: var(--muted); }
.empty h3 { color: var(--ink); }

.pm-list { display: grid; gap: 12px; }
.pm { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; }
.pm.is-default { border-color: var(--ink); }
.pm__label { display: flex; align-items: center; gap: 12px; }
.pm__icon { width: 42px; height: 28px; border: 1px solid var(--border); display: grid; place-items: center; font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; background: var(--bg-2); }
.option-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: .95rem; }
.option-card:has(input:checked) { border-color: var(--ink); }
.option-card input { accent-color: var(--accent); }
#payment-element { padding: 16px; background: #fff; border: 1px solid var(--border); }

.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.image-grid figure { margin: 0; border: 1px solid var(--border); background: var(--surface); }
.image-grid img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.image-grid figcaption { display: flex; justify-content: space-between; gap: 6px; padding: 6px; font-size: .72rem; }
.dropzone { border: 1px dashed var(--border-strong); padding: 24px; text-align: center; background: var(--bg); cursor: pointer; transition: border-color var(--fast), background var(--fast); }
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background: var(--surface); }
.dropzone input { display: none; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 12px; }
.preview-grid img { aspect-ratio: 1/1; object-fit: cover; border: 1px solid var(--border); }

details.lot-edit summary { cursor: pointer; list-style: none; }
details.lot-edit summary::-webkit-details-marker { display: none; }
details.lot-edit[open] { background: var(--bg); }
.lot-edit__form { padding: 16px; border-top: 1px solid var(--border); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tabs a { text-decoration: none; padding: 12px 16px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.is-active { border-bottom-color: var(--ink); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { text-decoration: none; border: 1px solid var(--border-strong); padding: 7px 14px; font-size: .8rem; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.auction-hero { background: var(--inverse); color: var(--inverse-ink); position: relative; overflow: hidden; }
.auction-hero__media { position: absolute; inset: 0; opacity: .32; }
.auction-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.auction-hero__inner { position: relative; padding-block: clamp(48px, 7vw, 96px); max-width: 52rem; }
.auction-hero h1 { color: #fff; }
.auction-hero p { color: var(--inverse-muted); }
.auction-hero .eyebrow { color: #d9c49b; }
.facts { display: flex; gap: 36px; flex-wrap: wrap; margin: 28px 0; font-size: .9rem; }
.facts strong { display: block; color: #fff; font-weight: 500; font-size: 1.05rem; }
.facts span { color: var(--inverse-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }

.steps { counter-reset: step; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 18px; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-heading); font-size: 2.2rem; color: var(--brass); display: block; line-height: 1; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--inverse); color: var(--inverse-ink); padding-top: 64px; font-size: .9rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.site-footer__logo { filter: invert(1) brightness(1.8); width: 180px; margin-bottom: 18px; }
.site-footer__claim { color: var(--inverse-muted); max-width: 22rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: #d9c49b; margin-bottom: 14px; }
.site-footer a { display: block; text-decoration: none; color: var(--inverse-ink); padding: 3px 0; }
.site-footer a:hover { color: #d9c49b; }
.site-footer .muted { color: var(--inverse-muted); }
.site-footer address { color: var(--inverse-muted); margin-bottom: 12px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2b2c31; padding-block: 22px; font-size: .8rem; color: var(--inverse-muted); }
.site-footer__legal nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer__legal a { display: inline; color: var(--inverse-muted); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,16,19,.94); z-index: 100; display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; max-width: 92vw; object-fit: contain; }

.reveal { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
