/* ============================================================
   hero.css — Maurer Lab
   Intro hero: background, overlay, animated synthwave, text
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 2rem 7rem;
  background: #0a0612;
  border-bottom: 1px solid rgba(192,38,211,0.2);
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.18; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(8,4,16,0.62) 0%,
    rgba(8,4,16,0.28) 55%,
    rgba(8,4,16,0.45) 100%);
  pointer-events: none;
}

/* Existing SVG decoration rings / streaks */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.4;
}

/* Dynamic synthwave canvas — fills blank left/right space, z below text */
.hero-synth-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Text stack — sits above synthwave */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero-text-box {
  display: inline-block;
  background: rgba(6,3,14,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(192,38,211,0.15);
  border-radius: 4px;
  padding: 0.6rem 1.4rem;
  margin-bottom: 1.2rem;
}
.hero-text-box .hero-sub { margin-bottom: 0; }
.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(232,121,249,0.8); margin-bottom: 0; display: block;
}

/* Two-line title: both lines same visual width */
.hero-title {
  font-weight: 300; line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 1.5rem;
  white-space: nowrap;
}
.hero-title .line1 {
  display: block;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}
.hero-title .line2 {
  display: block;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}
.hero-title em {
  font-style: normal; font-weight: 300;
  background: linear-gradient(135deg, #e879f9, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.72);
  max-width: 580px; margin: 0 auto; line-height: 1.75;
}
.hero-cta {
  display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

@media (max-width: 700px) {
  .hero-title { white-space: normal; }
  .hero-title .line1 { font-size: 2.6rem; }
  .hero-title .line2 { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  .hero-bg-img { opacity: 0.07; }
}
