/* NRV premium pass — shared visual/UX normalization after Factory audit */
:root{
  --nrv-panel:#0b1016;
  --nrv-panel-hi:#111821;
  --nrv-line:rgba(120,145,170,.22);
  --nrv-line-hover:rgba(255,133,54,.46);
  --nrv-soft-shadow:0 18px 54px rgba(0,0,0,.30);
  --nrv-card-shadow:0 22px 70px rgba(0,0,0,.34),0 1px 0 rgba(255,255,255,.025) inset;
  --nrv-card-hover:0 28px 88px rgba(0,0,0,.42),0 0 0 1px rgba(255,122,31,.05) inset;
  --nrv-ease:cubic-bezier(.22,.78,.2,1);
}
html{scroll-padding-top:104px}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.header .nav,.header .wrap.nav{transition:background-color .28s var(--nrv-ease),border-color .28s var(--nrv-ease),box-shadow .28s var(--nrv-ease),transform .28s var(--nrv-ease)}
.header .nav{box-shadow:0 16px 52px rgba(0,0,0,.34),0 1px 0 rgba(255,255,255,.035) inset}
.btn,.nav-cta,.tab,.price,.footer-nav a,.page-footer nav a{transition:transform .22s var(--nrv-ease),box-shadow .22s var(--nrv-ease),border-color .22s var(--nrv-ease),background-color .22s var(--nrv-ease),color .22s var(--nrv-ease),opacity .22s var(--nrv-ease)}
.btn{min-height:46px}
.btn-primary{box-shadow:0 12px 34px rgba(255,106,0,.20),0 1px 0 rgba(255,255,255,.12) inset}
.btn-ghost{background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012))}
.service-card,.solution-card,.project-card,.process-card,.proof-card,.value-card,.contact-card,.released-card,.lab-card,.problem-card,.system-block,.brief-box,.core-panel,.ai-box,.cta-box,.faq-item,.faq-start article{
  border-color:var(--nrv-line);
  box-shadow:var(--nrv-card-shadow);
  transition:transform .30s var(--nrv-ease),border-color .30s var(--nrv-ease),box-shadow .30s var(--nrv-ease),background-color .30s var(--nrv-ease);
}
.service-card,.solution-card,.project-card,.contact-card,.released-card,.lab-card,.problem-card{background-image:linear-gradient(155deg,rgba(20,27,35,.96),rgba(8,12,17,.98))}
.service-card:after,.solution-card:after,.project-card:after,.contact-card:after,.released-card:after,.lab-card:after,.problem-card:after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(120deg,rgba(255,255,255,.035),transparent 24%,transparent 72%,rgba(255,106,0,.025));opacity:.8
}
.service-card>*,.solution-card>*,.project-card>*,.contact-card>*,.released-card>*,.lab-card>*,.problem-card>*{position:relative;z-index:1}
.section-head h2,.inner-head h2,.system-block h2,.brief-box h2,.core-panel h2{line-height:1.04;text-wrap:balance}
.section-head p,.inner-head p,.hero p,.inner-hero p,.service-card p,.solution-card p,.project-card p,.released-card p,.lab-card p,.contact-card p,.proof-card p,.value-card p,.problem-card span,.process-card p,.core-panel p,.brief-box p{letter-spacing:-.006em}
.service-card h3,.solution-card h3,.project-card h3,.contact-card strong,.released-card h3,.lab-card h3,.problem-card strong,.process-card h3{letter-spacing:-.026em}
.chip,.solution-list span,.tech-pill,.tab{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.page-footer,footer{background:linear-gradient(180deg,rgba(5,7,10,.25),rgba(5,7,10,.92));box-shadow:0 -20px 70px rgba(0,0,0,.18) inset}
.page-footer nav a,.footer-nav a{padding:4px 0}
.menu{border-radius:11px;transition:background .2s ease,transform .2s ease}
.menu:active{transform:scale(.95);background:rgba(255,255,255,.045)}
#mobile-nav a{transition:background .2s ease,color .2s ease,transform .2s ease}
#mobile-nav a:active{transform:scale(.985)}
.faq-item{background:linear-gradient(155deg,rgba(20,27,35,.94),rgba(8,12,17,.98));overflow:hidden}
.faq-q{transition:background-color .22s ease,color .22s ease}
.faq-q:hover{background:rgba(255,255,255,.018)}
.faq-a{border-top:1px solid transparent}
.faq-item.open .faq-a{border-top-color:rgba(255,255,255,.04)}

@media(hover:hover) and (pointer:fine){
  .service-card:hover,.solution-card:hover,.project-card:hover,.contact-card:hover,.released-card:hover,.lab-card:hover,.problem-card:hover,.faq-start article:hover{
    transform:translateY(-5px);border-color:var(--nrv-line-hover);box-shadow:var(--nrv-card-hover)
  }
  .btn:hover,.nav-cta:hover{transform:translateY(-2px)}
  .btn-ghost:hover{box-shadow:0 14px 40px rgba(0,0,0,.24)}
  .tab:hover{border-color:rgba(255,133,54,.36);color:#fff}
}

@media(max-width:768px){
  html{scroll-padding-top:86px!important}
  [id],section{scroll-margin-top:86px!important}
  body{font-size:16px!important;line-height:1.54!important}
  .header{padding:7px 0 5px!important;background:linear-gradient(180deg,rgba(5,7,10,.99) 0%,rgba(5,7,10,.94) 72%,rgba(5,7,10,0) 100%)!important}
  .header .nav,.header .wrap.nav{height:58px!important;margin:0 12px!important;padding:0 14px!important;border-radius:17px!important;box-shadow:0 16px 42px rgba(0,0,0,.34)!important;background:rgba(7,10,14,.96)!important}
  .header .wrap.nav .brand>img.brand-logo-img{width:108px!important;min-width:108px!important;max-width:108px!important}
  .menu{width:42px!important;height:42px!important}
  #mobile-nav{top:72px!important}

  .hero{padding:32px 0 34px!important}
  .hero h1{font-size:clamp(36px,9vw,44px)!important;line-height:1.00!important;letter-spacing:-.042em!important;margin:10px 0 14px!important}
  .hero p{font-size:17px!important;line-height:1.55!important;margin:0!important}
  .hero-actions{margin-top:18px!important}
  .hero-actions .btn,.inner-actions .btn{min-height:50px!important;font-size:14px!important;border-radius:13px!important}
  .hero-proof{font-size:13px!important;line-height:1.42!important;gap:7px!important;margin-top:20px!important}

  .inner-main{padding-top:0!important}
  .inner-hero{padding:32px 0 30px!important}
  .inner-hero h1{font-size:clamp(37px,9.4vw,44px)!important;line-height:1.00!important;letter-spacing:-.043em!important;margin:9px 0 14px!important}
  .inner-hero p{font-size:16px!important;line-height:1.56!important}
  .inner-actions{gap:9px!important;margin-top:18px!important}

  .section,.inner-section{padding:34px 0!important}
  .section-head,.inner-head{margin-bottom:18px!important}
  .section-head h2,.inner-head h2{font-size:clamp(29px,7.9vw,34px)!important;line-height:1.06!important;letter-spacing:-.032em!important;margin:7px 0 8px!important}
  .section-head p,.inner-head p{font-size:16px!important;line-height:1.54!important}
  .kicker,.eyebrow{font-size:11px!important;letter-spacing:.16em!important}

  .service-grid,.solution-grid,.proof-grid,.about-values,.contact-grid,.released-grid,.lab-grid,.problems-grid,.project-grid,.process-grid{gap:12px!important}
  .service-card,.solution-card,.proof-card,.value-card,.contact-card,.released-card,.lab-card,.problem-card,.project-card,.faq-start article{padding:18px!important;border-radius:18px!important;box-shadow:0 14px 42px rgba(0,0,0,.28)!important}
  .service-card h3,.solution-card h3{font-size:22px!important;line-height:1.12!important;margin:16px 0 7px!important}
  .project-card h3,.released-card h3,.lab-card h3,.contact-card strong{font-size:26px!important;line-height:1.10!important;margin:16px 0 8px!important}
  .problem-card strong{font-size:24px!important;line-height:1.12!important}
  .service-card p,.solution-card p,.project-card p,.released-card p,.lab-card p,.contact-card p,.proof-card p,.value-card p,.problem-card span{font-size:15.5px!important;line-height:1.52!important}
  .service-icon{width:46px!important;height:46px!important;margin-bottom:14px!important;border-radius:13px!important}
  .chips,.solution-list{gap:6px!important;margin-top:13px!important}
  .chip,.solution-list span{font-size:10px!important;padding:6px 8px!important}

  .process-card{min-height:0!important;padding:18px 16px 18px 30px!important}
  .process-card h3{font-size:21px!important;line-height:1.14!important;margin:24px 0 6px!important}
  .process-card p{font-size:15px!important;line-height:1.52!important}

  .core-panel,.brief-box,.system-block,.cta-box{padding:22px 18px!important;border-radius:19px!important}
  .core-panel h2,.brief-box h2,.system-block h2,.cta-box h2{font-size:30px!important;line-height:1.06!important}
  .core-panel p,.brief-box p,.system-block p,.cta-box p{font-size:15.5px!important;line-height:1.54!important}
  .ai-box{padding:11px!important;border-radius:15px!important}
  .ai-input{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .ai-input input{min-height:50px!important;font-size:15px!important}
  .ai-input .btn{width:100%!important;min-height:50px!important}
  .ai-answer{font-size:15px!important;line-height:1.52!important;padding:15px!important}

  .project-toolbar{gap:7px!important;margin-bottom:16px!important;padding-bottom:4px!important}
  .tab{font-size:11px!important;padding:9px 12px!important}
  .tech-track{padding:10px 0!important;gap:9px!important}
  .tech-pill{font-size:11px!important;padding:8px 11px!important}
  .cta-box .btn{margin-left:0!important;margin-right:0!important}
  .cta-box .btn + .btn{margin-top:10px!important}
  .faq-q{padding:17px 18px!important;font-size:17px!important;line-height:1.35!important}
  .faq-a{padding:0 18px 18px!important;font-size:15.5px!important;line-height:1.55!important}

  footer,.page-footer{padding:28px 0 34px!important}
  footer .footer-grid,.page-footer .footer-grid{gap:16px!important}
  footer .footer-grid .brand>img.brand-logo-img,.page-footer .footer-grid .brand>img.brand-logo-img{width:112px!important;min-width:112px!important;max-width:112px!important}
  .footer-nav,.page-footer nav{gap:10px 16px!important;font-size:14px!important;line-height:1.45!important}
  .footer-grid>span{font-size:14px!important}
}

@media(max-width:420px){
  .header .wrap.nav .brand>img.brand-logo-img{width:102px!important;min-width:102px!important;max-width:102px!important}
  .hero h1{font-size:clamp(34px,9.2vw,41px)!important}
  .inner-hero h1{font-size:clamp(35px,9.2vw,42px)!important}
  .section-head h2,.inner-head h2{font-size:30px!important}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .reveal,.nrv-motion-target{opacity:1!important;transform:none!important}
}
