/* Match the original 1200×800 photograph crop before layering the tiny pulses. */
#top .hero-slides > .hero-ceiling-slide{
 container-type:size;
 isolation:isolate;
 overflow:hidden;
}
.hero-ceiling-plane{
 position:absolute;
 left:50%;
 top:59%;
 width:100%;
 width:max(100%,150cqh);
 aspect-ratio:3 / 2;
 transform:translate(-50%,-59%);
}
.hero-ceiling-plane > :is(img,svg){
 display:block;
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
}
.hero-ceiling-stars{
 pointer-events:none;
 mix-blend-mode:screen;
}
.ceiling-star-phase{opacity:0}

@media(max-width:850px),(hover:none) and (pointer:coarse){
 .hero-ceiling-plane{
  top:50%;
  width:100%;
  width:min(100%,150cqh);
  transform:translate(-50%,-50%);
 }
}
@media(prefers-reduced-motion:no-preference) and (forced-colors:none){
 body.motion-enabled:not(.motion-paused) .ceiling-star-phase{
  animation:ceiling-star-light var(--star-cycle) ease-in-out var(--star-phase) infinite;
 }
}
@keyframes ceiling-star-light{
 0%,100%{opacity:.04}
 15%{opacity:.08}
 34%{opacity:1}
 45%{opacity:.85}
 66%{opacity:.20}
 83%{opacity:.07}
}

/* A trace of reflected violet, separate from the photographed strips and stars. */
.ceiling-cove-reflection{opacity:.13}
@media(prefers-reduced-motion:no-preference) and (forced-colors:none){
 body.motion-enabled:not(.motion-paused) #top:not(.mobile-carousel-ready) #hero-auto:checked ~ .hero-slides .ceiling-cove-reflection{
  animation:ceiling-cove-cycle 15s linear var(--slide-delay,0s) infinite;
 }
 body.motion-enabled:not(.motion-paused) #top:not(.mobile-carousel-ready) #hero-pick-1:checked ~ .hero-slides .ceiling-cove-reflection,
 body.motion-enabled:not(.motion-paused) #top.mobile-carousel-ready:has(.mobile-photo-dot[data-photo-index="0"][aria-current="true"]) .ceiling-cove-reflection{
  animation:ceiling-cove-in 5s ease-in-out both;
 }
}
@keyframes ceiling-cove-cycle{
 0%,100%{opacity:.13;animation-timing-function:cubic-bezier(.36,.12,.35,1)}
 23%,33.3333%{opacity:.79}
 34%,99.9%{opacity:.13}
}
@keyframes ceiling-cove-in{
 0%{opacity:.13;animation-timing-function:cubic-bezier(.36,.12,.35,1)}
 69%,100%{opacity:.79}
}

/* Desktop-only softer first-slide ceiling glow. Mobile and touch styles are unchanged. */
@media(min-width:851px) and (hover:hover) and (pointer:fine){
 .ceiling-cove-reflection{opacity:.08}
 body.motion-enabled:not(.motion-paused) .ceiling-star-phase{animation-name:ceiling-star-light-desktop}
 body.motion-enabled:not(.motion-paused) #top:not(.mobile-carousel-ready) #hero-auto:checked ~ .hero-slides .ceiling-cove-reflection{animation-name:ceiling-cove-cycle-desktop}
 body.motion-enabled:not(.motion-paused) #top:not(.mobile-carousel-ready) #hero-pick-1:checked ~ .hero-slides .ceiling-cove-reflection{animation-name:ceiling-cove-in-desktop}
}
@keyframes ceiling-star-light-desktop{0%,100%{opacity:.024}15%{opacity:.048}34%{opacity:.60}45%{opacity:.51}66%{opacity:.12}83%{opacity:.042}}
@keyframes ceiling-cove-cycle-desktop{0%,100%{opacity:.08;animation-timing-function:cubic-bezier(.36,.12,.35,1)}23%,33.3333%{opacity:.40}34%,99.9%{opacity:.08}}
@keyframes ceiling-cove-in-desktop{0%{opacity:.08;animation-timing-function:cubic-bezier(.36,.12,.35,1)}69%,100%{opacity:.40}}
