@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #030409;
  --text: #f7f3ef;
  --muted: #d8c4b6;
  --coral: #ff7a59;
  --ember: #e8442a;
  --amber: #ffb080;
  --px: 0;
  --py: 0;
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background: #030409;
}

#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 24px;
}

.mark {
  position: relative;
}

.streak {
  position: absolute;
  left: -18%;
  right: -18%;
  top: 28%;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 89, 0.22), rgba(255, 176, 128, 0.14), transparent);
  filter: blur(22px);
  pointer-events: none;
}


.wordmark {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  line-height: 0;
}

.wordmark-logo {
  display: block;
  filter: drop-shadow(0 2px 18px rgba(3, 4, 9, 0.75));
  width: min(90vw, 980px);
  height: auto;
  opacity: 0;
}

html.is-ready .wordmark-logo {
  animation: fade 0.8s ease 80ms forwards;
}

.tagline {
  text-shadow: 0 1px 12px rgba(3, 4, 9, 0.9);
  margin: 22px 0 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 2.1vw, 15px);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

html.is-ready .tagline {
  animation: fade 1s ease 1.2s forwards;
}

@keyframes enter {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-34%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.85;
  }
  100% {
    transform: translateX(-34%);
    opacity: 0.35;
  }
}

@media (max-width: 520px) {
  .wordmark-logo {
    width: min(92vw, 360px);
  }

  .tagline {
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark-logo,
  .tagline,
  .streak {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: none;
  }

  main {
    transform: none;
  }
}
