.hero-3d#home {
  background:#000;
  min-height:590px;
  max-height:1240px;
  height:100svh;
  overflow:clip;
  isolation:isolate;
}
.hero-3d#home #controller-stage {
  position:absolute;
  inset:0;
  z-index:0;
  margin:0;
  width:100%;
  height:100%;
  touch-action:pan-y pinch-zoom;
}
.hero-3d#home #controller-stage canvas {
  width:100%; height:100%; display:block;
}
.hero-3d#home #controller-stage:focus-visible {
  outline:1px solid #aaa;
  outline-offset:-6px;
}
.hero-3d#home .controller-first-frame img { object-fit:cover; }
.hero-3d#home .hero-title-wrap {
  left:var(--edge);
  right:var(--edge);
  top:calc(var(--fcs-header-height,76px) + clamp(9px,2.3vh,32px));
  z-index:2;
  pointer-events:none;
}
.hero-3d#home .hero-title-wrap h1 {
  width:100%;
  font-size:13.35vw;
  line-height:.88;
  color:#fff;
  text-align:center;
  letter-spacing:-.014em;
}
.hero-3d#home .title-word,
.hero-3d#home .title-run { display:inline-block; white-space:nowrap; }
.hero-3d#home .play-now {
  z-index:3;
  left:var(--edge); bottom:clamp(23px,4.2vh,48px);
  padding:11px 28px 13px;
  min-height:48px;
  font:900 clamp(24px,1.75vw,34px)/1 "FCS Display",Impact,sans-serif;
  text-transform:uppercase;
  letter-spacing:0;
  background:#fff;
  color:#000;
  border:1px solid #fff;
  overflow:hidden;
  isolation:isolate;
  transition:color .2s ease;
}
.play-now::before {
  content:"";
  position:absolute;
  inset:-2px;
  z-index:-1;
  border-radius:inherit;
  background:#000;
  transform:translateY(105%);
  transition:transform .3s cubic-bezier(.22,.75,.2,1);
}
.play-now span { display:block;transition:transform .2s ease; }
@media (hover:hover) {
  .hero-3d#home .play-now:hover { color:#fff; }
  .play-now:hover::before { transform:translateY(0); }
  .play-now:hover span { transform:translateY(-1px); }
}
.hero-3d#home .play-now:is(:focus-visible,:active) { color:#fff; }
.play-now:is(:focus-visible,:active)::before { transform:translateY(0); }
.hero-3d#home .play-now:focus-visible { outline:2px solid #fff;outline-offset:5px; }
.play-now:active span { transform:scale(.94); }
@media(prefers-reduced-motion:reduce) {
  .hero-3d#home .play-now,.play-now::before,.play-now span { transition:none; }
}
@media(max-width:700px) {
  .hero-3d#home { min-height:560px; max-height:1050px; }
  .hero-3d#home .hero-title-wrap { top:calc(var(--fcs-header-height,64px) + clamp(24px,5svh,65px));left:3vw;right:3vw; }
  .hero-3d#home .hero-title-wrap h1 { font-size:14.25vw; line-height:.92; }
  .hero-3d#home .play-now { bottom:max(30px,env(safe-area-inset-bottom)); }
}
@media(orientation:landscape) and (max-height:620px) {
  .hero-3d#home { min-height:min(340px,100svh); height:100svh; }
  .hero-3d#home .hero-title-wrap { top:calc(var(--fcs-header-height,58px) + 7px); }
  .hero-3d#home .hero-title-wrap h1 { font-size:min(12vw,22svh); }
  .hero-3d#home .play-now { bottom:max(12px,env(safe-area-inset-bottom)); }
}

/* One optical frame for both the instant product photograph and its WebGL
   replacement. Object-fit contains the full artboard at every aspect ratio. */
.hero-3d#home #controller-stage .controller-first-frame {
  inset:calc(var(--fcs-header-height,76px) + clamp(9px,2.3svh,32px) + 11.748vw + min(22px,1.4vw)) 1.5% max(24px,4svh) 8.8%;
  width:auto;height:auto;
}
.hero-3d#home #controller-stage .controller-first-frame img {
  inset:0;width:100%;height:100%;object-fit:contain;
}
@media (max-width:1024px) and (orientation:portrait) {
  .hero-3d#home #controller-stage .controller-first-frame {
    inset:calc(var(--fcs-header-height,64px) + clamp(24px,5svh,65px) + 13.11vw + min(22px,1.4vw)) .5% max(92px,9.5svh) .5%;
  }
}
@media (orientation:landscape) and (max-height:620px) {
  .hero-3d#home #controller-stage .controller-first-frame {
    inset:calc(var(--fcs-header-height,64px) + min(12vw,22svh) + 10px) 1% 8px 9%;
  }
}
