.insights-page {
  color: var(--ink);
  background: #f5f5f7;
}

.insights-hero {
  position: relative;
  padding: 108px 0 112px;
  color: var(--paper);
  background: #171820;
  overflow: hidden;
}

.insights-hero .container {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.insights-hero .eyebrow {
  text-align: center;
}

.insights-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.insights-hero .lead {
  max-width: 900px;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.8;
}

.insights-main {
  padding: 76px 0 112px;
  background: #f5f5f7;
}

.featured-insight {
  display: grid;
  grid-template-columns: minmax(0, 636px) minmax(0, 632px);
  gap: 28px;
  align-items: center;
  margin-bottom: 60px;
}

.featured-art,
.article-art {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #252733 center / cover no-repeat;
}

.featured-art {
  min-height: 381px;
  aspect-ratio: 636 / 381;
}

.featured-art::before {
  content: "Featured";
  position: absolute;
  left: 24px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(64, 152, 249, 0.8);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 381px;
  padding: 0;
  background: transparent;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--gold);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.badge.featured {
  color: var(--paper);
  background: rgba(64, 152, 249, 0.86);
}

.featured-copy h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.featured-copy h2 a:hover,
.featured-copy h2 a:focus-visible {
  color: var(--blue);
}

.article-meta {
  margin: 0 0 21px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
}

.featured-copy p:not(.article-meta),
.article-card p:not(.article-meta) {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 60px;
}

.filter-pill {
  border: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--gold);
  background: rgba(233, 178, 109, 0.2);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill[aria-pressed="true"] {
  color: var(--paper);
  background: var(--gold);
}

.filter-pill:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px 40px;
}

.article-card {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.article-card > div {
  min-width: 0;
}

.article-card[hidden] {
  display: none;
}

.article-art {
  min-height: 230px;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
}

.article-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.featured-copy a,
.article-card a {
  overflow-wrap: anywhere;
}

.article-card h3 a:hover,
.article-card h3 a:focus-visible {
  color: var(--blue);
}

.article-card .badge-row {
  margin-bottom: -8px;
}

.article-card .article-meta {
  margin-bottom: 20px;
}

.article-card p:not(.article-meta) {
  color: var(--muted);
}

.filter-empty {
  margin: 0;
  padding: 36px;
  border: 1px solid var(--line-light);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
}

.insights-cta {
  padding: clamp(74px, 10vw, 116px) 0;
  color: var(--paper);
  background: var(--ink);
}

.insights-cta-panel {
  display: grid;
  grid-template-columns: minmax(260px, 620px) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.insights-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
}

.insights-cta .lead {
  color: var(--muted);
}

@media (max-width: 980px) {
  .featured-insight,
  .insights-cta-panel {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .insights-main {
    padding: 64px 0 80px;
  }

  .insights-hero .container {
    text-align: left;
  }

  .insights-hero .eyebrow {
    text-align: left;
  }

  .featured-art {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .featured-copy {
    min-height: 0;
  }

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

  .insights-cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-art {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Asset placement from Figma mockups */
.featured-art {
  background: url("assets/aml.png") center / cover no-repeat;
}

.article-grid .article-card:nth-child(1) .article-art {
  background: url("assets/aml.png") center / cover no-repeat;
}
