/* =================================================================
   Blog page — hero
   ================================================================= */

body.blog-page {
  padding-top: 0;
}

body.blog-page .header:not(.is-scrolled) {
  background: transparent;
}

body.blog-page main .container {
  padding-inline: clamp(20px, 5vw, 40px);
}

.blog-hero {
  position: relative;
  padding: clamp(128px, 14vh, 168px) 0 clamp(56px, 8vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.blog-hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}

.blog-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.5;
}

.blog-hero__orb--1 {
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 68%);
}

.blog-hero__orb--2 {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: -8%;
  left: -8%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 70%);
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  margin-inline: auto;
  text-align: center;
}

.blog-hero__kicker {
  display: inline-block;
  margin: 0 0 clamp(14px, 2vw, 18px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.28);
}

.blog-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}

.blog-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #a5b4fc;
}

.blog-hero__intro {
  margin: clamp(16px, 2.5vw, 22px) 0 0;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.6;
  color: var(--muted);
}

.blog-listing {
  padding-top: clamp(32px, 5vw, 48px);
}

@media (max-width: 720px) {
  .blog-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
}
