/* ============================================================
   SECTION — HERO
   Center layout with WebGL canvas
   ============================================================ */

#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000000;
  padding-top: calc(var(--section-y) + 4rem);
  padding-bottom: var(--space-20);
  border-top: 0;
}

/* --- WEBGL CANVAS --- */
#webgl-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* --- CONTENT --- */
.hero__container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* --- TYPOGRAPHY & SPACING --- */
.desktop-break { display: none; }
@media (min-width: 768px) { .desktop-break { display: inline; } }

.hero__tag {
  margin-bottom: var(--space-8);
}

.hero__title {
  font-weight: var(--fw-bold);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  margin-bottom: var(--space-6);
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: clamp(3.5rem, 5.5vw, 5rem);
    max-width: 1100px;
  }
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--silver-500);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--fs-lg);
  }
}

/* --- ACTIONS --- */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    gap: var(--space-5);
  }
}

/* --- HERO SPECIFIC ON-LOAD REVEAL ANIMATIONS --- */
.hero-reveal {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__tag.hero-reveal { animation-delay: 100ms; }
.hero__title.hero-reveal { animation-delay: 200ms; }
.hero__subtitle.hero-reveal { animation-delay: 300ms; }
.hero__actions.hero-reveal { animation-delay: 400ms; }

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .hero-reveal {
    animation: none;
    opacity: 1;
  }
}
