/* Shared light treatments, confined to sections that contain no photographs. */
.light-section{position:relative;isolation:isolate;overflow:hidden}
.light-section>:not(.be-window):not(.be-stage-light){position:relative;z-index:1}
/* Feather light into the page instead of leaving a hard rectangular edge. */
.hero.light-section::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(to right,var(--paper),transparent 14%,transparent 86%,var(--paper)),linear-gradient(to bottom,var(--paper),transparent 20%,transparent 80%,var(--paper))}
.be-window{position:absolute;z-index:0;pointer-events:none;width:48%;height:650px;left:-15%;top:-280px;transform:rotate(-19deg) skewY(5deg);background:var(--window-light);border:13px solid var(--window-shadow);box-shadow:0 0 30px 8px var(--window-light);filter:blur(3px);opacity:var(--day-atmosphere)}
.be-window::before{content:'';position:absolute;inset:0 auto 0 48%;width:13px;background:var(--window-shadow);box-shadow:0 0 5px var(--window-shadow)}
.be-window::after{content:'';position:absolute;inset:53% 0 auto;height:14px;background:var(--window-shadow);box-shadow:0 0 5px var(--window-shadow)}
.be-stage-light{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;opacity:var(--night-atmosphere)}
.be-stage-light::before{content:'';position:absolute;inset:-20% -5% -15%;background:conic-gradient(from 112deg at 5% 0%,transparent 0deg,rgba(184,207,221,0) 3deg,rgba(184,207,221,.10) 10deg,rgba(184,207,221,.13) 20deg,rgba(184,207,221,0) 31deg,transparent 34deg);filter:blur(12px);mask-image:linear-gradient(to bottom,transparent,black 22%,black 65%,transparent 95%)}
.be-stage-light::after{content:'';position:absolute;inset:35% 0 -35% -18%;background:radial-gradient(ellipse 40% 14% at 43% 52%,rgba(222,209,178,.11),rgba(184,207,221,.04) 45%,transparent 78%);transform:rotate(-10deg);filter:blur(10px)}
/* A side window, a higher window, and reflected light share the same palette. */
.light-section--side .be-window{width:50%;left:auto;right:-12%;top:-265px;transform:rotate(19deg) skewY(-5deg)}
.light-section--side .be-stage-light::before{transform:scaleX(-1)}
.light-section--side .be-stage-light::after{inset:35% -18% -35% 0;transform:rotate(10deg)}
.light-section--high .be-window{width:62%;left:20%;top:-365px;transform:rotate(-9deg) skewY(3deg)}
.light-section--high .be-stage-light::before{inset:-25% -20% -15% 0;transform:rotate(-6deg)}
.light-section--high .be-stage-light::after{inset:20% -10% -35% 5%}
@media(max-width:520px){
  .be-window{width:100%;height:500px;left:-35%;top:-230px}
  .be-stage-light::before{inset:0 -10% 0 -65%;background-position:center}
  .be-stage-light::after{inset:10% -30% 0 -60%}
  .light-section--side .be-window{width:100%;right:-45%;top:-210px}
  .light-section--side .be-stage-light::after{inset:10% -60% 0 -30%}
  .light-section--high .be-window{width:110%;left:-10%;top:-330px}
}
@media(forced-colors:active){.be-window,.be-stage-light{display:none}}
