:root {
  color-scheme: dark;
  --background: #050403;
  --gold: #ffc84a;
  --gold-mid: #d89522;
  --ivory: #f3e4c0;
  --muted: #b89f73;
  --teal: #38b8b0;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 184, 45, 0.085), transparent 23rem),
    radial-gradient(circle at 50% 68%, rgba(216, 149, 34, 0.06), transparent 31rem),
    radial-gradient(circle at 78% 20%, rgba(56, 184, 176, 0.035), transparent 18rem),
    var(--background);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -18vmin;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 200, 74, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 200, 74, 0.025) 1px, transparent 1px);
  background-size: 8.5rem 8.5rem;
  mask-image: radial-gradient(circle at 50% 45%, transparent 0 28%, black 78%);
  opacity: 0.14;
  transform: rotate(-9deg);
}

body::after {
  background: radial-gradient(circle at 50% 45%, transparent 0 35%, rgba(0, 0, 0, 0.54) 82%);
}

.splash {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.splash::before {
  content: "";
  position: absolute;
  width: min(78rem, 132vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 200, 74, 0.095), rgba(216, 149, 34, 0.040) 32%, transparent 64%),
    radial-gradient(circle, rgba(255, 244, 185, 0.045), transparent 26%);
  filter: blur(0.2rem);
  animation: breathe 7s ease-in-out infinite;
  z-index: -2;
}

.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.ambient span {
  position: absolute;
  width: 0.28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 200, 74, 0.72);
  box-shadow: 0 0 1rem rgba(255, 184, 45, 0.72);
  animation: ember 11s linear infinite;
}

.ambient span:nth-child(1) {
  left: 16%;
  bottom: -8%;
  animation-delay: -2s;
}

.ambient span:nth-child(2) {
  left: 34%;
  bottom: -13%;
  animation-delay: -8s;
  opacity: 0.55;
}

.ambient span:nth-child(3) {
  left: 61%;
  bottom: -10%;
  animation-delay: -4s;
  opacity: 0.42;
}

.ambient span:nth-child(4) {
  left: 78%;
  bottom: -7%;
  animation-delay: -6s;
  opacity: 0.50;
}

.ambient span:nth-child(5) {
  left: 49%;
  bottom: -16%;
  animation-delay: -1s;
  opacity: 0.35;
}

.lockup {
  width: min(42rem, calc(100vw - 2rem));
  display: grid;
  justify-items: center;
  gap: clamp(0.55rem, 1.6vw, 0.95rem);
  text-align: center;
  transform: translateY(-1.5vh);
}

.lockup--compact {
  transform: translateY(-2.5vh);
}

.medallion {
  width: clamp(9.25rem, 26vw, 16.5rem);
  height: auto;
  filter:
    drop-shadow(0 1.25rem 2.6rem rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 3.5rem rgba(255, 184, 45, 0.22));
  animation: medallionFloat 6s ease-in-out infinite;
}

.wordmark {
  width: min(36rem, 88vw);
  height: auto;
  margin-top: clamp(0.45rem, 1.4vw, 0.9rem);
  filter:
    drop-shadow(0 1.2rem 1.8rem rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 2.2rem rgba(255, 184, 45, 0.18));
}

.kicker {
  margin: clamp(-1.35rem, -2vw, -0.6rem) 0 0;
  color: var(--gold);
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 1.2rem rgba(255, 184, 45, 0.22);
}

h1 {
  margin: clamp(1.45rem, 3.8vw, 2.25rem) 0 0;
  color: rgba(243, 228, 192, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 1.8rem rgba(255, 200, 74, 0.18);
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes medallionFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.55rem);
  }
}

@keyframes ember {
  0% {
    transform: translate3d(0, 0, 0) scale(0.65);
    opacity: 0;
  }

  16% {
    opacity: 0.8;
  }

  100% {
    transform: translate3d(4.5rem, -112vh, 0) scale(0.15);
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .lockup {
    transform: translateY(-3vh);
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
