/* Direct continuation from Life within; details now follow the light scene. */
main > .residence-light { margin: -12svh 0 0; background: var(--night); z-index: 2; }
.light-heading h2 { font-size: clamp(2.5rem,5.5vw,6.5rem); font-weight: 600; line-height: 1.08; margin: .5rem 0 1rem; }
.light-heading { transform-origin: left top; }
.residence-light .light-building { transform-origin: center; }
@media(prefers-reduced-motion:reduce) { main > .residence-light { margin-top: 0; } }
.residence-light.light-in-story { position: absolute; inset: 0; height: 100%; margin: 0; z-index: 6; background: transparent; }
.light-in-story .light-heading { top: 50%; left: var(--page-x); right: var(--page-x); text-align: center; transform-origin: center; }
.light-in-story .light-heading > p:last-child { margin-left: auto; margin-right: auto; }
.residence-light .light-heading > p { display: none; }
.light-in-story .light-heading h2 { margin: 0; }
.light-in-story .light-heading { will-change: transform, clip-path; }
.light-in-story .light-building { will-change: opacity; }
@media(prefers-reduced-motion:reduce) {
  .light-heading, .light-building { will-change: auto !important; }
}
