*, *::before, *::after { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #fff;
  background: #000;
}
main {
  text-align: center;
  padding: 2rem;
}

.intro {
  display: inline-block;
  text-align: left;
}

.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;
}

.logo-title {
  display: inline-block;
  margin: 0 0 1.25rem;
  text-align: left;
  font-size: clamp(1.15rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-line {
  display: block;
  line-height: 1.05;
}

.logo-line + .logo-line {
  margin-top: 0.12em;
}

.logo-a {
  display: inline-block;
  transform-origin: 50% 92%;
}

.logo-a--cw {
  animation: lean-cw 1.4s ease-in-out infinite alternate;
}

.logo-a--ccw {
  animation: lean-ccw 1.4s ease-in-out infinite alternate;
}

@keyframes lean-cw {
  from { transform: rotate(11deg); }
  to { transform: rotate(20deg); }
}

@keyframes lean-ccw {
  from { transform: rotate(-11deg); }
  to { transform: rotate(-20deg); }
}

p.tagline {
  margin: 0;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #fff;
}

.ellipsis {
  display: inline-block;
  letter-spacing: 0;
}

.ellipsis span {
  display: inline-block;
  animation: ellipsis-wave 1.2s ease-in-out infinite;
  opacity: 0.2;
}

.ellipsis span:nth-child(2) {
  animation-delay: 0.15s;
}

.ellipsis span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes ellipsis-wave {
  0%,
  100% {
    opacity: 0.15;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-0.12em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ellipsis span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.phone {
  margin: 1rem 0 0;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.phone a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.phone a:hover {
  border-bottom-color: #fff;
}

.phone a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .logo-title {
    margin-bottom: 0.65rem;
  }

  .logo-line {
    line-height: 1;
  }

  .logo-line + .logo-line {
    margin-top: 0.03em;
  }

  .phone {
    margin-top: 0.55rem;
  }
}
