/* namu.quest */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a1a0f;
  color: #d0e0c0;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGently {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes trailPulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.trail-line {
  position: fixed;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100vh;
  border-left: 2px dotted #4a8a55;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: trailPulse 3s ease-in-out infinite;
}

.chapter {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
}

.chapter-canopy { background: #0a1a0f; }
.chapter-understory { background: #142b1a; }
.chapter-floor { background: #1e4025; }
.chapter-clearing { background: #2d5a35; }

.tree-silhouette {
  position: absolute;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: #142b1a;
  pointer-events: none;
}

.s1 {
  width: 80px;
  height: 120px;
  left: 10%;
  bottom: 0;
}

.s2 {
  width: 60px;
  height: 90px;
  right: 15%;
  bottom: 0;
  opacity: 0.6;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: floatGently 4s ease-in-out infinite;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 0.9rem;
  color: #4a8a55;
  margin-top: 0.3rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.trail-marker {
  margin-bottom: 1rem;
}

.marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a8a55;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(74, 138, 85, 0.3);
}

.marker-dot.golden {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.chapter-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.55rem;
  color: #fbbf24;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

.chapter-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.chapter-text {
  font-size: 0.85rem;
  color: #a0c090;
  max-width: 480px;
  text-align: center;
  line-height: 1.8;
}

.species-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.55rem;
  color: #4a8a55;
  display: block;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

.roots {
  text-align: center;
  padding: 4rem 2rem;
  background: #0a1a0f;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-text {
  font-size: 0.8rem;
  color: #4a8a55;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.65rem;
  color: #d0e0c0;
  letter-spacing: 0.05em;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
