.home-intro {
  display: none;
}
.home-intro-active {
  overflow: hidden;
}
.home-intro-active .home-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #685760;
}
:root[data-color-mode="dark"] .home-intro {
  background: #09090c;
  color: #ebdbe1;
}
.home-intro-center {
  display: grid;
  justify-items: center;
  width: min(460px, 86vw);
  text-align: center;
  animation: intro-enter 750ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.home-intro-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.home-intro-logo-frame {
  width: min(340px, 70vw);
}
.home-intro-logo-frame.is-wordmark {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1627 / 700;
}
.home-intro-logo-frame.is-wordmark .home-intro-logo {
  position: absolute;
  width: 132.759%;
  height: auto;
  max-height: none;
  max-width: none;
  left: -18.1315%;
  top: -116.2857%;
  object-fit: initial;
}
.home-intro-tagline {
  margin: 28px 0 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  line-height: 1.8;
}
.home-intro-line {
  width: 54px;
  height: 2px;
  margin-top: 28px;
  border-radius: 2px;
  background: #e9c9d2;
  overflow: hidden;
}
.home-intro-line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: #b94d5e;
  animation: intro-wait 1400ms ease-in-out infinite;
}
:root[data-color-mode="dark"] .home-intro-line {
  background: #45353e;
}
:root[data-color-mode="dark"] .home-intro-line::after {
  background: #ee9bad;
}
.home-intro[data-phase="leaving"] {
  pointer-events: none;
  animation: intro-reveal 360ms ease both;
}
.home-intro[data-phase="leaving"] .home-intro-center {
  animation: intro-leave 300ms cubic-bezier(0.4, 0, 0.6, 1) both;
}
@keyframes intro-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes intro-leave {
  to {
    opacity: 0;
    transform: translateY(-18px) scale(1.025);
  }
}
@keyframes intro-reveal {
  to {
    opacity: 0;
  }
}
@keyframes intro-wait {
  0%,
  100% {
    transform: translateX(-105%);
  }
  50% {
    transform: translateX(230%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-intro-center,
  .home-intro-line::after,
  .home-intro[data-phase="leaving"],
  .home-intro[data-phase="leaving"] .home-intro-center {
    animation: none;
  }
}
