*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: #ff4444; color: #fff; }
html { scroll-behavior: smooth; }
body { background: #0a0a0a; color: #e8e8e8; font-family: 'Syne', sans-serif; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; }

.mono { font-family: 'JetBrains Mono', monospace; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.red { color: #ff4444; }

/* Fade-in on scroll */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 32px; display: flex; justify-content: space-between; align-items: center;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,68,68,0.2);
}
.nav-logo { font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 3px; color: #ff4444; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #888; transition: color 0.2s; text-decoration: none;
}
.nav-links a:hover { color: #ff4444; }
.nav-links a.active { color: #ff4444; }

/* Pulse */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse { animation: pulse 2s ease-in-out infinite; }

/* Redline */
.redline { height: 3px; background: linear-gradient(90deg, transparent, #ff4444, transparent); }

/* Section padding */
.section { padding: 100px clamp(24px, 5vw, 80px); max-width: 1200px; margin: 0 auto; }
.section-narrow { padding: 100px clamp(24px, 5vw, 80px); max-width: 800px; margin: 0 auto; }

/* Deep page article styling */
.article-body { color: #bbb; font-size: 1.1rem; line-height: 1.85; max-width: 720px; }
.article-body p { margin-bottom: 24px; }
.article-body strong, .article-body em.highlight { color: #fff; }
.article-body .evidence {
  background: #111; border-left: 3px solid #ff4444; padding: 24px 32px; margin: 32px 0;
  font-size: 1rem;
}
.article-body .evidence .source {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #555; letter-spacing: 1px; margin-top: 12px;
}
.article-body blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-style: italic; font-weight: 700;
  color: #fff; line-height: 1.4; padding: 0 0 0 28px;
  border-left: 2px solid #ff4444; margin: 40px 0;
}
.article-body blockquote cite {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: #888; font-style: normal; letter-spacing: 1px; margin-top: 12px;
}
.article-body a { color: #ff4444; text-decoration-color: rgba(255,68,68,0.3); }
.article-body a:hover { text-decoration-color: #ff4444; }

/* Next chapter CTA */
.next-chapter {
  display: block; text-decoration: none;
  background: #111; border: 1px solid #1a1a1a; padding: 48px;
  margin-top: 80px; transition: all 0.4s; position: relative; overflow: hidden;
}
.next-chapter::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: #ff4444; transition: width 0.4s;
}
.next-chapter:hover { border-color: #ff4444; transform: translateX(4px); }
.next-chapter:hover::before { width: 6px; }
.next-chapter .label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 3px;
  color: #ff4444; text-transform: uppercase; margin-bottom: 12px;
}
.next-chapter .title {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900; color: #fff; margin-bottom: 8px;
}
.next-chapter .teaser { color: #888; font-size: 0.95rem; line-height: 1.6; }
.next-chapter .arrow {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  font-size: 2rem; color: #ff4444; transition: transform 0.3s;
}
.next-chapter:hover .arrow { transform: translateY(-50%) translateX(8px); }

/* Investigation cards on homepage */
.inv-card {
  text-decoration: none; display: block;
  background: #111; border: 1px solid #1a1a1a; padding: 40px 32px;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.inv-card::after {
  content: '→'; position: absolute; bottom: 20px; right: 24px;
  font-size: 1.2rem; color: #ff4444; opacity: 0; transition: all 0.3s;
}
.inv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(255,68,68,0.12); border-color: rgba(255,68,68,0.3); }
.inv-card:hover::after { opacity: 1; }
.inv-card .number {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 3px;
  color: #ff4444; margin-bottom: 16px; text-transform: uppercase;
}
.inv-card .card-title {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 12px;
}
.inv-card .card-desc { color: #777; font-size: 0.9rem; line-height: 1.6; }

/* Breadcrumb trail */
.breadcrumb {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px;
  color: #555; margin-bottom: 32px; text-transform: uppercase;
}
.breadcrumb a { color: #888; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #ff4444; }

/* News items */
.news-item {
  display: block; text-decoration: none;
  border-left: 2px solid #222; padding: 24px 0 24px 28px; transition: border-color 0.3s;
}
.news-item:hover { border-color: #ff4444; }
.news-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px; color: #ff4444; margin-bottom: 8px; }
.news-headline { font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.news-summary { font-size: 0.9rem; color: #999; line-height: 1.6; }
.news-source { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #555; margin-top: 8px; }

/* Signup */
.signup-box {
  background: #111; border: 1px solid #1a1a1a; padding: 48px; max-width: 600px; margin: 0 auto; text-align: center;
}
.signup-box input[type="email"] {
  background: #0a0a0a; border: 1px solid #333; color: #fff; padding: 14px 18px; font-size: 1rem;
  font-family: 'Syne', sans-serif; width: 100%; max-width: 360px; margin-bottom: 12px; outline: none; transition: border-color 0.3s;
}
.signup-box input[type="email"]:focus { border-color: #ff4444; }
.signup-box button {
  background: #ff4444; color: #fff; border: none; padding: 14px 32px; font-size: 0.95rem;
  font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: background 0.3s;
}
.signup-box button:hover { background: #cc3333; }

/* Page trail at bottom */
.page-trail {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
  margin-top: 40px; padding-top: 40px; border-top: 1px solid #1a1a1a;
}
.page-trail a {
  display: block; text-decoration: none; padding: 16px 20px;
  border: 1px solid #1a1a1a; transition: all 0.3s;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: #666;
}
.page-trail a:hover { border-color: #ff4444; color: #ff4444; }
.page-trail a.current { border-color: #ff4444; color: #ff4444; background: rgba(255,68,68,0.05); }

/* Stat inline */
.stat-inline {
  display: inline-block; background: rgba(255,68,68,0.08); border: 1px solid rgba(255,68,68,0.15);
  padding: 2px 10px; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem;
  color: #ff4444; letter-spacing: 1px;
}

/* Footer */
.footer {
  border-top: 1px solid #1a1a1a; padding: 60px clamp(24px, 5vw, 80px); background: #070707;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

/* Hamburger */
.hamburger {
  display: none !important; background: none; border: none; cursor: pointer;
  padding: 8px; z-index: 110; position: relative;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #e8e8e8;
  margin: 5px 0; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98); z-index: 99;
  flex-direction: column; justify-content: center; align-items: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #888;
  text-decoration: none; transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: #ff4444; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block !important; }
  .next-chapter .arrow { display: none; }
  .next-chapter { padding: 32px; }
  .inv-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .page-trail { grid-template-columns: 1fr; }
}

/* Marquee */
.marquee-wrap { overflow: hidden; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; padding: 14px 0; background: #0d0d0d; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 40s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
