/* Full-height, scroll-built ASCII footer. Normal document flow preserves forms,
   keyboard navigation and the existing fixed scene / persistent canvas. */
body .cosmic-footer{position:relative;isolation:isolate;z-index:3;min-height:100vh;min-height:100svh;padding:0;border:0;background:#08090c;color:#b6bdce;overflow:hidden}
body .cosmic-footer.footer-enhanced{background:transparent}
.cosmic-footer .footer-solid{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 83% 12%,#142537 0%,transparent 46%),radial-gradient(ellipse at 0% 100%,#211322 0%,transparent 44%),#08090c;opacity:1;pointer-events:none}
.cosmic-footer.footer-enhanced .footer-solid{opacity:var(--footer-solid,0)}
.cosmic-footer .footer-grains{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.cosmic-footer .footer-shell{width:min(100%,1500px);margin:auto;min-height:100vh;min-height:100svh;padding:clamp(105px,15vh,170px) 7vw 26px;display:flex;flex-direction:column;justify-content:space-between;gap:clamp(32px,6vh,72px)}
.cosmic-footer .footer-intro{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px}
.cosmic-footer h2{font:600 clamp(48px,7vw,112px)/.96 Arial,Helvetica,sans-serif;letter-spacing:-.075em;color:#f4f3f0;margin:20px 0 18px}
.cosmic-footer h2 em{color:#9da0a9}
.cosmic-footer .footer-intro p{font:clamp(15px,1.5vw,20px)/1.55 Arial,sans-serif;max-width:470px;margin:0}
.cosmic-footer .footer-brand{display:flex;align-items:center;flex-direction:column;gap:8px}
.cosmic-footer .footer-logo{width:clamp(112px,16vw,206px);height:clamp(112px,16vw,206px);display:block}
.cosmic-footer .footer-wordmark{font:800 clamp(24px,3vw,36px)/1 Arial,sans-serif;letter-spacing:-.085em;color:#f4f3f0}
.cosmic-footer .footer-wordmark span{font-weight:400}.cosmic-footer .footer-wordmark i{font-style:normal;color:#f53e61}
.cosmic-footer .footer-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(28px,6vw,100px);align-items:start}
.cosmic-footer .footer-newsletter h3{color:#fff;font:600 clamp(22px,2.7vw,35px)/1.1 Arial,sans-serif;margin:0 0 10px;letter-spacing:-.035em}
.cosmic-footer .footer-newsletter h3 span{color:#2abede}
.cosmic-footer .footer-newsletter p{margin:0 0 16px;font:14px/1.55 Arial,sans-serif;max-width:440px}
.cosmic-footer .newsletter-label{display:block;margin:0 0 8px;color:#b2dae6;font-size:11px}
.cosmic-footer .newsletter-input{display:flex;align-items:stretch;gap:0;border:1px solid #385365;border-radius:4px;background:#0b131c;max-width:530px}
.cosmic-footer .newsletter-input:focus-within{border-color:#6fdef5}
.cosmic-footer .newsletter-input input{flex:1;min-width:0;width:100%;border:0;background:transparent;padding:13px 12px;color:#fff;font:16px Arial,sans-serif}
.cosmic-footer .newsletter-input button{flex:none;padding:12px 16px;border:0;background:#17394a;color:#e8fbff;cursor:pointer;font:600 13px Arial,sans-serif}
.cosmic-footer .newsletter-input button span{color:#6fdef5}.cosmic-footer .newsletter-input button:disabled{opacity:.5}
.cosmic-footer .newsletter-consent{display:flex;align-items:flex-start;gap:8px;font:12px/1.5 Arial,sans-serif;margin-top:12px;max-width:530px}
.cosmic-footer .newsletter-consent input{accent-color:#2abede;margin-top:2px}.cosmic-footer .newsletter-consent a{text-decoration:underline}
.cosmic-footer .newsletter-status{min-height:1.5em;margin:10px 0 0!important;color:#9de5ed}
.cosmic-footer .footer-directory{display:grid;grid-template-columns:1fr 1.2fr;gap:24px}
.cosmic-footer .footer-links{font-size:clamp(11px,1vw,14px);overflow-wrap:anywhere;gap:10px}
.cosmic-footer .footer-links .terminal-label{margin-bottom:5px}
.cosmic-footer .footer-bottom{margin-top:auto}
.cosmic-footer.footer-enhanced .footer-intro,.cosmic-footer.footer-enhanced .footer-main,.cosmic-footer.footer-enhanced .footer-bottom{opacity:var(--reveal,1);transform:translateY(var(--rise,0px))}
.cosmic-footer:focus-within .footer-intro,.cosmic-footer:focus-within .footer-main,.cosmic-footer:focus-within .footer-bottom{opacity:1;transform:none}
@media(max-width:760px){.cosmic-footer .footer-shell{padding:94px 6vw 22px;gap:30px}.cosmic-footer .footer-intro{grid-template-columns:1fr auto;gap:8px}.cosmic-footer h2{font-size:clamp(36px,9vw,58px);margin:14px 0}.cosmic-footer .footer-logo{width:95px;height:95px}.cosmic-footer .footer-wordmark{font-size:20px}.cosmic-footer .footer-main{grid-template-columns:1fr;gap:28px}.cosmic-footer .footer-directory{gap:18px}.cosmic-footer .footer-intro p{font-size:14px}.cosmic-footer .newsletter-input button{padding-inline:12px}}
@media(max-width:360px){.cosmic-footer .footer-logo{width:76px;height:76px}.cosmic-footer .footer-wordmark{font-size:17px}.cosmic-footer .footer-directory{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cosmic-footer.footer-enhanced .footer-solid,.cosmic-footer.footer-enhanced .footer-intro,.cosmic-footer.footer-enhanced .footer-main,.cosmic-footer.footer-enhanced .footer-bottom{opacity:1;transform:none}.cosmic-footer .footer-grains{display:none}}

/* Original hero renderer is scaled as a whole; no added glow or CSS filters. */
.cosmic-footer .footer-logo{visibility:hidden;background:transparent;mix-blend-mode:normal;filter:none;pointer-events:auto;touch-action:pan-y}
.cosmic-footer .footer-logo.hero-mini-ready{visibility:visible}

/* Reserve the fixed header's complete 124px desktop / 90px mobile footprint.
   Compact the vertical rhythm on short laptop screens instead of pushing
   the heading behind the header when the bottom of the page is reached. */
.cosmic-footer .footer-shell{padding-top:clamp(144px,17svh,185px);gap:clamp(16px,3.5svh,48px)}
.cosmic-footer h2{margin:0 0 16px;font-size:clamp(40px,min(7vw,10svh),112px)}
.cosmic-footer .footer-logo{width:clamp(96px,min(16vw,23svh),206px);height:clamp(96px,min(16vw,23svh),206px)}
.cosmic-footer .footer-wordmark{font-size:clamp(21px,min(3vw,4svh),36px)}
.cosmic-footer :is(a,input,button){scroll-margin-top:144px}
@media(min-width:761px) and (max-height:760px){
 .cosmic-footer .footer-shell{padding-top:144px;padding-bottom:18px;gap:16px}
 .cosmic-footer h2{font-size:clamp(36px,min(7vw,8.6svh),72px);margin-bottom:10px}
 .cosmic-footer .footer-intro p{font-size:15px;line-height:1.4}
 .cosmic-footer .footer-brand{gap:6px}
 .cosmic-footer .footer-newsletter h3{font-size:clamp(22px,3.6svh,30px);margin-bottom:8px}
 .cosmic-footer .footer-newsletter p{margin-bottom:10px;line-height:1.4}
 .cosmic-footer .newsletter-input input,.cosmic-footer .newsletter-input button{padding-block:10px}
 .cosmic-footer .newsletter-consent{margin-top:8px;line-height:1.4}
 .cosmic-footer .newsletter-status:empty{min-height:0;margin:0!important}
 .cosmic-footer .footer-links{gap:6px}
 .cosmic-footer .footer-bottom{padding-top:10px}
}
@media(max-width:760px){
 .cosmic-footer .footer-shell{padding:110px 6vw 22px;gap:26px}
 .cosmic-footer h2{font-size:clamp(36px,9vw,58px);margin-bottom:12px}
 .cosmic-footer .footer-logo{width:95px;height:95px}
 .cosmic-footer .footer-wordmark{font-size:20px}
 .cosmic-footer :is(a,input,button){scroll-margin-top:110px}
}
@media(max-width:360px){.cosmic-footer .footer-logo{width:76px;height:76px}.cosmic-footer .footer-wordmark{font-size:17px}}
