
:root{
  --bg:#060A16;
  --bg2:#0A1020;
  --panel:#0D1528;
  --panel2:#111B31;
  --line:rgba(255,255,255,.09);
  --line2:rgba(255,255,255,.14);
  --text:#F5F7FB;
  --muted:#93A0B6;
  --blue:#1764FF;
  --blue2:#2E7BFF;
  --green:#39C987;
  --white:#fff;
  --max:1320px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--muted);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 75%);z-index:-2}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button{font:inherit}
::selection{background:var(--blue);color:#fff}
.container-xl{max-width:var(--max)}
.display{font-family:"Space Grotesk",Inter,sans-serif;font-size:clamp(3.3rem,7vw,7.4rem);line-height:.92;letter-spacing:-.065em;font-weight:700;color:#fff}
.h-display{font-family:"Space Grotesk",Inter,sans-serif;font-size:clamp(2.3rem,4.5vw,4.5rem);line-height:.98;letter-spacing:-.055em;color:#fff;font-weight:700}
.eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#6F7D94;display:inline-flex;align-items:center;gap:10px}
.eyebrow:before{content:"";width:22px;height:1px;background:var(--blue)}
.muted{color:var(--muted)}
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;padding:18px 0;transition:.3s}
.site-header.scrolled{padding:10px 0;background:rgba(6,10,22,.86);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.nav-shell{height:62px;border:1px solid rgba(255,255,255,.10);background:rgba(9,15,30,.72);backdrop-filter:blur(18px);border-radius:18px;padding:0 10px 0 17px;display:flex;align-items:center}
.wordmark{width:190px;height:auto}
.nav-links{margin-left:auto;display:flex;align-items:center;gap:4px}
.nav-link{font-size:12px;color:#AEB8C9;padding:10px 13px;border-radius:10px;transition:.2s}
.nav-link:hover,.nav-link.active{color:#fff;background:rgba(255,255,255,.06)}
.nav-cta{margin-left:8px;padding:11px 16px;border-radius:10px;background:#fff;color:#071020;font-size:12px;font-weight:800;transition:.2s}
.nav-cta:hover{transform:translateY(-1px);background:#eaf0ff}
.menu-btn{display:none;background:transparent;border:0;color:#fff;width:44px;height:44px;border-radius:12px}
.hero{min-height:100vh;position:relative;padding:150px 0 75px;display:flex;align-items:center;overflow:hidden}
.hero:after{content:"";position:absolute;width:520px;height:520px;right:-240px;top:12%;border:1px solid rgba(23,100,255,.18);border-radius:50%;box-shadow:0 0 0 50px rgba(23,100,255,.018),0 0 0 110px rgba(23,100,255,.012);pointer-events:none}
.hero-copy{position:relative;z-index:3}
.hero-kicker{display:flex;align-items:center;gap:14px;color:#8E9BB0;font-size:12px;margin-bottom:28px}
.hero-kicker .dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 20px rgba(57,201,135,.8)}
.hero h1{margin:0;max-width:820px}
.hero h1 .accent{color:#4C84FF}
.hero-sub{font-size:16px;line-height:1.7;max-width:610px;margin:30px 0;color:#8E9BB0}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn-primaryx,.btn-ghost{display:inline-flex;align-items:center;gap:9px;border-radius:11px;padding:13px 18px;font-size:12px;font-weight:800;transition:.25s}
.btn-primaryx{background:#fff;color:#071020}.btn-primaryx:hover{transform:translateY(-2px);box-shadow:0 12px 35px rgba(255,255,255,.08)}
.btn-ghost{border:1px solid var(--line2);color:#fff;background:rgba(255,255,255,.025)}.btn-ghost:hover{background:rgba(255,255,255,.07);transform:translateY(-2px)}
.hero-proof{display:flex;gap:22px;flex-wrap:wrap;margin-top:28px;color:#68768B;font-size:11px;font-weight:700}
.hero-proof span{display:flex;align-items:center;gap:7px}.hero-proof i{width:5px;height:5px;border-radius:50%;background:var(--green)}
.hero-visual{position:relative;height:600px;display:flex;align-items:center;justify-content:center}
.mark-stage{width:470px;height:470px;border:1px solid rgba(255,255,255,.08);border-radius:50%;position:relative;display:grid;place-items:center;transform:rotate(-7deg)}
.mark-stage:before,.mark-stage:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(23,100,255,.20)}
.mark-stage:before{inset:45px;transform:rotate(31deg);border-left-color:rgba(57,201,135,.45)}
.mark-stage:after{inset:-55px;border-color:rgba(255,255,255,.05);border-right-color:rgba(23,100,255,.5);animation:spin 18s linear infinite}
.mark-core{width:330px;height:330px;border-radius:50%;display:grid;place-items:center;background:#0A1020;border:1px solid rgba(255,255,255,.09);box-shadow:0 35px 90px rgba(0,0,0,.55),inset 0 0 60px rgba(23,100,255,.08);transform:rotate(7deg)}
.mark-core img{width:275px;filter:drop-shadow(0 0 25px rgba(23,100,255,.12))}
.orbit-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--blue);box-shadow:0 0 25px rgba(23,100,255,.9);top:48px;right:90px}
.orbit-dot.green{background:var(--green);box-shadow:0 0 25px rgba(57,201,135,.8);bottom:80px;left:62px;top:auto;right:auto}
.floating-chip{position:absolute;padding:9px 11px;border:1px solid var(--line2);border-radius:10px;background:rgba(9,15,30,.88);backdrop-filter:blur(10px);color:#D8DFEA;font-size:9px;font-weight:800;letter-spacing:.12em;box-shadow:0 15px 40px rgba(0,0,0,.25)}
.chip-1{top:95px;left:15px}.chip-2{top:200px;right:0}.chip-3{bottom:125px;right:35px}.chip-4{bottom:65px;left:45px}
.scroll-cue{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.18em;color:#59667A;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;gap:9px}.scroll-cue:after{content:"";height:30px;width:1px;background:#3B4658}
.marquee-wrap{border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden;background:#080D19}
.marquee{display:flex;width:max-content;animation:marquee 25s linear infinite}
.marquee span{padding:17px 28px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#718097;font-weight:800;white-space:nowrap}.marquee b{color:var(--green);margin-left:28px}
.section{padding:110px 0}.section-sm{padding:75px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:46px}.section-head p{max-width:420px;font-size:13px;line-height:1.75;margin:0}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.service{min-height:350px;padding:26px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);position:relative;overflow:hidden;transition:.35s;background:#080D19}
.service:hover{background:#0D1527;transform:translateY(-3px);z-index:2}
.service:before{content:"";position:absolute;inset:auto -30px -70px auto;width:180px;height:180px;border:1px solid rgba(23,100,255,.14);border-radius:50%;transition:.5s}
.service:hover:before{transform:scale(1.5)}
.service-num{font-family:"Space Grotesk";font-size:11px;color:#566278}
.service-icon{margin-top:100px;font-family:"Space Grotesk";font-size:28px;color:#fff}
.service h3{font-family:"Space Grotesk";font-size:20px;letter-spacing:-.03em;color:#fff;margin:9px 0}
.service p{font-size:12px;line-height:1.7;max-width:260px}
.service-link{position:absolute;bottom:24px;right:25px;font-size:18px;color:#68768C;transition:.25s}.service:hover .service-link{color:#fff;transform:translate(3px,-3px)}
.work-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.work-card{display:block;position:relative;min-height:440px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#0C1324}
.work-card.small{min-height:213px}
.work-stack{display:grid;gap:14px}
.work-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;transition:.6s;filter:saturate(.7)}
.work-card:hover .work-image{transform:scale(1.045);opacity:.72;filter:saturate(1)}
.work-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(4,8,17,.92) 100%)}
.work-content{position:absolute;left:24px;right:24px;bottom:24px;z-index:2}
.work-tag{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#6F7D94;font-weight:800}.work-content h3{font-family:"Space Grotesk";font-size:27px;color:#fff;margin:7px 0}.work-content p{font-size:11px;margin:0;max-width:480px;line-height:1.6}
.system{background:#080D19;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.system-shell{border:1px solid var(--line);border-radius:22px;background:#0B1222;overflow:hidden;box-shadow:0 40px 100px rgba(0,0,0,.3)}
.browser-top{height:46px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 16px;gap:7px}.browser-top i{width:7px;height:7px;border-radius:50%;background:#394458}.browser-url{margin-left:12px;height:23px;border:1px solid var(--line);border-radius:7px;flex:1;max-width:380px}
.dashboard{display:grid;grid-template-columns:190px 1fr;min-height:470px}
.dash-side{border-right:1px solid var(--line);padding:20px}.dash-brand{font-size:10px;color:#fff;font-weight:800;margin-bottom:30px}.dash-item{font-size:9px;padding:9px 10px;border-radius:7px;color:#66758D;margin:3px 0}.dash-item.active{background:#15213A;color:#fff}
.dash-main{padding:24px}.dash-title{font-family:"Space Grotesk";color:#fff;font-size:20px}.dash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.metric{border:1px solid var(--line);border-radius:10px;padding:14px;background:#0D1628}.metric small{font-size:8px;color:#68768C}.metric strong{display:block;font-family:"Space Grotesk";font-size:23px;color:#fff;margin-top:7px}
.chart{height:190px;border:1px solid var(--line);border-radius:10px;margin-top:10px;padding:16px;position:relative;overflow:hidden;background:#0D1628}
.chart svg{width:100%;height:100%}.activity{height:190px;border:1px solid var(--line);border-radius:10px;margin-top:10px;padding:16px;background:#0D1628}.activity-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:11px 0;font-size:9px}.status{color:var(--green)}
.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.principle{border:1px solid var(--line);border-radius:18px;padding:28px;background:#080D19;min-height:220px}.principle .num{font-family:"Space Grotesk";font-size:12px;color:var(--blue2)}.principle h3{font-family:"Space Grotesk";font-size:22px;color:#fff;margin:65px 0 8px}.principle p{font-size:12px;line-height:1.7;margin:0}
.cta{padding:125px 0;background:#F4F7FB;color:#152039;position:relative;overflow:hidden}.cta:after{content:"";position:absolute;right:-180px;bottom:-300px;width:600px;height:600px;border:1px solid #dbe2ed;border-radius:50%;box-shadow:0 0 0 90px #e9eef6,0 0 0 180px #eef2f8}
.cta .container{position:relative;z-index:2}.cta h2{font-family:"Space Grotesk";font-size:clamp(3rem,7vw,7rem);line-height:.9;letter-spacing:-.07em;color:#0B1222;max-width:900px}.cta p{max-width:480px;font-size:14px;line-height:1.7}.cta .btn-primaryx{background:#0B1222;color:#fff}
footer{background:#050914;border-top:1px solid var(--line);padding:70px 0 30px}.footer-logo{width:200px}.footer-grid{display:grid;grid-template-columns:1.6fr .7fr .7fr .9fr;gap:50px}.footer-title{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#5E6A7D;font-weight:800;margin-bottom:17px}.footer-link{display:block;font-size:12px;color:#8A96A9;margin:10px 0}.footer-link:hover{color:#fff}.footer-bottom{margin-top:55px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:#536075}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}.reveal.in{opacity:1;transform:none}.delay1{transition-delay:.08s}.delay2{transition-delay:.16s}.delay3{transition-delay:.24s}
@keyframes spin{to{transform:rotate(391deg)}}@keyframes marquee{to{transform:translateX(-50%)}}
@media(max-width:1050px){
 .services-grid{grid-template-columns:repeat(2,1fr)}.hero-visual{height:500px}.mark-stage{width:390px;height:390px}.mark-core{width:275px;height:275px}.mark-core img{width:225px}.footer-grid{grid-template-columns:1.3fr .7fr .7fr}.work-layout{grid-template-columns:1fr}
}
@media(max-width:767px){
 body:before{background-size:45px 45px}
 .site-header{padding:10px 0}.nav-shell{height:58px;border-radius:15px;padding-left:13px}.wordmark{width:160px}.nav-links{display:none}.nav-cta{display:none}.menu-btn{display:block;margin-left:auto}
 .hero{min-height:auto;padding:128px 0 75px}.display{font-size:clamp(3.05rem,15vw,4.4rem)}.hero-sub{font-size:14px;margin:22px 0}.hero-proof{gap:12px;margin-top:22px}
 .hero-visual{height:420px;margin-top:18px}.mark-stage{width:310px;height:310px}.mark-core{width:220px;height:220px}.mark-core img{width:180px}.mark-stage:before{inset:30px}.mark-stage:after{inset:-28px}.floating-chip{font-size:8px;padding:7px 9px}.chip-1{top:40px;left:3px}.chip-2{top:120px;right:0}.chip-3{bottom:82px;right:0}.chip-4{bottom:35px;left:15px}.orbit-dot{top:33px;right:52px}.orbit-dot.green{bottom:48px;left:38px}
 .scroll-cue{display:none}.section{padding:78px 0}.section-sm{padding:55px 0}.section-head{display:block;margin-bottom:30px}.section-head p{margin-top:15px}
 .services-grid{grid-template-columns:1fr;border-left:0}.service{min-height:280px;border-left:1px solid var(--line);padding:22px}.service-icon{margin-top:70px}
 .work-layout{display:block}.work-stack{display:block}.work-card,.work-card.small{min-height:280px;margin-bottom:12px}.work-content h3{font-size:22px}
 .dashboard{grid-template-columns:1fr}.dash-side{display:none}.dash-main{padding:14px}.dash-grid{grid-template-columns:1fr 1fr}.chart{height:170px}.activity{height:170px}
 .principles{grid-template-columns:1fr}.principle{min-height:190px}.principle h3{margin-top:45px}
 .cta{padding:85px 0}.cta h2{font-size:clamp(3.2rem,15vw,5rem)}
 .footer-grid{grid-template-columns:1fr 1fr;gap:32px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin:6px 0}
}
@media(max-width:420px){.hero-actions a{width:100%;justify-content:center}.hero-visual{height:360px}.mark-stage{width:260px;height:260px}.mark-core{width:185px;height:185px}.mark-core img{width:150px}.hero-proof{display:grid;grid-template-columns:1fr 1fr}.wordmark{width:145px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}}

/* ===== LoopDigit V3 visual system ===== */
.hero-v3{min-height:100vh;padding:145px 0 90px;display:flex;align-items:center;position:relative}
.hero-row{min-height:650px}
.hero-title{max-width:720px;font-size:clamp(3.5rem,6.3vw,6.5rem)!important;line-height:.93}
.hero-sub{max-width:570px}
.hero-gridlines{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 0 49.9%,rgba(255,255,255,.035) 50%,transparent 50.1%);opacity:.7}
.identity-console{height:590px;position:relative;border:1px solid rgba(255,255,255,.10);border-radius:28px;background:radial-gradient(circle at 50% 46%,rgba(23,100,255,.10),transparent 37%),#080E1C;overflow:hidden;box-shadow:0 45px 100px rgba(0,0,0,.38),inset 0 0 90px rgba(23,100,255,.035)}
.console-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:radial-gradient(circle at center,#000,transparent 78%)}
.console-orbit{position:absolute;border:1px solid rgba(52,124,255,.22);border-radius:50%;left:50%;top:48%;transform:translate(-50%,-50%);pointer-events:none}
.orbit-a{width:420px;height:420px;animation:consoleSpin 20s linear infinite}
.orbit-b{width:570px;height:570px;border-color:rgba(57,201,135,.10);animation:consoleSpinReverse 28s linear infinite}
.orbit-a:after,.orbit-b:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#2E7BFF;box-shadow:0 0 18px #2E7BFF;top:30px;left:50%}
.orbit-b:after{background:#39C987;box-shadow:0 0 18px #39C987;bottom:35px;top:auto;left:24%}
.logo-podium{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:350px;height:350px;display:grid;place-items:center;border-radius:50%;background:rgba(7,11,25,.88);border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 80px rgba(0,0,0,.45),inset 0 0 70px rgba(23,100,255,.12)}
.logo-podium:before{content:"";position:absolute;inset:22px;border-radius:50%;border:1px dashed rgba(255,255,255,.10)}
.logo-podium img{width:295px;position:relative;z-index:2;filter:drop-shadow(0 12px 28px rgba(24,100,255,.24))}
.logo-glow{position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(23,100,255,.13);filter:blur(45px)}
.logo-ring{position:absolute;inset:-12px;border-radius:50%;border:1px solid rgba(23,100,255,.24);box-shadow:0 0 50px rgba(23,100,255,.08)}
.console-label{position:absolute;z-index:3;font-size:8px;letter-spacing:.16em;color:#6D7A91;text-transform:uppercase;display:flex;gap:13px;align-items:center}.console-label b{color:#E3E9F3;font-weight:800}.label-top{top:24px;left:25px}.label-side{right:24px;top:50%;writing-mode:vertical-rl;transform:translateY(-50%);gap:7px}
.console-bottom{position:absolute;bottom:22px;left:25px;right:25px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:.12em;color:#59667C;z-index:4}.console-bottom i{display:inline-block;width:5px;height:5px;background:#39C987;border-radius:50%;margin-right:6px;box-shadow:0 0 10px #39C987}.console-bottom span:first-child{color:#8190A5}
.console-pill{position:absolute;z-index:5;border:1px solid rgba(255,255,255,.10);background:rgba(9,15,30,.82);backdrop-filter:blur(12px);padding:9px 11px;border-radius:9px;font-size:8px;letter-spacing:.12em;color:#8D9AAF}.console-pill b{color:#fff;margin-left:8px}.pill-one{top:145px;left:24px}.pill-two{right:22px;bottom:150px}.pill-three{left:52px;bottom:120px}
@keyframes consoleSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes consoleSpinReverse{to{transform:translate(-50%,-50%) rotate(-360deg)}}
@media(max-width:991px){.hero-v3{padding-top:125px}.hero-row{min-height:auto}.identity-console{height:520px;margin-top:45px}.hero-title{max-width:760px}}
@media(max-width:767px){
 .hero-v3{padding:112px 0 65px;min-height:auto}.hero-title{font-size:clamp(3.25rem,14.5vw,4.6rem)!important;line-height:.94;letter-spacing:-.065em}.hero-sub{font-size:14px;line-height:1.6}.hero-proof{font-size:10px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .identity-console{height:380px;margin-top:35px;border-radius:22px}.logo-podium{width:220px;height:220px}.logo-podium img{width:188px}.logo-podium:before{inset:14px}.logo-ring{inset:-7px}.orbit-a{width:275px;height:275px}.orbit-b{width:350px;height:350px}.console-label{font-size:7px}.label-top{top:16px;left:16px}.label-side{right:15px}.console-bottom{left:16px;right:16px;bottom:15px;font-size:7px}.console-bottom span:last-child{display:none}.console-pill{font-size:7px;padding:7px 8px}.pill-one{top:90px;left:14px}.pill-two{right:12px;bottom:105px}.pill-three{left:22px;bottom:70px}.hero-gridlines{display:none}
}

/* ===== GRID / UTILITY FOUNDATION =====
   The layout uses Bootstrap-style class names but is intentionally self-contained.
   This prevents row/column collapse when the site is opened directly as a local file. */
.container-xl,.container{width:100%;margin-left:auto;margin-right:auto;padding-left:12px;padding-right:12px}
.container-xl{max-width:1344px}.container{max-width:1140px}
.position-relative{position:relative!important}.px-3{padding-left:12px!important;padding-right:12px!important}
.row{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}
.row>*{box-sizing:border-box;padding-left:12px;padding-right:12px}
.col-lg-4,.col-lg-6,.col-lg-8{width:100%}
.g-4{row-gap:24px!important}
.mt-2{margin-top:8px!important}.mt-3{margin-top:16px!important}.mt-4{margin-top:24px!important}.mt-5{margin-top:48px!important}
@media(min-width:992px){
 .col-lg-4{width:33.333333%}.col-lg-6{width:50%}.col-lg-8{width:66.666667%}
 .g-4{column-gap:0!important}
}
@media(max-width:991px){
 .hero-v3 .hero-row{align-items:center}
 .identity-console{width:100%;max-width:680px;margin-left:auto;margin-right:auto}
}
@media(max-width:767px){
 .container-xl,.container{padding-left:12px;padding-right:12px}
 .row{margin-left:-12px;margin-right:-12px}
 .row>*{padding-left:12px;padding-right:12px}
}

/* ===== LoopDigit V5: image-led hero ===== */
.hero-v5{overflow:hidden}
.hero-noise{position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:radial-gradient(rgba(255,255,255,.7) .5px,transparent .5px);background-size:5px 5px;mask-image:linear-gradient(90deg,transparent,#000 35%,#000 70%,transparent)}
.hero-visual{height:590px;position:relative;border:1px solid rgba(255,255,255,.11);border-radius:28px;overflow:hidden;background:#080d19;box-shadow:0 40px 100px rgba(0,0,0,.42)}
.hero-image-main{position:absolute;inset:0}
.hero-image-main img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.78) contrast(1.08) brightness(.62)}
.hero-image-shade{position:absolute;inset:0;background:linear-gradient(135deg,rgba(5,9,20,.76),rgba(6,15,30,.30) 48%,rgba(5,9,20,.88)),linear-gradient(180deg,rgba(8,16,34,.18),rgba(8,16,34,.62))}
.visual-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:42px 42px;mask-image:radial-gradient(circle at 55% 48%,#000 0%,transparent 76%)}
.visual-scan{position:absolute;left:0;right:0;top:-10%;height:2px;background:linear-gradient(90deg,transparent,rgba(57,201,135,.7),rgba(46,123,255,.75),transparent);box-shadow:0 0 25px rgba(46,123,255,.5);animation:heroScan 5s ease-in-out infinite}
.visual-topbar{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:.14em;color:#A6B2C5;z-index:3}
.visual-topbar i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#39C987;box-shadow:0 0 12px #39C987;margin-right:7px}
.visual-caption{position:absolute;left:28px;bottom:31px;z-index:3;display:flex;flex-direction:column;gap:5px}.visual-caption small{font-size:9px;letter-spacing:.18em;color:#8D9AAF}.visual-caption strong{font-size:clamp(2rem,3.1vw,3rem);letter-spacing:-.04em;color:#fff}
.floating-ui{position:absolute;z-index:5;display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(7,13,25,.76);backdrop-filter:blur(16px);box-shadow:0 15px 35px rgba(0,0,0,.28);color:#E7EDF7;min-width:178px}
.floating-ui b{display:block;font-size:8px;letter-spacing:.12em}.floating-ui small{display:block;margin-top:3px;color:#718096;font-size:8px}.ui-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:rgba(46,123,255,.13);color:#5D91FF;font-size:12px}.ui-pulse{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#39C987;box-shadow:0 0 12px #39C987}
.ui-automation{right:24px;top:120px;animation:floatUI 5s ease-in-out infinite}.ui-commerce{left:24px;top:250px;animation:floatUI 6s ease-in-out -.8s infinite}.ui-system{right:28px;bottom:88px;animation:floatUI 5.5s ease-in-out -1.5s infinite}.ui-dot{width:7px;height:7px;border-radius:50%;background:#39C987;box-shadow:0 0 12px #39C987}
.visual-metrics{position:absolute;right:24px;bottom:27px;z-index:3;display:flex;gap:7px}.visual-metrics div{min-width:55px;padding:7px 8px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(7,13,25,.55)}.visual-metrics small{display:block;color:#718096;font-size:6px;letter-spacing:.12em}.visual-metrics strong{font-size:11px;color:#fff}
.hero-orb{position:absolute;border:1px solid rgba(46,123,255,.23);border-radius:50%;pointer-events:none}.orb-one{width:420px;height:420px;left:50%;top:48%;transform:translate(-50%,-50%)}.orb-two{width:610px;height:610px;left:50%;top:48%;transform:translate(-50%,-50%);border-color:rgba(57,201,135,.09)}
@keyframes heroScan{0%,100%{top:-5%;opacity:0}15%{opacity:1}55%{top:105%;opacity:1}70%{opacity:0}}
@keyframes floatUI{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:991px){.hero-visual{height:520px;margin-top:45px}}
@media(max-width:767px){
 .hero-v5{padding-bottom:60px}.hero-visual{height:390px;margin-top:35px;border-radius:22px}.hero-image-main img{object-position:58% center}.visual-topbar{left:15px;right:15px;top:14px;font-size:7px}.visual-topbar span:last-child{display:none}.visual-caption{left:18px;bottom:21px}.visual-caption strong{font-size:1.8rem}.floating-ui{min-width:0;padding:8px 9px;border-radius:9px;gap:7px}.floating-ui b{font-size:6.5px}.floating-ui small{font-size:6.5px}.ui-icon{width:21px;height:21px}.ui-automation{right:12px;top:78px}.ui-commerce{left:12px;top:170px}.ui-system{right:12px;bottom:78px}.visual-metrics{display:none}.orb-one{width:270px;height:270px}.orb-two{width:370px;height:370px}
}

.image-strip-section{padding:10px 0 70px}.image-strip{display:grid;grid-template-columns:1.45fr .8fr .8fr;gap:14px}
.strip-card{height:190px;position:relative;overflow:hidden;border-radius:20px;border:1px solid rgba(255,255,255,.08);background:#0a1020}.strip-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.72) contrast(1.05) brightness(.64);transition:transform .7s ease,filter .7s ease}.strip-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(4,8,18,.82));pointer-events:none}.strip-card:hover img{transform:scale(1.045);filter:saturate(.9) contrast(1.05) brightness(.76)}.strip-card span{position:absolute;left:17px;bottom:15px;z-index:2;font-size:8px;letter-spacing:.16em;color:#DDE5F1;font-weight:700}
@media(max-width:767px){.image-strip-section{padding:0 0 55px}.image-strip{grid-template-columns:1fr 1fr;gap:10px}.strip-card,.strip-wide{height:135px}.strip-wide{grid-column:1/-1;height:175px}.strip-card span{font-size:7px;left:12px;bottom:11px}}


/* =========================================================
   V6 MOBILE REBUILD
   Mobile is intentionally redesigned as a single-column flow.
   Prevents desktop sizing/positioning from leaking into phones.
   ========================================================= */
.word-rotate{display:inline-block;min-width:7.2ch;white-space:nowrap;vertical-align:baseline;position:relative}
.word-rotate.swap{animation:wordSwap .55s cubic-bezier(.2,.8,.2,1)}
@keyframes wordSwap{0%{opacity:.15;transform:translateY(.35em);filter:blur(5px)}100%{opacity:1;transform:none;filter:none}}

@media (max-width: 767px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{font-size:14px}
  .container-xl,.container{width:100%;max-width:100%;padding-left:18px!important;padding-right:18px!important}
  .site-header{padding:9px 0!important}
  .site-header .container-xl{padding-left:10px!important;padding-right:10px!important}
  .nav-shell{width:100%;height:58px;padding:0 9px 0 12px;border-radius:16px}
  .wordmark{width:143px!important;max-width:58vw}
  .menu-btn{width:42px;height:42px;font-size:0;position:relative;flex:0 0 42px}
  .menu-btn:before,.menu-btn:after{content:"";position:absolute;left:13px;width:17px;height:1.5px;background:#fff;border-radius:2px;transition:.25s}
  .menu-btn:before{top:16px;box-shadow:0 6px 0 #fff}
  .menu-btn:after{display:none}
  .mobile-menu{top:72px!important;left:10px!important;right:10px!important}
  .mobile-inner{padding:9px!important;border-radius:16px;box-shadow:0 25px 60px rgba(0,0,0,.42)}

  /* HERO */
  .hero-v3.hero-v5{display:block;min-height:auto!important;padding:118px 0 58px!important}
  .hero-v3 .hero-row{display:flex;flex-direction:column;min-height:0!important;margin:0!important}
  .hero-v3 .hero-row>*{width:100%;padding-left:0!important;padding-right:0!important}
  .hero-copy{width:100%;max-width:100%;padding:0!important}
  .hero-kicker{font-size:9px;letter-spacing:.09em;gap:8px;margin:0 0 19px}
  .hero-kicker .dot{width:6px;height:6px;flex:0 0 6px}
  .hero-title{font-size:clamp(2.85rem,13.8vw,4rem)!important;line-height:.94!important;letter-spacing:-.068em!important;max-width:100%!important;overflow-wrap:normal;word-break:normal}
  .hero-title .accent{white-space:nowrap}
  .word-rotate{min-width:0}
  .hero-sub{font-size:13px!important;line-height:1.58!important;max-width:330px!important;margin:19px 0 21px!important}
  .hero-actions{display:grid!important;grid-template-columns:1fr;gap:8px;width:100%}
  .hero-actions a{width:100%;min-height:47px;justify-content:center}
  .hero-proof{display:grid!important;grid-template-columns:1fr 1fr;gap:9px 12px;margin-top:20px!important;font-size:9px!important}
  .hero-proof span{min-width:0;white-space:nowrap}

  .hero-visual{width:100%;height:min(105vw,390px)!important;min-height:310px;margin:30px 0 0!important;border-radius:20px!important}
  .hero-image-main img{object-position:58% center!important}
  .visual-topbar{top:13px!important;left:14px!important;right:14px!important;font-size:6px!important}
  .visual-caption{left:16px!important;bottom:17px!important}
  .visual-caption small{font-size:7px!important}
  .visual-caption strong{font-size:1.55rem!important}
  .floating-ui{max-width:142px!important;padding:7px 8px!important;gap:6px!important}
  .floating-ui b{font-size:6px!important;letter-spacing:.09em!important}
  .floating-ui small{font-size:6px!important}
  .ui-icon{width:19px!important;height:19px!important;font-size:9px!important}
  .ui-automation{right:9px!important;top:65px!important}
  .ui-commerce{left:9px!important;top:145px!important}
  .ui-system{right:9px!important;bottom:63px!important}
  .orb-one{width:240px!important;height:240px!important}
  .orb-two{width:335px!important;height:335px!important}
  .scroll-cue{display:none!important}

  /* SECTION HEADS */
  .marquee span{padding:14px 19px;font-size:8px}
  .marquee b{margin-left:19px}
  .section,.section-sm{padding:64px 0!important}
  .section-head{display:block!important;margin-bottom:27px!important}
  .section-head>div{width:100%}
  .section-head p{font-size:12px!important;line-height:1.65!important;max-width:100%!important;margin:15px 0 0!important}
  .h-display{font-size:clamp(2.15rem,10.8vw,3.25rem)!important;line-height:.98!important;letter-spacing:-.06em!important}
  .eyebrow{font-size:8px!important;letter-spacing:.15em!important}

  /* SERVICES */
  .services-grid{display:grid!important;grid-template-columns:1fr!important;border-left:1px solid var(--line)!important}
  .service{min-height:245px!important;padding:20px!important}
  .service-icon{margin-top:48px!important;font-size:25px!important}
  .service h3{font-size:18px!important;margin:8px 0 6px!important}
  .service p{font-size:11px!important;line-height:1.55!important;max-width:260px!important;margin:0}
  .service-link{right:18px!important;bottom:17px!important}

  /* IMAGE STRIP */
  .image-strip-section{padding:0 0 50px!important}
  .image-strip{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  .strip-card{height:125px!important;border-radius:15px!important}
  .strip-wide{grid-column:1/-1!important;height:160px!important}
  .strip-card span{left:11px!important;bottom:10px!important;font-size:6px!important;letter-spacing:.12em!important}

  /* WORK */
  .work-layout{display:block!important}
  .work-stack{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .work-card,.work-card.small{min-height:255px!important;height:255px!important;margin:0 0 10px!important;border-radius:17px!important}
  .work-content{left:17px!important;right:17px!important;bottom:17px!important}
  .work-content h3{font-size:20px!important;line-height:1.05!important;margin:6px 0!important}
  .work-content p{font-size:10px!important;line-height:1.5!important}
  .work-tag{font-size:7px!important}
  .section-sm .section-head>a{display:inline-flex;margin-top:17px!important}

  /* SYSTEM / DASHBOARD */
  .system{overflow:hidden}
  .system-shell{width:100%!important;border-radius:17px!important}
  .browser-top{height:37px!important;padding:0 11px!important}
  .browser-top i{width:5px!important;height:5px!important}
  .browser-url{height:17px!important;margin-left:7px!important}
  .dashboard{display:block!important;min-height:0!important}
  .dash-side{display:none!important}
  .dash-main{padding:12px!important;width:100%!important;min-width:0!important}
  .dash-title{font-size:16px!important}
  .dash-grid{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:13px!important}
  .metric{padding:11px!important;border-radius:8px!important;min-width:0!important}
  .metric small{font-size:6px!important}
  .metric strong{font-size:19px!important;margin-top:5px!important}
  .chart{height:140px!important;margin-top:7px!important;padding:10px!important}
  .activity{height:auto!important;margin-top:7px!important}
  .activity-row{padding:10px 2px!important;font-size:8px!important}

  /* PRINCIPLES */
  .principles{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .principle{min-height:165px!important;padding:19px!important;border-radius:15px!important}
  .principle h3{margin-top:36px!important;font-size:19px!important}
  .principle p{font-size:10px!important;line-height:1.55!important}

  /* CTA — the old giant desktop heading was causing the mobile clipping seen in the screenshot */
  .cta{padding:70px 0!important;min-height:0!important}
  .cta h2{font-size:clamp(2.8rem,13vw,4.2rem)!important;line-height:.92!important;letter-spacing:-.065em!important;max-width:100%!important;margin:18px 0 0!important}
  .cta p{font-size:12px!important;line-height:1.65!important;max-width:320px!important;margin:18px 0 0!important}
  .cta .btn-primaryx{margin-top:20px!important}

  /* FOOTER */
  footer{padding:55px 0 24px!important}
  .footer-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:28px 18px!important}
  .footer-grid>div:first-child{grid-column:1/-1!important}
  .footer-logo{width:165px!important}
  .footer-grid .muted{font-size:11px!important;max-width:300px!important}
  .footer-title{font-size:8px!important;margin-bottom:13px!important}
  .footer-link{font-size:10px!important;margin:8px 0!important}
  .footer-bottom{margin-top:36px!important;padding-top:17px!important;font-size:8px!important}
}

@media (max-width: 380px){
  .hero-v3.hero-v5{padding-top:114px!important}
  .hero-title{font-size:clamp(2.62rem,13.5vw,3.25rem)!important}
  .hero-proof{font-size:8px!important}
  .hero-visual{min-height:285px!important;height:92vw!important}
  .floating-ui{max-width:126px!important}
  .ui-automation{top:58px!important}.ui-commerce{top:132px!important}.ui-system{bottom:57px!important}
  .work-card,.work-card.small{height:235px!important;min-height:235px!important}
  .cta h2{font-size:2.65rem!important}
}

/* ===== V6.1 MOBILE OVERLAY + FLOW FIX ===== */
.cta > .container-xl,
.cta > .container,
.cta .container-xl,
.cta .container{
  position:relative!important;
  z-index:3!important;
}
.cta:after{z-index:1;pointer-events:none}

@media (max-width:767px){
  /* Keep every section inside the viewport. */
  section, footer, main{max-width:100%;overflow-x:clip}
  .cta{isolation:isolate;overflow:hidden!important;padding:72px 0 68px!important}
  .cta:after{right:-330px;bottom:-340px;width:520px;height:520px;box-shadow:0 0 0 70px #e9eef6,0 0 0 140px #eef2f8!important}
  .cta h2{position:relative;z-index:4;display:block!important;width:100%!important;max-width:100%!important;font-size:clamp(2.55rem,12.8vw,3.65rem)!important;line-height:.94!important;letter-spacing:-.065em!important;white-space:normal!important;overflow:visible!important;margin:18px 0 0!important}
  .cta p{position:relative;z-index:4;width:100%;max-width:330px!important}
  .cta .btn-primaryx{position:relative;z-index:4;display:inline-flex!important}

  /* Hero: never let a long animated word force the layout wider than the phone. */
  .hero-title{width:100%!important;max-width:100%!important;overflow:visible!important}
  .hero-title .accent{white-space:normal!important}
  .word-rotate{display:inline-block!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important}

  /* Image/work cards must remain in normal document flow. */
  .image-strip-section,.work-layout,.work-stack,.work-card,.strip-card,.hero-visual,.system-shell{max-width:100%!important}
  .work-layout,.work-stack{width:100%!important}
  .work-card,.work-card.small{position:relative!important;transform:none!important}

  /* Prevent dashboard internals from creating horizontal overflow. */
  .system-shell{overflow:hidden!important}
  .dash-main{overflow:hidden!important}
  .chart{width:100%!important;overflow:hidden!important}
  .chart svg{width:100%!important;max-width:100%!important}

  /* Better mobile section rhythm. */
  .section,.section-sm{width:100%!important}
  .section-head h2,.section-head .h-display{max-width:100%!important}

  /* Footer stays inside the viewport. */
  .footer-grid{width:100%!important}
  .footer-grid>*{min-width:0!important}
}

@media (max-width:360px){
  .container-xl,.container{padding-left:16px!important;padding-right:16px!important}
  .site-header .container-xl{padding-left:8px!important;padding-right:8px!important}
  .hero-v3.hero-v5{padding-top:108px!important}
  .hero-title{font-size:clamp(2.45rem,12.9vw,3.1rem)!important}
  .hero-sub{font-size:12.5px!important}
  .hero-visual{min-height:275px!important}
  .cta h2{font-size:2.48rem!important}
}


/* =========================================================
   FINAL RESPONSIVE SAFETY LAYER — V6.1
   The desktop design stays untouched. This layer fixes the
   actual mobile failure points across every route.
   ========================================================= */

/* Complete the small Bootstrap-style utility set used by the pages. */
.align-items-center{align-items:center}
.d-flex{display:flex}
.mb-0{margin-bottom:0!important}

/* Grid children must be allowed to shrink instead of forcing a page wider. */
.row>*{min-width:0}

@media (min-width:992px){
  .col-lg-5{width:41.666667%}
  .col-lg-7{width:58.333333%}
}

/* Long strings (especially email addresses) must never create horizontal overflow. */
h1,h2,h3,p,a,span{overflow-wrap:break-word}

@media (max-width:767px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  main,section,footer,header{max-width:100%}

  /* Every grid/flex child is shrinkable on narrow phones. */
  .row,.row>* , .section-head, .section-head>div,
  .hero-row, .hero-row>*, .footer-grid, .footer-grid>* ,
  .work-layout, .work-stack, .services-grid, .service,
  .system-shell, .dashboard, .dash-main, .metric, .activity-row{min-width:0}

  /* The project scope calls for a single-column mobile footer. */
  .footer-grid{grid-template-columns:1fr!important;gap:24px!important}
  .footer-grid>div:first-child{grid-column:auto!important}
  .footer-bottom{display:flex!important;flex-direction:column;gap:8px}
  .footer-bottom span{display:block;margin:0!important}

  /* About page: its 7/5 columns must stack cleanly on mobile. */
  .col-lg-5,.col-lg-7{width:100%!important}
  .about-image{height:300px!important}

  /* All standalone page heroes: remove desktop-only inline spacing effects. */
  main>section.section[style]{padding-top:128px!important;min-height:0!important}
  main>section.section[style]>.container-xl{padding-top:0!important}

  /* Keep display headings readable without clipping or horizontal scroll. */
  .display,.h-display,.cta h2,.work-content h3,.service h3,
  .principle h3,.dash-title{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:normal}

  .display{font-size:clamp(2.55rem,12.4vw,3.65rem)!important;line-height:.94!important}
  .h-display{font-size:clamp(2rem,10.2vw,3.15rem)!important;line-height:.98!important}

  /* Long body copy should wrap naturally inside cards. */
  .hero-sub,.service p,.work-content p,.principle p,.cta p,
  .footer-grid .muted,.activity-row span{max-width:100%!important;overflow-wrap:anywhere}

  /* Contact: the email was the clearest remaining mobile overflow bug. */
  .contact-direct-card{padding:20px!important}
  .contact-email{font-size:clamp(1.72rem,8.2vw,2.55rem)!important;line-height:1!important;letter-spacing:-.055em!important;white-space:normal!important}
  .contact-email a{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word}

  /* Privacy copy/card gets a little more breathing room on small screens. */
  main .system-shell[style*="max-width:900px"]{padding:20px!important}

  /* Keep decorative hero chips inside the visual on narrow phones. */
  .hero-visual{overflow:hidden!important}
  .floating-ui{max-width:calc(100% - 24px)!important;min-width:0!important}

  /* Do not let the animated word reserve desktop width. */
  .word-rotate{min-width:0!important;max-width:100%!important;white-space:nowrap!important}
  .hero-title .accent{white-space:normal!important}

  /* Mobile cards use normal document flow; no desktop transform should move them. */
  .work-card,.work-card.small{display:block!important;position:relative!important;transform:none}
  .service,.principle{transform:none}

  /* Dashboard: status rows may contain longer labels. */
  .activity-row{gap:10px}
  .activity-row span:first-child{min-width:0;flex:1}
  .activity-row .status{flex:0 0 auto}
}

@media (max-width:380px){
  .container-xl,.container{padding-left:16px!important;padding-right:16px!important}
  .site-header .container-xl{padding-left:8px!important;padding-right:8px!important}
  .nav-shell{padding-left:10px!important;padding-right:8px!important}
  .wordmark{width:140px!important;max-width:56vw!important}
  .hero-title{font-size:clamp(2.42rem,12.5vw,3.05rem)!important}
  .h-display{font-size:clamp(1.92rem,9.8vw,2.8rem)!important}
  .contact-email{font-size:clamp(1.58rem,7.8vw,2.25rem)!important}
  .footer-grid{gap:22px!important}
}

@media (prefers-reduced-motion:reduce){
  .word-rotate.swap{animation:none!important}
}


/* =========================================================
   LOOPDIGIT MODERN ENTRANCE + LOGO VISIBILITY
   Clean product-studio treatment — no neon/glow effects.
   ========================================================= */
.ld-loader{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#050914;
  color:#fff;
  opacity:1;
  visibility:visible;
  transition:opacity .65s cubic-bezier(.22,1,.36,1),visibility .65s;
  overflow:hidden;
}
.ld-loader:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 90%);
  pointer-events:none;
}
.ld-loader:after{
  content:"";
  position:absolute;
  width:42vw;height:42vw;
  max-width:620px;max-height:620px;
  border:1px solid rgba(46,123,255,.12);
  border-radius:50%;
  transform:scale(.82);
  animation:ld-orbit 5s linear infinite;
  pointer-events:none;
}
.ld-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.ld-loader-inner{
  position:relative;
  z-index:2;
  width:min(520px,calc(100% - 44px));
}
.ld-loader-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:52px;
  animation:ld-rise .8s cubic-bezier(.22,1,.36,1) both;
}
.ld-loader-brand-frame{
  display:flex;
  align-items:center;
  min-height:62px;
  padding:9px 18px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:14px;
  background:rgba(10,16,32,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
.ld-loader-logo{
  width:184px;
  max-width:48vw;
  height:auto;
  display:block;
  filter:contrast(1.16) saturate(1.08) brightness(1.12);
}
.ld-loader-index,
.ld-loader-bottom,
.ld-loader-meta{
  font-size:9px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.ld-loader-index{color:#66748C}
.ld-loader-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#718098;
  margin-bottom:12px;
}
.ld-loader-status{
  display:flex;
  align-items:center;
  gap:8px;
}
.ld-loader-status i{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--green);
  display:block;
  animation:ld-pulse 1.2s ease-in-out infinite;
}
.ld-loader-status b{font-weight:800;color:#9CA8BA}
.ld-loader-percent{font-variant-numeric:tabular-nums;color:#fff}
.ld-loader-track{
  position:relative;
  height:2px;
  width:100%;
  background:rgba(255,255,255,.09);
  overflow:hidden;
}
.ld-loader-track span{
  position:absolute;
  left:0;top:0;bottom:0;
  width:0%;
  background:linear-gradient(90deg,#1764FF,#39C987);
  transition:width .12s linear;
}
.ld-loader-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:13px;
  color:#58667D;
}
.ld-loader-bottom span:first-child{color:#8794A9}
body.ld-loading{overflow:hidden}
body.ld-loading > header,
body.ld-loading > main,
body.ld-loading > footer{
  opacity:0;
}
body > header,body > main,body > footer{
  transition:opacity .55s ease;
}
@keyframes ld-rise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes ld-pulse{
  0%,100%{opacity:.35;transform:scale(.8)}
  50%{opacity:1;transform:scale(1)}
}
@keyframes ld-orbit{
  from{transform:rotate(0deg) scale(.82)}
  to{transform:rotate(360deg) scale(.82)}
}
@media(max-width:767px){
  .ld-loader-inner{width:calc(100% - 40px)}
  .ld-loader-brand{margin-bottom:42px;align-items:flex-end}
  .ld-loader-brand-frame{min-height:56px;padding:8px 14px;border-radius:12px}
  .ld-loader-logo{width:155px;max-width:55vw}
  .ld-loader-index{font-size:8px}
  .ld-loader-bottom{font-size:8px;line-height:1.35}
  .ld-loader:after{width:115vw;height:115vw}
}
@media(prefers-reduced-motion:reduce){
  .ld-loader:after,.ld-loader-status i{animation:none}
}

/* Clean visibility treatment for the actual brand mark.
   No neon glow: contrast, a quiet backing plate and crisp edges. */
.site-header .nav-shell > a:first-child{
  display:flex;
  align-items:center;
  min-width:0;
  padding:5px 8px;
  margin-left:-8px;
  border-radius:11px;
  background:rgba(5,10,22,.34);
}
.site-header .wordmark{
  filter:contrast(1.18) saturate(1.1) brightness(1.1);
  opacity:1;
}
.footer-logo{
  filter:contrast(1.18) saturate(1.1) brightness(1.1);
  opacity:1;
}
@media(max-width:767px){
  .site-header .nav-shell > a:first-child{padding:4px 6px;margin-left:-6px}
  .site-header .wordmark{width:170px;max-width:58vw}
}
