/* glow-statement: see moment.js. --p is the held stage's run (0 to 1); at rest it is 1, the finished state. */
.glow { --p: 1; --padt: 0px; --padb: 0px; position: relative; overflow: clip; background: #111a2c; }
.glow > .glow__layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow .glow__sky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
.glow .glow__sun {
  --rise: clamp(0, calc(var(--p) * 1.55), 1);
  position: absolute; left: 50%; top: 50%; width: 120vmax; height: 120vmax; border-radius: 50%;
  background: radial-gradient(closest-side, #ffd3a1 0%, #ff8a3d 26%, #f2565e 48%, #d6286a 66%, rgb(214 40 106 / 0) 100%);
  transform: translate(-50%, -50%) translateY(calc((1 - var(--rise)) * 62vh)) scale(calc(0.32 + var(--rise) * 1.4));
  filter: saturate(1.05);
}
.glow .glow__night {
  position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 110%, #3a1d3a 0%, #111a2c 55%);
  opacity: clamp(0, calc((var(--p) - 0.66) * 3.4), 1);
}
.glow > .wrap { position: relative; z-index: 1; }
.glow .glow__words { position: sticky; top: 0; height: 100svh; display: grid; place-content: center; text-align: center; gap: var(--s-4); }
.glow .glow__lead {
  font: 650 clamp(22px, 2.6vw, 40px)/1.1 var(--font-display); font-variation-settings: "ROND" 100; letter-spacing: -0.02em;
  color: color-mix(in oklab, var(--ink) calc((1 - clamp(0, calc((var(--p) - 0.55) * 3), 1)) * 100%), #f7e9e3);
  margin: 0;
}
.glow .glow__big {
  font: 650 clamp(52px, 9.6vw, 156px)/0.98 var(--font-display); font-variation-settings: "ROND" 100; letter-spacing: -0.035em;
  color: color-mix(in oklab, #fff6ef calc(clamp(0, calc((var(--p) - 0.18) * 4), 1) * 100%), var(--ink));
  max-width: 14ch; margin: 0 auto; text-wrap: balance;
}
@media (prefers-reduced-motion: reduce) { .glow { --p: 1 !important; } }

@media (max-width: 639px) { .glow .glow__big { font-size: 60px; } .glow .glow__lead { font-size: 28px; } }
@media (max-width: 639px) { .glow { --bar: 0px; } }
