:root {
  color-scheme: dark;
  --void: #000000;
  --ember: #e07a28;
  --caption: #e4c4a0;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--void);
  color: var(--caption);
  font-family: "Avenir Next Condensed", "Gill Sans", "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(1.5rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
  background:
    radial-gradient(ellipse 42% 28% at 50% 48%, rgba(224, 122, 40, 0.16), transparent 72%),
    var(--void);
}

.hero {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92vw, 68rem);
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  animation: ignite 1.8s ease-out both;
}

.hero__caption {
  margin: clamp(0.85rem, 2.4vw, 1.6rem) 0 0;
  color: var(--caption);
  font-size: clamp(1.05rem, 2.6vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.2;
  text-align: center;
  text-indent: 0.28em;
  animation: rise 1.1s ease-out 0.7s both;
}

@keyframes ignite {
  from {
    opacity: 0;
    filter: brightness(0.35) saturate(0.7);
  }
  to {
    opacity: 1;
    filter: brightness(1) saturate(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .hero__caption {
    animation: none;
  }
}
