/* ============================================================
   byt3land.com — BLANK WHITE page + the Moon + massive type.
   Layer order (back to front):
     1. .tagline   — screen-filling words, fixed behind the moon
     2. #scene     — transparent canvas, the moon eclipses the type
     3. .copyright — small line at the bottom
   ============================================================ */

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

html, body {
  width: 100%;
  height: 100%;
  /* near-white with a whisper of warmth so it doesn't glare on OLED */
  background: #fdfdfc;
  overflow: hidden;
}

/* ---- LAYER 1: the words (behind everything) ---- */
.tagline {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: clamp(16px, 4vw, 70px);
  pointer-events: none;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  /* MASSIVE but restrained: each line ~ 1/4 of viewport height */
  font-size: clamp(72px, 23vh, 26vh);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #0b0b0b;
  opacity: 0;
  animation: tagIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.tagline-line { display: block; white-space: nowrap; }
/* "Dream" drops to a lighter grey: the word the moon completes */
.tagline-line.accent { color: #a9adb5; }
@keyframes tagIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  /* portrait: keep the type huge but let it fit. vw-based so the widest
     line ("dreamers" = 8 chars) always fits the screen width */
  .tagline { font-size: clamp(52px, 17vw, 160px); }
  .tagline-line.accent { color: #b9bdc4; }
}
@media (max-width: 380px) {
  .tagline { font-size: clamp(44px, 15.5vw, 110px); }
}

/* ---- LAYER 2: the moon (transparent canvas above the type) ---- */
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  /* canvas is alpha-transparent: white comes from body, type shows through */
  opacity: 0;
  transition: opacity 1.2s ease;
}
#scene.ready { opacity: 1; }

/* ---- LAYER 3: copyright ---- */
.copyright {
  position: fixed;
  left: 0;
  right: 0;
  bottom: clamp(14px, 3vh, 28px);
  z-index: 3;
  display: flex;
  justify-content: center;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0a0a0a;
  white-space: nowrap;
  opacity: 0;
  animation: tagIn 1.4s ease 1.1s forwards;
  pointer-events: none;
}

.noscript {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: #999;
  z-index: 4;
}
