An enterprise intelligence command centre: live KPIs, tables, charts, risk, FX and the full MARVIX service portfolio. Data only.
Enter Technical →
02 · Experience · Showcase · Contact
CINEMATIC
The MARVELOUS showcase: image and video heroes, five living galleries, the thirteen core services and direct contact.
Enter Cinematic →
BUILD R4 · 02 NOV 2026 · 07:00 IST
Back";var i=html.lastIndexOf('
');if(i<0)i=html.length;html=html.slice(0,i)+back+html.slice(i);try{window.scrollTo(0,0);}catch(e){}document.open();document.write(html);document.close();}
function loadTech(){openDoc('mxTechDoc');}
function loadCine(){openDoc('mxCineDoc');}
// ---- intro: MARVIX LABS (loading, real progress) -> MARVELOUS -> step inside -> welcome ----
var bar=el('mxBar'),pctEl=el('mxPct'),stEl=el('mxStatus'),pct=0,t0=0,inWelcome=false,brandTimer=null;
var STATUS=['INITIALIZING MARVIX LABS','LOADING TYPOGRAPHY & BRAND ASSETS','PREPARING TECHNICAL ENGINE','PREPARING CINEMATIC ENGINE','SYSTEM READY'];
function letters(node,text,cls,step,labFrom){
if(!node)return;node.textContent='';
for(var i=0;i=labFrom?' '+cls:'');s.textContent=c;s.style.animationDelay=(0.15+i*step)+'s';s.style.transitionDelay=(0.2+i*step)+'s';}
node.appendChild(s);
}
}
/* real work, not a fake bar: fonts, logos and the media manifest are genuinely awaited */
function tasks(){
var list=[],add=function(p){list.push(p.catch?p.catch(function(){}):p)};
try{if(document.fonts&&document.fonts.load){
['400 40px "MX Michroma"','400 40px "MX Syncopate"','300 20px "MX Poppins"','400 20px "MX Inter"','500 20px "MX Orbitron"','400 20px "MX Audiowide"'].forEach(function(f){add(document.fonts.load(f,'MARVIX LABS'))});
}}catch(e){}
['assets/brand/mx-logo-color.webp','assets/brand/marvelous-mark.webp','assets/brand/mx-mark-white.webp'].forEach(function(u){
add(new Promise(function(res){var im=new Image();im.onload=im.onerror=function(){res()};im.src=u;}));
});
add(new Promise(function(res){try{var t=setTimeout(res,2500);fetch('assets/media/media-config.json',{cache:'no-store'}).then(function(){clearTimeout(t);res()},function(){clearTimeout(t);res()});}catch(e){res()}}));
return list;
}
function tickLoad(){
letters(el('gmTitle'),'MARVIX LABS','lab',0.075,7);
letters(el('gmMvTitle'),'MARVELOUS','hot',0.06,null);
t0=Date.now();
var list=tasks(),done=0,total=Math.max(1,list.length);
list.forEach(function(p){p.then(function(){done++;});});
var RM=false;try{RM=matchMedia('(prefers-reduced-motion: reduce)').matches}catch(e){}
var MIN=RM?1100:3000;
(function loop(){
var el_=Date.now()-t0,target=Math.min(100,(done/total)*100),cap=Math.min(100,el_/MIN*100);
if(el_>9000)target=100; /* never hang: slow network falls through */
var want=Math.min(target,cap);
pct+=Math.max(.35,(want-pct)*.09);if(pct>want)pct=want;
var shown=Math.round(pct);bar.style.width=pct+'%';pctEl.textContent=shown+' %';
stEl.textContent=STATUS[Math.min(STATUS.length-1,Math.floor(pct/(100/(STATUS.length-1))))];
if(pct>=99.6&&want>=100){pct=100;bar.style.width='100%';pctEl.textContent='100 %';stEl.textContent='SYSTEM READY';setTimeout(gotoBrand,520);return;}
setTimeout(loop,34);
})();
}
function gotoBrand(){
if(inWelcome)return;showView('brand');
setTimeout(function(){var w=el('mxBrandWrap');if(w)w.classList.add('in');},80);
brandTimer=setTimeout(function(){enterWelcome(false);},(function(){try{return matchMedia('(prefers-reduced-motion: reduce)').matches?1500:3400}catch(e){return 3400}})());
}
/* the lockup rushes toward the viewer, the welcome world resolves underneath */
function enterWelcome(now){
if(inWelcome)return;inWelcome=true;clearTimeout(brandTimer);
var bv=el('mx-brand-view'),wv=el('mx-welcome-view');
var reveal=function(){showView('welcome');if(wv){wv.classList.add('gm-arrive');setTimeout(function(){wv.classList.remove('gm-arrive');},1400);}};
if(now||!bv||!bv.classList.contains('show')){reveal();return;}
bv.classList.add('gm-enter');setTimeout(reveal,(function(){try{return matchMedia('(prefers-reduced-motion: reduce)').matches?150:950}catch(e){return 950}})());
}
document.addEventListener('keydown',function(e){
var lv=el('mx-loader-view'),bv=el('mx-brand-view');
if((e.key==='Escape'||e.key==='Enter'||e.key===' ')&&((lv&&lv.classList.contains('show'))||(bv&&bv.classList.contains('show')&&!inWelcome))){e.preventDefault();enterWelcome(true);}
});
// ---- particles (light, premium) ----
function initParticles(){
var c=el('mxParticles');if(!c)return;var x=c.getContext&&c.getContext('2d');if(!x)return;var P=[],N=46,W,H;
function rs(){W=c.width=c.offsetWidth;H=c.height=c.offsetHeight;}
rs();addEventListener('resize',rs);
for(var i=0;i=0){inWelcome=true;showView('welcome');}
else{showView('loader');setTimeout(tickLoad,420);}
}
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',wire);else wire();
})();