/* ============ Vintage Auctions — tokens ============ */
:root {
  --font-display: 'Gambetta', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  --ink: #17110b;
  --ink-2: #1f1710;
  --ink-3: #292017;
  --ink-4: #332816;
  --cream: #f6efdf;
  --cream-2: #efe6d1;
  --cream-3: #e7dcc2;

  --gold: #d9a441;
  --gold-bright: #eebb55;
  --gold-deep: #a87c24;
  --gold-pale: #f0d9a6;

  --ink-text: #f3ead8;
  --ink-text-muted: #c4b598;
  --ink-text-faint: #8d7f66;
  --cream-text: #2b2317;
  --cream-text-muted: #6f6350;

  --line-on-ink: oklch(0.92 0.04 90 / 0.14);
  --line-on-cream: oklch(0.25 0.03 70 / 0.16);

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-default: 1080px;
  --content-wide: 1240px;
}

/* ============ Shared ============ */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-10));
}

.container-wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-10));
}

.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

.kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 6px 24px oklch(0.75 0.13 85 / 0.25);
}

.btn-gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 8px 28px oklch(0.78 0.13 85 / 0.35);
}

.btn-gold:active {
  background: var(--gold-deep);
  color: var(--ink-text);
}

.btn-ghost-light {
  border-color: var(--line-on-ink);
  color: var(--ink-text);
  background: oklch(0.14 0.02 70 / 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(0.16 0.02 70 / 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  line-height: 1.05;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink-text);
  letter-spacing: 0.02em;
}

.brand-name em {
  font-style: normal;
  color: var(--gold-bright);
}

.brand-sub {
  font-size: var(--text-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-text-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-sm);
  color: var(--ink-text-muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--gold-bright);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.phone-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-text);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, oklch(0.14 0.02 70 / 0.95) 0%, oklch(0.14 0.02 70 / 0.82) 38%, oklch(0.14 0.02 70 / 0.25) 72%, oklch(0.14 0.02 70 / 0.05) 100%),
    linear-gradient(to top, oklch(0.14 0.02 70 / 0.9), transparent 40%);
}

.hero-content {
  max-width: 620px;
  padding-block: var(--space-24) var(--space-20);
}

.hero-kicker {
  color: var(--gold-bright);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-3xl);
  line-height: 1.04;
  color: var(--ink-text);
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero-lede {
  font-size: var(--text-lg);
  color: var(--ink-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-text-muted);
}

.hero-note svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* ============ Marquee ============ */
.marquee {
  border-block: 1px solid var(--line-on-ink);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: var(--space-4);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink-text-faint);
  padding-inline: var(--space-6);
  white-space: nowrap;
}

.marquee-track span::after {
  content: '·';
  color: var(--gold);
  margin-left: var(--space-12);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============ Collections ============ */
.collections {
  background: var(--cream);
  color: var(--cream-text);
}

.collections-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.collections-head .kicker {
  color: var(--gold-deep);
  margin-bottom: var(--space-3);
}

.collections-head p {
  color: var(--cream-text-muted);
  max-width: 38ch;
  font-size: var(--text-sm);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.card--feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.13 0.02 70 / 0.85) 0%, oklch(0.13 0.02 70 / 0.25) 45%, transparent 70%);
}

.card-body {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--ink-text);
}

.card--feature h3 {
  font-size: var(--text-xl);
}

.card p {
  font-size: var(--text-sm);
  color: var(--ink-text-muted);
  max-width: 40ch;
}

.card:hover img {
  transform: scale(1.045);
}

.card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============ Estate / About ============ */
.estate {
  background: var(--ink-2);
  color: var(--ink-text);
}

.estate-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

.estate .kicker {
  color: var(--gold-bright);
  margin-bottom: var(--space-4);
}

.estate h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

.estate h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

.estate-copy p {
  color: var(--ink-text-muted);
  margin-bottom: var(--space-5);
}

.estate-copy a {
  color: var(--gold-bright);
}

.estate-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--ink-text);
  border-left: 2px solid var(--gold);
  padding-left: var(--space-6);
  margin-bottom: var(--space-8);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-on-ink);
}

.step::before {
  content: '0' counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-3);
  line-height: 1;
}

.step h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink-text);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-sm);
  color: var(--ink-text-muted);
}

/* ============ Preview / Notify ============ */
.preview {
  position: relative;
  background:
    radial-gradient(80% 90% at 15% 10%, oklch(0.32 0.05 75 / 0.55), transparent 60%),
    var(--ink);
  color: var(--ink-text);
  text-align: center;
  overflow: hidden;
}

.preview-watermark {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: min(420px, 70vw);
  height: auto;
  color: var(--gold);
  opacity: 0.08;
  pointer-events: none;
}

.preview .container {
  position: relative;
  z-index: 1;
}

.preview .kicker {
  color: var(--gold-bright);
  margin-bottom: var(--space-4);
}

.preview h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

.preview h2 em {
  font-style: italic;
  color: var(--gold-bright);
}

.preview-lede {
  color: var(--ink-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.notify-form {
  display: flex;
  gap: var(--space-3);
  max-width: 540px;
  margin-inline: auto;
}

.notify-form label {
  flex: 1;
}

.field {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-base);
  color: var(--ink-text);
  background: oklch(0.93 0.04 90 / 0.08);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-full);
}

.field::placeholder {
  color: var(--ink-text-faint);
}

.field:focus {
  outline: none;
  border-color: var(--gold);
  background: oklch(0.93 0.04 90 / 0.12);
}

.notify-fineprint {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--ink-text-muted);
}

.notify-fineprint a {
  white-space: nowrap;
}

.notify-confirm {
  display: none;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gold-bright);
}

.notify-confirm.is-visible {
  display: block;
}

/* ============ Contact ============ */
.contact {
  background: var(--cream-2);
  color: var(--cream-text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}

.contact .kicker {
  color: var(--gold-deep);
  margin-bottom: var(--space-4);
}

.contact h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

.contact p {
  color: var(--cream-text-muted);
  margin-bottom: var(--space-6);
}

.contact-phone {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--cream-text);
}

.contact-phone strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  color: var(--cream-text);
  transition: color var(--transition-interactive);
}

.contact-phone:hover strong {
  color: var(--gold-deep);
}

.contact-phone span {
  font-size: var(--text-sm);
  color: var(--cream-text-muted);
}

.contact-card {
  background: var(--ink-2);
  color: var(--ink-text);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--gold-bright);
}

.contact-card a {
  color: var(--ink-text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-lg);
}

.contact-card a:hover {
  color: var(--gold-bright);
}

.contact-card p {
  color: var(--ink-text-muted);
  font-size: var(--text-sm);
  margin: 0;
  max-width: none;
}

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: var(--ink-text-faint);
  border-top: 1px solid var(--line-on-ink);
  padding-block: var(--space-10);
  font-size: var(--text-xs);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink-text-muted);
}

.footer-brand svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--ink-text);
}

.footer a {
  color: var(--ink-text-muted);
}

.footer a:hover {
  color: var(--gold-bright);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--feature {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .estate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-6) var(--space-8);
    background: var(--ink-2);
    border-bottom: 1px solid var(--line-on-ink);
    transform: translateY(-102%);
    visibility: hidden;
    transition:
      transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 300ms;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-link {
    display: block;
    padding: var(--space-3) 0;
    font-size: var(--text-base);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--ink-text);
  }

  .brand-sub {
    letter-spacing: 0.18em;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  .card--feature {
    grid-column: auto;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form .btn {
    width: 100%;
  }

  .hero-content {
    padding-block: var(--space-16);
  }

  .header-cta .btn {
    display: none;
  }
}

/* =============================================
   Live auction section
   ============================================= */
.live {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 0%, oklch(0.88 0.09 85 / 0.4), transparent 62%),
    var(--cream);
  color: var(--cream-text);
  text-align: center;
}

.live-inner {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  max-width: 56rem;
  margin-inline: auto;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  background: oklch(0.97 0.04 85 / 0.55);
  color: var(--gold-deep);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-deep);
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.68 0.12 80 / 0.55); }
  75% { box-shadow: 0 0 0 0.6rem oklch(0.68 0.12 80 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.68 0.12 80 / 0); }
}

.live-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.live-dates {
  font-size: var(--text-lg);
  color: var(--cream-text-muted);
}

.live-dates strong {
  color: var(--gold-deep);
  white-space: nowrap;
}

.live-lede {
  max-width: 44rem;
  font-size: var(--text-base);
  color: var(--cream-text-muted);
}

.live-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-2);
}

.live-alt {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.68 0.12 80 / 0.4);
  padding-bottom: 0.1rem;
}

.live-alt:hover,
.live-alt:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav-link-live {
  color: var(--gold-bright);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
