/* Spirit Fingers — Comp Deep-Dive Pages — shared CSS */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg: #050507;
  --surface: #0a0a0f;
  --surface2: #111118;
  --surface3: #161620;
  --border: #1a1a25;
  --border2: #25253a;
  --text: #f0eee8;
  --dim: #a09cb0;
  --muted: #6a6680;
  --red: #d42030;
  --red-glow: rgba(212,32,48,.35);
  --red-soft: rgba(212,32,48,.08);
  --gold: #f0c040;
  --green: #4ed8a0;
  --heading: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --sub: 'Oswald', 'Inter', sans-serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94); }
.rv.vis { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .10s; }
.rv-d2 { transition-delay: .20s; }
.rv-d3 { transition-delay: .30s; }

/* ─── nav ─── */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: linear-gradient(to bottom, rgba(5,5,7,.92), rgba(5,5,7,.4) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.topnav a {
  font-family: var(--sub);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
.topnav a:hover { color: var(--text); }
.topnav .brand { color: var(--red); font-weight: 600; }

/* ─── hero ─── */
.comp-hero {
  padding: 160px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.comp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, var(--red-soft) 0%, transparent 60%);
}
.comp-hero > * { position: relative; }
.comp-eyebrow {
  font-family: var(--sub);
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.comp-title {
  font-family: var(--heading);
  font-size: clamp(56px, 9vw, 130px);
  line-height: .9;
  letter-spacing: -1px;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(212,32,48,.18);
}
.comp-tagline {
  font-family: var(--sub);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.45;
  color: var(--dim);
  max-width: 800px;
  letter-spacing: .3px;
}
.comp-tagline em { color: var(--red); font-style: italic; font-weight: 400; }

/* ─── section ─── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.section-tag {
  font-family: var(--sub);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--heading);
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: 1px;
  color: white;
  line-height: 1;
  margin-bottom: 28px;
}
.section h3 {
  font-family: var(--heading);
  font-size: 26px;
  letter-spacing: 1px;
  color: white;
  margin: 32px 0 14px;
  text-transform: uppercase;
}
.section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--dim);
  margin-bottom: 18px;
  max-width: 920px;
}
.section p strong { color: var(--text); font-weight: 500; }
.section p em { color: var(--text); font-style: italic; }
.section ul { list-style: none; margin: 0 0 24px; padding: 0; max-width: 920px; }
.section ul li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--dim);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.section ul li:last-child { border-bottom: 0; }
.section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.section ul li strong { color: var(--text); font-weight: 600; }

/* ─── revenue mix table ─── */
.mix-table {
  margin: 24px 0 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface2);
  max-width: 920px;
}
.mix-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  align-items: center;
}
.mix-row:last-child { border-bottom: 0; }
.mix-row.mix-head {
  font-family: var(--sub);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  background: var(--surface3);
  padding: 12px 20px;
}
.mix-seg { color: var(--text); font-weight: 500; }
.mix-pct { color: var(--gold); font-family: var(--heading); font-size: 22px; letter-spacing: 1px; }
.mix-amt { color: var(--dim); font-size: 13.5px; }
@media (max-width: 720px) {
  .mix-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .mix-pct { font-size: 18px; }
}

/* ─── stat-grid (peak metrics) ─── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 20px;
}
.stat-num {
  font-family: var(--heading);
  font-size: 36px;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--sub);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.stat-detail { font-size: 13.5px; color: var(--dim); line-height: 1.55; }

/* ─── draws / avoids ─── */
.draws {
  background: linear-gradient(180deg, rgba(78,216,160,.04), var(--surface2));
  border-left: 3px solid var(--green);
  padding: 32px 36px;
  margin: 24px 0 12px;
  max-width: 920px;
  border-radius: 4px;
}
.avoids {
  background: linear-gradient(180deg, rgba(212,32,48,.05), var(--surface2));
  border-left: 3px solid var(--red);
  padding: 32px 36px;
  margin: 24px 0 12px;
  max-width: 920px;
  border-radius: 4px;
}
.draws h3, .avoids h3 { margin-top: 0; font-size: 22px; }
.draws p, .avoids p { font-size: 15px; }
.draws ul li::before { background: var(--green); }
.avoids ul li::before { background: var(--red); }

/* ─── timeline ─── */
.timeline {
  margin: 24px 0;
  max-width: 920px;
  border-left: 2px solid var(--border);
  padding-left: 28px;
}
.timeline-item {
  position: relative;
  padding: 10px 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 18px;
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.timeline-year {
  font-family: var(--heading);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}
.timeline-text { font-size: 14.5px; color: var(--dim); line-height: 1.6; }

/* ─── footer cta ─── */
.foot-cta {
  text-align: center;
  padding: 80px 32px 100px;
  border-top: 1px solid var(--border);
}
.foot-cta a {
  display: inline-block;
  font-family: var(--sub);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--border2);
  background: var(--surface2);
  transition: all .25s;
  border-radius: 2px;
}
.foot-cta a:hover {
  border-color: var(--red);
  color: white;
  background: var(--surface3);
  transform: translateY(-2px);
}
.foot-cta-line {
  font-family: var(--sub);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

/* tighten on mobile */
@media (max-width: 720px) {
  .comp-hero { padding: 130px 24px 60px; }
  .section { padding: 60px 24px; }
  .draws, .avoids { padding: 26px 22px; }
}