/* === BASE === */
:root {
  --bg: #09090b;
  --fg: #f4f0e8;
  --fg-muted: #8a8578;
  --accent: #f59e0b;
  --accent-dim: #78350f;
  --surface: #111115;
  --surface-2: #1a1a20;
  --border: rgba(244, 240, 232, 0.08);
  --grid: rgba(244, 240, 232, 0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #000; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; line-height: 1.1; }

/* === NOISE TEXTURE === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* === GRID OVERLAY === */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(9, 9, 11, 0.7);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--fg);
}

.nav-logo-mark {
  font-size: 0.75rem;
  color: var(--accent);
}

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.7;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.hero-stat-card--accent {
  border-color: var(--accent-dim);
  background: rgba(245, 158, 11, 0.04);
}

.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 0.375rem;
}

.hero-stat-value {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-card--accent .hero-stat-value {
  color: var(--accent);
}

.hero-stat-sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.hero-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.hero-footer-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.hero-footer-number {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.hero-footer-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.hero-footer-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* === COUNTDOWN === */
.countdown {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.countdown-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.countdown-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.countdown-clock {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.countdown-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.countdown-date {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.countdown-date--start { color: var(--accent); }

.countdown-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
}

.countdown-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.4));
  border-radius: 2px;
}

.countdown-bar-marker {
  position: absolute;
  left: 35%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.countdown-probabilities {
  display: flex;
  gap: 1.5rem;
}

.countdown-prob {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.countdown-prob-pct {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.countdown-prob-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* === EXPERTS === */
.experts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.experts-header {
  margin-bottom: 3rem;
  max-width: 560px;
}

.experts-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.experts-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.expert-card {
  background: var(--surface);
  padding: 1.75rem;
}

.expert-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.expert-role {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.expert-prediction {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.expert-card--cautious .expert-prediction {
  color: var(--fg-muted);
  font-size: 1.4rem;
}

.expert-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  font-style: italic;
}

.experts-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
}

/* === BENCHMARKS === */
.benchmarks {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benchmarks .benchmarks,
.benchmarks-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.benchmarks-header {
  margin-bottom: 3rem;
}

.benchmarks-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.benchmarks-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.7;
}

.benchmarks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benchmark-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.benchmark-name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.benchmark-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.benchmark-status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benchmark-bar-wrap {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.benchmark-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.3));
  border-radius: 2px;
}

.benchmark-score {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === TIMELINE === */
.timeline-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.timeline-header {
  margin-bottom: 3rem;
}

.timeline-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.timeline-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.7;
}

.timeline-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-year {}

.timeline-col {}

.timeline-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-bar-fill {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.timeline-bar-fill--active {
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.2));
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.timeline-bar-label {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  min-width: 40px;
}

.timeline-bar-pred {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Bar widths by year */
.timeline-bar--2023 .timeline-bar-fill { width: 30%; }
.timeline-bar--2024 .timeline-bar-fill { width: 45%; }
.timeline-bar--2025 .timeline-bar-fill { width: 60%; }
.timeline-bar--2026 .timeline-bar-fill { width: 72%; }

.timeline-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  padding-left: 4.5rem;
  line-height: 1.5;
}

.timeline-note--now {
  color: var(--accent);
  font-weight: 500;
}

/* === CLOSING === */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-body {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-sep { color: var(--border); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2rem;
  }

  .hero-right {
    order: -1;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-footer {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 3rem;
  }

  .hero-footer-sep { display: none; }

  .countdown-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown-probabilities {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }
}