* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100vh; background: #000; }
/* Safari: avoid 0-height canvas with fixed + 100vh */
html { height: 100%; -webkit-text-size-adjust: 100%; }
body { min-height: 100%; min-height: -webkit-fill-available; }
#canvas-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
}
#scene-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 1px;
  min-height: 1px;
}
#logo {
  position: fixed;
  top: calc(16.67vh - 150px);
  left: 50%;
  transform: translateX(-50%);
  height: 300px;
  width: auto;
  z-index: 2;
  pointer-events: none;
}
.fallback-message {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  padding: 2rem;
  text-align: center;
  z-index: 1;
}
@font-face {
  font-family: "Signifier";
  src: url("../assets/Fonts/WOFF2/signifier-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
.cta-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 3rem;
}
.cta-bottom button {
  font-family: "Signifier", serif;
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0 0 0.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-shadow: 0 1px 2px #000, 0 3px 8px #000, 0 5px 20px #000, 0 8px 32px rgba(0, 0, 0, 0.95);
}
.cta-bottom button:hover {
  border-bottom-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}
.cta-bottom button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.6);
  outline-offset: 0.25rem;
}
#webgl-fallback:not([hidden]) { display: flex; }
.fallback-message p { margin: 0; }
