#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: -10%;
  background: var(--gradient-mesh);
  filter: blur(40px);
  opacity: 0.9;
}

.hero-blob {
  position: absolute;
  filter: blur(4px);
  opacity: 0.55;
  animation: blob-morph 16s ease-in-out infinite, float-slow 12s ease-in-out infinite;
  mix-blend-mode: screen;
}

[data-theme="light"] .hero-blob {
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.hero-blob-1 {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle at 30% 30%, var(--color-accent), transparent 70%);
}

.hero-blob-2 {
  width: 320px;
  height: 320px;
  top: 10%;
  right: -80px;
  background: radial-gradient(circle at 60% 40%, var(--color-accent-purple), transparent 70%);
  animation-delay: -4s, -2s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 30%;
  background: radial-gradient(circle at 50% 50%, var(--color-accent-cyan), transparent 70%);
  animation-delay: -8s, -6s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-8);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-success) 25%, transparent);
  animation: glow-pulse 2.4s ease-in-out infinite;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
}

.hero-role {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-top: var(--space-3);
}

.hero-description {
  max-width: 560px;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-5);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.hero-resume-updated {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Visual: orbiting tech badges around a central core */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-orbit {
  position: relative;
  width: 360px;
  height: 360px;
}

.hero-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-accent);
  transform: translate(-50%, -50%);
  animation: float 7s ease-in-out infinite;
  box-shadow: var(--shadow-glow);
}

.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.hero-badge i {
  color: var(--color-accent-cyan);
}

.badge-1 {
  top: 4%;
  left: 8%;
  animation-delay: -1s;
}

.badge-2 {
  top: 12%;
  right: 2%;
  animation-delay: -3s;
}

.badge-3 {
  bottom: 18%;
  left: -4%;
  animation-delay: -5s;
}

.badge-4 {
  bottom: 4%;
  right: 12%;
  animation-delay: -2s;
}

.badge-5 {
  top: 46%;
  left: -8%;
  animation-delay: -4.5s;
}

.hero-scroll-cue {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin: var(--space-8) auto 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-scroll-cue i {
  animation: bounce-y 1.8s ease-in-out infinite;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-eyebrow,
  .hero-description,
  .hero-cta-row {
    margin-inline: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .hero-orbit {
    width: 280px;
    height: 280px;
    transform: scale(0.85);
  }
}

@media (max-width: 560px) {
  .hero-visual {
    display: none;
  }
}
