/* ============================================
   THE INVESTIGATION — Design System v2
   "Illuminated" — warm dark, candlelit accent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #16140F;
  --ink-raised: #1C1A14;
  --ink-card: #232017;
  --line: #2A2620;
  --line-strong: #3A352A;

  --paper: #FAF8F3;
  --paper-dim: #F3EEE3;
  --paper-card: #FFFFFF;
  --paper-line: #EDE6D6;

  --gold: #E8A33D;
  --gold-deep: #B5773A;
  --gold-fill: #FBE8C8;

  --teal: #3A6B6E;
  --teal-deep: #2A5557;
  --teal-fill: #E8F0EF;

  --clay: #C0563A;
  --clay-deep: #8C3D27;
  --clay-fill: #F5E2DA;

  --text-on-dark: #FAF8F3;
  --text-on-dark-dim: #B5AE9E;
  --text-on-dark-faint: #8A8478;

  --text-on-light: #16140F;
  --text-on-light-dim: #6B6557;
  --text-on-light-faint: #B5AE9E;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 740px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
img { max-width: 100%; }

/* ============================================
   HEADER — sticky, dark, persists site-wide
   ============================================ */

.site-header {
  background: rgba(22,20,15,0.95);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wordmark .mark { color: var(--gold); font-style: italic; font-size: 19px; }
.wordmark:hover { color: var(--gold); }

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--text-on-dark-dim);
  font-weight: 500;
  align-items: center;
}

.site-nav a { transition: color 0.15s; position: relative; }
.site-nav a:hover { color: var(--text-on-dark); }

.site-nav a.current {
  color: var(--text-on-dark);
  padding-bottom: 3px;
}

.site-nav a.current::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.site-nav a.cta {
  background: var(--gold);
  color: #2C1B05;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
}

.site-nav a.cta:hover { color: #2C1B05; opacity: 0.9; }

/* ============================================
   SEARCH
   ============================================ */

.search-wrap {
  position: relative;
  flex: 0 1 240px;
  min-width: 160px;
}

.search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 9px 14px 9px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--ink-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A8478' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 12px center;
  color: var(--text-on-dark);
}

.search-input::placeholder { color: var(--text-on-dark-faint); }
.search-input:focus { outline: none; border-color: var(--gold); }

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(22,20,15,0.18);
  max-height: 70vh;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.search-results.open { display: block; }

.search-result-item { display: block; padding: 14px 16px; border-bottom: 1px solid var(--paper-line); cursor: pointer; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover, .search-result-item.active { background: var(--paper-dim); }

.search-result-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.search-result-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-on-light); }
.search-result-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-deep); font-weight: 700; }
.search-result-heading { font-size: 11px; color: var(--teal-deep); font-weight: 600; margin-bottom: 5px; }
.search-result-snippet { font-size: 13px; color: var(--text-on-light-dim); line-height: 1.5; }
.search-result-snippet mark { background: var(--clay-fill); color: var(--clay-deep); font-weight: 600; padding: 0 1px; }
.search-empty { padding: 24px 16px; text-align: center; font-size: 13px; color: var(--text-on-light-faint); }
.search-meta-row { padding: 10px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-on-light-faint); font-weight: 600; border-bottom: 1px solid var(--paper-line); background: var(--paper-dim); }

@media (max-width: 760px) {
  .search-wrap { order: 3; flex: 1 1 100%; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-raised) 100%);
  padding: 64px 24px 0;
  position: relative;
  overflow: hidden;
}

.hero-inner { max-width: 1000px; margin: 0 auto; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-main { min-width: 0; }

/* ============================================
   HERO ILLUSTRATED SCENE (pure CSS, no images)
   ============================================ */

.hero-scene {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,0.32) 0%, rgba(232,163,61,0.08) 55%, transparent 75%);
  filter: blur(2px);
  animation: scene-breathe 4s ease-in-out infinite;
}

.scene-ring {
  position: absolute;
  width: 248px;
  height: 248px;
  border-radius: 50%;
  border: 1px dashed rgba(232,163,61,0.22);
  animation: scene-spin 32s linear infinite;
}

@keyframes scene-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes scene-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .scene-glow, .scene-ring { animation: none; }
}

.scene-scroll {
  position: relative;
  width: 168px;
  height: 210px;
  background: var(--ink-card);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transform: rotate(6deg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.scene-scroll-line {
  height: 3px;
  border-radius: 2px;
  background: rgba(232,163,61,0.28);
  width: 100%;
}

.scene-scroll-line.short { width: 60%; }

.scene-mark {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-scene { height: 220px; order: -1; }
  .scene-scroll { width: 130px; height: 165px; padding: 20px 16px; gap: 11px; }
  .scene-mark { width: 44px; height: 44px; font-size: 20px; }
  .scene-glow { width: 170px; height: 170px; }
  .scene-ring { width: 192px; height: 192px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
  background: rgba(232,163,61,0.12);
  padding: 7px 16px;
  border-radius: 20px;
}

.hero-eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--text-on-dark);
  max-width: 16ch;
  letter-spacing: -0.01em;
}

.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 17px;
  color: var(--text-on-dark-dim);
  max-width: 56ch;
  line-height: 1.6;
  margin-top: 20px;
}

.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: #2C1B05;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 24px;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); }

.stats-strip {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.stat-item .num { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text-on-dark); }
.stat-item .lbl { font-size: 12px; color: var(--text-on-dark-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; }

/* ============================================
   START HERE module
   ============================================ */

.start-here {
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  margin-top: 4px;
  padding: 44px 24px 8px;
}

.start-here-inner { max-width: 1000px; margin: 0 auto; }

.sh-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 16px;
}

.sh-card {
  display: flex;
  gap: 18px;
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  align-items: center;
  transition: border-color 0.15s, transform 0.15s;
}

.sh-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.sh-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-fill);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  flex-shrink: 0;
}

.sh-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-on-light); margin-bottom: 4px; }
.sh-card-desc { font-size: 13px; color: var(--text-on-light-dim); line-height: 1.5; max-width: 60ch; }
.sh-arrow { color: var(--gold-deep); font-size: 20px; margin-left: auto; flex-shrink: 0; }

/* ============================================
   CATEGORY NAV (homepage jump cards)
   ============================================ */

.category-nav { background: var(--paper); padding: 8px 24px 8px; }
.category-nav-inner { max-width: 1000px; margin: 0 auto; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 700px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .category-grid { grid-template-columns: 1fr; } }

.category-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s, transform 0.15s;
}

.category-card:hover { border-color: var(--gold); transform: translateY(-2px); }

.category-card-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--gold-fill);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}

.category-card-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--text-on-light); line-height: 1.3; }
.category-card-count { font-size: 11px; color: var(--text-on-light-faint); }

/* ============================================
   CATEGORY BLOCKS (within the report grid section)
   ============================================ */

.category-block { margin-bottom: 36px; }
.category-block:last-child { margin-bottom: 0; }

.category-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
}

.category-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gold-fill);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  flex-shrink: 0;
}

.category-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-on-light); }
.category-desc { font-size: 0.82rem; color: var(--text-on-light-dim); margin-top: 2px; }

/* ============================================
   REPORT GRID (homepage)
   ============================================ */

.index-section { max-width: 1000px; margin: 0 auto; padding: 36px 24px 100px; }

.index-heading {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 22px;
}

.index-heading h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text-on-light); }
.index-count { font-size: 13px; color: var(--text-on-light-faint); font-weight: 500; }

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

@media (max-width: 680px) { .report-grid { grid-template-columns: 1fr; } }

.report-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s, border-color 0.15s;
}

.report-card:hover { transform: translateY(-2px); border-color: var(--gold); }

.report-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }

.report-tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--gold-deep); font-weight: 700;
  background: var(--gold-fill);
  padding: 3px 10px; border-radius: 10px;
}

.report-status { display: flex; gap: 4px; padding-top: 4px; flex-shrink: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.confirmed { background: var(--teal); }
.dot.contested { background: var(--gold); }
.dot.unsettled { background: var(--clay); }

.report-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-on-light); line-height: 1.3; }
.report-card p { font-size: 0.88rem; color: var(--text-on-light-dim); line-height: 1.55; flex-grow: 1; }

.report-card .read-link {
  font-size: 0.82rem; font-weight: 600; color: var(--teal-deep);
  display: flex; align-items: center; gap: 6px;
}
.report-card:hover .read-link { color: var(--clay-deep); }

/* ============================================
   REFERENCE SECTION (glossary, non-report material)
   ============================================ */

.reference-section { max-width: 1000px; margin: 0 auto; padding: 0 24px 60px; }
.reference-inner { width: 100%; }
.reference-cards { display: flex; flex-direction: column; gap: 12px; }

.reference-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--paper-dim);
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: border-color 0.15s;
}

.reference-card:hover { border-color: var(--gold-deep); }

.reference-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  color: var(--text-on-light-faint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  flex-shrink: 0;
}

.reference-card-body { flex: 1; }
.reference-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-on-light); margin-bottom: 4px; }
.reference-card-desc { font-size: 0.85rem; color: var(--text-on-light-dim); line-height: 1.5; max-width: 70ch; }
.reference-arrow { color: var(--text-on-light-faint); font-size: 18px; flex-shrink: 0; }
.reference-card:hover .reference-arrow { color: var(--gold-deep); }

/* ============================================
   LEGEND
   ============================================ */

.legend { max-width: 1000px; margin: 0 auto; padding: 0 24px 36px; }

.legend-box {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  background: var(--paper-card);
}

.legend-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-on-light); margin-bottom: 10px; }
.legend-intro { font-size: 13px; color: var(--text-on-light-dim); line-height: 1.55; margin-bottom: 20px; max-width: 64ch; }

.legend-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .legend-items { grid-template-columns: 1fr; } }

.legend-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper-dim);
  border-radius: var(--radius-md);
}

.legend-item .dot { margin-top: 5px; flex-shrink: 0; }
.legend-item-title { font-size: 13px; font-weight: 700; color: var(--text-on-light); margin-bottom: 3px; }
.legend-item-desc { font-size: 12px; color: var(--text-on-light-dim); line-height: 1.5; }

/* ============================================
   FOOTER
   ============================================ */

.site-footer { background: var(--paper-dim); padding: 40px 24px; text-align: center; }
.site-footer p { font-size: 13px; color: var(--text-on-light-faint); max-width: 50ch; margin: 0 auto; line-height: 1.6; }

/* ============================================
   REPORT PAGE LAYOUT
   ============================================ */

.report-header { background: var(--paper); padding: 36px 24px 4px; }
.report-header-inner { max-width: var(--max-w); margin: 0 auto; }

.rp-progress { height: 4px; background: var(--paper-line); border-radius: 2px; margin-bottom: 22px; overflow: hidden; }
.rp-progress-fill { height: 100%; background: var(--gold); border-radius: 2px; }

.breadcrumb { font-size: 12px; color: var(--gold-deep); font-weight: 700; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--clay-deep); }

.report-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-on-light);
  max-width: 22ch;
}

.report-meta { display: flex; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--paper-line); flex-wrap: wrap; }
.report-meta-item { font-size: 13px; color: var(--text-on-light-dim); font-weight: 500; }
.report-meta-item .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-on-light-faint); display: block; margin-bottom: 3px; font-weight: 700; }

/* ============================================
   READING INFO BAR
   ============================================ */

.reading-info {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  margin-top: 16px;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.reading-info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-on-light-dim);
  font-weight: 600;
}

.reading-info-item .glyph { font-size: 13px; color: var(--gold-deep); }

/* ============================================
   TABLE OF CONTENTS
   ============================================ */

.toc-box {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 24px 0 8px;
}

.toc-box-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.toc-box-label .glyph { font-size: 13px; }

.toc-box-list { display: flex; flex-direction: column; gap: 2px; }

.toc-box-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 6px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-on-light);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.toc-box-link:hover { background: var(--paper-dim); color: var(--gold-deep); }

.toc-box-link .tnum {
  font-family: var(--font-display);
  color: var(--text-on-light-faint);
  font-size: 12px;
  min-width: 18px;
  flex-shrink: 0;
}

/* ============================================
   KEY TAKEAWAY
   ============================================ */

.takeaway {
  background: var(--paper-card);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 11px 16px;
  margin: 12px 0 16px;
}

.takeaway-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-light-faint);
  font-weight: 700;
  margin-bottom: 4px;
}

.takeaway-text { font-size: 14.5px; color: var(--text-on-light); font-weight: 600; line-height: 1.45; }

/* ============================================
   SECTION HEADER WITH ANCHOR MARKER
   ============================================ */

.report-body h2 { display: flex; align-items: center; gap: 12px; }

.h2-anchor {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold-fill);
  color: var(--gold-deep);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.report-body { max-width: var(--max-w); margin: 0 auto; padding: 28px 24px 40px; background: var(--paper); }

.report-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600; color: var(--text-on-light);
  margin-top: 40px; margin-bottom: 16px;
}
.report-body h2:first-child { margin-top: 0; }

.report-body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-on-light); margin-top: 28px; margin-bottom: 12px; }

.report-body p { margin-bottom: 16px; color: #3A372F; }
.report-body p.lede { font-size: 1.1rem; color: #2C2A24; line-height: 1.65; }

.report-body ul, .report-body ol { margin: 0 0 16px 0; padding-left: 22px; }
.report-body li { margin-bottom: 8px; color: #3A372F; }
.report-body strong { font-weight: 600; color: var(--text-on-light); }

.finding {
  background: var(--teal-fill);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 22px 0;
  display: flex;
  gap: 14px;
}
.finding-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.finding-body { flex: 1; min-width: 0; }
.finding .finding-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal-deep); font-weight: 700; display: block; margin-bottom: 8px; }
.finding p:last-child { margin-bottom: 0; color: #1A3B30; }

.finding.unsettled { background: var(--clay-fill); }
.finding.unsettled .finding-icon { background: var(--clay); }
.finding.unsettled .finding-label { color: var(--clay-deep); }
.finding.unsettled p:last-child { color: #4A2418; }

.finding.contested { background: var(--gold-fill); }
.finding.contested .finding-icon { background: var(--gold-deep); }
.finding.contested .finding-label { color: var(--gold-deep); }
.finding.contested p:last-child { color: #4A3414; }

.reference-note {
  background: var(--paper-dim);
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 22px 0;
}
.reference-note .finding-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-on-light-faint); font-weight: 700; display: block; margin-bottom: 8px; }
.reference-note p:last-child { margin-bottom: 0; color: var(--text-on-light-dim); }

.report-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.88rem; }
.report-body th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-on-light-faint); font-weight: 700; padding: 10px 14px; border-bottom: 2px solid var(--text-on-light); }
.report-body td { padding: 12px 14px; border-bottom: 1px solid var(--paper-line); vertical-align: top; color: #3A372F; }
.report-body tr:last-child td { border-bottom: none; }

blockquote {
  font-family: var(--font-display);
  font-style: italic; font-size: 1.2rem; line-height: 1.55; color: #2C2A24;
  border-left: 3px solid var(--gold); padding-left: 22px; margin: 26px 0;
}

.synthesis {
  margin-top: 36px; padding: 26px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg);
}
.synthesis .finding-label { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; display: block; margin-bottom: 12px; }
.synthesis p { color: #EDE8DC; margin-bottom: 0; line-height: 1.6; }

.report-nav {
  display: flex; justify-content: space-between; margin-top: 44px; padding: 24px 0;
  border-top: 1px solid var(--paper-line); font-size: 13px; font-weight: 600;
}
.report-nav a { color: var(--teal-deep); }
.report-nav a:hover { color: var(--clay-deep); }

/* ============================================
   COMMENTS
   ============================================ */

.comments-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 0;
}

.comments-card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.comments-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.comments-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-on-dark); display: flex; align-items: center; gap: 8px; }
.comments-title .glyph { color: var(--gold); font-size: 16px; }
.comments-note { font-size: 12px; color: var(--text-on-dark-faint); margin-bottom: 14px; width: 100%; }

#commoninja-comp-placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-on-dark-faint);
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
  position: sticky;
  bottom: 20px;
  margin: 24px auto 0;
  width: fit-content;
  background: var(--ink);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(22,20,15,0.2);
}

.back-to-top .glyph { font-size: 14px; }
.back-to-top:hover { opacity: 0.92; }

/* ============================================
   DIAGRAMS (inline SVG, native site theming)
   ============================================ */

.diagram-box {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 22px 20px 18px;
  margin: 24px 0;
}

.diagram-caption {
  font-size: 12px;
  color: var(--text-on-light-faint);
  text-align: center;
  margin-top: 10px;
}

.diagram-box svg text { font-family: var(--font-body); }

@media (max-width: 600px) {
  .hero { padding: 48px 20px 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .sh-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .sh-arrow { display: none; }
}
