/* =========================
   HERO CORE
========================= */

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 520px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-block;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), .1);
  color: var(--bs-primary);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  margin-bottom: .75rem;
}

.hero-title {
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: .75rem;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
}

.hero-lead {
  color: var(--bs-secondary-color);
  max-width: 50ch;
  margin-bottom: 1.25rem;
}

/* =========================
   IMAGE + BLOB
========================= */

.hero-image-wrapper {
  width: 100%;
  max-width: 460px;
  pointer-events: none;
}

.hero-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bs-body-bg);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  position: relative;
  z-index: 2;
}

/* Desktop upgrade */

@media (min-width: 992px) {
  .hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: none;
  }
}

/* Blob */

.hero-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 115%;
  height: 115%;
  background: var(--hero-blob-bg);
  border-radius: 45% 55% 60% 40% / 40% 50% 60% 50%;
  filter: blur(12px);
  z-index: 1;
  animation: hero-blob-morph 10s infinite ease-in-out;
}

/* Motion-safe */

@media (prefers-reduced-motion: reduce) {
  .hero-blob {
    animation: none;
  }
}

@keyframes hero-blob-morph {
  0%, 100% {
    border-radius: 45% 55% 60% 40% / 40% 50% 60% 50%;
  }
  50% {
    border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
  }
}

/* =========================
   THEME VARIABLES
========================= */

/* Light theme */

[data-bs-theme="light"] {
  --hero-blob-bg: rgba(248,249,250,.95);
}

/* Dark theme */

