#main{
  position:relative;
  isolation:isolate;
}

/* Keep the decorative layer behind content and within the main column. */
#main::before{
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  inset:0 0 auto auto;
  width:min(76%,1080px);
  aspect-ratio:16 / 9;
  background:url("/static/img/clipkit-dreamscape.webp") right top / contain no-repeat;
  opacity:.93;
  -webkit-mask-image:linear-gradient(to bottom,#000 52%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 52%,transparent 100%);
}

@supports (mask-composite:intersect){
  #main::before{
    mask-image:linear-gradient(to right,transparent,#000 30%,#000 95%,transparent),
      linear-gradient(to bottom,#000 52%,transparent 100%);
    mask-composite:intersect;
  }
}

/* On the landing page, frame the crescent moon, sparkles & watercolor wave in the open sky
   between the headline and the translucent ClipKit Studio card, with clouds washing behind. */
@media (min-width:981px){
  .landing #main::before{
    right:34%;
    top:-12px;
    width:min(62%,960px);
    opacity:.92;
  }
}

.ck-music .mu-hero{
  background:linear-gradient(110deg,rgba(255,253,249,.98) 36%,rgba(255,253,249,.58));
}

@media (max-width:720px){
  #main::before{width:min(100%,540px);opacity:.58}
}

@media (forced-colors:active){
  #main::before{display:none}
}
