/* home3d.css — homepage "Live 3D beam showcase" section (index.html).
   Hosts the SAME 3D viewer engine as technology.html (js/beamscene.js).
   The .beam3d host + .beam3d-hint styling is reused from beam.css. */

.home3d{
  padding:74px 0 86px;
  border-top:1px solid var(--line-2);
  border-bottom:1px solid var(--line-2);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(225,6,0,.06), transparent 58%),
    var(--bg-2);
}
.home3d .wrap{text-align:center}
.home3d .eyebrow{color:var(--accent)}
.home3d h2{font-size:clamp(2rem,4.6vw,3.4rem);margin:12px 0 0}
.home3d .swoosh{margin:16px auto 0}
.home3d .lede{color:var(--muted);font-size:1.06rem;line-height:1.6;max-width:46em;margin:18px auto 0}

/* Framed stage. The 3D host and the still image both fill this frame at the
   same 1280/900 aspect, so the layout doesn't shift between the two modes. */
.home3d-stage{
  position:relative;max-width:980px;margin:40px auto 0;
  border:1px solid var(--line);border-radius:16px;overflow:hidden;
  background:#070809;box-shadow:0 30px 80px -42px rgba(0,0,0,.9);
}
.home3d-stage .beam3d{border:none;border-radius:0}

/* Still-image fallback (non-capable phones / no-WebGL / no-JS). */
.home3d-still{display:block}
.home3d-still[hidden]{display:none}
.home3d-still img{display:block;width:100%;height:auto;aspect-ratio:1280/900;object-fit:cover}

.home3d-cta{margin:28px auto 0;display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

@media(max-width:760px){
  .home3d{padding:52px 0 60px}
  .home3d-stage{margin-top:28px;border-radius:12px}
  .home3d .lede{font-size:1rem}
}
