html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  min-height: 100vh;
  margin: 0;
  background: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.head {
  position: sticky;
  top: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px, 5vw, 24px);
  background: #ffd23f;
}
.head__logo {
  color: #17141a;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.head__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 600ms linear(0, 0.32, 0.538, 0.686, 0.786, 0.855, 0.901, 0.933, 0.954, 0.969, 0.979, 0.986, 0.99, 0.993, 0.995, 0.997, 0.998, 0.999, 0.999, 0.999, 1), transform 600ms linear(0, 0.32, 0.538, 0.686, 0.786, 0.855, 0.901, 0.933, 0.954, 0.969, 0.979, 0.986, 0.99, 0.993, 0.995, 0.997, 0.998, 0.999, 0.999, 0.999, 1);
}
.head__sep {
  opacity: 0.4;
}
.head.is-scrolled .head__crumb {
  opacity: 1;
  transform: translateX(0);
}

.head.is-demo .head__crumb {
  animation: crumb-reveal 2s linear(0, 0.32, 0.538, 0.686, 0.786, 0.855, 0.901, 0.933, 0.954, 0.969, 0.979, 0.986, 0.99, 0.993, 0.995, 0.997, 0.998, 0.999, 0.999, 0.999, 1) infinite;
}

@keyframes crumb-reveal {
  0%, 8% {
    opacity: 0;
    transform: translateX(-16px);
  }
  38%, 62% {
    opacity: 1;
    transform: translateX(0);
  }
  92%, 100% {
    opacity: 0;
    transform: translateX(-16px);
  }
}
.head.is-scrolled ~ .page {
  transform: translateY(-8px);
}

.head.is-demo ~ .page {
  animation: page-parallax 2s linear(0, 0.18, 0.328, 0.449, 0.548, 0.629, 0.696, 0.751, 0.796, 0.832, 0.863, 0.887, 0.908, 0.924, 0.938, 0.949, 0.958, 0.966, 0.972, 0.977, 1) infinite;
}

@keyframes page-parallax {
  0%, 8% {
    transform: translateY(0);
  }
  38%, 62% {
    transform: translateY(-8px);
  }
  92%, 100% {
    transform: translateY(0);
  }
}
.page {
  padding: 24px 24px 0;
  transform: translateY(0);
  transition: transform 780ms linear(0, 0.18, 0.328, 0.449, 0.548, 0.629, 0.696, 0.751, 0.796, 0.832, 0.863, 0.887, 0.908, 0.924, 0.938, 0.949, 0.958, 0.966, 0.972, 0.977, 1);
}

.page__line {
  height: 12px;
  margin: 0 0 12px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
}
.page__line.short {
  width: 60%;
}

@media (prefers-reduced-motion: reduce) {
  .head__crumb {
    transition: none;
  }
  .head.is-demo .head__crumb {
    animation: none !important;
    opacity: 1;
    transform: translateX(0);
  }
  .page {
    transition: none;
  }
  .head.is-demo ~ .page {
    animation: none !important;
    transform: translateY(0);
  }
}
