/* KTR cinematic software-engineering hero */
.ktr-hero{min-height:100svh;height:max(820px,100svh);padding:118px 4vw 96px;background:radial-gradient(circle at 75% 43%,rgba(0,232,157,.12),transparent 26%),radial-gradient(circle at 18% 85%,rgba(0,111,79,.12),transparent 28%),#090d0c;display:grid;grid-template-columns:1.05fr .95fr;grid-template-rows:auto 1fr;column-gap:5vw;align-items:center}.ktr-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,13,11,.22),transparent 52%,rgba(8,13,11,.1));pointer-events:none}.tech-canvas{position:absolute;inset:0;z-index:0;opacity:.9}.ktr-hero .hero-grid{z-index:0;background-size:64px 64px;opacity:.7}.hero-scan{position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,transparent 0,rgba(0,232,157,.025) 50%,transparent 100%);background-size:100% 220px;animation:heroScan 9s linear infinite;pointer-events:none}.hero-topline{grid-column:1/-1;position:relative;z-index:4;display:flex;justify-content:space-between;align-items:start;padding-top:8px}.hero-topline>div{display:flex;flex-direction:column;gap:8px}.hero-topline span{font:600 10px "Manrope";letter-spacing:1.8px;color:#a7b0ac}.hero-topline span:before{content:"";display:inline-block;width:5px;height:5px;background:var(--green);margin-right:10px}.hero-topline p{max-width:340px;margin:0;text-align:right;font-size:15px;line-height:1.65;color:#a9b2ae}.ktr-hero .hero-copy{width:auto;align-self:end;padding-bottom:46px}.ktr-hero .hero-copy h1{font-size:clamp(66px,7.2vw,116px);line-height:.88;margin:24px 0 30px}.ktr-hero .hero-copy>p{max-width:600px;font-size:16px}.system-console{position:relative;z-index:4;align-self:center;width:min(620px,100%);margin-left:auto;border:1px solid rgba(255,255,255,.15);background:rgba(10,16,14,.65);backdrop-filter:blur(16px);box-shadow:0 34px 90px rgba(0,0,0,.38),0 0 80px rgba(0,232,157,.055);overflow:hidden}.console-bar{height:48px;border-bottom:1px solid rgba(255,255,255,.1);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 17px}.console-bar>span{display:flex;gap:6px}.console-bar i{width:6px;height:6px;border-radius:50%;background:#3c4944}.console-bar i:last-child{background:var(--green);box-shadow:0 0 10px var(--green)}.console-bar b,.console-bar small{font:600 8px "Manrope";letter-spacing:1.6px;color:#8e9a95}.console-bar small{justify-self:end;color:var(--green)}.console-core{height:330px;position:relative;display:grid;place-items:center;background:radial-gradient(circle,rgba(0,232,157,.1),transparent 42%)}.console-core:before,.console-core:after{content:"";position:absolute;left:50%;top:50%;border:1px solid rgba(0,232,157,.18);border-radius:50%;transform:translate(-50%,-50%)}.console-core:before{width:260px;height:260px;border-style:dashed;animation:spin 34s linear infinite}.console-core:after{width:190px;height:190px;animation:spin 20s linear infinite reverse}.code-lines{position:absolute;left:20px;top:22px;display:flex;flex-direction:column;gap:8px}.code-lines span{font:500 9px "DM Sans";letter-spacing:.7px;color:#52625b}.code-lines span:nth-child(3){color:#00a979}.digital-core{position:relative;z-index:2;width:138px;height:138px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at 36% 28%,#25493e,#0b1310 68%);border:1px solid rgba(0,232,157,.55);box-shadow:0 0 55px rgba(0,232,157,.22),inset 0 0 25px rgba(0,232,157,.08);animation:coreBreathe 4s ease-in-out infinite}.digital-core i{position:absolute;inset:-12px;border:1px solid rgba(0,232,157,.19);border-radius:50%;border-top-color:var(--green);animation:spin 8s linear infinite}.digital-core strong{font:800 34px/1 "Manrope";letter-spacing:-1px}.digital-core small{font:600 7px/1.45 "Manrope";letter-spacing:1.6px;color:var(--green);margin-top:7px}.console-services{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.1)}.console-services a{height:75px;padding:15px;border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;justify-content:space-between;transition:.25s}.console-services a:last-child{border:0}.console-services a:hover{background:rgba(0,232,157,.08)}.console-services b{font:600 8px "Manrope";color:var(--green)}.console-services span{font:600 11px "Manrope";letter-spacing:1.2px}.ktr-hero .hero-foot{z-index:5}.ktr-hero .hero-foot>span{color:var(--green)}
@keyframes heroScan{to{background-position:0 220px}}@keyframes coreBreathe{50%{box-shadow:0 0 85px rgba(0,232,157,.32),inset 0 0 32px rgba(0,232,157,.13);transform:scale(1.025)}}
@media(max-width:1000px){.ktr-hero{height:auto;min-height:1050px;grid-template-columns:1fr;padding-top:130px;gap:40px}.hero-topline{grid-column:auto}.hero-topline p{display:none}.ktr-hero .hero-copy{align-self:auto;padding:25px 0 0}.system-console{margin:0 auto 90px}.ktr-hero .hero-foot{height:72px}}
@media(max-width:600px){.ktr-hero{min-height:980px;padding:108px 20px 72px;gap:22px}.hero-topline span:nth-child(3){display:none}.ktr-hero .hero-copy{padding-top:10px}.ktr-hero .hero-copy h1{font-size:55px;letter-spacing:-3.5px;margin:18px 0 22px}.ktr-hero .hero-copy>p{font-size:14px;line-height:1.65}.ktr-hero .hero-actions{margin-top:25px}.system-console{margin-bottom:72px}.console-core{height:255px}.console-core:before{width:210px;height:210px}.console-core:after{width:165px;height:165px}.digital-core{width:120px;height:120px}.code-lines{display:none}.console-services a{height:64px;padding:11px}.console-services span{font-size:9px}.ktr-hero .hero-foot div:nth-last-child(-n+2){display:none}.ktr-hero .hero-foot>span{display:block;font-size:9px}.ktr-hero .hero-foot{justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.hero-scan,.digital-core,.digital-core i,.console-core:before,.console-core:after{animation:none!important}}

/* Keep the primary message inside the first viewport on common laptops. */
@media(min-width:1001px){.ktr-hero{grid-template-rows:1fr}.hero-topline{position:absolute;left:4vw;right:4vw;top:145px}.ktr-hero .hero-copy{align-self:center;padding:105px 0 25px}.system-console{margin-top:90px}}
@media(min-width:1101px) and (max-width:1360px){.site-header{padding-left:2.5vw;padding-right:2.5vw}.desktop-nav{gap:15px}.desktop-nav>a,.services-trigger{font-size:12px}.nav-cta{padding:12px}.brand-ktr{font-size:28px}.brand-soft{font-size:17px}}

/* Scroll-reactive cinematic layer */
@media(min-width:1001px){.ktr-hero{height:132svh;min-height:960px;--hero-scroll:0}.ktr-hero .hero-copy{position:sticky;top:205px;align-self:start;transform:translate3d(0,calc(var(--hero-scroll) * -48px),0);opacity:calc(1 - var(--hero-scroll) * .42);transition:opacity .08s linear}.system-console{position:sticky;top:175px;align-self:start;transform:perspective(1100px) rotateY(calc(-4deg + var(--hero-scroll) * 8deg)) rotateX(calc(var(--hero-scroll) * 2deg)) translate3d(0,calc(var(--hero-scroll) * -20px),calc(var(--hero-scroll) * 90px)) scale(calc(1 + var(--hero-scroll) * .055));transform-origin:50% 50%;will-change:transform}.system-console:after{content:"SYSTEM SYNC  /  " attr(data-progress);position:absolute;right:15px;bottom:87px;font:600 7px "Manrope";letter-spacing:1.3px;color:rgba(0,232,157,.55)}.digital-core{transform:scale(calc(1 + var(--hero-scroll) * .18));box-shadow:0 0 calc(55px + var(--hero-scroll) * 85px) rgba(0,232,157,calc(.22 + var(--hero-scroll) * .2)),inset 0 0 25px rgba(0,232,157,.08)}.ktr-hero .hero-foot{position:sticky;top:calc(100svh - 86px);bottom:auto;grid-column:1/-1;align-self:start;margin-top:calc(100svh - 220px)}}
.hero-depth-rings{position:absolute;z-index:1;right:-13vw;top:18%;width:58vw;aspect-ratio:1;pointer-events:none;transform:translate3d(calc(var(--hero-scroll,0) * -90px),calc(var(--hero-scroll,0) * 45px),0) rotate(calc(var(--hero-scroll,0) * 18deg));opacity:calc(.25 + var(--hero-scroll,0) * .35)}.hero-depth-rings i{position:absolute;inset:0;border:1px solid rgba(0,232,157,.16);border-radius:50%;animation:depthSpin 30s linear infinite}.hero-depth-rings i:nth-child(2){inset:15%;border-style:dashed;animation-direction:reverse;animation-duration:22s}.hero-depth-rings i:nth-child(3){inset:32%;border-color:rgba(0,232,157,.3);animation-duration:14s}.data-stream{position:absolute;z-index:2;height:1px;background:linear-gradient(90deg,transparent,rgba(0,232,157,.35),transparent);transform-origin:left center;pointer-events:none}.stream-one{width:42vw;right:-5vw;top:32%;transform:rotate(-18deg)}.stream-two{width:36vw;left:38%;bottom:20%;transform:rotate(12deg)}.data-stream i{position:absolute;top:-2px;width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 16px var(--green);animation:dataTravel 4s linear infinite}.data-stream i:nth-child(2){animation-delay:-1s}.data-stream i:nth-child(3){animation-delay:-2s}.data-stream i:nth-child(4){animation-delay:-3s}.orbit-label{position:absolute;z-index:4;padding:5px 8px;border:1px solid rgba(0,232,157,.25);background:rgba(8,14,12,.75);font:600 7px "Manrope";letter-spacing:1.4px;color:#7ff5cb;animation:labelFloat 4s ease-in-out infinite}.label-build{left:17%;top:35%}.label-scale{right:15%;top:42%;animation-delay:-1.3s}.label-grow{left:45%;bottom:12%;animation-delay:-2.6s}
@keyframes depthSpin{to{transform:rotate(360deg)}}@keyframes dataTravel{0%{left:0;opacity:0}15%,80%{opacity:1}100%{left:100%;opacity:0}}@keyframes labelFloat{50%{transform:translateY(-7px);border-color:rgba(0,232,157,.55)}}
@keyframes scrollCore{0%,100%{transform:scale(calc(1 + var(--hero-scroll,0) * .18))}50%{transform:scale(calc(1.025 + var(--hero-scroll,0) * .18))}}
.digital-core{animation-name:scrollCore}
@media(max-width:1000px){.hero-depth-rings{width:90vw;right:-42vw;top:40%}.data-stream{opacity:.55}.orbit-label{display:none}}
@media(max-width:600px){.hero-depth-rings{width:120vw;right:-70vw;top:46%}.stream-two{display:none}}
@media(prefers-reduced-motion:reduce){.hero-depth-rings,.data-stream i,.orbit-label{animation:none!important}.ktr-hero .hero-copy,.system-console,.digital-core{transform:none!important;opacity:1!important}}

/* Resolve reveal/overflow conflicts so the desktop scene remains sticky. */
@media(min-width:1001px){.ktr-hero{height:145svh;min-height:1040px;overflow:clip}.system-console.reveal.visible{position:sticky;top:175px;transform:perspective(1100px) rotateY(calc(-4deg + var(--hero-scroll) * 8deg)) rotateX(calc(var(--hero-scroll) * 2deg)) translate3d(0,calc(var(--hero-scroll) * -20px),calc(var(--hero-scroll) * 90px)) scale(calc(1 + var(--hero-scroll) * .055))}}

/* V2 — digital product assembly; intentionally replaces the network-console visual. */
.product-hero{--assemble:0;background:radial-gradient(circle at 76% 45%,rgba(0,232,157,.12),transparent 25%),linear-gradient(150deg,#101614,#070a09 72%)}.assembly-glow{position:absolute;z-index:0;width:46vw;height:46vw;right:1vw;top:15%;border-radius:50%;background:radial-gradient(circle,rgba(0,232,157,calc(.08 + var(--assemble) * .13)),transparent 63%);filter:blur(22px);transform:scale(calc(.75 + var(--assemble) * .45))}.assembly-stage{position:relative;z-index:4;width:min(610px,46vw);height:545px;margin-left:auto;perspective:1200px;transform-style:preserve-3d}.assembly-axis{position:absolute;left:50%;top:50%;width:1px;height:120%;background:linear-gradient(transparent,rgba(0,232,157,.4),transparent);transform:translate(-50%,-50%) rotate(35deg);opacity:.4}.product-layer{position:absolute;color:#eef4f0;border:1px solid rgba(255,255,255,.19);background:rgba(13,22,19,.82);backdrop-filter:blur(16px);box-shadow:0 28px 60px rgba(0,0,0,.34);will-change:transform;transition:box-shadow .2s linear}.product-layer>small{position:absolute;font:700 7px "Manrope";letter-spacing:1.5px;color:var(--green)}.layer-browser{width:370px;height:245px;left:7%;top:8%;transform:translate3d(calc((1 - var(--assemble)) * -105px),calc((1 - var(--assemble)) * -75px),calc((1 - var(--assemble)) * -100px)) rotateY(calc(-12deg + var(--assemble) * 8deg)) rotateX(5deg)}.mini-top{height:37px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:6px;padding:0 12px}.mini-top i{width:6px;height:6px;border-radius:50%;background:#53615b}.mini-top i:nth-child(3){background:var(--green)}.mini-top span{margin-left:8px;font:500 7px "Manrope";color:#77857f}.mini-web{padding:32px}.mini-web b{display:block;font:700 30px/1 "Manrope";letter-spacing:-1.6px}.mini-web>span{display:block;width:75%;height:4px;background:#34423c;margin-top:13px}.mini-web>span+span{width:48%;margin-top:7px}.mini-web button{margin-top:23px;border:0;background:var(--green);color:#07110e;padding:8px 12px;font:700 8px "Manrope"}.layer-browser>small{right:13px;bottom:11px}.layer-code{width:335px;height:235px;right:0;top:24%;transform:translate3d(calc((1 - var(--assemble)) * 110px),calc((1 - var(--assemble)) * -35px),calc((1 - var(--assemble)) * 50px)) rotateY(calc(13deg - var(--assemble) * 7deg)) rotateX(-3deg)}.code-top{height:38px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;padding:0 13px}.code-top span,.code-top b{font:600 8px "Manrope";color:#77847e}.code-top b{color:var(--green)}.layer-code pre{font:500 10px/2.15 "DM Sans";color:#aab5b0;margin:20px}.layer-code pre i{font-style:normal;color:#46534e;margin-right:12px}.layer-code>small{right:12px;bottom:10px}.layer-mobile{width:160px;height:295px;left:21%;bottom:1%;padding:39px 18px 18px;border-radius:21px;transform:translate3d(calc((1 - var(--assemble)) * -85px),calc((1 - var(--assemble)) * 95px),calc((1 - var(--assemble)) * 100px)) rotateZ(calc(-9deg + var(--assemble) * 5deg)) rotateY(7deg)}.phone-notch{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:46px;height:5px;border-radius:5px;background:#39453f}.app-mark{width:37px;height:37px;background:var(--green);color:#07110e;display:grid;place-items:center;font:800 17px "Manrope"}.layer-mobile>b{display:block;font:600 18px/1.15 "Manrope";margin-top:32px}.layer-mobile>span{position:absolute;left:18px;bottom:45px;font:500 8px "Manrope";color:#97a49e}.layer-mobile>small{left:18px;bottom:18px}.layer-cloud{width:225px;height:130px;right:6%;bottom:3%;padding:20px;transform:translate3d(calc((1 - var(--assemble)) * 100px),calc((1 - var(--assemble)) * 90px),calc((1 - var(--assemble)) * -60px)) rotateZ(calc(7deg - var(--assemble) * 4deg))}.layer-cloud>span{font:600 8px "Manrope";letter-spacing:1.2px;color:#798780}.layer-cloud>b{display:block;font:600 31px "Manrope";margin:7px 0 2px}.layer-cloud>i{font:600 7px "Manrope";font-style:normal;color:var(--green)}.layer-cloud>small{right:12px;bottom:10px}.assembly-core{position:absolute;z-index:8;left:50%;top:51%;width:104px;height:104px;display:grid;place-content:center;text-align:center;color:#07110e;background:var(--green);box-shadow:0 0 calc(25px + var(--assemble) * 70px) rgba(0,232,157,.45);transform:translate(-50%,-50%) rotate(calc((1 - var(--assemble)) * 45deg)) scale(calc(.65 + var(--assemble) * .38));clip-path:polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%)}.assembly-core span{font:800 23px "Manrope"}.assembly-core small{font:800 6px/1.4 "Manrope";letter-spacing:1.2px}.deploy-wave{position:absolute;z-index:0;left:50%;top:50%;width:120px;height:120px;transform:translate(-50%,-50%);opacity:clamp(0,calc((var(--assemble) - .72) * 4),1)}.deploy-wave i{position:absolute;inset:0;border:1px solid rgba(0,232,157,.55);border-radius:50%;animation:deployPulse 2.2s ease-out infinite}.deploy-wave i:nth-child(2){animation-delay:-.7s}.deploy-wave i:nth-child(3){animation-delay:-1.4s}.assembly-status{position:absolute;z-index:9;left:0;right:0;bottom:-27px;display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.13);padding-top:12px}.assembly-status span{font:600 7px "Manrope";letter-spacing:1.1px;color:#68766f}.assembly-status span:nth-child(1){color:color-mix(in srgb,var(--green) calc((1 - var(--assemble)) * 100%),#68766f)}.scroll-cue{position:absolute;z-index:6;left:50%;bottom:102px;display:flex;align-items:center;gap:12px;transform:translateX(-50%);font:600 8px "Manrope";letter-spacing:1.7px;color:#76827c;opacity:calc(1 - var(--assemble) * 2)}.scroll-cue i{display:block;width:45px;height:1px;background:linear-gradient(90deg,var(--green),transparent);animation:cueMove 1.5s ease-in-out infinite}
@keyframes deployPulse{to{transform:scale(4);opacity:0}}@keyframes cueMove{50%{transform:translateX(8px)}}
@media(min-width:1001px){.product-hero{height:160svh;min-height:1120px;overflow:clip}.product-hero .hero-copy{position:sticky;top:205px;opacity:calc(1 - var(--assemble) * .28);transform:translateY(calc(var(--assemble) * -35px))}.assembly-stage.reveal.visible{position:sticky;top:155px;transform:perspective(1200px) rotateX(calc(7deg - var(--assemble) * 7deg)) rotateY(calc(-7deg + var(--assemble) * 7deg)) scale(calc(.92 + var(--assemble) * .08))}.product-hero .hero-foot{position:absolute;bottom:0;top:auto;margin:0}}
@media(max-width:1000px){.product-hero{min-height:1120px}.assembly-stage{width:min(610px,94vw);margin:0 auto 100px}.scroll-cue{display:none}}
@media(max-width:600px){.product-hero{min-height:1050px}.assembly-stage{height:410px;transform:scale(.73);transform-origin:top center;width:560px;left:50%;margin-left:-280px;margin-bottom:-20px}.product-hero .hero-copy h1{font-size:52px}.assembly-status{bottom:-30px}}
@media(prefers-reduced-motion:reduce){.product-layer,.assembly-core,.assembly-stage,.product-hero .hero-copy{transform:none!important}.deploy-wave,.scroll-cue{display:none}}

.network-canvas{position:absolute;z-index:0;inset:0;pointer-events:none;opacity:.75;mask-image:linear-gradient(to bottom,black 0 82%,transparent)}

/* Purpose-built mobile composition instead of scaling the desktop scene. */
@media(max-width:600px){.product-hero{height:1450px;min-height:1450px;padding-bottom:80px;overflow:clip}.product-hero .hero-copy{position:relative;z-index:5}.assembly-glow{width:125vw;height:125vw;right:-55vw;top:40%}.assembly-stage,.assembly-stage.reveal.visible{position:sticky;top:145px;left:auto;width:calc(100vw - 30px);height:455px;margin:40px auto 150px;transform:none;perspective:900px}.layer-browser{width:255px;height:175px;left:0;top:5px}.mini-top{height:29px;padding:0 9px}.mini-web{padding:20px}.mini-web b{font-size:21px}.mini-web>span{margin-top:8px}.mini-web button{margin-top:13px;padding:6px 9px}.layer-code{width:235px;height:168px;right:0;top:105px}.code-top{height:30px}.layer-code pre{font-size:7px;line-height:1.9;margin:13px}.layer-mobile{width:112px;height:205px;left:9px;bottom:7px;padding:30px 12px 12px;border-radius:16px}.phone-notch{top:8px;width:35px;height:4px}.app-mark{width:29px;height:29px;font-size:13px}.layer-mobile>b{font-size:13px;margin-top:20px}.layer-mobile>span{left:12px;bottom:35px;font-size:6px}.layer-mobile>small{left:12px;bottom:12px}.layer-cloud{width:165px;height:92px;right:5px;bottom:8px;padding:13px}.layer-cloud>b{font-size:22px;margin:4px 0}.layer-cloud>span,.layer-cloud>i{font-size:6px}.assembly-core{width:76px;height:76px;top:51%}.assembly-core span{font-size:17px}.assembly-status{bottom:-27px}.assembly-status span{font-size:5.5px;letter-spacing:.5px}.product-layer>small{font-size:5.5px}.product-hero .hero-foot{position:absolute}.network-canvas{opacity:.62}.deploy-wave{width:80px;height:80px}}

@media(max-width:600px){.product-hero{height:1280px;min-height:1280px;padding-bottom:30px}.product-hero .hero-topline span:nth-child(3){display:inline}.assembly-stage,.assembly-stage.reveal.visible{margin-top:12px;margin-bottom:45px}.product-hero .hero-foot{height:68px}.product-hero .hero-foot>span{font-size:7px;letter-spacing:.8px}}

/* Mobile uses natural vertical flow so the first grid row cannot create a void. */
@media(max-width:600px){.product-hero{display:block;height:auto;min-height:0;padding-top:108px;padding-bottom:0}.product-hero .hero-topline{position:relative;inset:auto;display:block;padding:0}.product-hero .hero-topline>div{gap:8px}.product-hero .hero-topline p{display:none}.product-hero .hero-copy{margin-top:42px;padding:0}.assembly-stage,.assembly-stage.reveal.visible{position:relative;top:auto;margin:42px auto 72px}.product-hero .hero-foot{position:relative;left:auto;right:auto;bottom:auto;width:100%;height:68px;margin-top:0}.product-hero .hero-foot>span{margin-right:0}}
