:root {
  --bg-primary: #0a1a12;
  --bg-secondary: #0d1f17;
  --bg-surface: rgba(255,255,255,0.04);
  --bg-alt: #0e2419;
  --text-primary: #f0f4f8;
  --text-secondary: #a0b0a8;
  --text-muted: #5a6e62;
  --accent-amber: #d4a853;
  --accent-blue: #5a8a9a;
  --steel: #2a3a4a;
  --charcoal: #1a1e2a;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body::after {
  content: ''; position: fixed; inset: 0; z-index: 10000; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* ── Ticker ── */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(212,168,83,0.15);
  overflow: hidden; height: 36px;
}
.ticker__track {
  display: flex; align-items: center; height: 100%;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}
.ticker__item {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em;
  color: var(--text-secondary); text-transform: uppercase; flex-shrink: 0;
}
.ticker__sep {
  color: var(--accent-amber); margin: 0 1.5rem; font-size: 0.5rem; flex-shrink: 0;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6rem 2rem 4rem; text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, rgba(212,168,83,0.06) 0%, transparent 60%);
}
.hero__badge {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-amber);
  border: 1px solid rgba(212,168,83,0.3); padding: 0.4rem 1.2rem;
  border-radius: 2px; margin-bottom: 2rem;
}
.hero__title {
  font-family: var(--font-serif); font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-amber) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 2.5rem;
}
.hero__lead {
  max-width: 640px; font-size: 1.1rem; line-height: 1.7;
  color: var(--text-secondary);
}
.hero__scroll {
  position: absolute; bottom: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll-text {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent-amber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Story Sections ── */
.story {
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.story--alt { background: var(--bg-alt); }
.story--lead { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-alt) 100%); }
.story--outlook {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--charcoal) 100%);
  border-top: 1px solid rgba(212,168,83,0.12);
}
.story__container { max-width: 800px; margin: 0 auto; }

.story__label {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-amber); margin-bottom: 1.25rem;
}
.story__title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 1.5rem; color: var(--text-primary);
}
.story__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem;
}
.story__tag {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-blue);
  border: 1px solid rgba(90,138,154,0.3); padding: 0.25rem 0.7rem;
  border-radius: 2px;
}
.story__body p {
  font-size: 1rem; line-height: 1.75; color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.story__body p:last-child { margin-bottom: 0; }

.story__quote {
  border-left: 3px solid var(--accent-amber);
  padding: 1.5rem 0 1.5rem 1.5rem;
  margin: 2rem 0;
}
.story__quote p {
  font-family: var(--font-serif); font-size: 1.15rem;
  line-height: 1.6; color: var(--text-primary); font-style: italic;
  margin-bottom: 0.75rem !important;
}
.story__quote cite {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.06em; color: var(--text-muted); font-style: normal;
}

.story__source {
  display: inline-block; margin-top: 2rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--accent-amber); text-decoration: none;
  border-bottom: 1px solid rgba(212,168,83,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.story__source:hover { border-color: var(--accent-amber); }

/* ── Two-column layout ── */
.story__cols {
  display: grid; grid-template-columns: 1fr 280px; gap: 3rem;
  margin-top: 1rem;
}
.story__col-main p {
  font-size: 1rem; line-height: 1.75; color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.story__col-side { display: flex; flex-direction: column; gap: 1rem; }

.story__stat-card {
  background: rgba(212,168,83,0.06);
  border: 1px solid rgba(212,168,83,0.12);
  border-radius: 4px; padding: 1.25rem;
}
.story__stat-num {
  font-family: var(--font-serif); font-size: 2rem;
  color: var(--accent-amber); line-height: 1.1; margin-bottom: 0.4rem;
}
.story__stat-label {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.4;
}

/* ── Highlight box ── */
.story__highlight {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: rgba(212,168,83,0.06);
  border-left: 3px solid var(--accent-amber);
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary);
}
.story__highlight strong { color: var(--accent-amber); }

/* ── CTA row ── */
.story__cta-row { margin-top: 2rem; }
.story__cta {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bg-primary);
  background: var(--accent-amber); padding: 0.65rem 1.5rem;
  text-decoration: none; border-radius: 3px;
  transition: opacity 0.2s;
}
.story__cta:hover { opacity: 0.85; }

/* ── List (outlook) ── */
.story__list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1rem; }
.story__list-item {
  display: flex; align-items: flex-start; gap: 1rem;
  font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary);
}
.story__list-marker {
  flex-shrink: 0; width: 8px; height: 8px;
  background: var(--accent-amber); border-radius: 50%;
  margin-top: 0.5rem;
}
.story__list-item strong { color: var(--text-primary); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(212,168,83,0.1);
  padding: 3rem 2rem; text-align: center;
  background: var(--charcoal);
}
.site-footer__brand {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem;
}
.site-footer__pulse {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber);
  margin-right: 0.5rem; animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.site-footer__regen, .site-footer__session, .site-footer__timestamp {
  font-size: 0.8rem; color: var(--text-muted); margin: 0.25rem 0;
}
.site-footer__archive {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
}
.site-footer__archive:hover { color: var(--accent-amber); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .story { padding: 4rem 1.5rem; }
  .story__cols { grid-template-columns: 1fr; gap: 2rem; }
  .story__col-side { flex-direction: row; flex-wrap: wrap; }
  .story__stat-card { flex: 1; min-width: 140px; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .ticker { height: 30px; }
  .ticker__item { font-size: 0.6rem; }
}

@media (max-width: 480px) {
  .story { padding: 3rem 1.25rem; }
  .hero__lead { font-size: 1rem; }
  .story__quote { padding-left: 1rem; }
  .story__stat-card { padding: 1rem; }
  .story__stat-num { font-size: 1.5rem; }
}
