
  :root {
    --white: #FFFFFF;
    --off-white: #F7F6F3;
    --light-grey: #EEECE8;
    --mid-grey: #D4D0C8;
    --text-muted: #888680;
    --text-body: #3A3835;
    --text-dark: #1A1916;
    --olive: #5C6B3A;
    --olive-light: #7A8A50;
    --olive-pale: #EFF2E8;
    --olive-mid: #CDD6B8;
    --border: #E0DDD6;
    --border-dark: #C8C4BA;
    --card-bg: #FAFAF8;
    --charcoal: #2C2B28;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--white);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.6;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    text-decoration: none;
  }

  .nav-logo span { color: var(--olive); }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.25s;
  }

  .nav-links a:hover { color: var(--olive); }

  .nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .btn-ghost {
    background: none;
    border: 1px solid var(--border-dark);
    color: var(--text-body);
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 2px;
  }

  .btn-ghost:hover {
    border-color: var(--olive);
    color: var(--olive);
  }

  .btn-gold {
    background: var(--olive);
    border: none;
    color: var(--white);
    padding: 9px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 2px;
  }

  .btn-gold:hover { background: var(--olive-light); }

  /* HERO */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0 64px 80px;
    overflow: hidden;
    padding-top: 108px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right, rgba(255,255,255,0.94) 35%, rgba(255,255,255,0.5) 65%, rgba(255,255,255,0.1) 100%),
      linear-gradient(to top, rgba(255,255,255,0.85) 0%, transparent 45%);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--olive);
  }

  h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-bottom: 24px;
  }

  h1 em {
    font-style: italic;
    color: var(--olive);
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 36px;
  }

  .hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .hero-stats {
    position: absolute;
    bottom: 80px;
    right: 64px;
    z-index: 2;
    display: flex;
    gap: 40px;
  }

  .stat { text-align: right; }

  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
  }

  .stat-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
  }

  /* TICKER */
  .ticker {
    background: var(--olive);
    padding: 10px 0;
    overflow: hidden;
  }

  .ticker-track {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
  }

  .ticker-item {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .ticker-item::after {
    content: 'Â·';
    font-size: 14px;
    opacity: 0.5;
  }

  /* SECTIONS */
  .section {
    padding: 88px 64px;
  }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
  }

  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 10px;
    font-weight: 500;
  }

  h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-dark);
  }

  .view-all {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 3px;
    transition: all 0.25s;
    white-space: nowrap;
    margin-bottom: 4px;
  }

  .view-all:hover { color: var(--olive); border-color: var(--olive); }

  /* AUCTION GRID */
  .auction-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: transparent;
  }

  .auction-card {
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s;
    position: relative;
    border: 1px solid var(--border);
  }

  .auction-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); z-index: 1; }
  .auction-card:hover .card-img-inner { transform: scale(1.03); }

  .auction-card.featured { grid-column: span 1; }

  .card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--light-grey);
  }

  .auction-card.featured .card-img { aspect-ratio: 16/10; }

  .card-img-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
  }

  .card-badge.live {
    background: var(--olive);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .live-dot {
    width: 5px;
    height: 5px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s ease infinite;
  }

  .card-body { padding: 22px 22px 18px; }

  .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  .card-year {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--olive);
    font-weight: 600;
  }

  .card-lot {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }

  .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 5px;
    color: var(--text-dark);
  }

  .auction-card.featured .card-title { font-size: 19px; }

  .card-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  .bid-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-weight: 500;
  }

  .bid-amount {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
  }

  .auction-card.featured .bid-amount { font-size: 22px; }

  .timer-box { text-align: right; }

  .timer-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-weight: 500;
  }

  .timer {
    font-family: 'Inter', monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--olive);
    letter-spacing: 0.04em;
  }

  /* DETAIL PAGE */
  .auction-detail {
    padding: 104px 64px 80px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .main-img {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--light-grey);
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .thumb-strip { display: flex; gap: 6px; }

  .thumb {
    flex: 1;
    aspect-ratio: 4/3;
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.2s;
    overflow: hidden;
    background: var(--light-grey);
  }

  .thumb:hover, .thumb.active { opacity: 1; }

  .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .photo-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    color: var(--text-muted);
    font-size: 10px;
    padding: 3px 8px;
    letter-spacing: 0.08em;
    font-weight: 500;
  }

  /* BID PANEL */
  .bid-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 88px;
  }

  .panel-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }

  .status-dot {
    width: 7px;
    height: 7px;
    background: #4A8C5C;
    border-radius: 50%;
    animation: pulse 1.5s ease infinite;
  }

  .status-text {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4A8C5C;
    font-weight: 600;
  }

  .ends-in {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
  }

  .car-name-panel {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 5px;
    color: var(--text-dark);
  }

  .car-spec-panel {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
  }

  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 20px;
  }

  .countdown-block {
    background: var(--off-white);
    border: 1px solid var(--border);
    padding: 10px 6px;
    text-align: center;
  }

  .countdown-num {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
    display: block;
  }

  .countdown-unit {
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
    display: block;
    font-weight: 500;
  }

  .current-bid-panel {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--olive-pale);
    border: 1px solid var(--olive-mid);
  }

  .current-bid-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 5px;
    font-weight: 600;
  }

  .current-bid-amount {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
  }

  .bid-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
  }

  .bid-input-row {
    display: flex;
    margin-bottom: 10px;
  }

  .bid-input {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-right: none;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.25s;
  }

  .bid-input:focus { border-color: var(--olive); }
  .bid-input::placeholder { color: var(--mid-grey); }

  .bid-submit {
    background: var(--olive);
    border: none;
    color: var(--white);
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s;
    white-space: nowrap;
  }

  .bid-submit:hover { background: var(--olive-light); }

  .bid-note {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 10px 12px;
    background: var(--off-white);
    border-left: 2px solid var(--olive-mid);
  }

  .panel-actions {
    display: flex;
    gap: 6px;
  }

  .panel-actions button {
    flex: 1;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 9px 6px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .panel-actions button:hover { border-color: var(--olive); color: var(--olive); }

  /* SPEC TABS */
  .detail-specs { margin-top: 40px; }

  .spec-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
  }

  .spec-tab {
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.25s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
  }

  .spec-tab.active { color: var(--olive); border-bottom-color: var(--olive); }

  .spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    margin-bottom: 36px;
  }

  .spec-item {
    background: var(--white);
    padding: 16px 20px;
  }

  .spec-key {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 500;
  }

  .spec-val {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--text-dark);
  }

  .car-description {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-body);
    max-width: 700px;
  }

  .car-description p + p { margin-top: 16px; }

  /* Q&A */
  .qa-section {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 36px;
  }

  .qa-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-dark);
  }

  .qa-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
  }

  .qa-q {
    font-size: 13px;
    color: var(--text-body);
    margin-bottom: 10px;
  }

  .qa-from {
    color: var(--olive);
    font-size: 10px;
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .qa-a {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    border-left: 2px solid var(--olive-mid);
    line-height: 1.7;
  }

  .qa-input-row { display: flex; margin-top: 20px; }

  .qa-input {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-right: none;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 12px 14px;
    outline: none;
  }

  .qa-input::placeholder { color: var(--mid-grey); }

  .qa-submit {
    background: none;
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
    padding: 12px 18px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.25s;
    white-space: nowrap;
  }

  .qa-submit:hover { border-color: var(--olive); color: var(--olive); }

  /* HOW IT WORKS */
  .how-it-works {
    background: var(--off-white);
    padding: 88px 64px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 48px;
  }

  .step {
    background: var(--off-white);
    padding: 36px 28px;
  }

  .step-num {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--olive-mid);
    line-height: 1;
    margin-bottom: 16px;
  }

  .step-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
  }

  .step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* SELL BANNER */
  .sell-banner {
    padding: 72px 64px;
    background: var(--olive);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .sell-text h2 { color: var(--white); margin-bottom: 10px; }
  .sell-text p { font-size: 14px; color: rgba(255,255,255,0.75); max-width: 480px; line-height: 1.7; }

  .sell-banner .btn-ghost {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
  }

  .sell-banner .btn-ghost:hover {
    border-color: var(--white);
    color: var(--white);
  }

  .sell-banner .btn-gold {
    background: var(--white);
    color: var(--olive);
  }

  .sell-banner .btn-gold:hover { background: var(--off-white); }

  /* FOOTER */
  footer {
    padding: 56px 64px 28px;
    border-top: 1px solid var(--border);
    background: var(--off-white);
  }

  .footer-top {
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    color: var(--text-dark);
  }

  .footer-logo span { color: var(--olive); }

  .footer-tagline {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .footer-col h4 {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 16px;
    font-weight: 600;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s;
  }

  .footer-col ul a:hover { color: var(--olive); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .footer-bottom p { font-size: 11px; color: var(--text-muted); }

  /* PAGE TOGGLE */
  .page { display: none; }
  .page.active { display: block; }

  /* SEARCH BAR */
  .search-bar {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 24px 36px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin: -20px 64px 56px;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  }

  .search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    outline: none;
  }

  .search-input::placeholder { color: var(--mid-grey); }

  .search-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
  }

  .search-filter {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 14px;
    transition: color 0.25s;
    font-weight: 500;
  }

  .search-filter:hover { color: var(--olive); }

  .search-btn {
    background: var(--olive);
    border: none;
    color: var(--white);
    padding: 10px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.25s;
  }

  .search-btn:hover { background: var(--olive-light); }

  /* FILTER TAGS */
  .filter-tags { display: flex; gap: 6px; flex-wrap: wrap; }

  .filter-tag {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 5px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    font-weight: 500;
    border-radius: 2px;
  }

  .filter-tag.active, .filter-tag:hover {
    border-color: var(--olive);
    color: var(--olive);
    background: var(--olive-pale);
  }

  /* BID HISTORY */
  .bid-history {
    margin-top: 14px;
    max-height: 150px;
    overflow-y: auto;
  }

  .bid-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
  }

  .bid-row:last-child { border: none; }
  .bidder { color: var(--text-muted); }
  .bid-val { color: var(--text-dark); font-family: 'Playfair Display', serif; font-size: 14px; }
  .bid-time { color: var(--mid-grey); font-size: 10px; }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
  }

  /* =====================
     LOT CARD â€” INFINITE SCROLL
  ===================== */
  .lot-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
  }

  .lot-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border);
  }

  .lot-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .lot-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .lot-badge.live {
    background: var(--olive);
    color: var(--white);
  }

  .lot-number {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 500;
  }

  .lot-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 6px;
  }

  .lot-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .lot-main-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light-grey);
  }

  .lot-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .lot-card:hover .lot-main-img img {
    transform: scale(1.02);
  }

  .lot-photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.92);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 0.06em;
  }

  .lot-thumbs {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
  }

  .lot-thumb {
    flex: 1;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    background: var(--light-grey);
    border-radius: 1px;
  }

  .lot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .lot-thumb:hover,
  .lot-thumb.active {
    opacity: 1;
    outline: 2px solid var(--olive);
    outline-offset: -2px;
  }

  .lot-synopsis {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
  }

  .lot-synopsis p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-body);
  }

  .lot-bid-bar {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0;
    align-items: center;
    background: var(--card-bg);
    border-top: none;
  }

  .lot-bid-info,
  .lot-timer-info {
    padding: 20px 24px;
    border-right: 1px solid var(--border);
  }

  .lot-bid-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
  }

  .lot-bid-amount {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 3px;
  }

  .lot-timer-val {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 3px;
  }

  .lot-bid-count {
    font-size: 11px;
    color: var(--olive);
    font-weight: 500;
  }

  .lot-actions {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .lot-watch-btn {
    background: none;
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 2px;
    text-align: center;
  }

  .lot-watch-btn:hover {
    border-color: var(--olive);
    color: var(--olive);
  }

  .lot-divider {
    height: 32px;
  }

  /* Mobile lot cards */
  @media (max-width: 768px) {
    .lot-header { padding: 20px 16px 16px; }
    .lot-title { font-size: 20px; }
    .lot-synopsis { padding: 16px; }
    .lot-bid-bar { grid-template-columns: 1fr 1fr; }
    .lot-actions { grid-column: span 2; padding: 12px 16px; flex-direction: row; border-top: 1px solid var(--border); }
    .lot-actions .btn-gold { flex: 1; }
    .lot-actions .lot-watch-btn { flex-shrink: 0; }
    .lot-bid-info, .lot-timer-info { padding: 14px 16px; }
    .lot-bid-amount { font-size: 20px; }
    .lot-thumbs { gap: 3px; padding: 6px; }
  }

  /* HERO PHOTO */
  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: 0;
  }

  /* =====================
     MOBILE RESPONSIVE
  ===================== */
  @media (max-width: 768px) {

    /* Announcement bar â€” single line on mobile */
    div[style*="position:fixed;top:0"] {
      padding: 8px 16px !important;
      gap: 8px !important;
      flex-wrap: wrap;
      justify-content: center !important;
    }

    /* Nav */
    nav {
      padding: 0 16px;
      height: 56px;
      top: 32px !important;
    }

    .nav-links { display: none; }

    .nav-actions .btn-ghost { display: none; }

    .btn-gold {
      padding: 8px 14px;
      font-size: 11px;
    }

    /* Hero */
    .hero {
      min-height: 85vh;
      padding: 0 20px 48px;
      padding-top: 100px;
      align-items: flex-end;
    }

    .hero-bg {
      background:
        linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 100%),
        linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 50%);
    }

    h1 {
      font-size: clamp(36px, 10vw, 52px);
      margin-bottom: 16px;
    }

    .hero-sub { font-size: 13px; max-width: 100%; margin-bottom: 24px; }

    .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

    .hero-actions button { width: 100%; text-align: center; }

    /* Sections */
    .section { padding: 56px 16px; }

    .section-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 28px;
    }

    h2 { font-size: clamp(24px, 7vw, 36px); }

    /* Search bar */
    .search-bar {
      margin: -16px 16px 32px;
      padding: 16px;
      flex-wrap: wrap;
      gap: 8px;
    }

    .search-divider { display: none; }
    .search-filter { display: none; }

    .search-input { font-size: 15px; width: 100%; }

    .search-btn { width: 100%; padding: 12px; }

    /* Filter tags â€” horizontal scroll */
    .filter-tags {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 4px;
      margin-bottom: 20px;
    }

    .filter-tag { white-space: nowrap; flex-shrink: 0; }

    /* Auction grid â€” single column on mobile */
    .auction-grid {
      grid-template-columns: 1fr !important;
      gap: 1px;
    }

    .auction-card.featured { grid-column: span 1; }

    .auction-card.featured .card-img { aspect-ratio: 16/10; }
    .auction-card.featured .card-title { font-size: 20px; }
    .auction-card.featured .bid-amount { font-size: 22px; }

    .card-sub { display: none; }

    /* How it works â€” 2 col on mobile */
    .steps-grid {
      grid-template-columns: 1fr 1fr;
    }

    .step { padding: 24px 16px; }
    .step-num { font-size: 36px; }

    /* Sell banner */
    .sell-banner {
      flex-direction: column;
      padding: 48px 20px;
      gap: 24px;
      text-align: center;
    }

    .sell-banner > div:last-child {
      flex-direction: column;
      width: 100%;
    }

    .sell-banner button { width: 100%; }

    /* Footer */
    footer { padding: 40px 16px 20px; }

    .footer-top {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .footer-bottom {
      flex-direction: column;
      gap: 8px;
      text-align: center;
    }

    /* Auction detail page */
    .auction-detail {
      grid-template-columns: 1fr;
      padding: 88px 16px 48px;
      gap: 32px;
    }

    .bid-panel { position: static; }

    .thumb-strip { gap: 4px; }

    /* Spec grid â€” 2 col */
    .spec-grid { grid-template-columns: 1fr 1fr; }

    /* Spec tabs â€” scrollable */
    .spec-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .spec-tab { white-space: nowrap; }

    /* Festival & inaugral sections */
    .how-it-works { padding: 56px 16px; }

    /* Festival page detail grid */
    div[style*="grid-template-columns:1fr 1fr"] {
      grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns:repeat(4,1fr)"] {
      grid-template-columns: 1fr 1fr !important;
    }

    div[style*="grid-template-columns:repeat(3,1fr)"] {
      grid-template-columns: 1fr !important;
    }

    /* Festival hero date badge â€” hide on mobile, too large */
    div[style*="position:absolute;right:64px"] {
      display: none !important;
    }

    /* Inaugural section padding */
    div[style*="padding:64px 48px"] {
      padding: 40px 16px !important;
    }

    div[style*="padding:80px 48px"] {
      padding: 48px 16px !important;
    }

    div[style*="padding:100px 48px"] {
      padding: 56px 16px !important;
    }

    div[style*="padding: 100px 48px"] {
      padding: 56px 16px !important;
    }

    /* Auctions page header */
    section[style*="padding: 60px 48px"] {
      padding: 20px 16px 0 !important;
    }

    section[style*="padding: 0 48px 100px"] {
      padding: 0 16px 56px !important;
    }

    /* Bid panel quick bid */
    #quick-bid-btn { font-size: 12px; padding: 12px 8px; }

    /* Countdown grid */
    .countdown-grid { gap: 4px; }
    .countdown-num { font-size: 20px; }

    /* Q&A */
    .qa-input-row { flex-direction: column; }
    .qa-input { border-right: 1px solid var(--border-dark); border-bottom: none; }
    .qa-submit { border-top: none; padding: 12px; text-align: center; }

    /* Festival page */
    div[style*="height:560px"] { height: 400px !important; }
    div[style*="height:520px"] { height: 340px !important; }

    div[style*="grid-template-columns:repeat(4,1fr);gap:1px"] {
      grid-template-columns: 1fr 1fr !important;
    }

    /* Hamburger menu button */
    .mobile-menu-btn {
      display: flex !important;
    }
  }

  /* Mobile menu button â€” hidden on desktop */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 6px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    border-radius: 2px;
  }

  .mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
  }

  /* Mobile nav drawer */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 88px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 150;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .mobile-nav.open { display: flex; }

  .mobile-nav a {
    display: block;
    padding: 14px 16px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.04em;
  }

  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--olive); background: var(--olive-pale); }
