/* Site-owned star field and original Three Pop Stars in the Snow film art. */
.sg-trail-hero{
  --sky:url('/assets/trail-night-sky-1600.webp');
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;align-items:center;min-height:clamp(23rem,39vw,33rem);
  border:1px solid #b09fc444;border-radius:clamp(1rem,3vw,1.6rem);
  background:#0b0d1b var(--sky) no-repeat center center / cover;
}
.sg-trail-hero-art{
  pointer-events:none;position:absolute;inset:0;z-index:-1;
}
.sg-trail-beams{
  position:absolute;inset:auto 3% 0 auto;
  inline-size:auto;block-size:100%;object-fit:contain;max-inline-size:59%;
  object-position:center bottom;
  mask-image:linear-gradient(90deg,transparent,#000 13%,#000 87%,transparent);
  animation:sg-trail-reveal 3.8s cubic-bezier(.24,.66,.35,1) both;
}
.sg-trail-hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,#070a17ed 0%,#070a17d4 30%,#070a177d 48%,transparent 78%),
             linear-gradient(0deg,#070a177d,transparent 30%);
  pointer-events:none;
}
.sg-trail-hero .trail-mast{max-width:min(59%,43rem);padding:clamp(1.2rem,4vw,3.4rem);}
.sg-trail-hero .trail-mast h1{font-size:clamp(2.8rem,5.6vw,5.5rem);text-wrap:balance;margin:.43em 0 .32em}
.sg-trail-hero .trail-mast p{color:#f2ebf1;text-shadow:0 1px 10px #03040a}
.sg-trail-hero .trail-mast .eyebrow{color:#f3d999}
.sg-trail-glints{position:absolute;inset:0;}
.sg-trail-glints i{
  position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;border-radius:50%;
  background:#fff4db;box-shadow:0 0 .4rem #f7cda5,0 0 .75rem #c2aaff;
  opacity:.43;animation:sg-trail-twinkle 3.1s var(--d,0s) ease-in-out both;
}
.sg-trail-glints i:nth-child(1){--x:66%;--y:18%;--d:.15s}
.sg-trail-glints i:nth-child(2){--x:74%;--y:8%;--d:.9s}
.sg-trail-glints i:nth-child(3){--x:85%;--y:32%;--d:.55s}
.sg-trail-glints i:nth-child(4){--x:92%;--y:22%;--d:1.4s}
.sg-trail-glints i:nth-child(5){--x:58%;--y:36%;--d:.8s}
@keyframes sg-trail-reveal{from{opacity:0}to{opacity:1}}
@keyframes sg-trail-twinkle{0%,100%{opacity:.43;transform:scale(.75)}52%{opacity:.92;transform:scale(1.2)}}
@media(max-width:640px){
  .sg-trail-hero{--sky:url('/assets/trail-night-sky-800.webp');align-items:end;min-height:0;padding-top:clamp(13rem,75vw,21rem);background-position:68% top;}
  .sg-trail-hero-art{inset:0 0 auto;height:clamp(16rem,90vw,25rem)}
  .sg-trail-beams{inset:0 50% auto auto;transform:translateX(50%);max-inline-size:94%;block-size:100%;
    mask-image:linear-gradient(0deg,transparent,#000 25%,#000 96%,transparent)}
  .sg-trail-hero::after{background:linear-gradient(0deg,#070a17 5%,#070a17ed 30%,transparent 68%)}
  .sg-trail-hero .trail-mast{max-width:100%;padding:0 clamp(.9rem,5vw,1.6rem) 1.25rem}
  .sg-trail-hero .trail-mast h1{font-size:clamp(2.35rem,9.7vw,3.75rem);margin-top:.22em}
  .sg-trail-hero .trail-mast p{font-size:1rem}
}
@media(prefers-reduced-motion:reduce){.sg-trail-beams,.sg-trail-glints i{animation:none}}
