@font-face {
  font-family: Cinzel;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --coal: #0c0908;
  --ivory: #f4eee6;
  --ash: #e4d8cc;
  --track: 0.18em;
  color-scheme: dark;
  background: var(--coal);
}

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

html {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
  background:
    radial-gradient(ellipse 80% 55% at 50% 115%, #241410 0%, transparent 58%),
    var(--coal);
  color: var(--ivory);
  font-family: Cinzel, Palatino, "Palatino Linotype", "Iowan Old Style", serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

body::before {
  top: 54%;
  width: 100vw;
  height: 46vh;
  background: radial-gradient(ellipse at center, rgba(255, 98, 32, 0.46) 0%, rgba(255, 98, 32, 0.14) 46%, rgba(255, 98, 32, 0) 74%);
  animation: ember 8s ease-in-out infinite;
}

body::after {
  top: 64%;
  width: 78vw;
  height: 38vh;
  background: radial-gradient(ellipse at center, rgba(122, 70, 170, 0.32) 0%, rgba(122, 70, 170, 0.08) 48%, rgba(122, 70, 170, 0) 76%);
  animation: ember 12s ease-in-out infinite reverse;
}

main {
  position: relative;
  z-index: 1;
  width: min(100%, 68rem);
  margin-block: auto;
  padding-block: clamp(2.5rem, 10vh, 6rem) 2.75rem;
  padding-inline: max(16px, 4vw);
  container-type: inline-size;
  text-align: center;
}

h1 {
  margin: 0;
  font-weight: 500;
  font-size: min(6.5rem, 13cqi);
  line-height: 0.95;
  letter-spacing: var(--track);
  padding-inline-start: var(--track);
  text-transform: uppercase;
}

p {
  --line-track: min(0.36em, 1.8cqi);
  margin: min(1.5rem, 4vh) 0 0;
  color: var(--ash);
  font-weight: 500;
  font-size: min(0.86rem, 5cqi);
  line-height: 1.5;
  letter-spacing: var(--line-track);
  padding-inline-start: var(--line-track);
}

::selection {
  background: #ff6a28;
  color: #1a0c08;
}

@keyframes ember {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    opacity: 0.85;
  }
}
