.research-page {
  background: var(--paper);
  color: var(--copy);
}

.research-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}

.research-article {
  background: var(--card);
  border-radius: 8px;
  padding: 48px 56px;
  box-shadow: 0 2px 8px rgba(28, 25, 21, 0.08);
}

.research-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid rgba(28, 25, 21, 0.1);
}

.research-header h1 {
  font-family: var(--headline);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.research-header h1 .subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--copy);
  font-family: var(--sans);
}

.research-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--meta);
  margin: 0;
}

.research-section {
  margin: 48px 0;
}

.research-section h2 {
  font-family: var(--headline);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 24px 0;
}

.research-section h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 16px 0;
}

.research-section h4 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 8px 0;
}

.research-section p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.lead {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: var(--ink);
  margin-bottom: 24px !important;
}

.key-finding {
  background: linear-gradient(135deg, rgba(139, 71, 137, 0.08) 0%, rgba(46, 139, 87, 0.08) 100%);
  border-left: 4px solid #8B4789;
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 4px;
}

.key-finding h3 {
  margin-top: 0;
  color: #8B4789;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 28px 0;
}

.method-card {
  background: rgba(28, 25, 21, 0.03);
  border: 1px solid rgba(28, 25, 21, 0.1);
  border-radius: 6px;
  padding: 24px;
}

.method-card h4 {
  margin-top: 0;
  color: #8B4789;
}

.method-card ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.method-card li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.result-block {
  margin: 48px 0;
  padding: 32px 0;
  border-bottom: 1px solid rgba(28, 25, 21, 0.1);
}

.result-block:last-child {
  border-bottom: none;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--mono);
  font-size: 13px;
}

.results-table thead {
  background: rgba(28, 25, 21, 0.05);
}

.results-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid rgba(28, 25, 21, 0.15);
}

.results-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(28, 25, 21, 0.08);
}

.results-table tbody tr.negative td:first-child {
  border-left: 3px solid #8d5a3c;
}

.results-table tbody tr.neutral td:first-child {
  border-left: 3px solid #8a7f72;
}

.results-table tbody tr.positive td:first-child {
  border-left: 3px solid #2E8B57;
}

.results-table tbody tr.highlight {
  background: rgba(46, 139, 87, 0.05);
  font-weight: 500;
}

.results-table tbody tr.highlight td:first-child {
  border-left: 3px solid #2E8B57;
}

.findings-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.findings-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 16px;
  line-height: 1.7;
}

.findings-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8B4789;
  font-weight: 600;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(28, 25, 21, 0.12);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s ease;
}

.pillar-card:hover {
  border-color: rgba(28, 25, 21, 0.25);
  box-shadow: 0 4px 12px rgba(28, 25, 21, 0.1);
}

.pillar-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.pillar-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.pillar-header h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 14px;
  color: var(--meta);
  margin: 0 0 16px 0;
  font-style: italic;
}

.sub-bucket-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-bucket-list li {
  font-size: 13px;
  line-height: 1.6;
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.sub-bucket-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  opacity: 0.5;
}

.taxonomy-intro {
  font-size: 16px;
  margin-bottom: 32px;
  color: var(--copy);
}

.conclusions-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.conclusions-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.conclusions-list li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #2E8B57;
  font-weight: 600;
  font-size: 18px;
}

.closing {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 32px;
  padding: 24px;
  background: rgba(46, 139, 87, 0.05);
  border-left: 3px solid #2E8B57;
  border-radius: 4px;
}

.research-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(28, 25, 21, 0.1);
  text-align: center;
}

.research-footer p {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.research-footer a {
  color: #8B4789;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.research-footer a:hover {
  border-bottom-color: #8B4789;
}

@media (max-width: 768px) {
  .research-article {
    padding: 32px 24px;
  }

  .research-header h1 {
    font-size: 32px;
  }

  .research-header h1 .subtitle {
    font-size: 18px;
  }

  .research-section h2 {
    font-size: 26px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .results-table {
    font-size: 12px;
  }

  .results-table th,
  .results-table td {
    padding: 8px 10px;
  }
}

/* === CHART CONTAINERS === */
.ic-chart-container {
  position: relative;
  height: 340px;
  width: 100%;
  margin: 24px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 25, 21, 0.12);
  border-radius: 8px;
}

.equity-chart-container {
  position: relative;
  height: 440px;
  width: 100%;
  margin: 24px 0 36px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 25, 21, 0.12);
  border-radius: 8px;
}

.granularity-chart-container {
  position: relative;
  height: 320px;
  width: 100%;
  margin: 24px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 25, 21, 0.12);
  border-radius: 8px;
}

/* === HEADLINE KPI CARDS === */
.headline-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.headline-kpi-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(28, 25, 21, 0.12);
  border-radius: 6px;
  text-align: left;
}

.headline-kpi-card .kpi-value {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.headline-kpi-card .kpi-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--meta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.headline-kpi-card .kpi-detail {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--copy);
  margin: 8px 0 0 0;
}

/* === HORIZON DECAY TABLE === */
.horizon-decay-table td.positive {
  background: rgba(61, 126, 99, 0.12);
  color: #166534;
  font-weight: 500;
}

.horizon-decay-table td.negative {
  background: rgba(184, 74, 57, 0.12);
  color: #991b1b;
  font-weight: 500;
}

.horizon-decay-table td.neutral {
  color: var(--meta);
}

@media print {
  .research-page .mast,
  .research-footer {
    display: none;
  }

  .research-article {
    box-shadow: none;
    border: none;
  }

  .pillar-card {
    break-inside: avoid;
  }
}
