/* A full viewport of native portrait/landscape footage, held by document scroll. */
.nightfall{position:relative;isolation:isolate;background:#101323;color:#fff2d5;overflow:visible}
.nightfall-pin{height:100svh;min-height:540px;position:relative;isolation:isolate;overflow:hidden}
.nightfall-visual,.nightfall-atmosphere,.nightfall-poster,.nightfall-video,.nightfall-shade{position:absolute;inset:0;width:100%;height:100%}
.nightfall-visual{z-index:-1;background:#13172a}
.nightfall-atmosphere{opacity:.32;transform:scale(1.04)}
.nightfall-atmosphere img,.nightfall-poster img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.nightfall-poster,.nightfall-video{transform-origin:50% 45%}
.nightfall-video{display:block;max-width:none;object-fit:cover;object-position:50% 50%;opacity:0;pointer-events:none}
.nightfall[data-video-ready=true] .nightfall-video{opacity:1}
.nightfall-shade{background:linear-gradient(0deg,#080914 0%,#101323d9 35%,#1013238c 75%,#10132366 100%);opacity:.72}
.nightfall-visual:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(#090b1b8c,transparent 24%,transparent 65%,#090b1b80)}
.nightfall-topline{position:absolute;top:calc(var(--header) + 20px);left:var(--page-pad);right:var(--page-pad);display:flex;align-items:center;justify-content:space-between;gap:18px;z-index:3}
.nightfall-topline>span{font-size:10px;letter-spacing:.16em;line-height:1.4;text-shadow:0 2px 12px #000}
.nightfall-skip{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:11px;border-bottom:1px solid #fff2d560;white-space:nowrap}
.nightfall-skip .icon{width:15px;height:15px;transform:rotate(90deg)}
.nightfall-skip:hover{color:var(--lime)}
.nightfall-copy{position:absolute;left:var(--page-pad);right:var(--page-pad);bottom:20%;max-width:820px;z-index:2}
.nightfall-eyebrow{font-size:10px;letter-spacing:.16em;line-height:1.5;color:#ffb0c9;margin-bottom:24px}
.nightfall-copy h2{font-family:var(--display);font-size:clamp(96px,12vw,188px);line-height:.83;letter-spacing:-.025em;background:linear-gradient(165deg,#ff89bd 10%,#ffc6a5 85%);background-clip:text;-webkit-background-clip:text;color:transparent;margin-bottom:27px}
.nightfall-copy h2 span{color:var(--cream)}
.nightfall-description{max-width:530px;color:#f8e3e2;font-size:clamp(16px,1.6vw,21px);line-height:1.65;text-wrap:pretty}
.nightfall-bottomline{position:absolute;left:var(--page-pad);right:var(--page-pad);bottom:max(86px,calc(68px + env(safe-area-inset-bottom)));display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:3}
.nightfall-credit{display:inline-flex;align-items:center;gap:13px;font-size:8px;letter-spacing:.1em;line-height:1.7;min-height:44px;max-width:270px;color:#fff2d5cc}
.nightfall-credit img{width:25px;height:25px;filter:brightness(0) invert(1);flex:none}
.nightfall-credit:hover{color:var(--cream)}
.nightfall-credit small{font-size:8px;display:block;letter-spacing:.06em;opacity:.7}
.nightfall-play{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 17px;border:1px solid #fff2d566;background:#0d0e20c9;color:var(--cream);font-family:var(--display);font-size:19px;line-height:1;letter-spacing:.035em;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));transition:color .2s,background .2s}
.nightfall-play .icon{width:15px;height:15px}
.nightfall-play:hover,.nightfall-play[aria-pressed=true]{background:var(--cream);color:var(--ink)}
.nightfall-play:focus-visible{clip-path:none}
.nightfall-progress{display:none;position:absolute;left:0;right:0;bottom:0;height:2px;background:#fff2d51f;z-index:4}
.nightfall-progress span{display:block;height:100%;background:linear-gradient(90deg,#ff8fca,#efb779);transform:scaleX(0);transform-origin:left}
.nightfall[data-mode=animated]{height:270svh}
.nightfall[data-mode=animated] .nightfall-pin{position:sticky;top:0;height:100svh;min-height:0}
.nightfall[data-mode=animated] .nightfall-progress{display:block}
.nightfall[data-mode=animated] .nightfall-copy{opacity:0;transform:translate3d(0,110px,0)}
.nightfall[data-active=true] .nightfall-copy{will-change:transform,opacity}
.nightfall[data-active=true] .nightfall-video,.nightfall[data-active=true] .nightfall-poster{will-change:transform}
.nightfall[data-mode=static] .nightfall-copy{opacity:1!important;transform:none!important}
.nightfall[data-mode=static] .nightfall-video{opacity:0!important}
.nightfall[data-mode=static] .nightfall-poster{transform:none!important}
.nightfall[data-mode=static] .nightfall-shade{opacity:.72!important}
.reduce-motion .nightfall{height:auto!important}
.reduce-motion .nightfall-pin{position:relative!important}
.reduce-motion .nightfall-copy{opacity:1!important;transform:none!important}
.reduce-motion .nightfall-shade{opacity:.72!important}
.reduce-motion .nightfall-video{opacity:0!important}
.reduce-motion .nightfall-progress,.reduce-motion .nightfall-play{display:none!important}
@media(orientation:portrait){
  .nightfall[data-mode=animated]{height:300svh}
  /* The 768×1364 source is preserved in full; soft scenery fills surplus space. */
  .nightfall-poster img,.nightfall-video{object-fit:contain;object-position:50% 50%}
  .nightfall-atmosphere img{object-fit:cover}
  .nightfall-copy{bottom:22%;max-width:690px}
  .nightfall-copy h2{font-size:clamp(92px,17.5vw,168px)}
}
@media(max-width:600px){
  .nightfall-topline{top:calc(var(--header) + 14px);gap:12px}
  .nightfall-topline>span{font-size:8px;letter-spacing:.1em;max-width:140px}
  .nightfall-skip{font-size:10px}
  .nightfall-copy{bottom:24%;left:24px;right:24px}
  .nightfall-eyebrow{font-size:8px;letter-spacing:.1em;margin-bottom:17px}
  .nightfall-copy h2{font-size:clamp(69px,20vw,112px);margin-bottom:20px}
  .nightfall-description{font-size:15px;line-height:1.6;max-width:350px}
  .nightfall-bottomline{left:24px;right:24px;gap:14px;bottom:max(88px,calc(70px + env(safe-area-inset-bottom)))}
  .nightfall-credit{gap:9px;font-size:7px;max-width:170px}
  .nightfall-credit small{font-size:7px;max-width:115px}
  .nightfall-credit img{width:21px;height:21px}
  .nightfall-play{min-width:117px;padding:12px;font-size:16px;gap:8px}
}
@media(max-width:370px){
  .nightfall-copy{left:20px;right:20px;bottom:25%}
  .nightfall-description{font-size:14px}
  .nightfall-copy h2{font-size:67px}
  .nightfall-bottomline{left:20px;right:20px;gap:8px}
  .nightfall-credit{max-width:140px}
  .nightfall-play{font-size:15px;min-width:110px}
}
@media(max-height:650px){
  .nightfall-copy{bottom:25%}
  .nightfall-eyebrow{margin-bottom:12px}
  .nightfall-copy h2{font-size:clamp(66px,15svh,100px);margin-bottom:16px}
  .nightfall-description{font-size:14px;line-height:1.5;max-width:480px}
}
@media(orientation:landscape) and (max-height:500px){
  .nightfall-pin{min-height:420px}
  .nightfall-topline{top:calc(var(--header) + 3px)}
  .nightfall-copy{bottom:88px;left:var(--page-pad);right:var(--page-pad);max-width:75%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px 28px;align-items:end}
  .nightfall-eyebrow{display:none}
  .nightfall-copy h2{font-size:clamp(48px,18svh,75px);margin:0;white-space:nowrap}
  .nightfall-description{font-size:12px;line-height:1.5;max-width:350px}
  .nightfall-bottomline{bottom:16px;left:auto;width:230px;right:var(--page-pad);gap:12px}
  .nightfall-credit{font-size:6px;gap:7px}
  .nightfall-credit small{display:none}
  .nightfall-play{font-size:15px;min-width:108px;padding:10px;min-height:42px}
}
