html[data-home-intro],
html[data-home-intro] body {
  overflow: hidden;
}

html[data-home-intro="pending"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0f0f0f;
}

.home-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: transparent;
  color: #fdfdfd;
}

.home-intro:not([open]) {
  display: none;
}

.home-intro::backdrop {
  background: transparent;
}

.home-intro-screen {
  position: absolute;
  inset: 0;
  background: #0f0f0f;
  will-change: transform;
}

.home-intro-curve {
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 10vh;
  overflow: hidden;
  transform: translateY(100%);
}

.home-intro-curve i {
  position: absolute;
  left: 50%;
  width: 150%;
  height: 745%;
  border-radius: 50%;
  background: #0f0f0f;
  transform: translate(-50%, -86.58%);
}

.home-intro-label {
  position: absolute;
  top: calc(50% - 50px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: .5em;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #fdfdfd;
  font: 400 clamp(36px, 5vw, 68px)/1.2 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.025em;
  white-space: nowrap;
  opacity: 0;
}

.home-intro-dot {
  flex: 0 0 auto;
  width: .16em;
  height: .16em;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 540px) {
  .home-intro-label {
    top: calc(50% - 30px);
  }

  .home-intro-curve {
    height: 5vh;
  }
}
