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

html, body {
  height: 100%;
  background: #060606;
  color: #f0ede8;
  font-family: 'Akzidenz-Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow: hidden;
  transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D background canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Ambient glow orb */
.glow-orb {
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* UI layer */
.ui {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2.5rem 3rem;
}

.wordmark {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* Logo 3D */
.logo-wrap {
  perspective: 800px;
  perspective-origin: 50% 50%;
}

.logo-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.logo-3d {
  width: clamp(88px, 11vw, 154px);
  height: auto;
  filter: invert(1) drop-shadow(0 0 40px rgba(255,255,255,0.15)) drop-shadow(0 0 80px rgba(255,255,255,0.06));
  transition: filter 0.6s ease;
  position: relative;
  z-index: 1;
}

.logo-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
  transition: background 1s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
  0%   { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Section links */
.sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.section-link {
  display: block;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(240, 237, 232, 0.35);
  text-decoration: none;
  text-align: center;
  transition:
    color 0.4s ease,
    letter-spacing 0.4s ease;
}

.section-link:hover {
  color: rgba(240, 237, 232, 1);
  letter-spacing: 0.22em;
}

/* Mobile */
@media (max-width: 600px) {
  html, body { overflow: hidden; }
  .ui { height: 100vh; }
  header { padding: 1.5rem; }
  main { gap: 1.8rem; justify-content: flex-start; padding-top: 16vh; }
  .section-link { font-size: 1.4rem; letter-spacing: 0.14em; }
  .sections { gap: 9px; }
}
