@font-face {
  font-family: 'NeueKaine';
  src: url('/assets/fonts/neue-kaine-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

body {
  overflow: hidden;
}

#nav {
  position: fixed;
  top: clamp(1.25rem, 4vw, 2.0625rem);
  right: clamp(1.25rem, 4vw, 2.0625rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  z-index: 50;
}

#nav.visible {
  opacity: 1;
  pointer-events: all;
}

.contact-link {
  font-family: inherit;
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
}

.contact-link:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

#centerGroup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: fit-content;
  max-width: calc(100vw - 8vw);
  padding: 0 clamp(1.5rem, 6vw, 3rem);
}

#logo {
  font-size: clamp(2.25rem, 9vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

#tagline {
  width: 100%;
  font-size: clamp(1rem, 1.85vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.6);
  height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 1.2s ease 0.35s,
    -webkit-clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1),
    clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#tagline.visible {
  opacity: 1;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

#comingSoon {
  position: fixed;
  bottom: clamp(1.25rem, 4vw, 2.0625rem);
  left: 0;
  right: 0;
  padding: 0 clamp(1.25rem, 4vw, 2.0625rem);
  text-align: center;
  font-size: clamp(0.9375rem, 1.75vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 1.2s ease;
}

#comingSoon.visible {
  opacity: 1;
}

@media (max-width: 480px) {
  body {
    overflow-y: auto;
  }

  #logo {
    font-size: clamp(2rem, 11vw, 3rem);
    white-space: normal;
  }

  #tagline,
  #comingSoon {
    font-size: clamp(0.75rem, 3.4vw, 0.9375rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #nav,
  #comingSoon,
  #centerGroup,
  #tagline {
    transition: none !important;
  }
}
