*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html,
body {
  background: #ffffff;
}

body {
  overflow: hidden;
  color: #111111;

  font-family:
    "Arial Narrow",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

.splash {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px;

  background: #ffffff;
}

.splash__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.splash__logo {
  display: block;

  width: clamp(180px, 22vw, 300px);
  height: auto;

  object-fit: contain;

  opacity: 0;

  animation:
    logoEnter 1.2s ease-out forwards,
    logoFloat 5s ease-in-out 1.2s infinite;
}

.splash__subtitle {
  position: relative;

  margin: 34px 0 0;
  padding-bottom: 14px;

  color: #1c1c1c;

  font-family:
    "Arial Narrow",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 10px;
  font-weight: 600;
  line-height: 1;

  letter-spacing: 0.32em;
  text-transform: uppercase;

  opacity: 0;

  animation:
    subtitleEnter 1s ease-out 0.65s forwards;
}

.splash__subtitle::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 36px;
  height: 1px;

  background: #111111;

  transform: translateX(-50%);
}

@keyframes logoEnter {
  0% {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.01);
  }
}

@keyframes subtitleEnter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .splash__logo {
    width: clamp(170px, 30vw, 260px);
  }
}

@media (max-width: 600px) {
  .splash {
    padding: 24px;
  }

  .splash__logo {
    width: clamp(160px, 52vw, 230px);
  }

  .splash__subtitle {
    max-width: 280px;

    margin-top: 28px;

    font-size: 9px;
    line-height: 1.5;

    letter-spacing: 0.24em;
  }
}

@media (max-width: 380px) {
  .splash__logo {
    width: 58vw;
  }

  .splash__subtitle {
    max-width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash__logo,
  .splash__subtitle {
    opacity: 1;

    animation: none;

    transform: none;
    filter: none;
  }
}