/* ═══════════════════════════════════════════════════════
   css/hero.css  —  Hero section styles
═══════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Three.js canvas fills the hero */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* WebGL fallback gradient */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(233,69,96,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,255,255,0.05) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-inline: max(1.5rem, calc((100% - var(--container)) / 2));
  padding-top: 9rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  opacity: 0; /* animated in by GSAP */
}

.hero-name {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  clip-path: inset(0 100% 0 0); /* animated by GSAP */
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  opacity: 0; /* animated in by GSAP */
}

/* Typed cursor style */
.typed-cursor {
  color: var(--accent);
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0; /* animated in by GSAP */
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: max(1.5rem, calc((100% - var(--container)) / 2));
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
