/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050507;
  cursor: none;
}

/* ─── Canvas ─────────────────────────────────────────────────────────────────── */
#canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

/* ─── Custom cursor ──────────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  width: 6px;
  height: 6px;
  background: rgba(212, 175, 55, 0.85);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  top: var(--cy, 50%);
  left: var(--cx, 50%);
  box-shadow:
    0 0 8px  2px rgba(212, 175, 55, 0.5),
    0 0 20px 6px rgba(212, 175, 55, 0.15);
  z-index: 9999;
  transition: transform 0.08s ease;
}

/* ─── Signature watermark ────────────────────────────────────────────────────── */
.signature {
  position: fixed;
  bottom: 28px;
  right: 36px;
  z-index: 100;
  pointer-events: none;
  user-select: none;
}

.signature__inner {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(212, 175, 55, 0.28);
  text-shadow:
    0 0 14px rgba(212, 175, 55, 0.12),
    0 0 40px rgba(212, 175, 55, 0.05);
  /* Subtle metallic shimmer via gradient text */
  background: linear-gradient(
    90deg,
    rgba(180, 140, 30, 0.28)  0%,
    rgba(240, 210, 80, 0.42) 45%,
    rgba(212, 175, 55, 0.28) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
}

/* Loading veil — fades out when JS signals ready */
.loading-veil {
  position: fixed;
  inset: 0;
  background: #050507;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.8s ease;
  pointer-events: none;
}

.loading-veil.fade-out {
  opacity: 0;
}
