/* ============================================
   Hero — Full screen with Soul Orb
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#p5-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

#p5-canvas canvas {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 0.4em;
  text-shadow: 0 0 60px rgba(100, 80, 160, 0.3);
}

.hero-sub {
  font-family: var(--mono);
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--dim);
  line-height: 2.2;
  max-width: 560px;
  margin: 0 auto;
}

.hero-sub em {
  color: #999;
  font-style: normal;
}

.scroll-hint {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 2px;
  animation: drift 3s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 0.7;
  }
}
