:root {
  color-scheme: dark;
  --page-background: #121212;
  --focus-color: #f6ce1f;
}

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

html,
body {
  width: 100%;
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  background: var(--page-background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
}

.artboard {
  position: relative;
  width: min(100vw, 177.7778svh);
  height: min(100svh, 56.25vw);
}

.logo-stage {
  position: absolute;
  top: 30.9081%;
  left: 50%;
  width: 14.7041%;
  aspect-ratio: 282.3187 / 282.3493;
  transform: translateX(-50%);
}

.logo-core,
.logo-ring-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo-ring-motion {
  transform-origin: 50% 50%;
  animation: ring-spin 9s ease-in-out infinite;
  will-change: transform;
}

.logo-ring {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: ring-expand 9s ease-in-out infinite;
  will-change: transform;
}

.social-cluster {
  position: absolute;
  top: 60.483%;
  left: 43.9043%;
  width: 12.1914%;
  aspect-ratio: 234.074 / 22.986;
}

.social-link,
.social-handle {
  position: absolute;
  display: block;
}

.social-link img,
.social-handle {
  width: 100%;
  height: 100%;
}

.social-link--instagram {
  top: 0.8%;
  left: 0;
  width: 9.0762%;
  height: 92.42%;
}

.social-link--tiktok {
  top: 0;
  left: 15.7617%;
  width: 8.045%;
  height: 94.16%;
}

.social-link--youtube {
  top: 21.59%;
  left: 30.505%;
  width: 10.7097%;
  height: 71.17%;
}

.social-handle {
  top: 12.97%;
  left: 49.5888%;
  width: 50.4112%;
  height: 87.03%;
}

.social-link::before {
  position: absolute;
  inset: -0.4rem;
  content: "";
}

.social-link:focus-visible {
  border-radius: 0.125rem;
  outline: 0.125rem solid var(--focus-color);
  outline-offset: 0.4rem;
}

.coming-line {
  position: absolute;
  top: 65.3937%;
  left: 46.1981%;
  width: 8.5414%;
  aspect-ratio: 163.9946 / 16.0035;
  margin: 0;
}

.coming-word,
.typing-dot {
  position: absolute;
  display: block;
}

.coming-word {
  inset: 0 auto auto 0;
  width: 79.2686%;
  height: 100%;
}

.typing-dot {
  top: 75%;
  width: 2.4392%;
  height: 25%;
  opacity: 0;
  animation-duration: 2s;
  animation-timing-function: step-end;
  animation-iteration-count: infinite;
}

.typing-dot--one {
  left: 82.927%;
  animation-name: type-dot-one;
}

.typing-dot--two {
  left: 90.244%;
  animation-name: type-dot-two;
}

.typing-dot--three {
  left: 97.561%;
  animation-name: type-dot-three;
}

@keyframes ring-spin {
  0% {
    transform: rotate(0turn);
  }

  100% {
    transform: rotate(3turn);
  }
}

@keyframes ring-expand {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.14);
  }
}

@keyframes type-dot-one {
  0%,
  74.999% {
    opacity: 1;
  }

  75%,
  100% {
    opacity: 0;
  }
}

@keyframes type-dot-two {
  0%,
  24.999% {
    opacity: 0;
  }

  25%,
  74.999% {
    opacity: 1;
  }

  75%,
  100% {
    opacity: 0;
  }
}

@keyframes type-dot-three {
  0%,
  49.999% {
    opacity: 0;
  }

  50%,
  74.999% {
    opacity: 1;
  }

  75%,
  100% {
    opacity: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-aspect-ratio: 3 / 4) {
  .artboard {
    width: 100%;
    height: 100vh;
    height: 100svh;
  }

  .logo-stage {
    top: 44%;
    width: min(72vw, 17.644rem);
    transform: translate(-50%, -50%);
  }

  .social-cluster {
    top: 68%;
    left: 50%;
    width: min(73.2vw, 14.63rem);
    transform: translateX(-50%);
  }

  .coming-line {
    top: 75%;
    left: 50%;
    width: min(51.25vw, 10.25rem);
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logo-ring-motion,
  .logo-ring,
  .typing-dot {
    animation: none !important;
  }

  .typing-dot {
    opacity: 1;
  }
}
