/* ============================
   Auctoire — Custom Stylesheet
   ============================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #111111;
  --bg-secondary: #1a1a1a;
  --surface: #222222;
  --fg: #f0ede6;
  --fg-muted: #9e9a93;
  --accent: #c9a96e;
  --accent-dim: #8a6f3f;
  --border: rgba(201, 169, 110, 0.2);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  margin-left: auto;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55vw;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accent-line {
  width: 3px;
  height: 3.5rem;
  background: var(--accent);
  border-radius: 2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 42ch;
  font-weight: 300;
}

/* Stat row */
.hero-stat-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.hero-stat {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.01em;
}

.stat-note {
  font-size: 0.8rem;
  color: var(--accent-dim);
  font-weight: 400;
}

/* ---------- SECTION SHARED ---------- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  padding: 6rem 2.5rem;
  background: var(--bg-secondary);
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.steps-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-right: 1px solid var(--border);
  padding-right: 3rem;
}

.step:last-child {
  border-right: none;
  padding-right: 0;
}

.step:not(:first-child) {
  padding-left: 3rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent-dim);
  line-height: 1;
  display: block;
  margin-bottom: 1.25rem;
  opacity: 0.5;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- MARKETS ---------- */
.markets {
  padding: 6rem 2.5rem;
  background: var(--bg);
}

.markets-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
}

.market-card {
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.market-drouot { background: var(--bg-secondary); }
.market-vestiaire { background: var(--bg-secondary); }

.market-icon {
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

.market-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.market-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.market-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.market-facts li {
  font-size: 0.8rem;
  color: var(--accent-dim);
  padding-left: 1rem;
  position: relative;
}

.market-facts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
}

.market-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  padding: 7rem 2.5rem;
  background: var(--bg-secondary);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 65ch;
}

/* ---------- CLOSING ---------- */
.closing {
  padding: 7rem 2.5rem;
  background: var(--bg);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 55ch;
  font-weight: 300;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .tagline { display: none; }

  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stat-row { flex-direction: row; flex-wrap: wrap; }
  .hero-stat { flex: 1; min-width: 120px; }
  .stat-divider { width: 100%; height: 1px; }

  .how-it-works { padding: 4rem 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 0; }
  .step:not(:first-child) { padding-left: 0; }
  .step:last-child { border-bottom: none; }

  .markets { padding: 4rem 1.5rem; }
  .markets-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .market-connector { transform: rotate(90deg); }

  .manifesto { padding: 4rem 1.5rem; }
  .closing { padding: 4rem 1.5rem; }
  .site-footer { padding: 2rem 1.5rem; }
}