/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--sp-6)) var(--gutter) var(--sp-7);
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  opacity: 0;
}

.hero__title {
  margin-top: var(--sp-4);
  font-size: var(--fs-display-xl);
  font-weight: 600;
  line-height: 1.04;
  color: var(--c-foam);
}

.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line span {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
}

.hero__title.is-revealed .line span {
  transform: translateY(0);
  opacity: 1;
  transition: transform 1.1s var(--ease-out) 0.15s, opacity 1.1s var(--ease-out) 0.15s;
}
.hero__title.is-revealed .line:nth-child(2) span { transition-delay: 0.32s; }

.hero__title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--c-bio-cyan-soft), var(--c-bio-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin-top: var(--sp-4);
  font-size: var(--fs-body-lg);
  color: var(--c-foam-dim);
  max-width: 52ch;
  opacity: 0;
}

.hero__name {
  color: var(--c-bio-gold);
  font-weight: 600;
}

.hero__actions {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-foam-faint);
  opacity: 0;
}

.hero__scroll-cue span {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.hero__scroll-cue .mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-cue .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--c-bio-cyan);
  animation: scrollDot 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* Decorative caustic light blobs in hero */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.hero__glow--1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(62,198,224,0.32), transparent 70%);
  top: 6%; left: 6%;
  animation: glowDrift1 16s var(--ease-in-out) infinite;
}

.hero__glow--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,215,106,0.2), transparent 70%);
  bottom: 2%; right: 8%;
  animation: glowDrift2 19s var(--ease-in-out) infinite;
}

@keyframes glowDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, 18px) scale(1.07); }
}
@keyframes glowDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, -16px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + var(--sp-4)); }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .cta-btn { width: 100%; justify-content: center; }
}