.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  width: 100%;
  overflow: hidden;
}

.hero__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
}

.hero__aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(121, 197, 106, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(232, 197, 71, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 60% at 60% 80%, rgba(43, 94, 73, 0.25), transparent 50%);
  animation: aurora-shift 18s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(183, 216, 168, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 216, 168, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 197, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.hero:hover .hero__spotlight {
  opacity: 1;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__greeting {
  font-size: 1.125rem;
  color: var(--leaf);
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.hero__name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--sage));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero__intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(480px, 85vw);
  aspect-ratio: 1;
  max-height: min(480px, 70vh);
}

.hero__abstract {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  pointer-events: auto;
  touch-action: none;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--leaf), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 7rem;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__intro { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual {
    order: -1;
    margin-bottom: 0.5rem;
    width: min(340px, 78vw);
    max-height: min(340px, 50vh);
  }
}
