/* Christmas season home. Loaded only while SEASON = 'christmas' in tools/seapex_galaxy.py.
   The fixed backdrop keeps the galaxy's structure: .cosmic-backdrop:before (z-index 1) stays as the veil. */
.season-backdrop canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
/* The site's own Milky Way photograph opens the page; it stays still because the first stars are placed on its bright band. */
.season-backdrop .cosmos-image{animation:none;transition:none;filter:saturate(.55);opacity:.68}
.season-backdrop #code-rain{z-index:0;opacity:.5;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 36%,transparent 60%);mask-image:linear-gradient(90deg,#000 0,#000 36%,transparent 60%)}
.season-backdrop #code-reveal{z-index:2}
.season-backdrop #tree-light{z-index:3}
/* The backdrop carries code behind the text, so the reading halo the galaxy uses on small screens applies at every width. */
.season .home-prose{position:relative;isolation:isolate;text-shadow:0 1px 15px #0a0f1e}
.season .home-prose:before{content:'';position:absolute;inset:-40px -35px;z-index:-1;background:radial-gradient(ellipse closest-side,rgba(10,15,30,.70),rgba(10,15,30,.32) 62%,transparent 100%);pointer-events:none}
.season .app-link{text-shadow:none}
/* The greeting lines up with the header: same left edge as the brand, and the same
   horizontal centre line as the tree (the space below the header). christmas.js reads the
   header height and gutter to place the tree on that line and against the right edge. */
.season .cosmos{min-height:560px}
.season .cosmos .hero-content{max-width:none;min-height:0;padding-top:104px;padding-bottom:0}
.season .cosmos h1{font-size:clamp(40px,4.2vw,68px);line-height:1.2;letter-spacing:.01em}
.season .cosmos .hero-lead{margin-top:26px}
@media(max-width:900px){.season .cosmos .hero-content{padding-top:78px}}
@media(prefers-reduced-motion:no-preference){.season .cosmos h1,.season .cosmos .hero-lead{animation:season-rise 1.6s cubic-bezier(.2,.7,.2,1) both}.season .cosmos h1{animation-delay:4.6s}.season .cosmos .hero-lead{animation-delay:5s}}
@keyframes season-rise{from{opacity:0;transform:translateY(12px);filter:blur(6px)}}
@media(max-width:759px){.season-backdrop #code-rain{-webkit-mask-image:none;mask-image:none}.season .cosmos .hero-content{justify-content:flex-start;padding-top:128px}.season .cosmos h1{font-size:40px}}
