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

body {
  font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
  overflow: hidden;
}

.site {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.site__bg {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  transform: translateX(0);
  will-change: transform;
}

.site__copy {
  position: absolute;
  top: clamp(2rem, 8vh, 5rem);
  /* left: clamp(1rem, 6vw, 4rem); */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.site__title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
}

.site__subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 500;
}

.site__subheading {
  margin: 1.4rem 0 0;
  font-size: clamp(3.1rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  font-weight:400;
}

.site__at-button {
  margin-top: 1.4rem;
  min-width: 3rem;
  min-height: 3rem;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay--black {
  background: #000;
  color: #fff;
}

.overlay--white {
  background: #fff;
  color: #000;
}

.overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
}

.overlay__content {
  width: min(90vw, 28rem);
}

.overlay__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.overlay__label {
  font-size: 0.95rem;
}

.overlay__input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #fff;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  padding: 0 0.75rem;
  box-sizing: border-box;
  border-radius: 0.55rem;
}

.overlay__submit {
  min-height: 2.75rem;
  border: 1px solid #fff;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0.55rem;
}

.overlay__error {
  margin: 0;
  min-height: 1.2rem;
  color: #ff5e5e;
  font-size: 0.85rem;
}

.overlay__loading {
  margin: 0;
  min-height: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.overlay__loading[hidden] {
  display: none !important;
}

.overlay__spinner {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: overlay-spinner 700ms linear infinite;
}

.overlay__thankyou {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.3;
  text-align: center;
}

.site.is-pannable .site__bg {
  animation: bg-pan var(--pan-duration, 24s) ease-in-out infinite alternate;
}

@keyframes bg-pan {
  from {
    transform: translate3d(
      var(--pan-start-x, 0px),
      var(--pan-start-y, 0px),
      0
    );
  }
  to {
    transform: translate3d(
      var(--pan-end-x, 0px),
      var(--pan-end-y, 0px),
      0
    );
  }
}

@keyframes overlay-spinner {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site.is-pannable .site__bg {
    animation: none;
  }
}
