@charset "UTF-8";

:root {
  color-scheme: dark;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  background: #000;
  color: #f5f0ff;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; }
body { background: #000; }
::selection { background: #7151c7; color: #fff; }

.universe {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 5rem 1.5rem;
  background: #000;
}

.cosmos {
  position: absolute;
  z-index: -2;
  inset: -2%;
  pointer-events: none;
  animation: drift 24s ease-in-out infinite alternate;
}

.cosmos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .9;
}

.universe::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .16) 15%, transparent 48%, rgba(0, 0, 0, .65) 100%);
}

.floating-copy {
  width: 100%;
  text-align: center;
  animation: float 8s ease-in-out infinite;
  padding: 2rem 0;
}

.wordmark {
  margin: 0 0 2.1rem;
  color: #d0bfff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .36em;
  padding-left: .36em;
  text-shadow: 0 0 24px rgba(154, 102, 255, .5);
}

h1 {
  margin: 0;
  color: #f5f0ff;
  font-size: clamp(2.4rem, 7.4vw, 7.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .075em;
  padding-left: .075em;
  text-transform: uppercase;
  text-shadow: 0 0 35px rgba(176, 141, 255, .28), 0 3px 36px rgba(0, 0, 0, .9);
}

@keyframes float {
  0%, 100% { transform: translateY(8px); }
  50% { transform: translateY(-8px); }
}

@keyframes drift {
  from { transform: scale(1) translate3d(-.5%, 0, 0); }
  to { transform: scale(1.045) translate3d(.5%, -.5%, 0); }
}

@media (max-width: 600px) {
  .universe { padding: 4rem 1rem; }
  .wordmark { font-size: .9375rem; margin-bottom: 1.6rem; }
  h1 { font-size: clamp(2rem, 7.7vw, 2.9rem); letter-spacing: .05em; }
  .cosmos { inset: -2% -38%; }
  .cosmos img { object-position: 50% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .cosmos, .floating-copy { animation: none; }
}
