/* ============================================================
   THE SCIENCE OF AGENCY — Global Styles
   Data journalism aesthetic · Dark professional theme
   ============================================================ */

:root {
  --bg: #04060a;
  --bg-2: #0a0d12;
  --bg-3: #10141a;
  --bg-card: #141820;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(212, 160, 86, 0.3);
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #555566;
  --accent: #d4a056;
  --accent-dim: rgba(212, 160, 86, 0.15);
  --accent-glow: rgba(212, 160, 86, 0.08);
  --negative: #f85149;
  --negative-dim: rgba(248, 81, 73, 0.15);
  --positive: #3fb950;
  --positive-dim: rgba(63, 185, 80, 0.15);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --max-w: 1100px;
}

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

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

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

/* ============================================================ TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; }
h1 { font-family: var(--font-display); }
h2 { font-family: var(--font-display); }

.accent { color: var(--accent); }

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ============================================================ LAYOUT */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

/* ============================================================ NAV */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ============================================================ HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 160, 86, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-author {
  max-width: var(--max-w);
  margin: 0 auto 32px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-accent);
  object-fit: cover;
}

.hero-author-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-author-text strong {
  color: var(--text);
  font-weight: 600;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0px;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 86, 0.4);
  opacity: 1;
  color: #000;
}

/* -- Hero video -- */
.hero-video {
  width: 100%;
}

.hero-video-wrapper {
  border: 1px solid rgba(212, 160, 86, 0.35);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(212, 160, 86, 0.08), 0 8px 48px rgba(0, 0, 0, 0.4);
}

.hero-video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video-caption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-video {
    order: 2;
  }
  .hero-content {
    order: 1;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================ FRAMEWORK */
#framework {
  padding: 60px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.framework-grid {
  display: flex;
  align-items: center;
  gap: 24px;
}

.framework-item {
  flex: 1;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.framework-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 12px;
}

.framework-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.framework-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ============================================================ SECTION HEADERS */
.section-header {
  margin-bottom: 64px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-intro {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================ EVIDENCE BADGE */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.evidence-badge.large {
  font-size: 0.8rem;
  padding: 8px 16px;
}

.evidence-badge.positive {
  background: var(--positive-dim);
  border-color: rgba(63, 185, 80, 0.3);
  color: var(--positive);
}

.evidence-badge.negative {
  background: var(--negative-dim);
  border-color: rgba(248, 81, 73, 0.3);
  color: var(--negative);
}

/* ============================================================ CHART BLOCKS */
.chart-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  transition: border-color 0.3s;
}

.chart-block:hover {
  border-color: rgba(212, 160, 86, 0.2);
}

.chart-header h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.chart-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.chart-wrap {
  position: relative;
  height: 300px;
  margin-bottom: 28px;
}

.chart-wrap-tall {
  height: 380px;
}

.chart-verdict {
  padding: 16px 20px;
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.chart-verdict.counter {
  border-left-color: var(--negative);
  background: rgba(248, 81, 73, 0.05);
}

.chart-verdict.resolution {
  border-left-color: var(--positive);
  background: rgba(63, 185, 80, 0.05);
}

.sources-inline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}

/* ============================================================ COMPARISON CARDS */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.comparison-cards.triple {
  grid-template-columns: repeat(3, 1fr);
}

.comp-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.comp-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.comp-card.highlight {
  border-color: var(--border-accent);
  background: rgba(212, 160, 86, 0.05);
}

.comp-card.negative-highlight {
  border-color: rgba(248, 81, 73, 0.3);
  background: rgba(248, 81, 73, 0.05);
}

.comp-card.positive-highlight {
  border-color: rgba(63, 185, 80, 0.3);
  background: rgba(63, 185, 80, 0.05);
}

.comp-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.comp-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.comp-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.comp-value.negative {
  color: var(--negative);
}

.comp-value.positive {
  color: var(--positive);
}

.comp-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================ THINKER TIMELINE */
.thinker-timeline {
  position: relative;
  padding-left: 40px;
  margin-bottom: 60px;
}

.thinker-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--positive), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-2);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  min-width: 60px;
  padding-top: 2px;
  letter-spacing: -0.03em;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-content .thinker-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.thinker-tag.left { background: rgba(100, 149, 237, 0.15); color: #6495ed; }
.thinker-tag.center { background: var(--accent-dim); color: var(--accent); }
.thinker-tag.clinical { background: var(--positive-dim); color: var(--positive); }
.thinker-tag.philosophy { background: rgba(186, 85, 211, 0.15); color: #ba55d3; }
.thinker-tag.sociology { background: rgba(212, 160, 86, 0.15); color: #d4a056; }

/* ============================================================ CALLOUT BLOCK */
.callout-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.callout-left h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.callout-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.callout-left p strong { color: var(--text); }

.callout-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.callout-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.callout-stat-num.negative { color: var(--negative); }
.callout-stat-num.positive { color: var(--positive); }

.callout-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================ SPECTRUM BOX */
.spectrum-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}

.spectrum-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.spectrum-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spectrum-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.spectrum-item:last-child { border-bottom: none; }

.spectrum-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.spectrum-dot.left { background: #6495ed; }
.spectrum-dot.center { background: var(--accent); }
.spectrum-dot.clinical { background: var(--positive); }
.spectrum-dot.philosophy { background: #ba55d3; }

.spectrum-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.spectrum-text strong { color: var(--text); }

.spectrum-conclusion {
  margin-top: 20px;
  padding: 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================ THREE-COLUMN POSITION */
.position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.position-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.position-card:hover {
  transform: translateY(-3px);
}

.position-card.danger {
  border-color: rgba(248, 81, 73, 0.2);
}

.position-card.optimal {
  border-color: var(--border-accent);
  background: rgba(212, 160, 86, 0.03);
}

.position-card.danger-right {
  border-color: rgba(248, 81, 73, 0.2);
}

.position-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.position-card.danger h4 { color: var(--negative); }
.position-card.optimal h4 { color: var(--accent); }
.position-card.danger-right h4 { color: var(--negative); }

.position-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
  padding: 0 8px;
}

.position-outcome {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.position-outcome strong { color: var(--text); }

/* ============================================================ LINEAR CALLOUT */
.linear-callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  margin: 40px 0;
  text-align: center;
}

.linear-callout h3 {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.linear-big {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text);
}

.linear-callout > .linear-content > p:not(.linear-big) {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.linear-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.linear-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.linear-item-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.linear-item-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.linear-item-text strong { color: var(--text); }

/* ============================================================ SCALE BARS */
.scale-block {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}

.scale-header {
  padding: 32px 40px 0;
}

.scale-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 24px 40px 40px;
}

.scale-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.scale-text p:last-child { margin-bottom: 0; }
.scale-text strong { color: var(--text); }

.scale-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.scale-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scale-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scale-bar {
  height: 8px;
  border-radius: 100px;
  transition: width 1s ease-out;
}

.scale-item.bad .scale-label { color: var(--negative); }
.scale-item.bad .scale-bar { background: var(--negative); }

.scale-item.worse .scale-label { color: var(--text-muted); }
.scale-item.worse .scale-bar { background: var(--text-muted); }

.scale-item.good .scale-label { color: var(--accent); }
.scale-item.good .scale-bar { background: var(--accent); }

.scale-outcome {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.scale-outcome strong { color: var(--text); }

/* ============================================================ MANIFESTO QUOTE */
#manifesto {
  padding: 80px 0 40px;
  background: var(--bg);
}

.manifesto-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 48px 40px;
  border-top: 1px solid var(--border-accent);
}

.manifesto-mark {
  font-size: 6rem;
  font-family: var(--font-display);
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.6;
  margin-bottom: 16px;
}

.manifesto-text {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.manifesto-attr {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto-attr strong {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .manifesto-quote { padding: 36px 20px; }
  .manifesto-text { font-size: 0.65rem; }
  .manifesto-mark { font-size: 4rem; }
}

/* ============================================================ QUOTE BLOCK */
.quote-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 20px;
}

.quote-attr {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 20px;
}

.quote-attr strong { color: var(--accent); }

/* ============================================================ CLOSING */
#closing {
  background: var(--bg-2);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-content {
  max-width: 760px;
  margin: 0 auto;
}

.closing-content h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-big {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.closing-final {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 40px 0;
  text-shadow: 0 0 80px rgba(212, 160, 86, 0.3);
}

.closing-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: left;
}

/* ============================================================ SOURCES */
#sources {
  border-top: 1px solid var(--border);
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.source-category h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.source-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-category li {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 12px;
  border-left: 2px solid var(--border);
  transition: border-color 0.2s;
}

.source-category li:hover {
  border-left-color: var(--accent);
}

.source-category em {
  font-style: italic;
  color: var(--text);
}

/* ============================================================ FOOTER */
#footer {
  text-align: center;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

#footer a {
  color: var(--accent);
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  margin-bottom: 1.25rem;
  object-fit: cover;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.footer-title {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-disclaimer-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-disclaimer-text strong {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-compiled {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ============================================================ SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.framework-grid .framework-item { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  .framework-grid {
    flex-direction: column;
  }
  .framework-arrow {
    transform: rotate(90deg);
  }
  .callout-block {
    grid-template-columns: 1fr;
  }
  .scale-content {
    grid-template-columns: 1fr;
  }
  .sources-grid {
    grid-template-columns: 1fr;
  }
  .comparison-cards.triple {
    grid-template-columns: 1fr;
  }
  .position-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .linear-grid {
    grid-template-columns: 1fr;
  }
  .callout-stat-row {
    grid-template-columns: 1fr;
  }
  .chart-block {
    padding: 24px 20px;
  }
  .linear-callout {
    padding: 36px 24px;
  }
  .scale-content {
    padding: 20px 24px 28px;
  }
  .scale-header {
    padding: 24px 24px 0;
  }
  .footer-avatar {
    width: 80px;
    height: 80px;
  }
  .comparison-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
