/* ═══════════════════════════════════════════════════════════════════
   AI HERO BACKGROUND — CSS
   Drop-in hero background, adapted for ConfSummit .page-hero
   ═══════════════════════════════════════════════════════════════════ */

.ai-hero-stage {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  aspect-ratio: 1600 / 500;
  overflow: hidden;
  background: #050d16;
}

.ai-hero-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
}

.ai-hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      transparent 48%,
      rgba(5, 13, 22, 0.45) 78%,
      rgba(5, 13, 22, 0.78) 100%
    );
  mix-blend-mode: multiply;
}

/* Full-bleed behind inner page headers */
html.ConfSummit .page-hero {
  background: #050d16;
}

html.ConfSummit .page-hero .ai-hero-stage {
  position: absolute;
  inset: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  z-index: 0;
  overflow: hidden;
}

/* Keep 1600×500 proportions — cover + crop instead of stretch */
html.ConfSummit .page-hero .ai-hero-stage canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 1600 / 500;
  transform: translate(-50%, -50%);
  object-fit: unset;
}

html.ConfSummit .page-hero .page-hero-inner {
  position: relative;
  z-index: 2;
}

html.ConfSummit .page-hero .page-hero-orb {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html.ConfSummit .page-hero .ai-hero-stage canvas {
    display: none;
  }
}
