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: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 24px);
  background: #17141a;
  transform-origin: top;
}
.head__logo {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.head__nav {
  display: flex;
  gap: 10px;
}
.head__nav span {
  width: 26px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}
@supports (animation-timeline: scroll()) {
  .head {
    animation: shrink-header linear both;
    animation-timeline: scroll(root);
    animation-range: 0 200px;
  }
}
@supports not (animation-timeline: scroll()) {
  .head {
    transform: none;
  }
}

@keyframes shrink-header {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(0.75);
  }
}
.head.is-demo {
  animation: shrink-loop 2s ease-in-out infinite;
}

@keyframes shrink-loop {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.75);
  }
  100% {
    transform: scaleY(1);
  }
}
.page {
  padding: 28px 24px 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .head, .head.is-demo {
    animation: none !important;
    transform: scaleY(0.75);
  }
}
