/* The dusk footer: #subscribe and .footer merged into one printed dusk scene. Every rule is scoped under
   html[data-v="vh"]. footers.js draws the scene (sky shader on #gl2, the printed range) from the layout set
   here, and measures the footer's height into --vx-ft.

   Merge without reparenting: #subscribe stays inside <main> and the footer outside it, so the footer is
   pulled up over the scene's bottom by its own height and painted above it, over the dark foreground ridge. */

html[data-v="vh"]{
  --vx-ft:64px;                        /* the footer's height, measured by footers.js */
  --vx-px:clamp(12px,2.8vw,40px);      /* the scene's side margin */
  --vx-t:clamp(120px,14vw,230px);      /* the sunset band at the scene's top edge */
}
html[data-v="vh"] .close{margin-top:0;padding-inline:var(--vx-px);background-color:#0E0A2A}
html[data-v="vh"] .close .veil{display:none}
/* The scene is the last thing on the page; a fractional section height leaves the document's last device row
   partly uncovered, and the body's light ground would show there as a hairline. The shadow covers it without
   adding scroll height. */
html[data-v="vh"] .close{box-shadow:0 3px 0 0 #140C3A}
html[data-v="vh"] .close > .vx-base{position:absolute;inset:0;width:100%;height:100%;z-index:-3;pointer-events:none}
html[data-v="vh"] .footer :focus-visible{outline-color:#fff}
html[data-v="vh"] .footer .ph{text-decoration-color:var(--ah-warning)}
html[data-v="vh"] .footer a{color:inherit;text-decoration:underline;text-underline-offset:.2em;text-decoration-color:rgba(255,255,255,.45);transition:text-decoration-color .18s var(--ease)}
@media (hover:hover){html[data-v="vh"] .footer a:hover{text-decoration-color:#fff}}
html[data-v="vh"] .footer b{color:#fff}
/* The body sets its display type at 800; the closing line follows it. */
html[data-v="vh"] .close h2{font-weight:800;letter-spacing:-0.022em;line-height:1.04}

/* Sky above the copy, the copy, then the aurora and the range standing on the scene's bottom edge, with the
   links over its dark foreground. */
html[data-v="vh"] .close{
  padding-top:calc(var(--vx-t) + clamp(48px,6vw,96px));
  padding-bottom:calc(clamp(40px,5vw,84px) + max(980px,100%)*.25 + max(0px,var(--vx-ft) - 90px));
  background-image:linear-gradient(180deg,var(--v-handoff,var(--vh-handoff,#F3EBDD)) 0,#7E4FC9 8%,#0B0A26 16%,#0B0A26 44%,#1D46C0 60%,#6433C4 64%,#A65CD8 67%,#38D2D6 70%,#1C1450 74%,#140C3A 100%);
}
/* D's card is printed stock, the same paper and grain the halftone body is on. */
html[data-v="vh"] .subscribe{background:var(--vh-grain,none) 0 0/220px 220px,var(--vh-stock,#FAF5EA);box-shadow:0 1px 2px rgba(11,10,38,.25),0 30px 70px -30px rgba(0,0,0,.7)}
html[data-v="vh"] .subscribe .field input,html[data-v="vh"] #npa_subscribe.elementor-form .elementor-field-textual{background:#FFFDF8}
html[data-v="vh"] .footer{
  position:relative;z-index:1;
  max-width:none;
  margin:calc(-1*var(--vx-ft)) 0 0;
  padding:18px var(--vx-px) 24px;
  display:flex;flex-wrap:wrap;justify-content:center;gap:0;
  color:rgba(236,232,255,.94);font-size:var(--t-xs)
}
html[data-v="vh"] .footer > span{position:relative;padding:4px 22px}
html[data-v="vh"] .footer > span + span::before{content:"";position:absolute;left:0;top:50%;height:18px;margin-top:-9px;border-left:1px solid rgba(236,232,255,.4)}
html[data-v="vh"] .footer > .footer__brands{flex-basis:100%;text-align:center;padding-top:0}
html[data-v="vh"] .footer > .footer__brands::before{display:none}
@media (max-width:759px){
  html[data-v="vh"] .footer{flex-direction:column;align-items:center;padding:14px var(--vx-px) 20px}
  html[data-v="vh"] .footer > span{padding:3px 0}
  html[data-v="vh"] .footer > span + span::before{display:none}
  html[data-v="vh"] .footer > .footer__brands{flex-basis:auto}
}
/* The halftone body's paper grain carried over the scene's top band, so the sheet does not change stock at
   the seam; it fades out as the night ink closes over it. */
html[data-v="vh"] .close::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--vx-T,200px);z-index:-1;pointer-events:none;
  background:var(--vh-grain,none) 0 0/220px 220px repeat;-webkit-mask-image:linear-gradient(180deg,#000 50%,transparent);mask-image:linear-gradient(180deg,#000 50%,transparent)}
html[data-v="vh"] .vx-base .vx-s0{fill:#241A62}
html[data-v="vh"] .vx-base .vx-s1{fill:#1D1552}
html[data-v="vh"] .vx-base .vx-s2{fill:#170F44}
html[data-v="vh"] .vx-base .vx-s3{fill:#110A36}
