/* Lynxx theme refresh: clean white first-page header, animated connection art, horizontal service/work rails. */
.whole-hero .whole-header {
  z-index: 20 !important;
  width: min(calc(100% - 64px), 1240px) !important;
  min-height: 68px !important;
  margin: 14px auto 0 !important;
  padding: 10px 22px !important;
  border: 1px solid rgba(20, 28, 34, .08) !important;
  border-radius: 16px !important;
  background: #fbfbf8 !important;
  color: #172129 !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.18) !important;
  box-sizing: border-box !important;
}
.whole-hero .whole-header .wordmark-main,
.whole-hero .whole-header .nav-link,
.whole-hero .whole-header .mobile-menu-button { color: #172129 !important; }
.whole-hero .whole-header .wordmark-sub { color: #667078 !important; }
.whole-hero .whole-header .nav-link { font-family: Manrope, Inter, Arial, sans-serif !important; font-weight: 600 !important; }
.whole-hero .whole-header .nav-link.active { color: #9c6710 !important; }
.whole-hero .whole-header .nav-link::after { background: #dba737 !important; }
.whole-hero .whole-header .button { box-shadow: none !important; }

/* The former rotating project collage is replaced with a clean network illustration. */
.whole-portfolio-stage {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: min(47vw, 620px) !important;
  height: min(64vh, 540px) !important;
  min-height: 400px !important;
  margin-left: auto !important;
  overflow: hidden !important;
  border: 1px solid rgba(212, 171, 76, .2) !important;
  border-radius: 32px !important;
  background: radial-gradient(ellipse at 54% 48%, rgba(53, 129, 169, .13), transparent 58%), linear-gradient(135deg, rgba(16,25,32,.88), rgba(7,12,17,.68)) !important;
  box-shadow: inset 0 0 60px rgba(32,112,153,.08), 0 28px 80px rgba(0,0,0,.16) !important;
}
.whole-portfolio-stage > :not(.lynxx-network-visual) { display: none !important; }
.lynxx-network-visual { position: relative; width: 100%; height: 100%; min-height: 360px; isolation: isolate; }
.lynxx-network-visual svg { display:block; width:100%; height:100%; overflow:visible; }
.lynxx-network-visual .network-line { fill:none; stroke:rgba(111,203,235,.45); stroke-width:1.3; stroke-dasharray:7 10; animation:lynxx-line-flow 8s linear infinite; }
.lynxx-network-visual .network-line.warm { stroke:rgba(131,229,107,.48); animation-duration:11s; }
.lynxx-network-visual .node-core { fill:#a8eaff; filter:url(#lynxx-glow); }
.lynxx-network-visual .node-ring { fill:none; stroke:rgba(140,224,255,.65); stroke-width:1.5; transform-box:fill-box; transform-origin:center; animation:lynxx-node-pulse 3.4s ease-out infinite; }
.lynxx-network-visual .node-ring.delay { animation-delay:1.5s; }
.lynxx-network-visual .orbit { fill:none; stroke:rgba(85,229,255,.3); stroke-width:1; stroke-dasharray:3 7; transform-origin:310px 255px; animation:lynxx-orbit 34s linear infinite; }
.lynxx-network-visual .network-label { fill:rgba(236,244,245,.72); font:600 11px Manrope,Arial,sans-serif; letter-spacing:2px; }
.lynxx-network-visual .network-center { fill:rgba(12,23,31,.92); stroke:rgba(128,219,246,.65); stroke-width:1.5; }
.lynxx-network-visual .network-center-text { fill:#effaff; font:700 15px Manrope,Arial,sans-serif; letter-spacing:2px; }
.lynxx-network-visual .network-small { fill:rgba(214,232,238,.65); font:500 10px Manrope,Arial,sans-serif; letter-spacing:1px; }
.lynxx-network-visual .signal-satellite { animation:lynxx-satellite-drift 9s ease-in-out infinite; transform-origin:center; }
.lynxx-network-visual .network-float { animation:lynxx-soft-float 5s ease-in-out infinite; }
.lynxx-network-visual .network-float.delay { animation-delay:1.8s; }
@keyframes lynxx-line-flow { to { stroke-dashoffset:-136; } }
@keyframes lynxx-node-pulse { 0% { opacity:.8; transform:scale(.45); } 80%,100% { opacity:0; transform:scale(2.8); } }
@keyframes lynxx-orbit { to { transform:rotate(360deg); } }
@keyframes lynxx-satellite-drift { 0%,100% { transform:translate(0,0) rotate(-8deg); } 50% { transform:translate(9px,-7px) rotate(8deg); } }
@keyframes lynxx-soft-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }

/* Services become a single horizontal track, preserving every original card and detail. */
.services-section .whole-service-grid {
  display:flex !important;
  flex-flow:row nowrap !important;
  gap:18px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:rgba(85,229,255,.6) rgba(255,255,255,.06);
  padding:10px 2px 20px !important;
  margin:0 0 12px !important;
  touch-action:pan-x pan-y;
}
.services-section .whole-service-grid::-webkit-scrollbar { height:6px; }
.services-section .whole-service-grid::-webkit-scrollbar-track { background:rgba(255,255,255,.06); border-radius:9px; }
.services-section .whole-service-grid::-webkit-scrollbar-thumb { background:rgba(85,229,255,.58); border-radius:9px; }
.services-section .whole-service-card {
  flex:0 0 clamp(280px, 30vw, 350px) !important;
  min-width:0 !important;
  scroll-snap-align:start;
  min-height:390px !important;
}
.services-section .whole-service-image { height:156px !important; object-fit:cover !important; }
.services-section .service-card-detail[open] { max-height:unset; }

/* Selected-work deck already supports touch/pointer swipes; keep it as a horizontal rail. */
.work-section .showcase-deck {
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  touch-action:pan-x pan-y;
  scrollbar-width:thin;
  scrollbar-color:rgba(85,229,255,.55) transparent;
}
.work-section .showcase-card { scroll-snap-align:center; }

/* Subtle, contained technology motion behind—not over—the questionnaire. */
.about-section .feedback-page.enquiry-page.full-enquiry {
  position:relative !important;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(10,15,19,.96),rgba(11,18,23,.91)) !important;
}
.about-section .feedback-page.enquiry-page.full-enquiry > :not(.lynxx-contact-motion) { position:relative; z-index:1; }
.lynxx-contact-motion { position:absolute; z-index:0; inset:0; overflow:hidden; pointer-events:none; opacity:.32; }
.lynxx-contact-motion svg { width:100%; height:100%; display:block; }
.lynxx-contact-motion .contact-path { fill:none; stroke:rgba(93,204,237,.57); stroke-width:1.2; stroke-dasharray:5 9; animation:lynxx-line-flow 12s linear infinite; }
.lynxx-contact-motion .contact-path.gold { stroke:rgba(131,229,107,.47); animation-duration:15s; }
.lynxx-contact-motion .contact-node { fill:#a1eaff; filter:url(#contact-glow); }
.lynxx-contact-motion .contact-pulse { fill:none; stroke:rgba(143,230,255,.78); stroke-width:1.4; transform-box:fill-box; transform-origin:center; animation:lynxx-node-pulse 4s ease-out infinite; }
.lynxx-contact-motion .satellite { transform-origin:center; animation:lynxx-satellite-drift 10s ease-in-out infinite; }
.lynxx-contact-motion .device { fill:rgba(11,24,33,.2); stroke:rgba(137,217,241,.42); stroke-width:1.5; }
.lynxx-contact-motion .contact-copy { fill:rgba(218,240,245,.7); font:600 10px Manrope,Arial,sans-serif; letter-spacing:2px; }

@media (max-width:900px) {
  .whole-portfolio-stage { width:46vw !important; min-height:340px !important; height:46vh !important; border-radius:24px !important; }
  .services-section .whole-service-card { flex-basis:clamp(275px,48vw,340px) !important; }
}
@media (max-width:650px) {
  .whole-hero .whole-header { width:calc(100% - 28px) !important; margin-top:10px !important; min-height:62px !important; padding:8px 13px !important; border-radius:14px !important; }
  .whole-hero .whole-header .wordmark-main { font-size:25px !important; }
  .whole-hero .whole-header .nav-link { font-size:12px !important; }
  .whole-portfolio-stage { width:100% !important; height:300px !important; min-height:270px !important; margin:22px auto 0 !important; border-radius:22px !important; }
  .lynxx-network-visual { min-height:260px; }
  .services-section .whole-service-grid { gap:12px !important; margin-right:-18px !important; padding-right:18px !important; scroll-padding-left:2px; }
  .services-section .whole-service-card { flex:0 0 min(82vw,340px) !important; min-height:360px !important; }
  .services-section .whole-service-image { height:138px !important; }
  .work-section .showcase-deck { width:calc(100vw - 36px) !important; max-width:none !important; margin-right:-18px; }
  .work-section .showcase-card { flex-basis:min(84vw,520px) !important; }
  .lynxx-contact-motion { opacity:.23; }
}
@media (prefers-reduced-motion:reduce) {
  .lynxx-network-visual *, .lynxx-contact-motion * { animation:none !important; scroll-behavior:auto !important; }
}

/* Final mobile hero sizing and removal of the former full-screen rotating collage. */
.whole-hero .hero-visual { display:none !important; }
.whole-hero::after { opacity:.18 !important; }
@media (max-width:650px) {
  .whole-hero-content {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:18px !important;
    min-height:0 !important;
    padding-top:100px !important;
    padding-bottom:46px !important;
  }
  .whole-hero-copy { width:100% !important; max-width:100% !important; }
  .whole-portfolio-stage {
    position:relative !important;
    inset:auto !important;
    flex:0 0 auto !important;
    width:100% !important;
    max-width:100% !important;
    height:min(78vw,320px) !important;
    min-height:260px !important;
    margin:0 auto !important;
  }
}

/* Remove the original tilted carousel-stage motion from the new static-positioned network panel. */
.whole-portfolio-stage { transform:none !important; }


/* Theme-only alignment with ZIP 1: deep navy, cyan/lime accents, and warm paper services canvas. */
:root {
  --gold: #55e5ff !important;
  --gold-light: #83e56b !important;
  --ink: #07111b !important;
  --muted: #a8bac5 !important;
  color: #f4f8fb !important;
  background: #07111b !important;
  color-scheme: dark;
}
html, body {
  background-color: #07111b !important;
  color: #f4f8fb !important;
}
body { font-family: Manrope, Arial, sans-serif !important; }
a { text-decoration-color: rgba(85, 229, 255, .45); }
::selection { background: rgba(85, 229, 255, .32); color: #f4f8fb; }

.whole-hero .whole-header {
  background: rgba(7, 17, 27, .94) !important;
  color: #f4f8fb !important;
  border-color: rgba(85, 229, 255, .26) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42) !important;
}
.whole-hero .whole-header .wordmark-main,
.whole-hero .whole-header .nav-link,
.whole-hero .whole-header .mobile-menu-button { color: #f4f8fb !important; }
.whole-hero .whole-header .wordmark-sub { color: #a8bac5 !important; }
.whole-hero .whole-header .nav-link.active { color: #55e5ff !important; }
.whole-hero .whole-header .nav-link::after { background: #83e56b !important; }
.whole-portfolio-stage { border-color: rgba(85, 229, 255, .26) !important; }
.lynxx-network-visual .network-line.warm { stroke: rgba(131, 229, 107, .56) !important; }
.lynxx-network-visual .orbit { stroke: rgba(85, 229, 255, .38) !important; }

/* ZIP 1 keeps its services canvas warm and light while retaining dark service-preview panels. */
.services-section {
  background: #f6f2eb !important;
  color: #07111b !important;
}
.services-section h1,
.services-section h2,
.services-section h3,
.services-section > p,
.services-section > .section-copy,
.services-section .section-kicker {
  color: #07111b !important;
}
.services-section .whole-service-card {
  background: #07111b !important;
  color: #f4f8fb !important;
  border-color: rgba(85, 229, 255, .28) !important;
  box-shadow: 0 16px 42px rgba(7, 17, 27, .16) !important;
}
.services-section .whole-service-card h1,
.services-section .whole-service-card h2,
.services-section .whole-service-card h3,
.services-section .whole-service-card p,
.services-section .whole-service-card li,
.services-section .whole-service-card summary { color: #f4f8fb !important; }
.services-section .whole-service-grid { scrollbar-color: rgba(85, 229, 255, .62) rgba(7, 17, 27, .10) !important; }
.services-section .whole-service-grid::-webkit-scrollbar-track { background: rgba(7, 17, 27, .10) !important; }
.services-section .whole-service-grid::-webkit-scrollbar-thumb { background: rgba(85, 229, 255, .62) !important; }

.work-section .showcase-card,
.velora-video-card,
.velora-photo-flashcard { border-color: rgba(85, 229, 255, .30) !important; }
.work-section .showcase-deck { scrollbar-color: rgba(85, 229, 255, .58) transparent !important; }
.about-section .feedback-page.enquiry-page.full-enquiry {
  background: linear-gradient(145deg, rgba(7, 17, 27, .98), rgba(8, 22, 32, .96)) !important;
}
.lynxx-contact-motion .contact-path.gold { stroke: rgba(131, 229, 107, .55) !important; }
.lynxx-contact-motion .contact-node { fill: #55e5ff !important; }


/* Page 04 transition: reveal the existing reviews section as the next page in the flow. */
#pricing .review-title-row {
  position: relative !important;
  margin-top: 0 !important;
  padding-top: 30px !important;
}
#pricing .review-title-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #55e5ff, rgba(85,229,255,.28) 58%, transparent);
  box-shadow: 0 0 18px rgba(85,229,255,.24);
}
#pricing .review-title-row .section-kicker {
  font-size: 0 !important;
}
#pricing .review-title-row .section-kicker::before {
  content: "PAGE 04 / REVIEWS";
  color: #83e56b;
  font: 800 10px/1.4 Manrope, Arial, sans-serif;
  letter-spacing: .16em;
}
@media (prefers-reduced-motion: no-preference) {
  #pricing .review-title-row { animation: lynxx-page4-reveal .75s ease-out both; }
  @keyframes lynxx-page4-reveal {
    from { opacity: .45; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}


/* Remove the AI chat box and launcher from the continuous website flow. */
#chat-launch, .chat, .chat-box, .chat-launch, .chat-launcher, .chat-launcher-open, .chat-panel, #lynxx-chat-panel { display:none !important; visibility:hidden !important; pointer-events:none !important; }
