/* ── Glow accents (ambient blobs) ──────────────────────────────────────── */
.glow-accent {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.045;
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    opacity: 0.035;
    transform: scale(1);
  }

  to {
    opacity: 0.065;
    transform: scale(1.06);
  }
}

/* ── Active nav link ───────────────────────────────────────────────────── */
.nav-link--active {
  color: var(--clr-text) !important;
}

.nav-link--active::after {
  width: 100% !important;
}

/* ── Stats strip ───────────────────────────────────────────────────────── */
.stats-strip {
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  background: rgba(240, 236, 228, 0.02);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.stat-cell {
  border-right: 1px solid var(--clr-border);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.stat-cell:last-child {
  border-right: none;
}

/* Progressive enhancement: animate in if JS fires */
.stat-cell.will-animate {
  opacity: 0;
  transform: translateY(16px);
}

.stat-cell.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── Featured article card ─────────────────────────────────────────────── */
.featured-card {
  position: relative;
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  background: rgba(240, 236, 228, 0.025);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, background 0.3s ease;
}

.featured-card.will-animate {
  opacity: 0;
  transform: translateY(20px);
}

.featured-card.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.featured-card:hover {
  border-color: rgba(240, 236, 228, 0.4);
  background: rgba(240, 236, 228, 0.04);
}

/* Warm shimmer sweep on hover */
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(240, 200, 130, 0.04) 0%,
      rgba(255, 160, 80, 0.06) 50%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-read-btn {
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.featured-card:hover .featured-read-btn {
  border-color: rgba(240, 236, 228, 0.75);
  transform: translateX(4px);
}

/* ── Tag pills ─────────────────────────────────────────────────────────── */
.tag-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(240, 200, 130, 0.55);
  color: rgba(240, 200, 130, 0.90);
  background: rgba(240, 200, 130, 0.06);
}

.tag-pill--dim {
  border-color: rgba(240, 236, 228, 0.2);
  color: rgba(240, 236, 228, 0.45);
  background: rgba(240, 236, 228, 0.03);
}

/* ── Article grid cards ────────────────────────────────────────────────── */
.insight-card {
  position: relative;
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  background: rgba(240, 236, 228, 0.02);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s ease, background 0.3s ease;
}

.insight-card.will-animate {
  opacity: 0;
  transform: translateY(18px);
}

.insight-card.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.insight-card:hover {
  border-color: rgba(240, 236, 228, 0.38);
  background: rgba(240, 236, 228, 0.04);
}

/* Subtle gradient on hover */
.insight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(240, 200, 130, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.insight-card:hover::before {
  opacity: 1;
}

.card-read-link {
  color: rgba(240, 200, 130, 0.65);
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.insight-card:hover .card-read-link {
  color: rgba(240, 200, 130, 1);
  letter-spacing: 0.12em;
}

/* ── Divider ───────────────────────────────────────────────────────────── */
.insights-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-border) 30%, var(--clr-border) 70%, transparent);
}

/* ── Subscribe CTA strip ───────────────────────────────────────────────── */
.cta-strip {
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  background: rgba(240, 236, 228, 0.025);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 200, 130, 0.10), transparent 70%);
  pointer-events: none;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }

  .stat-cell:last-child {
    border-bottom: none;
  }
}