2026-10-14 12:37:48 +05:30
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
2026-11-07 11:31:26 +05:30
< meta name = "viewport" content = "width=device-width,initial-scale=1.0" >
2026-11-07 00:30:41 +05:30
< title > Cosmos — Sovereign Cloud Platform</ title >
2026-11-07 11:31:26 +05:30
< meta name = "description" content = "Self-hosted Git, infinite storage, container orchestration. Your infrastructure. Zero compromises." >
2026-11-07 00:30:41 +05:30
< link rel = "icon" href = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><circle cx="16" cy="16" r="5" fill="%23eef3f8"/><ellipse cx="16" cy="16" rx="14" ry="5" fill="none" stroke="%238fd9ff" stroke-width="1.5" transform="rotate(-28 16 16)"/></svg>' >
2026-10-14 12:37:48 +05:30
< link rel = "preconnect" href = "https://fonts.googleapis.com" >
< link rel = "preconnect" href = "https://fonts.gstatic.com" crossorigin >
2026-11-07 11:31:26 +05:30
< link href = "https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500&family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel = "stylesheet" >
2026-11-07 00:30:41 +05:30
< script src = "/three.min.js" ></ script >
2026-10-14 12:37:48 +05:30
< style >
2026-11-07 11:31:26 +05:30
/* ═══════════════ RESET + TOKENS ═══════════════ */
*,* :: before ,* :: after { box-sizing : border-box ; margin : 0 ; padding : 0 }
: root {
--bg : #020308 ;
--ink : #eef3f8 ;
--dim : rgba ( 238 , 243 , 248 , .5 );
--faint : rgba ( 238 , 243 , 248 , .18 );
--line : rgba ( 238 , 243 , 248 , .07 );
--ac : #8fd9ff ;
--ok : #43e5a0 ;
--ember : #ff6b35 ;
--violet : #a855f7 ;
--mono : 'JetBrains Mono' , monospace ;
--sans : 'Space Grotesk' , system-ui , sans-serif ;
--serif : 'Instrument Serif' , Georgia , serif ;
--pad : clamp ( 20 px , 5 vw , 80 px );
--ease : cubic-bezier ( .16 , 1 , .3 , 1 );
}
html {
background : var ( -- bg ); color : var ( -- ink );
overflow-x : hidden ;
2026-11-07 13:17:40 +05:30
overscroll-behavior : none ;
2026-11-07 11:31:26 +05:30
}
body {
font-family : var ( -- sans ); background : var ( -- bg );
overflow-x : hidden ; -webkit- font-smoothing : antialiased ;
2026-11-07 13:17:40 +05:30
overscroll-behavior : none ;
touch-action : pan-y ;
2026-11-07 11:31:26 +05:30
}
a { color : inherit ; text-decoration : none }
button { font-family : inherit ; cursor : pointer ; border : none ; background : none }
:: selection { background : rgba ( 143 , 217 , 255 , .25 )}
:: -webkit-scrollbar { width : 3 px }
:: -webkit-scrollbar-track { background : transparent }
:: -webkit-scrollbar-thumb { background : #1c2640 ; border-radius : 2 px }
/* ═══════════════ THREE.JS CANVAS ═══════════════ */
# cvs {
position : fixed ; inset : 0 ; width : 100 % ; height : 100 % ;
z-index : 0 ; pointer-events : none ;
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ FILM GRAIN + VIGNETTE ═══════════════ */
. grain {
position : fixed ; inset : 0 ; z-index : 1 ; pointer-events : none ;
opacity : .028 ; mix-blend-mode : overlay ;
background-image : url ( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E" );
background-size : 200 px ;
}
. vignette {
position : fixed ; inset : 0 ; z-index : 1 ; pointer-events : none ;
background : radial-gradient ( ellipse 85 % 70 % at 50 % 45 % , transparent 30 % , rgba ( 2 , 3 , 8 , .6 ) 70 % , #020308 100 % );
2026-10-14 12:37:48 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ 3D WORLD CONTAINER ═══════════════
This is the key:
- perspective creates the 3D vanishing point
- preserve-3d lets children exist in 3D space
- stations are placed at different translateZ depths
- scrolling drives translateZ on the world wrapper
═══════════════════════════════════════════════════ */
# world {
position : fixed ; inset : 0 ;
z-index : 3 ;
perspective : 1200 px ;
perspective-origin : 50 % 50 % ;
overflow : hidden ;
pointer-events : none ;
}
# tunnel {
position : absolute ;
width : 100 % ; height : 100 % ;
transform-style : preserve-3d ;
will-change : transform ;
pointer-events : none ;
2026-11-07 00:30:41 +05:30
}
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* Each station is positioned in the 3D world */
. station {
position : absolute ;
left : 0 ; top : 0 ; right : 0 ; bottom : 0 ;
display : flex ; align-items : center ; justify-content : center ;
transform-style : preserve-3d ;
pointer-events : none ;
opacity : 0 ;
visibility : hidden ;
will-change : transform , opacity ;
}
. station . active {
pointer-events : auto ;
}
/* Station inner layout */
. st-inner {
width : 100 % ; max-width : 1200 px ;
padding : 0 var ( -- pad );
transform-style : preserve-3d ;
2026-10-14 12:37:48 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ 3D DEPTH LAYERS ═══════════════
Elements within a station are offset on Z for parallax
═══════════════════════════════════════════════════ */
. d0 { transform : translateZ ( 0 px )}
. d1 { transform : translateZ ( 40 px )}
. d2 { transform : translateZ ( 80 px )}
. d3 { transform : translateZ ( 120 px )}
. d4 { transform : translateZ ( 160 px )}
. d-1 { transform : translateZ ( -60 px )}
. d-2 { transform : translateZ ( -140 px )}
. d-3 { transform : translateZ ( -240 px )}
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════ SCROLL SPACER ═══════════════
Invisible tall element that gives us scroll height
═══════════════════════════════════════════════════ */
# scroll-spacer {
position : relative ; z-index : -1 ;
width : 100 % ; pointer-events : none ;
2026-10-14 12:37:48 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ PROGRESS BAR ═══════════════ */
# prog {
position : fixed ; top : 0 ; left : 0 ; width : 100 % ; height : 1.5 px ; z-index : 900 ;
transform-origin : left ; transform : scaleX ( 0 );
background : linear-gradient ( 90 deg , var ( -- ac ), var ( -- ok ), var ( -- violet ));
pointer-events : none ;
2026-10-14 12:37:48 +05:30
}
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════ SECTION ID ═══════════════ */
# sect-id {
position : fixed ; right : 24 px ; bottom : 24 px ; z-index : 800 ;
font-family : var ( -- mono ); font-size : 9 px ; letter-spacing : .18 em ;
color : rgba ( 238 , 243 , 248 , .25 ); text-transform : uppercase ;
pointer-events : none ;
2026-10-14 12:37:48 +05:30
}
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════ NAV ═══════════════ */
nav {
position : fixed ; top : 0 ; left : 0 ; right : 0 ; z-index : 850 ;
display : flex ; align-items : center ; justify-content : space-between ;
padding : 20 px var ( -- pad );
transition : padding .4 s , background .4 s , backdrop-filter .4 s , border-color .4 s ;
border-bottom : 1 px solid transparent ;
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
nav . stuck {
padding : 12 px var ( -- pad );
background : rgba ( 2 , 3 , 8 , .85 );
backdrop-filter : blur ( 28 px );
border-color : var ( -- line );
}
. nav-logo {
display : flex ; align-items : center ; gap : 11 px ;
font-weight : 600 ; font-size : 16 px ; letter-spacing : -.02 em ;
}
. nav-logo svg { width : 28 px ; height : 28 px ; animation : spin-slow 28 s linear infinite }
@ keyframes spin-slow { to { transform : rotate ( 360 deg )}}
. nav-logo em { font-family : var ( -- serif ); font-style : italic ; font-weight : 400 ; color : var ( -- ac )}
. nav-r { display : flex ; align-items : center ; gap : 4 px }
. nav-r a {
padding : 7 px 14 px ; font-size : 13 px ; font-weight : 500 ;
color : var ( -- dim ); border-radius : 8 px ;
transition : color .2 s , background .2 s ;
}
. nav-r a : hover { color : var ( -- ink ); background : rgba ( 238 , 243 , 248 , .06 )}
. nav-cta {
background : #fff !important ; color : #020308 !important ;
font-weight : 700 !important ; padding : 8 px 20 px !important ;
border-radius : 9 px !important ;
box-shadow : 0 4 px 22 px rgba ( 255 , 255 , 255 , .1 ) !important ;
transition : transform .2 s , box-shadow .2 s !important ;
}
. nav-cta : hover { transform : translateY ( -1 px ) !important ; box-shadow : 0 7 px 30 px rgba ( 255 , 255 , 255 , .2 ) !important }
/* ═══════════════ HERO ═══════════════ */
. hero-center {
text-align : center ;
transform-style : preserve-3d ;
}
. hero-tag {
font-family : var ( -- mono ); font-size : 10 px ; letter-spacing : .28 em ;
text-transform : uppercase ; color : var ( -- ac );
display : flex ; align-items : center ; justify-content : center ; gap : 14 px ;
margin-bottom : 40 px ;
transform : translateZ ( 100 px );
}
. hero-tag :: before , . hero-tag :: after {
content : '' ; height : 1 px ; width : 36 px ; background : var ( -- ac ); opacity : .4 ;
}
. hero-h1 {
font-size : clamp ( 60 px , 10 vw , 150 px );
font-weight : 700 ; letter-spacing : -.05 em ; line-height : .9 ;
margin-bottom : 32 px ;
transform : translateZ ( 60 px );
}
. hero-h1 em {
font-family : var ( -- serif ); font-style : italic ; font-weight : 400 ;
color : var ( -- ac ); display : block ;
}
. hero-sub {
font-size : clamp ( 16 px , 2 vw , 22 px ); color : var ( -- dim );
line-height : 1.6 ; max-width : 540 px ; margin : 0 auto 48 px ;
transform : translateZ ( 30 px );
}
. hero-btns {
display : flex ; gap : 12 px ; justify-content : center ; flex-wrap : wrap ;
transform : translateZ ( 80 px );
}
. scroll-cue {
position : absolute ; bottom : -140 px ; left : 50 % ;
transform : translateX ( -50 % ) translateZ ( 20 px );
display : flex ; flex-direction : column ; align-items : center ; gap : 12 px ;
}
. scroll-cue span {
font-family : var ( -- mono ); font-size : 9 px ; letter-spacing : .22 em ;
color : rgba ( 238 , 243 , 248 , .25 ); text-transform : uppercase ;
}
. scroll-line {
width : 1 px ; height : 50 px ;
background : linear-gradient ( 180 deg , rgba ( 238 , 243 , 248 , .28 ), transparent );
animation : scroll - pulse 2.4 s ease-in-out infinite ;
}
@ keyframes scroll-pulse {
0 % { transform : scaleY ( 0 ); transform-origin : top ; opacity : 1 }
50 % { transform : scaleY ( 1 ); transform-origin : top }
51 % { transform-origin : bottom }
100 % { transform : scaleY ( 0 ); transform-origin : bottom ; opacity : 0 }
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ BUTTONS ═══════════════ */
. btn {
display : inline-flex ; align-items : center ; gap : 8 px ;
padding : 13 px 28 px ; font-size : 14 px ; font-weight : 600 ;
border-radius : 10 px ; font-family : var ( -- sans );
transition : transform .25 s var ( -- ease ), box-shadow .25 s ;
/* 3D button effect */
transform-style : preserve-3d ;
position : relative ;
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
. btn :: after {
content : '' ; position : absolute ; inset : 0 ; border-radius : inherit ;
background : inherit ; filter : blur ( 18 px ); opacity : .35 ; z-index : -1 ;
transform : translateZ ( -10 px ) scale ( 1.05 );
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
. btn-w { background : #fff ; color : #020308 ; box-shadow : 0 5 px 28 px rgba ( 255 , 255 , 255 , .12 )}
. btn-w : hover { transform : translateY ( -2 px ) translateZ ( 8 px ); box-shadow : 0 10 px 36 px rgba ( 255 , 255 , 255 , .25 )}
. btn-o {
background : rgba ( 238 , 243 , 248 , .04 ); color : var ( -- ink );
border : 1 px solid rgba ( 238 , 243 , 248 , .18 );
backdrop-filter : blur ( 10 px );
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
. btn-o : hover {
border-color : rgba ( 238 , 243 , 248 , .4 );
transform : translateY ( -2 px ) translateZ ( 8 px );
background : rgba ( 238 , 243 , 248 , .08 );
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ EYEBROW ═══════════════ */
. ch-tag {
font-family : var ( -- mono ); font-size : 9 px ; letter-spacing : .24 em ;
text-transform : uppercase ; color : rgba ( 238 , 243 , 248 , .3 );
margin-bottom : 28 px ; display : block ;
transform : translateZ ( 20 px );
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ MANIFESTO ═══════════════ */
. manifesto-wrap {
max-width : 900 px ; margin : 0 auto ;
transform-style : preserve-3d ;
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
. manifesto-q {
font-size : clamp ( 32 px , 5.5 vw , 76 px );
font-weight : 600 ; letter-spacing : -.03 em ; line-height : 1.08 ;
margin-bottom : 52 px ;
transform : translateZ ( 50 px );
}
. manifesto-q . word {
display : inline-block ;
opacity : .08 ; transform : translateY ( 14 px ) translateZ ( -30 px );
transition : opacity .5 s ease , transform .5 s ease ;
margin-right : .28 em ;
}
. manifesto-q . word . lit {
opacity : 1 ;
transform : translateY ( 0 ) translateZ ( 0 );
}
. manifesto-q em { font-family : var ( -- serif ); font-style : italic ; color : var ( -- ac ); font-weight : 400 }
. manifesto-body {
font-size : clamp ( 16 px , 1.6 vw , 20 px ); color : var ( -- dim );
line-height : 1.75 ; max-width : 620 px ; margin-bottom : 56 px ;
transform : translateZ ( 25 px );
}
. pillars {
display : grid ; grid-template-columns : repeat ( 4 , 1 fr ); gap : 24 px ;
transform : translateZ ( 40 px );
}
. pillar {
border-top : 1 px solid var ( -- line ); padding-top : 20 px ;
transform-style : preserve-3d ;
transition : transform .4 s var ( -- ease );
}
. pillar : hover { transform : translateZ ( 18 px )}
. pillar-n { font-family : var ( -- mono ); font-size : 10 px ; letter-spacing : .14 em ; color : var ( -- ac ); margin-bottom : 10 px }
. pillar-h { font-size : 16 px ; font-weight : 600 ; margin-bottom : 7 px ; letter-spacing : -.02 em }
. pillar-p { font-size : 13 px ; color : var ( -- dim ); line-height : 1.6 }
/* ═══════════════ PRODUCT SECTIONS ═══════════════ */
. prod-wrap {
display : grid ; grid-template-columns : 1 fr 1 fr ; gap : 80 px ;
align-items : center ; width : 100 % ;
transform-style : preserve-3d ;
}
. prod-wrap . rev { direction : rtl }
. prod-wrap . rev > * { direction : ltr }
. prod-copy { transform-style : preserve-3d }
. prod-h {
font-size : clamp ( 40 px , 5.5 vw , 82 px );
font-weight : 700 ; letter-spacing : -.04 em ; line-height : .96 ;
margin-bottom : 24 px ;
transform : translateZ ( 50 px );
}
. prod-h em { font-family : var ( -- serif ); font-style : italic ; font-weight : 400 ; display : block }
. prod-h . forge-em { color : var ( -- ember )}
. prod-h . oort-em { color : var ( -- ac )}
. prod-h . orbit-em { color : var ( -- violet )}
. prod-p {
font-size : clamp ( 15 px , 1.4 vw , 18 px ); color : var ( -- dim );
line-height : 1.7 ; margin-bottom : 36 px ; max-width : 460 px ;
transform : translateZ ( 25 px );
}
. prod-stats {
display : flex ; gap : 32 px ; margin-bottom : 40 px ; flex-wrap : wrap ;
transform : translateZ ( 40 px );
}
. pstat-v {
font-size : 32 px ; font-weight : 700 ; letter-spacing : -.04 em ;
font-family : var ( -- mono ); line-height : 1 ;
}
. pstat-v em { font-style : normal }
. pstat-l { font-size : 11 px ; color : var ( -- dim ); letter-spacing : .06 em ; text-transform : uppercase ; margin-top : 4 px }
/* ═══════════════ 3D PANEL (live metrics) ═══════════════ */
. panel-3d {
background : rgba ( 238 , 243 , 248 , .025 );
border : 1 px solid var ( -- line );
border-radius : 20 px ; padding : 28 px ;
min-height : 380 px ;
display : flex ; flex-direction : column ; justify-content : space-between ;
backdrop-filter : blur ( 8 px );
position : relative ; overflow : hidden ;
/* 3D tilt effect */
transform : translateZ ( 70 px ) rotateY ( -4 deg ) rotateX ( 2 deg );
transform-style : preserve-3d ;
transition : transform .5 s var ( -- ease );
}
. panel-3d : hover {
transform : translateZ ( 90 px ) rotateY ( -1 deg ) rotateX ( 0 deg );
}
. panel-3d :: before {
content : '' ; position : absolute ; inset : 0 ; border-radius : inherit ;
pointer-events : none ;
}
. forge-panel :: before { background : radial-gradient ( ellipse at 50 % 0 % , rgba ( 255 , 107 , 53 , .07 ) 0 % , transparent 55 % )}
. oort-panel :: before { background : radial-gradient ( ellipse at 50 % 0 % , rgba ( 143 , 217 , 255 , .08 ) 0 % , transparent 55 % )}
. orbit-panel :: before { background : radial-gradient ( ellipse at 50 % 0 % , rgba ( 168 , 85 , 247 , .08 ) 0 % , transparent 55 % )}
. panel-top { display : flex ; align-items : center ; justify-content : space-between ; margin-bottom : 18 px }
. panel-chip {
font-family : var ( -- mono ); font-size : 9 px ; letter-spacing : .18 em ;
text-transform : uppercase ; padding : 5 px 12 px ;
border-radius : 100 px ; border : 1 px solid var ( -- line ); color : var ( -- dim );
}
. panel-status {
display : flex ; align-items : center ; gap : 6 px ;
font-family : var ( -- mono ); font-size : 10 px ; color : var ( -- ok );
}
. panel-status :: before {
content : '' ; width : 6 px ; height : 6 px ; border-radius : 50 % ;
background : var ( -- ok ); box-shadow : 0 0 10 px var ( -- ok );
animation : blink 2 s ease-in-out infinite ;
}
@ keyframes blink { 50 % { opacity : .3 }}
. panel-bars { display : flex ; align-items : flex-end ; gap : 3 px ; height : 80 px ; margin-bottom : 18 px }
. bar { flex : 1 ; border-radius : 3 px 3 px 0 0 ; transition : height .5 s var ( -- ease ); min-height : 3 px }
. bar-forge { background : linear-gradient ( 180 deg , var ( -- ember ), rgba ( 255 , 107 , 53 , .25 ))}
. bar-oort { background : linear-gradient ( 180 deg , var ( -- ac ), rgba ( 143 , 217 , 255 , .25 ))}
. bar-orbit { background : linear-gradient ( 180 deg , var ( -- violet ), rgba ( 168 , 85 , 247 , .25 ))}
. panel-metrics { display : grid ; grid-template-columns : 1 fr 1 fr ; gap : 10 px }
. metric {
background : rgba ( 238 , 243 , 248 , .035 ); border-radius : 10 px ;
padding : 14 px ; border : 1 px solid var ( -- line );
transform-style : preserve-3d ;
transition : transform .3 s var ( -- ease );
}
. metric : hover { transform : translateZ ( 12 px )}
. metric-v { font-family : var ( -- mono ); font-size : 18 px ; font-weight : 500 ; letter-spacing : -.02 em ; margin-bottom : 4 px }
. metric-l { font-size : 11 px ; color : var ( -- dim )}
. forge-m . metric-v { color : var ( -- ember )}
. oort-m . metric-v { color : var ( -- ac )}
. orbit-m . metric-v { color : var ( -- violet )}
. panel-cta {
display : flex ; align-items : center ; justify-content : space-between ;
margin-top : 18 px ; border-top : 1 px solid var ( -- line ); padding-top : 16 px ;
}
. panel-cta span { font-size : 12 px ; color : var ( -- dim )}
. panel-link {
font-size : 13 px ; font-weight : 600 ; color : var ( -- ac );
display : flex ; align-items : center ; gap : 6 px ; transition : gap .2 s ;
}
. panel-link : hover { gap : 12 px }
/* ═══════════════ SCALE SECTION ═══════════════ */
. scale-wrap {
max-width : 1200 px ; width : 100 % ;
transform-style : preserve-3d ;
}
. scale-h {
font-size : clamp ( 48 px , 6 vw , 90 px ); font-weight : 700 ;
letter-spacing : -.04 em ; line-height : .95 ; margin-bottom : 60 px ;
transform : translateZ ( 50 px );
}
. scale-h em { font-family : var ( -- serif ); font-style : italic ; font-weight : 400 ; color : var ( -- ok )}
. scale-grid {
display : grid ; grid-template-columns : repeat ( 3 , 1 fr ); gap : 1 px ;
background : var ( -- line ); border-radius : 16 px ; overflow : hidden ;
transform : translateZ ( 30 px );
}
. scale-item {
background : var ( -- bg ); padding : 40 px 28 px ;
transform-style : preserve-3d ; transition : transform .3 s var ( -- ease ), background .3 s ;
}
. scale-item : hover { background : rgba ( 238 , 243 , 248 , .02 ); transform : translateZ ( 12 px )}
. scale-n { font-family : var ( -- mono ); font-size : clamp ( 34 px , 4 vw , 56 px ); font-weight : 500 ; letter-spacing : -.03 em ; margin-bottom : 8 px }
. scale-n . ac { color : var ( -- ac )}. scale-n . ok { color : var ( -- ok )}. scale-n . em { color : var ( -- ember )}. scale-n . vi { color : var ( -- violet )}
. scale-l { font-size : 14 px ; color : var ( -- dim ); line-height : 1.5 }
/* ═══════════════ COMPARE TABLE ═══════════════ */
. cmp-wrap {
max-width : 1100 px ; width : 100 % ;
transform-style : preserve-3d ;
}
. cmp-h {
font-size : clamp ( 40 px , 5 vw , 74 px ); font-weight : 700 ;
letter-spacing : -.04 em ; line-height : .98 ; margin-bottom : 48 px ;
transform : translateZ ( 40 px );
}
. cmp-h em { font-family : var ( -- serif ); font-style : italic ; color : var ( -- ac ); font-weight : 400 }
. cmp-tbl {
width : 100 % ; border-collapse : collapse ;
transform : translateZ ( 20 px );
}
. cmp-tbl th , . cmp-tbl td {
padding : 16 px 18 px ; text-align : left ; border-bottom : 1 px solid var ( -- line ); font-size : 14 px ;
}
. cmp-tbl th { font-family : var ( -- mono ); font-size : 10 px ; letter-spacing : .12 em ; text-transform : uppercase ; color : var ( -- dim ); font-weight : 400 }
. cmp-tbl td : first-child { color : var ( -- dim ); font-size : 13 px }
. cmp-yes { color : var ( -- ok ); font-weight : 600 }
. cmp-no { color : rgba ( 238 , 243 , 248 , .25 )}
. cmp-cosmos-th { background : rgba ( 143 , 217 , 255 , .06 ); border : 1 px solid rgba ( 143 , 217 , 255 , .15 ); border-radius : 8 px }
/* ═══════════════ CTA ═══════════════ */
. cta-wrap {
max-width : 800 px ; margin : 0 auto ; text-align : center ;
transform-style : preserve-3d ;
}
. cta-h {
font-size : clamp ( 56 px , 8 vw , 120 px ); font-weight : 700 ;
letter-spacing : -.045 em ; line-height : .93 ; margin-bottom : 28 px ;
transform : translateZ ( 60 px );
}
. cta-h em { font-family : var ( -- serif ); font-style : italic ; color : var ( -- ac ); font-weight : 400 ; display : block }
. cta-p {
font-size : clamp ( 16 px , 1.8 vw , 20 px ); color : var ( -- dim );
line-height : 1.65 ; max-width : 500 px ; margin : 0 auto 44 px ;
transform : translateZ ( 30 px );
}
. cta-btns { transform : translateZ ( 70 px )}
. cta-note {
margin-top : 28 px ; font-family : var ( -- mono ); font-size : 11 px ;
letter-spacing : .1 em ; color : rgba ( 238 , 243 , 248 , .2 ); text-transform : uppercase ;
transform : translateZ ( 10 px );
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
/* ═══════════════ FOOTER ═══════════════ */
footer {
position : fixed ; bottom : 0 ; left : 0 ; right : 0 ; z-index : 4 ;
border-top : 1 px solid var ( -- line );
padding : 32 px var ( -- pad );
display : flex ; align-items : center ; justify-content : space-between ;
flex-wrap : wrap ; gap : 16 px ;
background : rgba ( 2 , 3 , 8 , .9 ); backdrop-filter : blur ( 18 px );
transform : translateY ( 100 % );
transition : transform .6 s var ( -- ease );
2026-11-07 00:30:41 +05:30
}
2026-11-07 11:31:26 +05:30
footer . show { transform : translateY ( 0 )}
. ft-logo { display : flex ; align-items : center ; gap : 10 px ; font-weight : 600 ; font-size : 14 px }
. ft-links { display : flex ; gap : 20 px }
. ft-links a { font-size : 13 px ; color : var ( -- dim ); transition : color .2 s }
. ft-links a : hover { color : var ( -- ink )}
. ft-right { font-family : var ( -- mono ); font-size : 10 px ; letter-spacing : .08 em ; color : rgba ( 238 , 243 , 248 , .25 ); text-align : right }
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════ RESPONSIVE ═══════════════ */
@ media ( max-width : 900px ) {
. prod-wrap { grid-template-columns : 1 fr ; gap : 40 px }
. prod-wrap . rev { direction : ltr }
. pillars { grid-template-columns : 1 fr 1 fr }
. scale-grid { grid-template-columns : 1 fr 1 fr }
. nav-r a : not ( . nav-cta ) { display : none }
. hero-h1 { font-size : clamp ( 48 px , 13 vw , 90 px )}
. panel-3d { transform : translateZ ( 40 px ) rotateY ( 0 ) rotateX ( 0 )}
}
@ media ( max-width : 600px ) {
. pillars { grid-template-columns : 1 fr }
. scale-grid { grid-template-columns : 1 fr }
. prod-stats { gap : 18 px }
2026-10-14 12:37:48 +05:30
}
</ style >
</ head >
< body >
2026-11-07 11:31:26 +05:30
<!-- THREE.JS canvas at z-index:0 -->
< canvas id = "cvs" aria-hidden = "true" ></ canvas >
< div class = "grain" aria-hidden = "true" ></ div >
< div class = "vignette" aria-hidden = "true" ></ div >
< div id = "prog" aria-hidden = "true" ></ div >
< div id = "sect-id" > 01 — COSMOS</ div >
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
<!-- NAV -->
2026-10-14 12:37:48 +05:30
< nav id = "nav" >
2026-11-07 11:31:26 +05:30
< a href = "/" class = "nav-logo" >
< svg viewBox = "0 0 34 34" aria-label = "Cosmos" >
< ellipse cx = "17" cy = "17" rx = "14" ry = "5.5" fill = "none" stroke = "rgba(238,243,248,.45)" stroke-width = "1.1" transform = "rotate(-28 17 17)" />
< ellipse cx = "17" cy = "17" rx = "14" ry = "5.5" fill = "none" stroke = "rgba(143,217,255,.25)" stroke-width = ".7" transform = "rotate(28 17 17)" />
< circle cx = "17" cy = "17" r = "4.5" fill = "#eef3f8" />
< circle cx = "28" cy = "12" r = "1.8" fill = "#8fd9ff" />
</ svg >
Cosmos< em > .</ em >
2026-10-14 12:37:48 +05:30
</ a >
2026-11-07 11:31:26 +05:30
< div class = "nav-r" >
< a href = "/git" > Forge</ a >
< a href = "/oort" > Oort</ a >
< a href = "/orbit" > Orbit</ a >
< a href = "/oort/login" class = "nav-cta" > Get Started</ a >
2026-10-14 12:37:48 +05:30
</ div >
</ nav >
2026-11-07 11:31:26 +05:30
<!-- ══════════════════════════════════════════════
3D WORLD — all content lives inside this perspective container.
#tunnel is translated on Z based on scroll position.
Each .station is at a specific translateZ() depth.
═══════════════════════════════════════════════════ -->
< div id = "world" >
< div id = "tunnel" >
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
<!-- ★ STATION 0 — HERO (Z = 0) -->
< div class = "station active" id = "st0" style = "opacity:1;visibility:visible" data-label = "01 — COSMOS" >
< div class = "st-inner" >
< div class = "hero-center" >
< div class = "hero-tag" > Sovereign Cloud Platform</ div >
< h1 class = "hero-h1" > Your sky.< em > Your rules.</ em ></ h1 >
< p class = "hero-sub" >
Self-hosted Git, infinite object storage, container orchestration —
encrypted, isolated, no third-party ever.
2026-11-07 00:30:41 +05:30
</ p >
2026-11-07 11:31:26 +05:30
< div class = "hero-btns" >
< a href = "/oort/signup" class = "btn btn-w" > Create Account</ a >
< a href = "/oort" class = "btn btn-o" > Explore Platform ↗</ a >
</ div >
< div class = "scroll-cue" aria-hidden = "true" >
< span > Scroll to explore</ span >
< div class = "scroll-line" ></ div >
2026-11-07 00:30:41 +05:30
</ div >
2026-11-07 11:27:09 +05:30
</ div >
2026-11-07 11:31:26 +05:30
</ div >
</ div >
2026-11-07 11:27:09 +05:30
2026-11-07 11:31:26 +05:30
<!-- ★ STATION 1 — MANIFESTO (Z = -2400) -->
< div class = "station" id = "st1" data-label = "00 — SOVEREIGNTY" >
< div class = "st-inner" >
< div class = "manifesto-wrap" >
< span class = "ch-tag" > 00 — Sovereignty</ span >
< h2 class = "manifesto-q" id = "mq" aria-label = "Your cloud should obey you. Not the other way around." ></ h2 >
< p class = "manifesto-body" >
The cloud promised freedom and delivered surveillance.
Every file you store, every commit you push, every container you spin —
recorded, indexed, monetised.
Cosmos was built to end that.
</ p >
< div class = "pillars" >
< div class = "pillar" >< div class = "pillar-n" > 01</ div >< div class = "pillar-h" > Zero telemetry</ div >< p class = "pillar-p" > Nothing phones home. No analytics, no crash reports, no data leaving your hardware.</ p ></ div >
< div class = "pillar" >< div class = "pillar-n" > 02</ div >< div class = "pillar-h" > End-to-end encryption</ div >< p class = "pillar-p" > AES-256 at rest, mutual TLS in transit. Keys never leave your server.</ p ></ div >
< div class = "pillar" >< div class = "pillar-n" > 03</ div >< div class = "pillar-h" > Air-gap capable</ div >< p class = "pillar-p" > Runs entirely offline. No external DNS, no CDN, no cloud dependencies.</ p ></ div >
< div class = "pillar" >< div class = "pillar-n" > 04</ div >< div class = "pillar-h" > You own the keys</ div >< p class = "pillar-p" > Root access guaranteed. Export, migrate, delete — no lock-in, no permission needed.</ p ></ div >
2026-11-07 11:27:09 +05:30
</ div >
2026-11-07 00:30:41 +05:30
</ div >
</ div >
2026-11-07 11:31:26 +05:30
</ div >
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
<!-- ★ STATION 2 — FORGE (Z = -5400) -->
< div class = "station" id = "st2" data-label = "01 — FORGE" >
< div class = "st-inner" >
< div class = "prod-wrap" >
< div class = "prod-copy" >
< span class = "ch-tag" > 01 — Forge</ span >
< h2 class = "prod-h" > Private Git.< br >< em class = "forge-em" > Infinite repos.</ em ></ h2 >
< p class = "prod-p" >
Full-featured self-hosted Git forge. Code review, CI pipelines,
protected branches, SSH and HTTPS — none of the surveillance.
</ p >
< div class = "prod-stats" >
< div >< div class = "pstat-v" >< em id = "fCommits" style = "color:var(--ember)" > 1,218</ em ></ div >< div class = "pstat-l" > Commits today</ div ></ div >
< div >< div class = "pstat-v" >< em style = "color:var(--ember)" > ∞</ em ></ div >< div class = "pstat-l" > Repositories</ div ></ div >
< div >< div class = "pstat-v" >< em style = "color:var(--ember)" > 0</ em ></ div >< div class = "pstat-l" > Third parties</ div ></ div >
</ div >
< a href = "/git" class = "btn btn-w" style = "transform:translateZ(60px)" > Open Forge ↗</ a >
</ div >
< div class = "panel-3d forge-panel" >
< div class = "panel-top" >< span class = "panel-chip" > forge · live</ span >< span class = "panel-status" > Nominal</ span ></ div >
< div class = "panel-bars" id = "forge-bars" ></ div >
< div class = "panel-metrics" >
< div class = "metric forge-m" >< div class = "metric-v" id = "fC2" > 1,218</ div >< div class = "metric-l" > Commits / day</ div ></ div >
< div class = "metric forge-m" >< div class = "metric-v" id = "fK" > 12</ div >< div class = "metric-l" > SSH keys</ div ></ div >
< div class = "metric forge-m" >< div class = "metric-v" > 4.1ms</ div >< div class = "metric-l" > Clone latency</ div ></ div >
< div class = "metric forge-m" >< div class = "metric-v" > 99.99%</ div >< div class = "metric-l" > Uptime (90d)</ div ></ div >
</ div >
< div class = "panel-cta" >< span > Git-compatible · Gitea-powered</ span >< a href = "/git" class = "panel-link" > Open Forge →</ a ></ div >
</ div >
</ div >
2026-11-07 11:27:09 +05:30
</ div >
2026-11-07 11:31:26 +05:30
</ div >
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
<!-- ★ STATION 3 — OORT (Z = -8400) -->
2026-11-07 11:43:54 +05:30
< div class = "station" id = "st3" data-label = "02 — OORT" >
2026-11-07 11:31:26 +05:30
< div class = "st-inner" >
< div class = "prod-wrap rev" >
< div class = "prod-copy" >
2026-11-07 11:43:54 +05:30
< span class = "ch-tag" > 02 — Oort</ span >
< h2 class = "prod-h" > S3 storage.< br >< em class = "oort-em" > Your hardware.</ em ></ h2 >
2026-11-07 11:31:26 +05:30
< p class = "prod-p" >
2026-11-07 11:43:54 +05:30
S3-compatible object storage built on MinIO.
Versioning, lifecycle policies, multipart uploads —
every S3 API call, zero cloud bills.
2026-11-07 11:31:26 +05:30
</ p >
< div class = "prod-stats" >
< div >< div class = "pstat-v" >< em id = "oRps" style = "color:var(--ac)" > 34,210</ em ></ div >< div class = "pstat-l" > Req / second</ div ></ div >
< div >< div class = "pstat-v" >< em id = "oLat" style = "color:var(--ac)" > 3.8</ em > ms</ div >< div class = "pstat-l" > p99 latency</ div ></ div >
< div >< div class = "pstat-v" >< em id = "oStore" style = "color:var(--ac)" > 4.7</ em > TB</ div >< div class = "pstat-l" > Data stored</ div ></ div >
</ div >
2026-11-07 11:43:54 +05:30
< a href = "/oort" class = "btn btn-w" style = "transform:translateZ(60px)" > Open Oort ↗</ a >
2026-11-07 11:31:26 +05:30
</ div >
< div class = "panel-3d oort-panel" >
2026-11-07 11:43:54 +05:30
< div class = "panel-top" >< span class = "panel-chip" > oort · live</ span >< span class = "panel-status" > Nominal</ span ></ div >
2026-11-07 11:31:26 +05:30
< div class = "panel-bars" id = "oort-bars" ></ div >
< div class = "panel-metrics" >
< div class = "metric oort-m" >< div class = "metric-v" id = "oR2" > 34,210</ div >< div class = "metric-l" > Req / s</ div ></ div >
< div class = "metric oort-m" >< div class = "metric-v" id = "oL2" > 3.8ms</ div >< div class = "metric-l" > p99 latency</ div ></ div >
< div class = "metric oort-m" >< div class = "metric-v" id = "oS2" > 4.7TB</ div >< div class = "metric-l" > Stored</ div ></ div >
2026-11-07 11:43:54 +05:30
< div class = "metric oort-m" >< div class = "metric-v" > AES-256</ div >< div class = "metric-l" > Encryption</ div ></ div >
2026-11-07 11:31:26 +05:30
</ div >
2026-11-07 11:43:54 +05:30
< div class = "panel-cta" >< span > S3-compatible · MinIO-powered</ span >< a href = "/oort" class = "panel-link" > Open Oort →</ a ></ div >
2026-11-07 11:31:26 +05:30
</ div >
</ div >
2026-11-07 11:27:09 +05:30
</ div >
2026-11-07 11:31:26 +05:30
</ div >
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
<!-- ★ STATION 4 — ORBIT (Z = -11400) -->
< div class = "station" id = "st4" data-label = "03 — ORBIT" >
< div class = "st-inner" >
< div class = "prod-wrap" >
< div class = "prod-copy" >
< span class = "ch-tag" > 03 — Orbit</ span >
< h2 class = "prod-h" > Container cloud.< br >< em class = "orbit-em" > No AWS needed.</ em ></ h2 >
< p class = "prod-p" >
Deploy, scale, and monitor containers from a single dashboard.
Real-time logs, resource metrics, reverse-proxy routing —
on your own server.
</ p >
< div class = "prod-stats" >
< div >< div class = "pstat-v" >< em id = "orbP" style = "color:var(--violet)" > :4109</ em ></ div >< div class = "pstat-l" > Live port</ div ></ div >
< div >< div class = "pstat-v" >< em id = "orbC" style = "color:var(--violet)" > 7</ em ></ div >< div class = "pstat-l" > Containers</ div ></ div >
< div >< div class = "pstat-v" >< em style = "color:var(--violet)" > 0</ em ></ div >< div class = "pstat-l" > Cold starts</ div ></ div >
</ div >
< a href = "/orbit" class = "btn btn-w" style = "transform:translateZ(60px)" > Open Orbit ↗</ a >
</ div >
< div class = "panel-3d orbit-panel" >
< div class = "panel-top" >< span class = "panel-chip" > orbit · live</ span >< span class = "panel-status" > Nominal</ span ></ div >
< div class = "panel-bars" id = "orbit-bars" ></ div >
< div class = "panel-metrics" >
< div class = "metric orbit-m" >< div class = "metric-v" id = "oP2" > :4109</ div >< div class = "metric-l" > Live port</ div ></ div >
< div class = "metric orbit-m" >< div class = "metric-v" id = "oC2" > 7</ div >< div class = "metric-l" > Containers</ div ></ div >
< div class = "metric orbit-m" >< div class = "metric-v" > 0.4%</ div >< div class = "metric-l" > CPU overhead</ div ></ div >
< div class = "metric orbit-m" >< div class = "metric-v" > mTLS</ div >< div class = "metric-l" > Inter-container</ div ></ div >
</ div >
< div class = "panel-cta" >< span > Docker-compatible · ScyllaDB-backed</ span >< a href = "/orbit" class = "panel-link" > Open Orbit →</ a ></ div >
</ div >
</ div >
2026-11-07 11:27:09 +05:30
</ div >
2026-11-07 11:31:26 +05:30
</ div >
2026-11-07 11:27:09 +05:30
2026-11-07 11:31:26 +05:30
<!-- ★ STATION 5 — SCALE (Z = -14000) -->
< div class = "station" id = "st5" data-label = "04 — SCALE" >
< div class = "st-inner" >
< div class = "scale-wrap" >
< span class = "ch-tag" > 04 — Scale</ span >
< h2 class = "scale-h" > Built to< br >< em > never slow down.</ em ></ h2 >
< div class = "scale-grid" >
< div class = "scale-item" >< div class = "scale-n ac" > 99.99</ div >< div class = "scale-l" > % uptime SLA< br > trailing 90 days</ div ></ div >
< div class = "scale-item" >< div class = "scale-n ok" > ∞</ div >< div class = "scale-l" > Storage capacity< br > limited by hardware</ div ></ div >
< div class = "scale-item" >< div class = "scale-n em" > 0</ div >< div class = "scale-l" > Third-party access< br > no vendors, ever</ div ></ div >
< div class = "scale-item" >< div class = "scale-n vi" > 34,200</ div >< div class = "scale-l" > Requests / second< br > Oort peak throughput</ div ></ div >
< div class = "scale-item" >< div class = "scale-n ac" > 3.8ms</ div >< div class = "scale-l" > p99 object latency< br > on commodity NVMe</ div ></ div >
< div class = "scale-item" >< div class = "scale-n ok" > AES-256</ div >< div class = "scale-l" > Encryption at rest< br > keys never leave server</ div ></ div >
</ div >
</ div >
</ div >
</ div >
<!-- ★ STATION 6 — COMPARE (Z = -16500) -->
< div class = "station" id = "st6" data-label = "05 — COMPARISON" >
< div class = "st-inner" >
< div class = "cmp-wrap" >
< span class = "ch-tag" > 05 — Comparison</ span >
< h2 class = "cmp-h" > Why not< br >< em > the cloud?</ em ></ h2 >
< table class = "cmp-tbl" >< thead >< tr >
< th ></ th >< th class = "cmp-cosmos-th" > Cosmos</ th >< th > AWS</ th >< th > GCP</ th >< th > Azure</ th >
</ tr ></ thead >< tbody >
< tr >< td > Data ownership</ td >< td class = "cmp-yes" > ✓ You own it</ td >< td class = "cmp-no" > ✗ Their TOS</ td >< td class = "cmp-no" > ✗ Their TOS</ td >< td class = "cmp-no" > ✗ Their TOS</ td ></ tr >
< tr >< td > Monthly cost</ td >< td class = "cmp-yes" > ✓ Fixed</ td >< td class = "cmp-no" > $ Variable</ td >< td class = "cmp-no" > $ Variable</ td >< td class = "cmp-no" > $ Variable</ td ></ tr >
< tr >< td > Private Git</ td >< td class = "cmp-yes" > ✓ Built-in</ td >< td class = "cmp-no" > ✗ Extra cost</ td >< td class = "cmp-no" > ✗ Cloud Source</ td >< td class = "cmp-no" > ✗ DevOps add-on</ td ></ tr >
< tr >< td > S3 storage</ td >< td class = "cmp-yes" > ✓ Included</ td >< td class = "cmp-no" > $ Per GB</ td >< td class = "cmp-no" > $ Per GB</ td >< td class = "cmp-no" > $ Per GB</ td ></ tr >
< tr >< td > Containers</ td >< td class = "cmp-yes" > ✓ Included</ td >< td class = "cmp-no" > $ ECS/EKS</ td >< td class = "cmp-no" > $ GKE</ td >< td class = "cmp-no" > $ AKS</ td ></ tr >
< tr >< td > Vendor lock-in</ td >< td class = "cmp-yes" > ✓ None</ td >< td class = "cmp-no" > ✗ High</ td >< td class = "cmp-no" > ✗ High</ td >< td class = "cmp-no" > ✗ High</ td ></ tr >
</ tbody ></ table >
</ div >
</ div >
</ div >
<!-- ★ STATION 7 — CTA (Z = -19000) -->
< div class = "station" id = "st7" data-label = "06 — BEGIN" >
< div class = "st-inner" >
< div class = "cta-wrap" >
< span class = "ch-tag" > 06 — Begin</ span >
< h2 class = "cta-h" > Your cloud.< em > Starts now.</ em ></ h2 >
< p class = "cta-p" >
Deploy your sovereign stack today. Full control, no vendors, no compromise.
Every byte of storage — encrypted, isolated, yours.
</ p >
< div class = "cta-btns" style = "display:flex;gap:12px;justify-content:center;flex-wrap:wrap" >
< a href = "/oort/signup" class = "btn btn-w" > Create Account</ a >
< a href = "/git" class = "btn btn-o" > Open Forge ↗</ a >
< a href = "/orbit" class = "btn btn-o" > Open Orbit ↗</ a >
</ div >
< p class = "cta-note" > Self-hosted · Private · No third parties · No exceptions</ p >
</ div >
</ div >
</ div >
</ div > <!-- /tunnel -->
</ div > <!-- /world -->
<!-- Scroll height spacer — invisible, just gives us scroll distance -->
< div id = "scroll-spacer" ></ div >
<!-- Footer slides up at the very end -->
< footer id = "ft" >
< a href = "/" class = "ft-logo" >
< svg width = "22" height = "22" viewBox = "0 0 34 34" >< ellipse cx = "17" cy = "17" rx = "14" ry = "5.5" fill = "none" stroke = "rgba(238,243,248,.4)" stroke-width = "1.1" transform = "rotate(-28 17 17)" />< circle cx = "17" cy = "17" r = "4" fill = "#eef3f8" /></ svg >
2026-11-07 00:30:41 +05:30
Cosmos
</ a >
2026-11-07 11:31:26 +05:30
< nav class = "ft-links" >< a href = "/git" > Forge</ a >< a href = "/oort" > Oort</ a >< a href = "/orbit" > Orbit</ a >< a href = "/oort/login" > Login</ a ></ nav >
< div class = "ft-right" >< div > 51.4778° N · 0.0015° W</ div >< div style = "color:var(--ok);margin-top:3px" > ● All systems nominal</ div ></ div >
2026-10-14 12:37:48 +05:30
</ footer >
2026-11-07 11:31:26 +05:30
< noscript >< style >. station { opacity : 1 !important ; visibility : visible !important ; position : relative !important ; transform : none !important }. manifesto-q . word { opacity : 1 !important ; transform : none !important }# world { position : relative !important ; perspective : none !important }# tunnel { position : relative !important ; transform : none !important }# scroll-spacer { display : none }</ style ></ noscript >
<!-- ═══════════════════════════════════════════════════
SCRIPT: 3D SCROLL ENGINE + THREE.JS
═══════════════════════════════════════════════════ -->
2026-10-14 12:37:48 +05:30
< script >
2026-11-07 11:31:26 +05:30
( function (){
'use strict' ;
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* ─── MATH ─── */
var CL = function ( v , a , b ){ return Math . max ( a , Math . min ( b , v ))};
var L = function ( a , b , t ){ return a + ( b - a ) * t };
var EIO = function ( t ){ return t < . 5 ? 2 * t * t :- 1 + ( 4 - 2 * t ) * t };
var EO = function ( t ){ return 1 - ( 1 - t ) * ( 1 - t )};
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════════════════════════════════════
STATION DEFINITIONS
Each station has a Z-depth and a "dwell" zone.
Camera Z position = -scrollProgress * totalZDepth
Stations become active when camera Z is near their depth.
═══════════════════════════════════════════════════ */
var STATIONS = [
{ id : 'st0' , z : 0 , label : '01 — COSMOS' },
{ id : 'st1' , z :- 2400 , label : '00 — SOVEREIGNTY' },
{ id : 'st2' , z :- 5400 , label : '01 — FORGE' },
{ id : 'st3' , z :- 8400 , label : '02 — OORT' },
{ id : 'st4' , z :- 11400 , label : '03 — ORBIT' },
{ id : 'st5' , z :- 14000 , label : '04 — SCALE' },
{ id : 'st6' , z :- 16500 , label : '05 — COMPARISON' },
{ id : 'st7' , z :- 19000 , label : '06 — BEGIN' },
];
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* Total Z depth the camera travels */
var TOTAL_Z = 19000 ;
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* The scroll spacer height matches station progression */
var SCROLL_HEIGHT = ( STATIONS . length - 1 ) * 1000 ;
document . getElementById ( 'scroll-spacer' ). style . height = SCROLL_HEIGHT + 'px' ;
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
/* ─── STATE ─── */
var scrollY = 0 ;
var smoothZ = 0 ;
var targetZ = 0 ;
var currentStationIdx = 0 ;
var targetStationIdx = 0 ;
var lastNavTime = 0 ;
var lastNavDir = 0 ;
var wheelAccum = 0 ;
var wheelDecay = null ;
var rafPending = false ;
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
/* ─── DOM REFS ─── */
var tunnel = document . getElementById ( 'tunnel' );
var progBar = document . getElementById ( 'prog' );
var labelEl = document . getElementById ( 'sect-id' );
var navEl = document . getElementById ( 'nav' );
var footerEl = document . getElementById ( 'ft' );
var stationEls = STATIONS . map ( function ( s ){ return document . getElementById ( s . id ); });
2026-11-07 00:30:41 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════════════════════════════════════
STATION-WISE CONTROLS
Each scroll action smoothly travels to the next/prev
station, coming to a complete, stable pause at each one.
═══════════════════════════════════════════════════ */
2026-11-07 13:17:40 +05:30
var isProgrammaticScroll = false ;
2026-11-07 11:31:26 +05:30
function goToStation ( idx ){
idx = CL ( Math . round ( idx ), 0 , STATIONS . length - 1 );
targetStationIdx = idx ;
currentStationIdx = idx ;
targetZ = STATIONS [ idx ]. z ;
lastNavTime = Date . now ();
2026-11-07 01:03:36 +05:30
2026-11-07 11:31:26 +05:30
var maxScroll = Math . max ( 1 , SCROLL_HEIGHT - window . innerHeight );
var targetY = ( idx / ( STATIONS . length - 1 )) * maxScroll ;
2026-11-07 13:17:40 +05:30
isProgrammaticScroll = true ;
2026-11-07 11:31:26 +05:30
window . scrollTo ( 0 , targetY );
scrollY = targetY ;
2026-11-07 13:17:40 +05:30
setTimeout ( function (){ isProgrammaticScroll = false ; }, 120 );
2026-11-07 11:31:26 +05:30
}
2026-11-07 01:03:36 +05:30
2026-11-07 11:31:26 +05:30
function nextStation (){
if ( targetStationIdx < STATIONS . length - 1 ){
lastNavDir = 1 ;
goToStation ( targetStationIdx + 1 );
}
}
2026-11-07 01:03:36 +05:30
2026-11-07 11:31:26 +05:30
function prevStation (){
if ( targetStationIdx > 0 ){
lastNavDir = - 1 ;
goToStation ( targetStationIdx - 1 );
}
}
/* Expose to window for inline onclick handlers */
window . goToStation = goToStation ;
window . nextStation = nextStation ;
window . prevStation = prevStation ;
/* Wheel gesture: instant direction reverse, one flick = one station transition + pause */
window . addEventListener ( 'wheel' , function ( e ){
e . preventDefault ();
// Instant reset on scroll direction change so user never has to overcome residual delta
if (( e . deltaY > 0 && wheelAccum < 0 ) || ( e . deltaY < 0 && wheelAccum > 0 )){
wheelAccum = e . deltaY ;
} else {
wheelAccum += e . deltaY ;
2026-11-07 02:11:03 +05:30
}
2026-11-07 11:31:26 +05:30
var now = Date . now ();
var dir = wheelAccum > 0 ? 1 : - 1 ;
var isDirChange = ( dir !== lastNavDir );
// Direction reversals respond ultra fast (180ms) for effortless backward scrolling!
var activeCooldown = isDirChange ? 180 : 420 ;
2026-11-07 02:11:03 +05:30
2026-11-07 11:31:26 +05:30
if ( Math . abs ( wheelAccum ) > 18 && ( now - lastNavTime ) > activeCooldown ){
lastNavDir = dir ;
if ( dir > 0 ){
nextStation ();
} else {
prevStation ();
}
wheelAccum = 0 ;
lastNavTime = now ;
}
clearTimeout ( wheelDecay );
wheelDecay = setTimeout ( function (){ wheelAccum = 0 ; }, 90 );
}, { passive : false });
2026-11-07 13:17:40 +05:30
/* Touch gestures: swipe up/down with precise single-station snapping */
var touchStartX = 0 ;
2026-11-07 11:31:26 +05:30
var touchStartY = 0 ;
2026-11-07 13:17:40 +05:30
var touchStartTime = 0 ;
var touchIsActive = false ;
var touchTriggered = false ;
2026-11-07 11:31:26 +05:30
window . addEventListener ( 'touchstart' , function ( e ){
2026-11-07 13:17:40 +05:30
if ( e . touches . length !== 1 ) return ;
touchStartX = e . touches [ 0 ]. clientX ;
2026-11-07 11:31:26 +05:30
touchStartY = e . touches [ 0 ]. clientY ;
2026-11-07 13:17:40 +05:30
touchStartTime = Date . now ();
touchIsActive = true ;
touchTriggered = false ;
2026-11-07 11:31:26 +05:30
}, { passive : true });
2026-11-07 13:17:40 +05:30
window . addEventListener ( 'touchmove' , function ( e ){
if ( e . touches . length !== 1 ) return ;
var dx = e . touches [ 0 ]. clientX - touchStartX ;
var dy = e . touches [ 0 ]. clientY - touchStartY ;
2026-11-07 11:31:26 +05:30
2026-11-07 13:17:40 +05:30
// Intercept vertical swipes immediately so browser never starts kinetic momentum scroll
if ( Math . abs ( dy ) > 7 && Math . abs ( dy ) > Math . abs ( dx )){
if ( e . cancelable ){
e . preventDefault ();
}
// Trigger station switch as soon as user has swiped past threshold (36px)
if ( ! touchTriggered && Math . abs ( dy ) > 36 ){
var now = Date . now ();
var dir = dy < 0 ? 1 : - 1 ;
var isDirChange = ( dir !== lastNavDir );
var activeCooldown = isDirChange ? 150 : 320 ;
if (( now - lastNavTime ) > activeCooldown ){
touchTriggered = true ;
lastNavDir = dir ;
if ( dir > 0 ){
nextStation ();
} else {
prevStation ();
}
}
2026-11-07 11:31:26 +05:30
}
}
2026-11-07 13:17:40 +05:30
}, { passive : false });
window . addEventListener ( 'touchend' , function ( e ){
touchIsActive = false ;
if ( touchTriggered ) {
touchTriggered = false ;
return ;
}
if ( ! e . changedTouches || e . changedTouches . length === 0 ) return ;
var dy = touchStartY - e . changedTouches [ 0 ]. clientY ;
var dx = touchStartX - e . changedTouches [ 0 ]. clientX ;
var dt = Date . now () - touchStartTime ;
// Fast flick gesture support (short distance but quick flick)
if ( Math . abs ( dy ) > 18 && Math . abs ( dy ) > Math . abs ( dx ) && dt < 280 ){
var now = Date . now ();
var dir = dy > 0 ? 1 : - 1 ;
var isDirChange = ( dir !== lastNavDir );
var activeCooldown = isDirChange ? 150 : 300 ;
if (( now - lastNavTime ) > activeCooldown ){
lastNavDir = dir ;
if ( dir > 0 ){
nextStation ();
} else {
prevStation ();
}
}
}
touchTriggered = false ;
}, { passive : true });
window . addEventListener ( 'touchcancel' , function (){
touchIsActive = false ;
touchTriggered = false ;
2026-11-07 11:31:26 +05:30
}, { passive : true });
/* Keyboard: arrows, space, page down/up */
window . addEventListener ( 'keydown' , function ( e ){
if ( e . key === 'ArrowDown' || e . key === 'PageDown' || e . key === ' ' ){
e . preventDefault ();
lastNavDir = 1 ;
nextStation ();
} else if ( e . key === 'ArrowUp' || e . key === 'PageUp' ){
e . preventDefault ();
lastNavDir = - 1 ;
prevStation ();
} else if ( e . key === 'Home' ){
goToStation ( 0 );
} else if ( e . key === 'End' ){
goToStation ( STATIONS . length - 1 );
}
});
/* ═══════════════════════════════════════════════
MANIFESTO WORDS
═══════════════════════════════════════════════════ */
var mqEl = document . getElementById ( 'mq' );
var wordEls = [];
if ( mqEl ){
var WORDS = 'Your cloud should obey you \u2014 not the other way around.' . split ( ' ' );
mqEl . innerHTML = WORDS . map ( function ( w ){
return '<span class="word">' + ( w === '\u2014' ? '<em>' + w + '</em>' : w ) + '</span>' ;
}). join ( ' ' );
wordEls = Array . from ( mqEl . querySelectorAll ( '.word' ));
}
/* ═══════════════════════════════════════════════
STATION VISIBILITY & 3D PARALLAX INTERPOLATION
Continuous, symmetrical cross-fade for forward AND backward scroll.
Stations stay safely within [-75px, +45px] of camera space so
CSS 3D perspective never suffers divide-by-zero or near-plane explosions.
═══════════════════════════════════════════════════ */
function updateStations ( camZ ){
// Clamp camZ to station limits
camZ = CL ( camZ , STATIONS [ STATIONS . length - 1 ]. z , STATIONS [ 0 ]. z );
// Find the active segment
var segIdx = 0 ;
for ( var i = 0 ; i < STATIONS . length - 1 ; i ++ ){
if ( camZ <= STATIONS [ i ]. z && camZ >= STATIONS [ i + 1 ]. z ){
segIdx = i ;
break ;
}
}
var zA = STATIONS [ segIdx ]. z ;
var zB = STATIONS [ segIdx + 1 ]. z ;
var span = zB - zA ;
var t = span !== 0 ? ( camZ - zA ) / span : 0 ;
t = CL ( t , 0 , 1 );
// Silky smooth cosine ease: 0 at zA, 1 at zB
var ease = ( 1 - Math . cos ( t * Math . PI )) * 0.5 ;
stationEls . forEach ( function ( el , i ){
if ( ! el ) return ;
if ( i === segIdx ){
// Station A (in view when ease=0, departing forward when ease->1)
var op = 1 - ease ;
if ( op > 0.005 ){
var z = ease * 45 ;
var s = 1 + ease * 0.03 ;
var y = - ease * 18 ;
el . style . visibility = 'visible' ;
el . style . opacity = op . toFixed ( 3 );
el . style . transform = 'translate3d(0,' + y . toFixed ( 1 ) + 'px,' + z . toFixed ( 1 ) + 'px) scale(' + s . toFixed ( 3 ) + ')' ;
el . style . pointerEvents = ease < 0.25 ? 'auto' : 'none' ;
el . classList . toggle ( 'active' , ease < 0.35 );
} else {
el . style . visibility = 'hidden' ;
el . style . opacity = '0' ;
el . style . pointerEvents = 'none' ;
el . classList . remove ( 'active' );
}
} else if ( i === segIdx + 1 ){
// Station B (in view when ease=1, arriving from depth when ease->1)
var op = ease ;
if ( op > 0.005 ){
var z = ( ease - 1 ) * 75 ;
var s = 0.96 + ease * 0.04 ;
var y = ( 1 - ease ) * 18 ;
el . style . visibility = 'visible' ;
el . style . opacity = op . toFixed ( 3 );
el . style . transform = 'translate3d(0,' + y . toFixed ( 1 ) + 'px,' + z . toFixed ( 1 ) + 'px) scale(' + s . toFixed ( 3 ) + ')' ;
el . style . pointerEvents = ease > 0.75 ? 'auto' : 'none' ;
el . classList . toggle ( 'active' , ease > 0.65 );
} else {
el . style . visibility = 'hidden' ;
el . style . opacity = '0' ;
el . style . pointerEvents = 'none' ;
el . classList . remove ( 'active' );
}
} else {
// Inactive station
el . style . visibility = 'hidden' ;
el . style . opacity = '0' ;
el . style . pointerEvents = 'none' ;
el . classList . remove ( 'active' );
}
2026-11-07 11:27:09 +05:30
});
2026-11-07 11:31:26 +05:30
/* Manifesto word reveal (Station 1): lights up smoothly from either direction */
if ( wordEls . length ){
var manifProg = 0 ;
if ( segIdx === 0 ){
manifProg = t ;
} else if ( segIdx === 1 ){
manifProg = 1 - t ;
} else {
manifProg = 0 ;
}
wordEls . forEach ( function ( w , i ){
var threshold = ( i / wordEls . length ) * 0.78 ;
w . classList . toggle ( 'lit' , manifProg > threshold + 0.12 );
2026-11-07 11:27:09 +05:30
});
2026-11-07 01:03:36 +05:30
}
2026-11-07 11:31:26 +05:30
}
2026-11-07 02:11:03 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════════════════════════════════════
CURRENT STATION LABEL
═══════════════════════════════════════════════════ */
function updateLabel ( camZ ){
if ( ! labelEl ) return ;
var closest = 0 , minDist = Infinity ;
STATIONS . forEach ( function ( s , i ){
var d = Math . abs ( camZ - s . z );
if ( d < minDist ){ minDist = d ; closest = i ; }
2026-11-07 00:30:41 +05:30
});
2026-11-07 11:31:26 +05:30
var newLabel = STATIONS [ closest ]. label ;
if ( labelEl . textContent !== newLabel ) labelEl . textContent = newLabel ;
}
2026-10-14 12:37:48 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════════════════════════════════════
BAR CHARTS + LIVE DATA
═══════════════════════════════════════════════════ */
function buildBars ( id , n , cls ){
var c = document . getElementById ( id );
if ( ! c || c . children . length ) return ;
for ( var i = 0 ; i < n ; i ++ ){
var b = document . createElement ( 'div' );
b . className = 'bar ' + cls ;
b . style . height = Math . floor ( 8 + Math . random () * 92 ) + '%' ;
c . appendChild ( b );
2026-10-14 16:48:17 +05:30
}
2026-11-07 11:31:26 +05:30
}
function rnd ( a , b ){ return a + Math . random () * ( b - a )}
function tickData (){
var m = {
fCommits : function (){ return ( 1180 + Math . floor ( rnd ( 0 , 80 ))). toLocaleString ()},
fC2 : function (){ var v = document . getElementById ( 'fCommits' ); return v ? v . textContent : '1,218' },
fK : function (){ return String ( 10 + Math . floor ( rnd ( 0 , 6 )))},
oRps : function (){ return Math . floor ( rnd ( 28000 , 42000 )). toLocaleString ()},
oR2 : function (){ var v = document . getElementById ( 'oRps' ); return v ? v . textContent : '34,210' },
oLat : function (){ return rnd ( 2.8 , 5.2 ). toFixed ( 1 )},
oL2 : function (){ var v = document . getElementById ( 'oLat' ); return ( v ? v . textContent : '3.8' ) + 'ms' },
oStore : function (){ return rnd ( 4.2 , 5.8 ). toFixed ( 1 )},
oS2 : function (){ var v = document . getElementById ( 'oStore' ); return ( v ? v . textContent : '4.7' ) + 'TB' },
orbP : function (){ return ':' + ( 4100 + Math . floor ( rnd ( 0 , 15 )))},
oP2 : function (){ var v = document . getElementById ( 'orbP' ); return v ? v . textContent : ':4109' },
orbC : function (){ return String ( Math . floor ( rnd ( 5 , 12 )))},
oC2 : function (){ var v = document . getElementById ( 'orbC' ); return v ? v . textContent : '7' },
};
Object . keys ( m ). forEach ( function ( id ){ var el = document . getElementById ( id ); if ( el ) el . textContent = m [ id ]()});
document . querySelectorAll ( '.panel-bars .bar' ). forEach ( function ( b ){ b . style . height = Math . floor ( 6 + Math . random () * 94 ) + '%' });
}
2026-10-14 16:48:17 +05:30
2026-11-07 11:31:26 +05:30
/* ═══════════════════════════════════════════════
MAIN ANIMATION FRAME
═══════════════════════════════════════════════════ */
function onFrame (){
rafPending = false ;
2026-10-14 16:48:17 +05:30
2026-11-07 11:31:26 +05:30
/* Smooth lerp to target station Z with clean settling */
var diff = targetZ - smoothZ ;
if ( Math . abs ( diff ) < 0.4 ){
smoothZ = targetZ ;
} else {
smoothZ += diff * 0.092 ;
2026-10-14 16:48:17 +05:30
}
2026-11-07 11:31:26 +05:30
/* Tunnel container remains steady at origin - stations are positioned in station-relative space */
if ( tunnel ) tunnel . style . transform = 'translateZ(0px)' ;
/* Update station visibility & transforms */
updateStations ( smoothZ );
updateLabel ( smoothZ );
/* Nav scroll state */
if ( navEl ) navEl . classList . toggle ( 'stuck' , currentStationIdx > 0 );
/* Progress bar */
if ( progBar ) progBar . style . transform = 'scaleX(' + ( currentStationIdx / ( STATIONS . length - 1 )) + ')' ;
/* Footer at end */
if ( footerEl ) footerEl . classList . toggle ( 'show' , currentStationIdx === ( STATIONS . length - 1 ));
}
/* Continuous RAF for silky smooth station transitions */
function loop (){
requestAnimationFrame ( loop );
onFrame ();
}
window . addEventListener ( 'scroll' , function (){
2026-11-07 13:17:40 +05:30
if ( isProgrammaticScroll ) return ;
// Ignore native scroll events during touch gestures or on mobile screens to prevent kinetic scroll runaways
if ( touchIsActive || window . innerWidth <= 900 ) return ;
2026-11-07 11:31:26 +05:30
var maxScroll = Math . max ( 1 , SCROLL_HEIGHT - window . innerHeight );
var scrollFrac = window . scrollY / maxScroll ;
var approxIdx = Math . round ( scrollFrac * ( STATIONS . length - 1 ));
2026-11-07 13:17:40 +05:30
if ( approxIdx !== targetStationIdx && ( Date . now () - lastNavTime ) > 350 ){
2026-11-07 11:31:26 +05:30
goToStation ( approxIdx );
}
}, { passive : true });
/* ═══════════════════════════════════════════════
THREE.JS — BACKGROUND 3D SCENE
Stars, planets, debris — all synced to camZ
═══════════════════════════════════════════════════ */
( function (){
if ( ! window . THREE ) return ;
var T = THREE ;
var W = innerWidth , H = innerHeight ;
var canvas = document . getElementById ( 'cvs' );
var renderer = new T . WebGLRenderer ({ canvas : canvas , antialias : true , alpha : false , powerPreference : 'high-performance' });
renderer . setPixelRatio ( Math . min ( devicePixelRatio , 2 ));
renderer . setSize ( W , H );
renderer . setClearColor ( 0x020308 , 1 );
var scene = new T . Scene ();
scene . fog = new T . FogExp2 ( 0x020308 , 0.004 );
var cam3 = new T . PerspectiveCamera ( 60 , W / H , 0.1 , 600 );
cam3 . position . set ( 0 , 0 , 50 );
/* Lights */
scene . add ( new T . AmbientLight ( 0x080e1e , 2.5 ));
var sunL = new T . PointLight ( 0x8fd9ff , 5 , 200 ); sunL . position . set ( 16 , 24 , 30 ); scene . add ( sunL );
var warmL = new T . PointLight ( 0xff6b35 , 4 , 120 ); warmL . position . set ( - 18 , - 12 , - 30 ); scene . add ( warmL );
var vioL = new T . PointLight ( 0xa855f7 , 3 , 100 ); vioL . position . set ( 8 , - 16 , - 40 ); scene . add ( vioL );
/* Stars — spread across the full Z-tunnel */
( function (){
var N = 4000 , pos = new Float32Array ( N * 3 ), col = new Float32Array ( N * 3 );
var pal = [[ 1 , 1 , 1 ],[. 75 ,. 88 , 1 ],[ 1 ,. 92 ,. 75 ],[. 6 ,. 75 , 1 ]];
for ( var i = 0 ; i < N ; i ++ ){
/* Stars spread from Z +80 to Z -200 */
pos [ i * 3 ] = ( Math . random () - 0.5 ) * 160 ;
pos [ i * 3 + 1 ] = ( Math . random () - 0.5 ) * 120 ;
pos [ i * 3 + 2 ] = 80 - Math . random () * 280 ;
var c = pal [ Math . floor ( Math . random () * pal . length )];
col [ i * 3 ] = c [ 0 ]; col [ i * 3 + 1 ] = c [ 1 ]; col [ i * 3 + 2 ] = c [ 2 ];
}
var g = new T . BufferGeometry ();
g . setAttribute ( 'position' , new T . BufferAttribute ( pos , 3 ));
g . setAttribute ( 'color' , new T . BufferAttribute ( col , 3 ));
scene . add ( new T . Points ( g , new T . PointsMaterial ({ size : . 24 , vertexColors : true , transparent : true , opacity : . 85 , blending : T . AdditiveBlending , sizeAttenuation : true })));
})();
/* Helper: create ring */
function mkRing ( r , tube , clr , op , rx , ry ){
var m = new T . Mesh ( new T . TorusGeometry ( r , tube , 8 , 128 ), new T . MeshBasicMaterial ({ color : clr , transparent : true , opacity : op , blending : T . AdditiveBlending }));
m . rotation . set ( rx , ry , 0 ); return m ;
}
/* ── PLANETS (Hidden to keep text 100% clear and unobstructed) ── */
var heroGrp = new T . Group ();
var forgeGrp = new T . Group ();
var oortGrp = new T . Group ();
var orbitGrp = new T . Group ();
/* ── DEBRIS ── */
var debGrp = new T . Group ();
for ( var i = 0 ; i < 30 ; i ++ ){
var dg = Math . random () < . 5 ? new T . OctahedronGeometry (. 1 + Math . random () * . 16 , 0 ) : new T . TetrahedronGeometry (. 08 + Math . random () * . 14 , 0 );
var dm = new T . MeshBasicMaterial ({ color : 0x8fd9ff , transparent : true , opacity : . 12 + Math . random () * . 3 , wireframe : Math . random () > . 4 });
var dd = new T . Mesh ( dg , dm );
dd . position . set (( Math . random () - . 5 ) * 50 ,( Math . random () - . 5 ) * 35 , 50 - Math . random () * 230 );
dd . rotation . set ( Math . random () * 6 , Math . random () * 6 , Math . random () * 6 );
dd . userData = { vy : ( Math . random () - . 5 ) * . 004 , vx : ( Math . random () - . 5 ) * . 003 };
debGrp . add ( dd );
}
scene . add ( debGrp );
/* ── Map HTML scroll Z → Three.js camera Z ──
CSS tunnel goes 0 → -19000
Three.js scene goes 0 → -180
Scale factor: 180/19000 ≈ 0.00947 */
var Z_SCALE = 180 / TOTAL_Z ;
var clock = new T . Clock ();
function threeTick (){
var dt = clock . getDelta ();
var t = clock . getElapsedTime ();
/* Camera Z tracks the CSS tunnel position forward */
var threeZ = 50 + smoothZ * Z_SCALE ;
cam3 . position . z = threeZ ;
cam3 . position . x = Math . sin ( t * 0.04 ) * 1.5 ;
cam3 . position . y = Math . cos ( t * 0.03 ) * 0.8 ;
/* Debris */
debGrp . children . forEach ( function ( d ){
d . position . x += d . userData . vx ; d . position . y += d . userData . vy ;
d . rotation . y += . 003 ; d . rotation . x += . 002 ;
if ( Math . abs ( d . position . x ) > 26 ) d . userData . vx *= - 1 ;
if ( Math . abs ( d . position . y ) > 18 ) d . userData . vy *= - 1 ;
});
renderer . render ( scene , cam3 );
}
/* Resize */
window . addEventListener ( 'resize' , function (){
W = innerWidth ; H = innerHeight ;
cam3 . aspect = W / H ; cam3 . updateProjectionMatrix ();
renderer . setSize ( W , H );
}, { passive : true });
/* Render loop */
( function raf (){
requestAnimationFrame ( raf );
threeTick ();
})();
})(); /* end THREE block */
/* ═══════════════════════════════════════════════
INIT
═══════════════════════════════════════════════════ */
buildBars ( 'forge-bars' , 18 , 'bar-forge' );
buildBars ( 'oort-bars' , 18 , 'bar-oort' );
buildBars ( 'orbit-bars' , 18 , 'bar-orbit' );
/* Initial state */
onFrame ();
requestAnimationFrame ( loop );
setInterval ( tickData , 1800 );
2026-10-14 12:37:48 +05:30
})();
</ script >
</ body >
</ html >