/* Isolated 3D layer. Only the viewer controls are live; the client mockup remains visual. */
.viewer-stage {
  position: relative;
  isolation: isolate;
  color: #edf3f6;
  font-family: Manrope, Arial, sans-serif;
}
.viewer-mount,
.viewer-mount model-viewer {
  display: block;
  width: 100%;
  height: 100%;
}
.viewer-mount model-viewer {
  --poster-color: transparent;
  --progress-bar-color: #88daf4;
  --progress-bar-height: 2px;
  background: transparent;
  outline: none;
}
.viewer-mount model-viewer:focus-visible {
  outline: 2px solid #88daf4;
  outline-offset: -4px;
}
.viewer-ui {
  position: absolute;
  bottom: 12px;
  left: 6%;
  right: 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  pointer-events: none;
}
.viewer-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #c5d0d7;
}
.rotation-toggle {
  pointer-events: auto;
  padding: 12px 16px;
  min-height: 44px;
  border: 1px solid #536772;
  border-radius: 0;
  background: #0c1114;
  color: #edf3f6;
  font:
    650 12px Manrope,
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.rotation-toggle:hover {
  background: #24333c;
  border-color: #88daf4;
}
.rotation-toggle:focus-visible {
  outline: 2px solid #88daf4;
  outline-offset: 4px;
}
.rotation-toggle[hidden] {
  display: none;
}
.hero-viewer {
  position: absolute;
  top: 110px;
  right: 0;
  width: 56%;
  height: 620px;
}
.hero-viewer[data-state="loading"]::after {
  content: "GT3 EVO";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(28px, 5vw, 74px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.065em;
  white-space: nowrap;
  color: #d8edf317;
  pointer-events: none;
}
.cover-copy {
  max-width: 43%;
}
.cover-copy h1 {
  font-size: clamp(40px, 4.35vw, 65px);
}
.model-credit {
  flex-basis: 100%;
  font-size: 11px;
  line-height: 1.7;
  color: #a6b4bd;
}
footer:has(.model-credit) {
  flex-wrap: wrap;
}
@media (max-width: 1000px) {
  .hero-viewer {
    top: 135px;
    width: 58%;
    height: 570px;
  }
  .cover-copy h1 {
    font-size: 42px;
  }
}
@media (max-width: 640px) {
  .hero-viewer {
    inset: 145px 0 auto;
    width: 100%;
    height: 280px;
  }
  .viewer-ui {
    left: 24px;
    right: 24px;
    bottom: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .viewer-status {
    font-size: 10px;
  }
  .rotation-toggle {
    font-size: 10px;
    padding: 10px;
  }
  .cover-copy {
    max-width: none;
  }
  .cover-copy h1 {
    font-size: clamp(35px, 9vw, 52px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rotation-toggle {
    transition: none;
  }
}
