:root {
  --ink: #0d0e11;
  --ink-soft: #14161b;
  --bone: #f1ece2;
  --bone-dim: #a9a49a;
  --ember: #e2571f;
  --ember-soft: #f08a4b;
  --rule: rgba(241, 236, 226, 0.14);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
}

/* Ember glow rising from the floor of the hall. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 108%, rgba(226, 87, 31, 0.22), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(240, 138, 75, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Faint vignette to keep the edges quiet. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem) 1.5rem;
}

.eyebrow {
  margin: 0 0 clamp(1.2rem, 3vw, 2rem);
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.wordmark {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 15vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 0 60px rgba(226, 87, 31, 0.18);
}

/* The .cc is the domain hack: ragnaro.cc reads as Ragnarok. */
.wordmark-cc {
  color: var(--ember);
  letter-spacing: 0.02em;
}

.rule {
  width: clamp(3rem, 10vw, 6rem);
  height: 1px;
  margin: clamp(1.6rem, 4vw, 2.6rem) 0;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}

.tagline {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--bone);
  opacity: 0.92;
}

.flavor {
  margin: clamp(1.4rem, 3.5vw, 2.2rem) 0 0;
  max-width: 34ch;
  font-size: clamp(0.9rem, 1.9vw, 1rem);
  line-height: 1.75;
  color: var(--bone-dim);
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.6rem 1.5rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(169, 164, 154, 0.7);
}

.rune {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--ember);
  flex: none;
}

@media (prefers-reduced-motion: no-preference) {
  .wordmark {
    animation: settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .tagline,
  .flavor {
    animation: rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(0.35em);
    letter-spacing: 0.14em;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: 0.06em;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
