/* ── Tokens ─────────────────────────────────────────── */
:root {
  --bg: #0b0b0d;
  --bg-card: #131316;
  --bg-card-2: #1a1a1f;
  --gold: #c9a84c;
  --gold-dim: #8a6f2e;
  --teal: #00d4b8;
  --teal-dim: #007a69;
  --text: #f0ece4;
  --text-muted: #8a8780;
  --text-dim: #4a4840;
  --border: rgba(201,168,76,0.15);
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-head);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(11,11,13,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em; color: var(--gold); }
.nav-badge { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; }
.nav-link { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.06em; transition: color 0.15s; }
.nav-link:hover { color: var(--gold); }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 6rem 2rem 5rem; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-kicker { font-family: var(--font-mono); font-size: 0.75rem; color: var(--teal); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-headline { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); max-width: 440px; }

/* ── Card slab stack ─────────────────────────────────── */
.hero-card-stack { position: relative; height: 380px; }
.card-slab {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(201,168,76,0.1);
}
.slab-top  { top: 0; left: 20px; z-index: 3; transform: rotate(-4deg); }
.slab-mid  { top: 70px; left: 60px; z-index: 2; transform: rotate(2deg); }
.slab-bot  { top: 130px; left: 30px; z-index: 1; transform: rotate(-2deg); }
.slab-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.slab-name  { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.slab-set   { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }

/* ── Ethos ───────────────────────────────────────────── */
.ethos { padding: 5rem 2rem; border-top: 1px solid var(--border); }
.ethos-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.ethos-num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1rem; }
.ethos-item h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.ethos-item p  { font-size: 0.9rem; line-height: 1.65; color: var(--text-muted); }

/* ── Collection ──────────────────────────────────────── */
.collection { padding: 5rem 2rem; }
.collection-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--teal); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.section-headline { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 3rem; }
.era-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.era-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
}
.era-tag { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 1rem; }
.era-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.era-card p  { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); }

/* ── Grading ─────────────────────────────────────────── */
.grading { padding: 5rem 2rem; border-top: 1px solid var(--border); }
.grading-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grading-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.grading-body { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 2rem; }
.grading-stat-row { display: flex; gap: 2rem; }
.gstat { display: flex; flex-direction: column; }
.gstat-val { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 500; color: var(--gold); }
.gstat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Population chart */
.grading-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.pop-chart { display: flex; align-items: flex-end; gap: 0.75rem; height: 160px; margin-bottom: 1rem; }
.pop-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--gold-dim), var(--gold));
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
}
.pop-bar span { font-family: var(--font-mono); font-size: 0.6rem; color: var(--bg); font-weight: 500; }
.pop-caption { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); text-align: center; }

/* ── Closing ─────────────────────────────────────────── */
.closing { padding: 6rem 2rem; }
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-headline { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.closing-sub { font-size: 1rem; line-height: 1.7; color: var(--text-muted); max-width: 560px; }
.closing-rule { width: 60px; height: 2px; background: linear-gradient(to right, var(--gold), transparent); margin-top: 3rem; }

/* ── Footer ──────────────────────────────────────────── */
.footer { padding: 3rem 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.15s; }
.footer-link:hover { color: var(--gold); }
.footer-note { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); text-align: right; max-width: 280px; line-height: 1.6; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card-stack { height: 280px; }
  .card-slab { width: 200px; padding: 1rem; }
  .slab-top  { top: 0; left: 10px; }
  .slab-mid  { top: 50px; left: 40px; }
  .slab-bot  { top: 100px; left: 15px; }
  .ethos-inner { grid-template-columns: 1fr; gap: 2rem; }
  .era-grid { grid-template-columns: 1fr; }
  .grading-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; max-width: 100%; }
}