/* Footer theme variables stay inside the closing section. */
.closing-footer {--closing-bg:#000;--closing-fg:#fff;--closing-accent:#c6ff33;--closing-pane:rgb(198 255 51 / .87);--closing-ink:#000;--closing-rule:#0006;--closing-muted:#0b0b0b;--closing-cursor:var(--cursor-white);--closing-pane-cursor:var(--cursor-black);--closing-logo-filter:none;--closing-text-ink:var(--closing-ink);}
.closing-footer[data-theme="purple"] {--closing-social-ink:#fff;--closing-accent:#7d39eb;--closing-pane:rgb(125 57 235 / .9);--closing-text-ink:#fff;}
.closing-footer[data-theme="black"] {--closing-accent:#fff;--closing-pane:rgb(255 255 255 / .88);}
.closing-footer[data-theme="white"] {--closing-bg:#fff;--closing-fg:#000;--closing-accent:#000;--closing-pane:rgb(0 0 0 / .9);--closing-ink:#fff;--closing-rule:#fff6;--closing-muted:#f3f3f3;--closing-cursor:var(--cursor-black);--closing-pane-cursor:var(--cursor-white);--closing-logo-filter:invert(1);}
/* Native-scrolling closing section, after the pinned character story. */
.closing-footer {position:relative;z-index:136;min-height:max(100svh,760px);background:var(--closing-bg);color:var(--closing-fg);overflow:hidden;isolation:isolate;font-family:'Satoshi',sans-serif;--surface-cursor:var(--closing-cursor);}
.closing-footer[hidden] {display:none;}
.closing-marquees {z-index:-1;color:var(--closing-muted);}
.closing-marquees .character-marquee {height:calc((100svh - 10px)/2);}
.closing-window {position:absolute;z-index:3;left:var(--site-gutter);top:3.5svh;width:400px;height:max(85svh,600px);padding:26px 28px 24px;box-sizing:border-box;display:flex;flex-direction:column;color:var(--closing-text-ink);background:var(--closing-pane);backdrop-filter:blur(10px);border:1px solid transparent;clip-path:polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px);--surface-cursor:var(--closing-pane-cursor);}
.closing-window-icon,.closing-emblem {display:block;flex:none;background:var(--closing-accent);mask:url('../svg/moventus-logo-icon.svg') center/contain no-repeat;}
.closing-window-icon {position:absolute;right:16px;top:16px;width:40px;height:40px;background:var(--closing-ink);}
.closing-nav {display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:75px;}
.closing-nav a {color:var(--closing-text-ink);text-decoration:none;font-size:clamp(24px,3.5svh,34px);font-weight:900;line-height:1.06;letter-spacing:-.045em;transition:transform 200ms ease;}
.closing-nav a:hover {transform:translateX(7px);}
.closing-nav a:focus-visible,.closing-policies a:focus-visible {outline:2px solid var(--closing-ink);outline-offset:4px;}
.closing-window-bottom {margin-top:auto;padding-top:22px;}
.closing-social-row {display:flex;align-items:center;gap:28px;}
.closing-ring {display:block;flex:none;width:62px;height:62px;border-radius:50%;background:conic-gradient(#7d39eb,var(--closing-accent),#000,#fff,#7d39eb);mask:radial-gradient(farthest-side,transparent calc(100% - 12px),#000 calc(100% - 11px));animation:closing-ring-turn 10s linear infinite;animation-play-state:paused;}
.closing-socials {display:flex;gap:19px;align-items:center;margin-left:auto;justify-content:flex-end;}
.closing-social {display:block;width:25px;height:25px;color:var(--closing-social-ink,var(--closing-ink));}
.closing-social svg {display:block;width:100%;height:100%;}
.closing-rule {height:1px;background:var(--closing-rule);margin:21px 0 16px;}
.closing-legal {display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:500;line-height:1.7;letter-spacing:-.015em;}
.closing-legal p {margin:0;}
.closing-legal>div {text-align:right;}
.closing-policies {display:flex;justify-content:flex-end;gap:9px;}
.closing-policies a {color:inherit;text-decoration:none;}
.closing-policies a:hover {text-decoration:underline;text-underline-offset:3px;}
.closing-main {position:absolute;z-index:2;left:calc(var(--site-gutter) + 424px);right:calc(var(--site-gutter) + 100px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:30px;text-align:center;}
.closing-hero {position:relative;width:100%;display:flex;flex-direction:column;align-items:center;gap:26px;text-align:center;}
.closing-emblem {width:76px;height:76px;}
.closing-hero h2 {margin:0;color:var(--closing-fg);font-size:clamp(34px,4.5vw,84px);font-weight:900;line-height:.97;letter-spacing:-.055em;}
.closing-hero h2 span {display:block;white-space:nowrap;}
.closing-offer-wrap {position:relative;text-align:center;}
.closing-offer {display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-width:180px;padding:17px 22px;background:var(--closing-accent);border:0;border-radius:0;color:var(--closing-text-ink);font:700 16px/1.2 'Satoshi',sans-serif;--surface-cursor:var(--cursor-black);transition:background 180ms ease,transform 180ms ease;}
.closing-offer:hover {opacity:.88;transform:translateY(-2px);}
.closing-offer:focus-visible {outline:2px solid var(--closing-fg);outline-offset:5px;}
.closing-references {position:absolute;z-index:4;bottom:0;left:0;width:100%;height:84px;display:flex;align-items:center;overflow:hidden;border-top:1px solid var(--closing-muted);}
.closing-reference-track {display:flex;align-items:center;width:max-content;flex:none;animation:closing-reference-slide 45s linear infinite;animation-play-state:paused;}
.closing-reference-group {display:flex;align-items:center;gap:64px;padding-right:64px;flex:none;}
.closing-reference-group .reference-logos__item {gap:12px;}
.closing-reference-group .reference-logos__item img {width:34px;height:34px;filter:var(--closing-logo-filter);}
.closing-reference-group .reference-logos__name {display:block;color:var(--closing-fg);font-size:23px;}
.closing-footer.is-running .closing-ring,.closing-footer.is-running .closing-reference-track {animation-play-state:running;}
.closing-section-active .site-brand,.closing-section-active #reference-logos,.closing-section-active #contact-cta,.closing-section-active .site-session-timer {visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
@keyframes closing-ring-turn {to{transform:rotate(360deg)}}
@keyframes closing-reference-slide {to{transform:translateX(-50%)}}
@media(min-width:901px) and (max-height:700px){.closing-nav {gap:7px;}.closing-nav a {font-size:24px;}.closing-ring {width:50px;height:50px;}.closing-window-bottom {padding-top:16px;}.closing-rule {margin:15px 0 12px;}}
@media(max-width:900px){
 .closing-footer {display:flex;flex-direction:column;align-items:center;gap:0;padding:100px var(--site-gutter) 0;box-sizing:border-box;min-height:100svh;}
 .closing-main {position:relative;inset:auto;transform:none;width:100%;gap:26px;margin-bottom:48px;}
 .closing-hero {gap:20px;}
 .closing-emblem {width:64px;height:64px;}
 .closing-hero h2 {font-size:clamp(28px,6.5vw,56px);}
 .closing-offer-wrap {margin:0;}
 .closing-window {position:relative;inset:auto;width:min(400px,100%);height:max(85svh,600px);margin-bottom:40px;flex:none;}
 .closing-references {position:relative;inset:auto;width:100vw;height:76px;flex:none;}
 .closing-reference-group {gap:40px;padding-right:40px;}
 .closing-reference-group .reference-logos__item img {width:28px;height:28px;}
 .closing-reference-group .reference-logos__name {font-size:20px;}
}
@media(max-width:380px){.closing-window {padding-inline:22px;}.closing-nav a {font-size:26px;}.closing-social-row {gap:20px;}.closing-socials {gap:15px;}.closing-legal {font-size:9px;}.closing-policies {gap:6px;}}
@media(prefers-reduced-motion:reduce){.closing-ring,.closing-reference-track {animation:none;}.closing-nav a,.closing-offer {transition:none;}}

.closing-theme-toggle {display:block;flex:none;border:0;padding:0;background:transparent;border-radius:50%;--surface-cursor:var(--closing-pane-cursor);}
.closing-theme-toggle:focus-visible {outline:2px solid var(--closing-ink);outline-offset:5px;}
.closing-theme-options {position:absolute;z-index:5;display:flex;align-items:center;gap:8px;}
.closing-theme-options[hidden] {display:none;}
.closing-swatch {display:block;flex:none;width:30px;height:30px;padding:0;border:1px solid #888;border-radius:0;background:var(--swatch);box-shadow:0 2px 10px #0003;animation:closing-swatch-enter 230ms ease backwards;}
.closing-swatch:nth-child(2) {animation-delay:40ms;}.closing-swatch:nth-child(3) {animation-delay:80ms;}.closing-swatch:nth-child(4) {animation-delay:120ms;}
.closing-swatch[aria-pressed="true"] {outline:2px solid var(--closing-fg);outline-offset:3px;}
.closing-swatch:focus-visible {outline:2px solid var(--closing-fg);outline-offset:3px;}
.closing-theme-status {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;}
.closing-section-active[data-closing-theme="green"] .menu-toggle,.closing-section-active[data-closing-theme="green"] .page-scroll-progress {color:#c6ff33;}
.closing-section-active[data-closing-theme="purple"] .menu-toggle {color:#7d39eb;}
.closing-section-active[data-closing-theme="black"] .menu-toggle {color:#fff;}
.closing-section-active[data-closing-theme="white"] .menu-toggle {color:#000;}
.closing-section-active[data-closing-theme="purple"] .page-scroll-progress {background:#7d39eb;}
.closing-section-active[data-closing-theme="black"] .page-scroll-progress {background:#fff;}
.closing-section-active[data-closing-theme="white"] .page-scroll-progress {background:#000;}
@keyframes closing-swatch-enter {from{opacity:0;transform:translateX(-18px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:901px) and (max-width:1100px){.closing-hero h2 {font-size:3.5vw;}}
@media(max-width:900px){.closing-theme-options {display:grid;grid-template-columns:repeat(2,30px);gap:8px;}}
@media(prefers-reduced-motion:reduce){.closing-swatch {animation:none;}}

/* The astronaut overlaps the reference strip and meets the footer bottom. */
.closing-astronaut {position:absolute;z-index:5;right:-38svh;bottom:0;width:calc(100svh - 84px);height:calc(100svh - 84px);overflow:hidden;pointer-events:none;}
.closing-astronaut img {position:absolute;left:0;bottom:-12px;display:block;width:100%;height:auto;transform-origin:55% 80%;animation:closing-astronaut-float 12s ease-in-out infinite;animation-play-state:paused;}
.closing-footer.is-running .closing-astronaut img {animation-play-state:running;}
@keyframes closing-astronaut-float {0%,100%{transform:translate(0,0) rotate(-.6deg)}25%{transform:translate(4px,-5px) rotate(.2deg)}50%{transform:translate(-3px,-10px) rotate(.7deg)}75%{transform:translate(-6px,-4px) rotate(-.2deg)}}
@media(min-width:901px) and (max-width:1200px){.closing-astronaut {right:-64svh;}.closing-main {right:calc(var(--site-gutter) + 140px);}.closing-hero h2 {font-size:3vw;}}
@media(max-width:900px){.closing-astronaut {position:relative;right:auto;bottom:auto;align-self:center;width:100vw;height:calc(100svh - 76px);flex:none;margin-top:-20px;margin-bottom:-76px;}}
@media(prefers-reduced-motion:reduce){.closing-astronaut img {animation:none;}}

@media(min-width:1201px){.closing-main {right:calc(var(--site-gutter) + 300px);}.closing-hero h2 {font-size:clamp(34px,3.6vw,70px);}}

@media(max-width:900px){.closing-astronaut img {width:calc(100svh - 76px);max-width:none;left:calc((100vw - (100svh - 76px))/2);}}

/* Share the native scroll timeline at the join so reverse scrolling cannot reveal older scenes. */
@supports ((animation-timeline:--closing-entry) and (timeline-scope:--closing-entry)) {
 body {timeline-scope:--closing-entry;}
 .closing-footer {view-timeline-name:--closing-entry;view-timeline-axis:block;view-timeline-inset:0;}
 .engagement-character-scene.is-placed {
  animation:character-closing-exit 1s linear both;
  animation-timeline:--closing-entry;
  animation-range:entry 0% entry 100%;
 }
}
@keyframes character-closing-exit {from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-100%,0)}}

.closing-reference-group .reference-logos__item--brand img {width:auto;height:34px;max-width:none;}
@media(max-width:900px){.closing-reference-group .reference-logos__item--brand img {width:auto;height:28px;}}
