/* =================================================================
   Page-specific: Insights (loads after styles.css)
   Insights index + article pages. Editorial, typographic, low-image.
   ================================================================= */

/* ---------- Insights hero ---------- */
.insights-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--off-white);
  border-bottom: 1px solid var(--rule-soft);
}
.insights-hero h1 {
  max-width: 20ch;
  margin-bottom: var(--space-md);
}
.insights-hero .lead {
  max-width: 56ch;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Featured (latest) piece ---------- */
.insights-featured {
  background: var(--warm-paper);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--rule-soft);
}
.featured-piece {
  border-left: 4px solid var(--terracotta);
  padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
  max-width: 820px;
}
.featured-piece .piece-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-sm);
}
.featured-piece h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-sm);
  max-width: 24ch;
}
.featured-piece h2 a { color: var(--navy); }
.featured-piece h2 a:hover { color: var(--terracotta); }
.featured-piece .piece-dek {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-md);
}
.piece-readlink {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--burnt-orange);
  display: inline-block;
}
.piece-readlink::after { content: ' →'; transition: transform 0.2s ease; display: inline-block; }
.piece-readlink:hover::after { transform: translateX(4px); }

/* ---------- Archive list ---------- */
.insights-archive {
  padding: var(--space-2xl) 0;
}
.archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  max-width: 900px;
}
.archive-list li {
  margin: 0;
  padding: 0;
}
.archive-list li::before { display: none; }
.archive-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xs) var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
}
@media (min-width: 768px) {
  .archive-item { grid-template-columns: 140px 1fr; align-items: baseline; }
}
.archive-item:hover h3 { color: var(--terracotta); }
.archive-date {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.archive-item h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2xs);
  transition: color 0.15s ease;
}
.archive-item p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Substack band ---------- */
.insights-substack {
  background: var(--warm-paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-xl) 0;
}
.insights-substack .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .insights-substack .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.insights-substack p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-primary);
  max-width: 52ch;
}

/* =================================================================
   Article pages
   ================================================================= */
.article-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--off-white);
  border-bottom: 1px solid var(--rule-soft);
}
.article-hero .container-narrow { max-width: 780px; }
.article-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  display: block;
  margin-bottom: var(--space-md);
}
.article-meta .sep { color: var(--rule); margin: 0 var(--space-xs); }
.article-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  max-width: 22ch;
  margin-bottom: var(--space-md);
}
.article-hero .article-dek {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 0;
}

/* ---------- Article body ---------- */
.article-body {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}
.article-body .container-narrow { max-width: 720px; }
.article-body p {
  max-width: none;
  margin-bottom: var(--space-md);
}
.article-body h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.article-body h2:first-child { margin-top: 0; }
.article-body .pull-quote {
  font-family: var(--font-body);
  font-size: 1.3125rem;
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--terracotta);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  line-height: 1.5;
  max-width: none;
}
.article-body ul { max-width: none; }
.article-body li { max-width: none; }

/* ---------- Article footer / author block ---------- */
.article-close {
  border-top: 1px solid var(--rule);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
}
.article-close .author-line {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.back-to-insights {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--burnt-orange);
  display: inline-block;
  margin-top: var(--space-md);
}
