/* Palpable Studio — single full-viewport stage (layout from the prototype). */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #1B1B1B;
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #1B1B1B;
}

/* Canvas host: WorkTypeGraphic appends a full-size <canvas> here. */
.halo {
  position: absolute;
  inset: 0;
}

/* Logo: centred over the canvas; lets hover/click fall through to it. */
.logo {
  position: absolute;
  top: 50%;
  left: calc(50% - 1.46%);
  width: min(56vmin, 600px);
  aspect-ratio: 1;
  margin: 0;
  transform: translate(-50%, -50%) scale(0.54);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
}

@media (orientation: portrait) {
  .logo {
    transform: translate(-50%, -50%) scale(0.9);
  }
}

/* Mail icon, bottom centre. */
.mail {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D6D9E0;
  opacity: 0.8;
  transition: opacity 0.2s;
  border-radius: 8px;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.mail:hover,
.mail:focus-visible {
  opacity: 1;
}

.mail:focus {
  outline: none;
}

.mail:focus-visible {
  outline: 2px solid #D6D9E0;
  outline-offset: 2px;
}

.mail svg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .mail {
    transition: none;
  }
}
