/* ============================================================
   Presque Stable — shared styles
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  background: #05070c;
  overflow: hidden;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
              rgba(0,0,0,0) 44%,
              rgba(4,6,12,0.26) 74%,
              rgba(4,6,12,0.54) 100%);
  z-index: 5;
}

/* ---- name block: bottom-left, 6vw padding ---- */
.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 10;
  padding: 6vw;
}

.name {
  font-family: 'Anton', 'Oswald', 'Haettenschweiler', 'Arial Narrow Bold', Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 8.6vw, 104px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: lowercase;
  color: #f4f8fd;
  opacity: 1;
  text-shadow:
    0 1px 2px  rgba(3, 5, 10, 0.94),
    0 3px 14px rgba(3, 5, 10, 0.76),
    0 6px 40px rgba(3, 5, 10, 0.58);
}

/* ============================================================
   releases link
   No background pad — legibility from text-shadow only.
   Hidden until positioned, then fades in once. Never jumps.
   ============================================================ */

.releases {
  position: fixed;
  left: 50%;
  top: 40%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 10px;
  margin: -10px;
  text-decoration: none;
  color: #f2f7ff;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}

.releases.ready { opacity: 0.86; }

.releases.ready:hover,
.releases.ready:focus-visible {
  opacity: 1;
  outline: none;
}

.releases .dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(3, 5, 10, 0.9);
  animation: breathe 7s ease-in-out infinite;
}

.releases { transform-origin: 50% 50%; }

.releases .word {
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: lowercase;
  white-space: nowrap;
  text-shadow:
    0 1px 2px  rgba(3, 5, 10, 0.98),
    0 2px 6px  rgba(3, 5, 10, 0.92),
    0 2px 14px rgba(3, 5, 10, 0.80),
    0 0 26px   rgba(3, 5, 10, 0.60);
}

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%      { transform: scale(1.45); opacity: 1; }
}

/* ---- releases page ---- */
.soon {
  position: fixed;
  left: 50%;
  top: 45%;
  z-index: 20;
  padding: 10px;
  color: #f4f9ff;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: lowercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 1.8s ease;
  text-shadow:
    0 1px 2px  rgba(3, 5, 10, 0.98),
    0 2px 7px  rgba(3, 5, 10, 0.92),
    0 3px 16px rgba(3, 5, 10, 0.80),
    0 0 30px   rgba(3, 5, 10, 0.60);
}

.soon.ready { opacity: 0.92; }

/* ============================================================
   copyright — bottom right, very quiet
   ============================================================ */
.copyright {
  position: fixed;
  right: 2.2vw;
  bottom: 1.8vh;
  z-index: 15;
  transform-origin: 100% 50%;
  color: #cfdcea;
  font-size: clamp(9px, 0.82vw, 11px);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  white-space: nowrap;
  opacity: 0.30;
  pointer-events: none;
  text-shadow:
    0 1px 2px rgba(3, 5, 10, 0.94),
    0 2px 8px rgba(3, 5, 10, 0.78);
}

/* ============================================================
   cryptic annotation — fades in while the structure is hovered
   ============================================================ */
.annotation {
  position: fixed;
  left: 0;
  top: 40%;
  z-index: 18;
  max-width: 34ch;
  color: #eaf2fb;
  font-size: clamp(11px, 1.12vw, 14px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.13em;
  text-transform: lowercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
  text-shadow:
    0 1px 2px  rgba(3, 5, 10, 0.96),
    0 2px 7px  rgba(3, 5, 10, 0.90),
    0 3px 18px rgba(3, 5, 10, 0.76);
}

.annotation span { display: block; }

.annotation, .soon { transform-origin: 50% 50%; }

.annotation .dim { opacity: 0.62; }

@media (prefers-reduced-motion: reduce) {
  .releases .dot { animation: none; }
  .releases, .soon, .annotation { transition: none; }
}
