/* Hero background */
.hero {
  position: relative;
  min-height: 55vh;
  display: grid;
  place-items: center;
  background-image: url("/images/hero.png?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

/* Slight neon wash / vignette */
.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(60% 40% at 20% 30%, rgba(0, 255, 255, .18), transparent 60%),
    radial-gradient(55% 35% at 80% 55%, rgba(255, 0, 200, .14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero>.container {
  position: relative;
  z-index: 1;
}

/* Small tweak so anchor links don't hide behind sticky nav */
:target {
  scroll-margin-top: 90px;
}

#imgIndexHeaderImage {
  max-width: 500px;
  height: auto;
}

/* Keep hero section layout separate from old glitch CSS */
section.hero {
  display: block;
}

/* Logo sizing */
.hero-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .55));
  transform: translateZ(0);
}

/* Optional logo wrap (you’re not currently using this class in HTML, but it’s harmless) */
.hero-logo-wrap {
  display: inline-block;
  padding: 10px;
  border-radius: 22px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

/* Glass panel */
.hero-panel {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

/* Tighter type */
.hero-title {
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.05;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0;
  text-transform: uppercase;
}

.hero-sub {
  color: rgba(255, 255, 255, .88);
  line-height: 1.35;
  font-size: 1rem;
  margin: 0;
  max-width: 42ch;
}

/* Make the right panel animate in */
@media (prefers-reduced-motion: no-preference) {
  .hero-panel {
    animation: heroIn .7s ease-out both;
  }

  @keyframes heroIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Slightly more “band” than “business” */
.border.rounded-4 {
  border-color: rgba(255, 255, 255, .12) !important;
}

.table {
  --bs-table-bg: transparent;
}

#imgIndexHeaderImage {
  width: 100%;
  max-width: 600px;
  height: auto;
}