.intro {
  position: relative;
  height: 350vh;
  background: radial-gradient(circle, #fff, #fafdee);
}

.intro-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.logo-container {
  display: flex;
  justify-content: center;
}

#imisi-logo {
  width: min(38vw, 460px);
}

#imisi-logo path {
  fill-opacity: 0;
}

.intro-content {
  text-align: center;
  margin-top: 3rem;
}

.intro-content h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: 0.15em;
  color: var(--primary);

  opacity: 0;
}

.intro-content p {
  margin-top: 1rem;
  color: #666;
  opacity: 0;
}

.scroll-down {
  position: absolute;

  bottom: 60px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 12px;

  opacity: 0;
}

.scroll-line {
  width: 2px;

  height: 70px;

  background: linear-gradient(var(--primary), transparent);
}

.logo-container {
  width: min(38vw, 460px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo-loader {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(7, 104, 112, 0.15);
  border-top-color: #076870;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.draw-section {
  position: relative;
  height: 320vh;
  background: #fafdee;
}

/* Sticky stage keeps the logo pinned & centred while you scroll the track. */
.draw-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.draw-stage svg {
  width: min(62vw, 500px);
  height: auto;
  overflow: visible;
}

.draw-stage path {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill-opacity: 0; /* fill stays hidden until the stroke has drawn */
}

.draw-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #076870;
  /* margin-top: 280px; */
}

.after {
  height: 60vh;
  background: #076870;
  color: #fafdee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.scroll-to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #c7d413;
  color: #0b0b0b;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.scroll-to-top-btn:hover {
  background: #dce723;
  transform: translateY(-2px);
}

.scroll-to-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}
