.universe {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(31rem, 75svh, 48rem);
  overflow: hidden;
  isolation: isolate;
  background: #100d1c;
  color: #fff1e5;
}
.universe-sky, .universe-halo, .universe-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.universe-sky { z-index: -1; }
.universe-halo {
  background: radial-gradient(ellipse at 64% 36%, #fff4bc 0%, #ff9b54 1.5%, #ed562b 5%, #7f2941 13%, #342038 25%, transparent 48%);
}
.universe-stars {
  background:
    radial-gradient(circle at 23% 22%, #ffe1c3 0 1px, transparent 2px),
    radial-gradient(circle at 46% 17%, #ffc291 0 2px, transparent 3px),
    radial-gradient(circle at 56% 27%, #fff4d6 0 1px, transparent 2px),
    radial-gradient(circle at 73% 16%, #ffc291 0 1px, transparent 2px),
    radial-gradient(circle at 82% 32%, #ffe1c3 0 2px, transparent 3px),
    radial-gradient(circle at 89% 46%, #ffc291 0 1px, transparent 2px),
    radial-gradient(circle at 31% 37%, #fff4d6 0 1px, transparent 2px),
    radial-gradient(circle at 76% 55%, #ffc291 0 1px, transparent 2px);
}
.universe-copy {
  max-width: 53rem;
  padding: 4rem var(--gutter);
  background: radial-gradient(ellipse at bottom left, #100d1c 30%, transparent 80%);
}
.universe-copy h1, .universe-copy h2 {
  font: 400 clamp(2.7rem, 7vw, 6.3rem)/.95 var(--serif);
  text-wrap: balance;
}
.universe-copy p { max-width: 54ch; margin: 1.25rem 0; line-height: 1.7; }
.universe-copy a { display: inline-block; color: #ffc79f; text-underline-offset: .3em; }
.universe-visible .universe-halo { animation: halo-open 3s ease-out both; }
.universe-visible .universe-stars { animation: stars-open 2s .6s ease-out both; }
@keyframes halo-open {
  from { transform: scale(.65); filter: blur(14px); opacity: .3; }
  to { transform: scale(1); filter: blur(0); opacity: 1; }
}
@keyframes stars-open {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .universe-visible .universe-halo, .universe-visible .universe-stars { animation: none; }
}

.universe-perspective { margin-top: 1.5rem; }
.universe-perspective summary { width: fit-content; cursor: pointer; color: #ffc79f; }
.universe-verse { margin: 1.5rem 0; }
.universe-verse .verse {
  margin: 0;
  color: #fff1e5;
  font: 400 clamp(1.45rem, 3vw, 2.15rem)/1.25 var(--serif);
}
.universe-verse .verse span { display: block; }
.universe-verse figcaption { margin-top: .6rem; color: #ffc79f; font-size: .75rem; }

.constellation-reading {
  --accent: #ffb48a;
  --rule: #ffffff38;
  background: #171222;
  color: #fff1e5;
}
.constellation-reading .poem-copy h1 {
  font: 400 clamp(2.8rem, 6vw, 6.3rem)/.95 var(--serif);
  overflow-wrap: anywhere;
}
.constellation-reading .poem-copy > p { max-width: 55ch; line-height: 1.65; }
.constellation-art {
  min-height: 0;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--rule);
}
.constellation-reading .universe-perspective { margin-top: 0; }
.constellation-reading .universe-perspective p { margin-top: .65rem; }
