/* glb-cameo.css — hero GLB overlay container */

.glb-cameo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  pointer-events: none;
  /* Subtle radial backdrop while GLB loads — garnet glow */
  background: radial-gradient(ellipse at center,
    rgba(214, 58, 82, 0.10) 0%,
    rgba(170, 26, 51, 0.05) 35%,
    rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(170, 26, 51, 0.18));
  contain: layout style paint;
}

.glb-cameo canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Hero overlay — float in upper-right of the hero, doesn't disturb flow.
   Both lane pages (.lane-hero) and report pages (.hc-hero) opt in. */
.lane-hero, .hc-hero { position: relative; overflow: hidden; }
.lane-hero > .glb-cameo,
.hc-hero > .glb-cameo {
  position: absolute;
  top: 50%;
  right: 4vw;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  max-width: 32vw;
  z-index: 1;
  pointer-events: none;
}
.lane-hero .container,
.hc-hero .container { position: relative; z-index: 2; }

@media (max-width: 1023px) {
  .lane-hero > .glb-cameo,
  .hc-hero > .glb-cameo {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 240px;
    height: 240px;
    max-width: 240px;
    margin: 1.5rem auto 0;
  }
}

@media (max-width: 767px) {
  .glb-cameo { max-width: 280px; }
  .lane-hero > .glb-cameo,
  .hc-hero > .glb-cameo {
    width: 200px;
    height: 200px;
  }
}

/* Reduced-motion fallback — show a faint static glow only */
@media (prefers-reduced-motion: reduce) {
  .glb-cameo {
    background: radial-gradient(circle at center,
      rgba(214, 58, 82, 0.18) 0%,
      rgba(170, 26, 51, 0.08) 50%,
      rgba(0, 0, 0, 0) 80%);
    animation: none !important;
  }
  .glb-cameo canvas { display: none; }
}
