/* VPC digital mesh – replaces faint SVG wave; existing design/ghost trail intact. */
.hero::before,.projects-hero::before { background-image:none !important; animation:none !important; opacity:0 !important; }
.hero-bg .vpc-mesh-canvas,.projects-hero-bg .vpc-mesh-canvas {
  position:absolute;inset:0;width:100%;height:100%;display:block;z-index:2;
  pointer-events:none;opacity:1;filter:drop-shadow(0 0 7px rgba(48,144,250,.20));
}
.hero-bg .noise-layer,.projects-hero-bg .noise-layer { opacity:.10; }
@media (max-width:680px) {
  .hero-bg .vpc-mesh-canvas,.projects-hero-bg .vpc-mesh-canvas { opacity:.95;filter:drop-shadow(0 0 5px rgba(48,144,250,.17)); }
}


/* VERSION 2 — premium translucent navigation */
.header, .header.scrolled {
  background: rgba(12, 23, 45, .43) !important;
  border-bottom: 1px solid rgba(140, 198, 255, .22) !important;
  -webkit-backdrop-filter: blur(22px) saturate(165%) !important;
  backdrop-filter: blur(22px) saturate(165%) !important;
  box-shadow: 0 9px 32px rgba(1,6,17,.16), inset 0 -1px 0 rgba(166,217,255,.06) !important;
}
.header.scrolled {background:rgba(10,20,40,.63) !important;}
/* Mesh remains more legible above dark backgrounds. */
.hero-bg .vpc-mesh-canvas,.projects-hero-bg .vpc-mesh-canvas {
  filter: drop-shadow(0 0 10px rgba(43,157,255,.34)) !important;
}
/* Interactive tiles — no reflow, no edits to text or links. */
:where(.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.service-step) {
  --vpc-cx: 50%; --vpc-cy:50%;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .32s ease, box-shadow .32s ease, background-color .32s ease;
  will-change: auto;
}
@media (hover:hover) and (pointer:fine) {
  :where(.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.service-step):hover {
    transform: translateY(-6px);
    border-color: rgba(101,183,255,.48) !important;
    box-shadow: 0 24px 55px rgba(3,13,43,.35), 0 0 27px rgba(59,125,255,.16), inset 0 0 0 1px rgba(100,194,255,.12);
  }
  .service-card:hover, .value-card:hover, .team-card:hover, .service-step:hover {
    background-image: radial-gradient(360px circle at var(--vpc-cx) var(--vpc-cy), rgba(40,172,255,.145), rgba(119,70,234,.065) 46%, transparent 75%);
  }
  .hero-card:hover, .service-hero-card:hover {filter: brightness(1.07);}
  :where(.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.service-step):focus-within {
    outline: 1px solid rgba(94,204,255,.72);
    outline-offset: 3px;
  }
}
@media (max-width:680px) {
  .header,.header.scrolled {background:rgba(9,20,41,.58) !important; -webkit-backdrop-filter:blur(17px) saturate(155%) !important;backdrop-filter:blur(17px) saturate(155%) !important;}
  .hero-bg .vpc-mesh-canvas,.projects-hero-bg .vpc-mesh-canvas {opacity:1 !important;}
}
@media (prefers-reduced-motion:reduce) {
  :where(.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.service-step) {transition:none !important;transform:none !important;}
}

/* V3: visibly translucent luminous frosted glass, including over dark background */
html body .header, html body .header.scrolled {
 background: linear-gradient(105deg, rgba(20,44,76,.46),rgba(53,43,99,.38) 56%,rgba(18,44,77,.48)) !important;
 -webkit-backdrop-filter: blur(26px) saturate(210%) brightness(1.18) !important;
 backdrop-filter: blur(26px) saturate(210%) brightness(1.18) !important;
 border-bottom: 1px solid rgba(140,200,255,.36) !important;
 box-shadow: inset 0 1px 0 rgba(255,255,255,.20), inset 0 -1px 0 rgba(103,164,255,.12),0 12px 35px rgba(0,5,25,.20) !important;
}
html body .header::after {
 content:"";pointer-events:none;position:absolute;inset:0;z-index:-1;
 background:linear-gradient(115deg,transparent 5%,rgba(106,184,255,.085) 30%,rgba(157,86,252,.11) 62%,transparent 93%);
}
/* Show glass effect without changing actual menu layout */
html body .header .nav{position:relative;z-index:1}
/* More luminous dense mesh; stays behind actual content */
.hero-bg .vpc-mesh-canvas,.projects-hero-bg .vpc-mesh-canvas{opacity:1 !important;filter:drop-shadow(0 0 12px rgba(39,140,255,.46)) !important}
/* Existing home-service grid uses .service-card, not .service-hero-card */
@media(hover:hover) and (pointer:fine){
 html body .services-grid .service-card, html body .hero-card {transform-origin:center;transition:transform .36s cubic-bezier(.18,.9,.23,1),background .3s,border-color .3s,box-shadow .36s,filter .3s;}
 html body .services-grid .service-card:hover {z-index:2;transform:perspective(1100px) translateY(-9px) rotateX(1.4deg) scale(1.025);background:radial-gradient(450px circle at var(--vpc-cx,50%) var(--vpc-cy,50%),rgba(49,138,255,.20),rgba(97,47,196,.10) 40%,rgba(16,30,61,.28) 85%) !important;box-shadow:0 21px 40px rgba(0,10,33,.35),0 0 36px rgba(53,148,255,.19),inset 0 0 0 1px rgba(126,202,255,.25) !important;}
 html body .hero-card:hover{transform:perspective(1100px) translateY(-8px) rotateY(-2deg) scale(1.03);box-shadow:0 35px 85px rgba(1,9,39,.42),0 0 42px rgba(49,150,255,.24),inset 0 0 0 1px rgba(116,207,255,.23) !important}
 html body .services-grid .service-card:hover .service-arrow {transform:translate(4px,-4px);color:#7ddaff}
}
@media(max-width:760px){html body .header,html body .header.scrolled{background:linear-gradient(110deg,rgba(15,35,66,.62),rgba(55,35,92,.54)) !important}}
@media(prefers-reduced-motion:reduce){html body .hero-card,html body .services-grid .service-card{transform:none !important;transition:none !important}}

/* V4 FINAL — truly translucent frosted glass, no opaque dark layer */
html body .header,html body .header.scrolled {
  background:rgba(19,35,70,.12) !important;
  -webkit-backdrop-filter:blur(24px) saturate(160%) !important;
  backdrop-filter:blur(24px) saturate(160%) !important;
  border-bottom:1px solid rgba(136,204,255,.33) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 5px 30px rgba(3,13,42,.11) !important;
}
html body .header::after{background:linear-gradient(105deg,rgba(50,160,255,.07),transparent 46%,rgba(132,75,255,.085)) !important}
/* Make the moving hero mesh visible THROUGH the fixed navigation at page top. */
html body .header::before {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
 background:linear-gradient(100deg,rgba(24,69,123,.10),rgba(81,39,147,.07));}
.hero-bg .vpc-mesh-canvas,.projects-hero-bg .vpc-mesh-canvas {
 filter:drop-shadow(0 0 12px rgba(57,170,255,.52)) !important;
}
/* Consistent micro-interactions across real site controls. */
:where(a[href],button,[role="button"],input[type="submit"],.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.project-card,.service-step){
 transition-property:transform,background-color,border-color,box-shadow,filter,color !important;
 transition-duration:.27s !important;
 transition-timing-function:cubic-bezier(.2,.76,.25,1) !important;
}
@media(hover:hover) and (pointer:fine){
 :where(.header a,.header button,.nav a,.footer a,a.btn,.btn,button,[role="button"],input[type="submit"]):hover {
  transform:translateY(-2px) scale(1.018);
  filter:brightness(1.16);
  text-shadow:0 0 10px rgba(74,173,255,.35);
 }
 :where(.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.project-card,.service-step):hover{
  position:relative;z-index:2;
  transform:perspective(950px) translateY(-8px) scale(1.024) rotateX(1deg);
  border-color:rgba(100,185,255,.68) !important;
  box-shadow:0 18px 55px rgba(0,10,42,.37),0 0 28px rgba(60,137,255,.24),inset 0 0 0 1px rgba(93,187,255,.13) !important;
 }
 :where(a[href],button,[role="button"]):active{transform:translateY(0) scale(.975)}
 :where(.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.project-card,.service-step):hover::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(340px circle at var(--vpc-hover-x,50%) var(--vpc-hover-y,50%),rgba(70,179,255,.14),transparent 68%);
 }
}
:where(a[href],button,[role="button"],input[type="submit"]):focus-visible{
 outline:2px solid #72d7ff;outline-offset:4px;
}
@media(max-width:760px){html body .header,html body .header.scrolled{background:rgba(17,34,65,.20) !important;backdrop-filter:blur(17px) saturate(150%) !important}}
@media(prefers-reduced-motion:reduce){:where(a[href],button,[role="button"],input[type="submit"],.hero-card,.service-card,.service-hero-card,.team-card,.value-card,.premium-project-card,.project-card,.service-step){transition:none !important;transform:none !important}}

/* ===============================================================
 V5: Floating frosted glass, flowing content, calm cards and footer.
 Overrides last: preserves existing navigation, content and GOD MODE.
 =============================================================== */
/* Header shell must have NO solid-colored backing. The actual glass
   is the inner navigation capsule, like the approved mockup. */
html body .header,
html body .header.scrolled {
  background: transparent !important;
  border:0 !important;
  box-shadow:none !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  padding:10px 0 !important;
}
html body .header::before,html body .header::after{
  content:none !important;display:none !important;
}
html body .header .nav {
  position:relative;
  padding:10px clamp(16px,2.6vw,34px);
  border:1px solid rgba(141,194,255,.52);
  border-radius:20px;
  background:linear-gradient(115deg,rgba(25,59,128,.22),rgba(25,29,90,.16) 49%,rgba(89,45,180,.20)) !important;
  -webkit-backdrop-filter:blur(27px) saturate(178%) !important;
  backdrop-filter:blur(27px) saturate(178%) !important;
  box-shadow:inset 0 1px 0 rgba(227,241,255,.20),0 0 28px rgba(77,126,255,.22),0 15px 45px rgba(1,8,27,.16) !important;
  isolation:isolate;
}
html body .header .nav::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at 18% 0%,rgba(169,206,255,.24),transparent 37%),radial-gradient(ellipse at 92% 0%,rgba(125,83,255,.16),transparent 42%);
}
/* Preserve a consistent transparent glass surface in mobile layout. */
@media(max-width:760px){
 html body .header,html body .header.scrolled{padding:6px 0 !important;}
 html body .header .nav{border-radius:14px;padding:8px 13px;backdrop-filter:blur(17px) saturate(150%) !important; -webkit-backdrop-filter:blur(17px) saturate(150%) !important;}
}
/* Dark navy atmosphere across ALL page sections: no abrupt hard cut. */
html body {background:#060d20 !important;}
html body main{background:transparent;}
html body .hero,html body .projects-hero{position:relative;isolation:isolate;}
html body .hero::after,html body .projects-hero::after{
 content:"";position:absolute;z-index:0;pointer-events:none;
 height:clamp(150px,20vw,350px);left:0;right:0;bottom:-1px;
 background:linear-gradient(to bottom,rgba(6,13,32,0),rgba(6,13,32,.38) 35%,rgba(6,13,32,.83) 76%,#060d20 100%);
}
html body .hero > :not(.hero-bg),html body .projects-hero > :not(.projects-hero-bg){position:relative;z-index:1;}
/* Continue the palette below the hero without rendering another costly canvas. */
html body .services,html body .services-cms-section,html body .team-section,html body .project-section{
 background-color:transparent !important;
}
html body .services,html body .services-cms-section{
 background-image:radial-gradient(ellipse at 78% 5%,rgba(46,104,240,.075),transparent 52%),radial-gradient(ellipse at 17% 82%,rgba(124,60,241,.055),transparent 50%) !important;
}
/* Footer: matching rounded translucent glass surface. */
html body .footer{
 position:relative;z-index:1;margin:clamp(30px,5vw,75px) auto 16px;
 width:min(calc(100% - 40px),1350px);padding:42px clamp(18px,3.5vw,55px) 20px !important;
 border:1px solid rgba(130,189,255,.40) !important;border-radius:22px;
 background:linear-gradient(120deg,rgba(18,48,105,.31),rgba(27,39,85,.23),rgba(68,36,135,.25)) !important;
 -webkit-backdrop-filter:blur(23px) saturate(170%) !important;backdrop-filter:blur(23px) saturate(170%) !important;
 box-shadow:inset 0 1px rgba(231,244,255,.16),0 0 35px rgba(64,132,255,.13),0 18px 65px rgba(0,4,17,.18) !important;
}
html body .footer .footer-main{padding-bottom:30px;}
html body .footer :is(a,button):hover{color:#e4f5ff !important;text-shadow:0 0 12px rgba(75,182,255,.38);}
@media(max-width:700px){html body .footer{width:calc(100% - 20px);margin-top:30px;border-radius:16px;padding:30px 18px 18px !important;}}
/* CMS event & services: calm, non-jarring motion; no numerical badges. */
html body .services-cms-section .service-step .step-number {display:none !important;}
html body .services-cms-section .service-step{
 animation:none !important;
 transition:transform .65s cubic-bezier(.2,.78,.2,1),flex-basis .65s cubic-bezier(.2,.78,.2,1),min-height .65s cubic-bezier(.2,.78,.2,1),border-color .55s ease,background-color .55s ease,box-shadow .65s ease !important;
 will-change:auto !important;
}
html body .services-cms-section .service-step .step-icon,
html body .services-cms-section .service-step .step-label{
 transition:transform .6s cubic-bezier(.2,.78,.2,1),color .6s ease,font-size .6s ease,width .6s ease,height .6s ease !important;
}
@media(hover:hover) and (pointer:fine){
 html body .services-cms-section .service-step:hover,
 html body .services-cms-section .service-step:focus-visible{
  transform:translateY(-7px) scale(1.035) !important;
 }
 html body .services-cms-section .service-step:hover .step-icon{transform:translateY(-2px) scale(1.055);}
}
@media(prefers-reduced-motion:reduce){html body .services-cms-section .service-step,html body .services-cms-section .service-step *{transition:none !important;transform:none !important;}}


/* ============================================================
 V6 / NO MORE STACKED MESH IMAGES
 Single fixed canvas underneath ALL page sections. It is never
 clipped by a hero or re-created on scrolling. No horizontal seams.
 ============================================================ */
html { background: #070e23; }
html body { background: #070e23 !important; isolation: isolate; }
html body > .vpc-global-mesh-canvas {
  position:fixed;inset:0;display:block;width:100vw;height:100vh;
  z-index:0;pointer-events:none;opacity:1;
}
/* Keep real content above the one decorative canvas. */
html body > main, html body > .footer {position:relative;z-index:1;}
html body > .header {z-index:1000;}
/* Original per-section visual layers caused the doubled backgrounds. */
html body :is(.hero,.projects-hero,.team-section)::before,
html body :is(.hero,.projects-hero)::after {
  content:none !important;display:none !important;background:none !important;
}
html body :is(.hero-bg,.projects-hero-bg,.hero-grid) {display:none !important;}
html body :is(.hero,.projects-hero,.team-section,.page-hero,
.services-preview,.values-section,.services-showcase,.services-cms-section,
.project-detail-dark-section,.project-detail-content-section,.projects-filter-section,
.projects-gallery,.services-gallery,.services-section,.project-section,.projects-section,
.cta-section,.about-section,.contact-section,.team-section,.footer) {
  background-color:transparent !important;
  background-image:none !important;
}
/* Never allow a dark full-width band on the sections or hero seams. */
html body :is(.hero,.projects-hero,.services-preview,.services-showcase,.services-cms-section,
.projects-filter-section,.projects-gallery,.services-gallery,.footer) {
  border-top-color:transparent !important;
  border-bottom-color:transparent !important;
}
/* Airy, readable content; no harsh border at the mesh-to-content junction. */
html body .hero,html body .projects-hero { isolation:auto !important; }
html body main {background:transparent !important;}
/* Both panes are TRANSPARENT. The mesh behind is genuinely visible and blurred. */
html body .header,html body .header.scrolled {background:none!important;box-shadow:none!important;}
html body .header .nav {
  background:linear-gradient(110deg,rgba(31,80,146,.11),rgba(26,36,93,.13),rgba(102,45,176,.14)) !important;
  border:1px solid rgba(128,190,255,.46) !important;
  -webkit-backdrop-filter:blur(26px) saturate(165%) !important;
  backdrop-filter:blur(26px) saturate(165%) !important;
  box-shadow:inset 0 1px rgba(223,241,255,.18),0 0 22px rgba(55,131,255,.12) !important;
}
html body .footer {
  background:linear-gradient(110deg,rgba(26,66,120,.10),rgba(22,34,88,.12),rgba(87,40,151,.13)) !important;
  border:1px solid rgba(136,194,255,.35) !important;
  -webkit-backdrop-filter:blur(23px) saturate(160%) !important;
  backdrop-filter:blur(23px) saturate(160%) !important;
}
/* The V5 service hover and number removal remain active. */
@media(prefers-reduced-motion:reduce){html body > .vpc-global-mesh-canvas{opacity:.77}}
