/* Nexus kinetic infrastructure — second-pass visual system */
:root {
  --nx-ink: #050608;
  --nx-ink-2: #090b10;
  --nx-ink-3: #11141b;
  --nx-ivory: #f3f4ef;
  --nx-paper: #e9ebe6;
  --nx-lime: #caff2c;
  --nx-cyan: #46ddff;
  --nx-violet: #8c63ff;
  --nx-soft-violet: #b4a2ff;
  --nx-muted: #9ca2ad;
  --nx-muted-light: #5f6570;
  --nx-line: rgba(255,255,255,.14);
  --nx-line-dark: rgba(5,6,8,.14);
  --nx-display: "Space Grotesk", "Manrope", sans-serif;
  --nx-sans: "Manrope", Inter, Arial, sans-serif;
  --nx-ease: cubic-bezier(.16,1,.3,1);
  --nx-gutter: clamp(1.15rem,3.2vw,4rem);
  --nx-max: 1440px;
  --nx-rail-max: 1490px;
  --nx-rail-edge: calc(var(--nx-gutter) + 1.2rem);
  --nx-rail-space: max(var(--nx-rail-edge), calc((100vw - var(--nx-rail-max)) / 2));
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: nx-page-out .18s ease both; }
::view-transition-new(root) { animation: nx-page-in .42s var(--nx-ease) both; }
@keyframes nx-page-out { to { opacity: 0; transform: scale(.995); } }
@keyframes nx-page-in { from { opacity: 0; transform: translateY(8px); } }

body.nexus-premium-v2 {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--nx-ink);
  color: #f7f8fa;
  font-family: var(--nx-sans);
}

body.nx-data-saver video[data-nx-autoplay] { background: #080a0e; }

body.nexus-premium-v2::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: .06;
  background-image: radial-gradient(circle,rgba(255,255,255,.38) .45px,transparent .6px);
  background-size: 4px 4px;
}

body.nexus-premium-v2 .nexus-wrapper { background: var(--nx-ink) !important; }
body.nexus-premium-v2 .nexus-premium-template { max-width: 100%; overflow-x: clip; }
body.nexus-premium-v2 .font-display,
body.nexus-premium-v2 .nx-mobile-menu__links a,
body.nexus-premium-v2 .nx-nav-panel__intro strong,
body.nexus-premium-v2 .nx-planner__panel h2,
body.nexus-premium-v2 .nx-value-planner__result strong,
body.nexus-premium-v2 .nx-case-nav span { font-family: var(--nx-display) !important; }

.nx-reading-progress,
.nx-global-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 11000;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,var(--nx-lime),var(--nx-cyan),var(--nx-violet));
  box-shadow: 0 0 18px rgba(70,221,255,.65);
  pointer-events: none;
}

.nx-cursor-halo {
  --nx-cursor-x: -200px;
  --nx-cursor-y: -200px;
  position: fixed;
  left: var(--nx-cursor-x);
  top: var(--nx-cursor-y);
  z-index: 10040;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(202,255,44,.75);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  transition: width .35s var(--nx-ease),height .35s var(--nx-ease),background .3s ease,border-color .3s ease;
  mix-blend-mode: difference;
}
.nx-cursor-halo.is-active { width: 3.2rem; height: 3.2rem; background: rgba(255,255,255,.9); border-color: transparent; }

/* Floating navigation */
.nx-nav {
  inset: 1rem var(--nx-gutter) auto !important;
  right: auto !important;
  width: calc(100vw - var(--nx-gutter) - var(--nx-gutter));
  height: 4.65rem;
  padding: .45rem 1.2rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.25rem;
  background: rgba(7,9,12,.55);
  box-shadow: 0 16px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.nx-nav.is-scrolled {
  inset-block-start: .6rem !important;
  height: 4.15rem;
  background: rgba(7,9,12,.82);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 70px rgba(0,0,0,.35);
}
.nx-nav__inner { max-width: 1490px; grid-template-columns: 220px 1fr 220px; }
.nx-brand-word { font-family: var(--nx-display); font-size: 1.18rem; letter-spacing: -.06em; }
.nx-brand-dot { color: var(--nx-cyan); text-shadow: 0 0 14px rgba(70,221,255,.65); }
.nx-brand-sub { color: rgba(255,255,255,.46); }
.nx-nav__link { font-size: .67rem; font-weight: 700; letter-spacing: .065em; }
.nx-nav__link::after { height: 2px; border-radius: 2px; background: linear-gradient(90deg,var(--nx-lime),var(--nx-cyan)); }
.nx-nav__planner {
  min-height: 3.25rem;
  border: 0;
  border-radius: .9rem;
  background: linear-gradient(115deg,var(--nx-lime),#e4ff86 54%,var(--nx-cyan));
  box-shadow: 0 8px 26px rgba(202,255,44,.12);
}
.nx-nav__planner:hover { background: linear-gradient(115deg,#fff,var(--nx-cyan)); box-shadow: 0 8px 30px rgba(70,221,255,.2); }
.nx-nav-panel { border-color: rgba(255,255,255,.16); background: rgba(10,12,17,.94); backdrop-filter: blur(30px); }
.nx-nav-panel__intro { background: linear-gradient(145deg,var(--nx-lime),#e8ff9a 58%,var(--nx-cyan)); }
.nx-nav-panel__intro strong { font-weight: 600; letter-spacing: -.045em; }

/* Buttons and micro interactions */
.nx-button { position: relative; overflow: hidden; min-height: 3.5rem; padding-inline: 1.35rem; border-radius: .95rem; }
.nx-button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg,transparent 20%,rgba(255,255,255,.5),transparent 65%); transform: translateX(-130%); transition: transform .8s var(--nx-ease); }
.nx-button:hover::before { transform: translateX(130%); }
.nx-button--spectral { border: 0; background: linear-gradient(115deg,var(--nx-lime),#dcff73 50%,var(--nx-cyan)); color: var(--nx-ink); box-shadow: 0 16px 50px rgba(202,255,44,.16); }
.nx-button--spectral:hover { box-shadow: 0 20px 70px rgba(70,221,255,.22); }
.nx-button--glass { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; backdrop-filter: blur(12px); }
.nx-button--glass:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.11); }
.nx-eyebrow { color: inherit; font-size: .65rem; letter-spacing: .18em; }
.nx-eyebrow::before { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
.nx-arrow-link { position: relative; border: 0; font-size: .72rem; text-decoration: none; }
.nx-arrow-link::after { content: ""; position: absolute; inset: auto 0 -.35rem; height: 1px; background: currentColor; transform-origin: right; transition: transform .35s var(--nx-ease); }
.nx-arrow-link:hover::after { transform: scaleX(.35); }

/* Cinematic homepage hero */
body.home .nexus-wrapper { isolation: isolate; }
body.home #ambient-glow,
body.home .noise-overlay,
body.home #progress-bar,
body.home .nexus-wrapper > .fixed { display: none !important; }
.nx-hero-v2 {
  --nx-hero-shift: 0px;
  position: relative;
  z-index: 2;
  min-height: max(780px,100svh) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(9rem,14vh,11rem) var(--nx-gutter) 2rem !important;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #05070a;
}
.nx-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(4,6,9,.99) 0%,rgba(4,6,9,.88) 31%,rgba(4,6,9,.15) 63%,rgba(4,6,9,.25) 100%),linear-gradient(0deg,rgba(4,6,9,.92),transparent 38%);
}
.nx-hero-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  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: clamp(70px,8vw,130px) clamp(70px,8vw,130px);
  mask-image: linear-gradient(to right,black,transparent 62%);
  opacity: .25;
}
.nx-hero-v2__art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.nx-hero-v2__art > img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 50%; transform: translate3d(0,var(--nx-hero-shift),0) scale(1.035); filter: saturate(1.06) contrast(1.03); }
.nx-hero-v2__orb { position: absolute; border: 1px solid rgba(70,221,255,.35); border-radius: 50%; box-shadow: inset 0 0 45px rgba(140,99,255,.1),0 0 45px rgba(70,221,255,.1); animation: nx-orbit 14s linear infinite; }
.nx-hero-v2__orb--one { right: 13vw; top: 18vh; width: 21rem; height: 21rem; }
.nx-hero-v2__orb--two { right: 25vw; bottom: 14vh; width: 9rem; height: 9rem; border-color: rgba(202,255,44,.34); animation-duration: 9s; animation-direction: reverse; }
.nx-hero-v2__orb::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; color: var(--nx-cyan); }
@keyframes nx-orbit { to { transform: rotate(360deg); } }
.nx-hero-v2__grid { width: min(100%,var(--nx-max)); margin: auto auto 4.5rem; display: grid; grid-template-columns: minmax(0,1.03fr) minmax(25rem,.77fr); align-items: end; gap: clamp(2rem,5vw,5.5rem); }
.nx-hero-v2__copy { width: 100%; min-width: 0; max-width: 58rem; }
.nx-hero-v2__eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: clamp(1.6rem,3vw,2.6rem); color: rgba(255,255,255,.68); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nx-status-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--nx-lime); box-shadow: 0 0 0 .35rem rgba(202,255,44,.08),0 0 20px rgba(202,255,44,.6); animation: nx-status 2s ease-in-out infinite; }
@keyframes nx-status { 50% { box-shadow: 0 0 0 .55rem rgba(202,255,44,0),0 0 25px rgba(202,255,44,.85); } }
.nx-hero-v2 h1 {
  display: flex;
  flex-direction: column;
  max-width: 11.5ch !important;
  margin: 0 !important;
  color: #f7f8fb;
  font-family: var(--nx-display) !important;
  font-size: clamp(4.1rem,6.55vw,7.55rem) !important;
  font-weight: 560 !important;
  line-height: .84 !important;
  letter-spacing: -.075em !important;
  text-align: left;
  text-wrap: balance;
}
.nx-gradient-text { width: max-content; max-width: 100%; color: transparent; background: linear-gradient(96deg,var(--nx-lime),#dfff8a 38%,var(--nx-cyan) 70%,var(--nx-soft-violet)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 35px rgba(70,221,255,.09)); }
.nx-hero-v2__copy > p { max-width: 47rem; margin: 2rem 0 0; color: rgba(236,240,246,.72); font-size: clamp(.98rem,1.18vw,1.16rem); line-height: 1.75; }
.nx-hero-v2__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.nx-hero-v2__signal-card { align-self: end; padding: 1.1rem; border: 1px solid rgba(255,255,255,.16); border-radius: 1.25rem; background: linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.035)); box-shadow: 0 24px 70px rgba(0,0,0,.28); backdrop-filter: blur(25px); transform-style: preserve-3d; }
.nx-signal-card__label { display: flex; justify-content: space-between; color: var(--nx-lime); font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nx-signal-card__wave { height: 5.25rem; margin: 1.35rem 0 1rem; display: flex; align-items: center; gap: .35rem; }
.nx-signal-card__wave i { flex: 1; height: 15%; border-radius: 999px; background: linear-gradient(to top,var(--nx-violet),var(--nx-cyan),var(--nx-lime)); box-shadow: 0 0 18px rgba(70,221,255,.16); animation: nx-wave 1.8s ease-in-out infinite alternate; }
.nx-signal-card__wave i:nth-child(2) { height: 35%; animation-delay: -.3s; }.nx-signal-card__wave i:nth-child(3){height:68%;animation-delay:-.8s}.nx-signal-card__wave i:nth-child(4){height:45%;animation-delay:-.2s}.nx-signal-card__wave i:nth-child(5){height:90%;animation-delay:-1.1s}.nx-signal-card__wave i:nth-child(6){height:58%;animation-delay:-.6s}.nx-signal-card__wave i:nth-child(7){height:78%;animation-delay:-1.3s}.nx-signal-card__wave i:nth-child(8){height:35%;animation-delay:-.4s}.nx-signal-card__wave i:nth-child(9){height:52%;animation-delay:-.9s}
@keyframes nx-wave { to { transform: scaleY(.42); filter: hue-rotate(35deg); } }
.nx-hero-v2__signal-card strong { display: block; font-family: var(--nx-display); font-size: 1.06rem; line-height: 1.3; }
.nx-hero-v2__signal-card small { display: block; margin-top: .75rem; color: var(--nx-muted); font-size: .68rem; line-height: 1.55; }
.nx-home-showcase { position: relative; min-width: 0; min-height: 500px; perspective: 1400px; }
.nx-home-showcase::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; top: -8%; right: -5%; border-radius: 50%; background: conic-gradient(from 160deg,rgba(70,221,255,.16),rgba(140,99,255,.2),rgba(202,255,44,.12),transparent 72%); filter: blur(42px); opacity: .8; animation: nx-case-glow 10s ease-in-out infinite alternate; }
.nx-home-showcase__project { position: absolute; display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 1.25rem; background: #0a0d12; color: #fff; text-decoration: none; box-shadow: 0 28px 75px rgba(0,0,0,.5); transform-style: preserve-3d; transition: border-color .4s ease,box-shadow .55s var(--nx-ease); will-change: transform; }
.nx-home-showcase__project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 46%,rgba(2,3,5,.92) 100%); pointer-events: none; }
.nx-home-showcase__project img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s var(--nx-ease),filter .45s ease; }
.nx-home-showcase__project:hover { border-color: rgba(202,255,44,.56); box-shadow: 0 36px 95px rgba(0,0,0,.58),0 0 38px rgba(70,221,255,.08); }
.nx-home-showcase__project:hover img { transform: scale(1.04); filter: saturate(1.08); }
.nx-home-showcase__project > span { position: absolute; z-index: 3; right: 1rem; bottom: .9rem; left: 1rem; display: grid; grid-template-columns: 1fr auto; gap: .22rem .8rem; align-items: end; }
.nx-home-showcase__project small { grid-column: 1/-1; color: #c0c5ce; font-size: .48rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nx-home-showcase__project strong { color: #fff; font-family: var(--nx-display); font-size: clamp(.95rem,1.4vw,1.3rem); letter-spacing: -.04em; line-height: 1.05; text-shadow: 0 2px 16px rgba(0,0,0,.68); }
.nx-home-showcase__project b { align-self: center; color: var(--nx-lime); font-size: .5rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.nx-home-showcase__project--primary { z-index: 2; top: 0; left: 0; width: 88%; height: 66%; }
.nx-home-showcase__project--primary img { object-position: center; }
.nx-home-showcase__project--secondary { z-index: 4; right: 0; bottom: 0; width: 62%; height: 46%; }
.nx-home-showcase__project--secondary img { object-position: 53% center; }
.nx-home-showcase .nx-hero-v2__signal-card { position: absolute; z-index: 5; bottom: 0; left: 0; width: 46%; padding: .9rem; background: rgba(6,8,12,.75); }
.nx-home-showcase .nx-signal-card__wave { height: 2.9rem; margin: .8rem 0 .65rem; }
.nx-home-showcase .nx-hero-v2__signal-card strong { font-size: .78rem; }
.nx-home-showcase__count { position: absolute; z-index: 6; top: 1rem; right: 0; width: 6.8rem; height: 6.8rem; display: grid; place-content: center; border: 1px solid rgba(202,255,44,.34); border-radius: 50%; background: rgba(5,6,8,.74); text-align: center; box-shadow: 0 16px 42px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.nx-home-showcase__count strong { color: var(--nx-lime); font-family: var(--nx-display); font-size: 2rem; font-weight: 520; line-height: .9; }
.nx-home-showcase__count small { margin-top: .35rem; color: #9ca3af; font-size: .44rem; font-weight: 800; letter-spacing: .1em; line-height: 1.25; text-transform: uppercase; }
.nx-hero-v2__rail { width: min(100%,var(--nx-max)); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.15); }
.nx-hero-v2__rail span { padding: 1.3rem 1.2rem .15rem 0; color: rgba(255,255,255,.72); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nx-hero-v2__rail b { margin-right: .6rem; color: var(--nx-cyan); font-size: .55rem; }
.nx-hero-v2__scroll { position: absolute; right: var(--nx-gutter); bottom: 2.15rem; display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.48); font-size: .57rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; writing-mode: vertical-rl; }
.nx-hero-v2__scroll span { width: 1px; height: 2.4rem; background: linear-gradient(var(--nx-cyan),transparent); animation: nx-scroll-line 1.7s ease-in-out infinite; }
@keyframes nx-scroll-line { 50% { transform: scaleY(.35); transform-origin: top; } }

/* Local authority hub + Surbiton landing page */
.nx-local-hub,.nx-local-page { --nx-local-line: rgba(255,255,255,.13); overflow: hidden; background: #050608; color: #f7f8f8; }
.nx-local-hub a,.nx-local-page a { color: inherit; }
.nx-local-hub__hero,.nx-local-page__hero,.nx-local-hub__intro,.nx-local-cards,.nx-local-services,.nx-local-page__split,.nx-local-page__services,.nx-local-page__journey,.nx-local-page__coverage,.nx-local-page__faq,.nx-local-page__cta,.nx-local-breadcrumb { width: min(100%,var(--nx-max)); margin-inline: auto; padding-inline: var(--nx-gutter); }
.nx-local-hub__hero,.nx-local-page__hero { min-height: min(56rem,calc(100svh - 5.5rem)); display: grid; grid-template-columns: minmax(0,.9fr) minmax(30rem,1.1fr); gap: clamp(2rem,5vw,6rem); align-items: center; padding-block: clamp(7rem,12vw,11rem) clamp(5rem,8vw,8rem); }
.nx-local-hub__copy h1,.nx-local-page__copy h1 { max-width: 9.5ch; margin: 1.4rem 0 1.8rem; font-family: var(--nx-display); font-size: clamp(4.4rem,7.7vw,8.4rem); font-weight: 560; line-height: .84; letter-spacing: -.07em; }
.nx-local-hub__copy h1 span,.nx-local-page__copy h1 span { display: block; background: linear-gradient(100deg,var(--nx-lime),#68efb5 45%,var(--nx-cyan)); color: transparent; -webkit-background-clip: text; background-clip: text; }
.nx-local-hub__copy > p,.nx-local-page__copy > p { max-width: 43rem; color: #aeb5c0; font-size: clamp(1.05rem,1.5vw,1.28rem); line-height: 1.7; }
.nx-local-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.nx-local-actions > a:not(.nx-button) { color: #f6f7f7; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: color .25s ease,transform .25s var(--nx-ease); }
.nx-local-actions > a:not(.nx-button):hover { color: var(--nx-lime); transform: translateX(.25rem); }
.nx-local-hub__map { position: relative; min-height: 36rem; border: 1px solid var(--nx-local-line); border-radius: 2rem; background: radial-gradient(circle at 54% 48%,rgba(77,219,255,.16),transparent 23%),radial-gradient(circle at 56% 47%,rgba(194,255,43,.1),transparent 46%),linear-gradient(145deg,#11151c,#07090d 65%); box-shadow: inset 0 1px rgba(255,255,255,.08),0 50px 110px rgba(0,0,0,.42); isolation: isolate; }
.nx-local-hub__map::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size: 3rem 3rem; mask-image: linear-gradient(135deg,#000,transparent 76%); }
.nx-local-map__ring { position: absolute; left: 54%; top: 48%; border: 1px solid rgba(92,227,255,.24); border-radius: 50%; transform: translate(-50%,-50%); }
.nx-local-map__ring--one { width: 14rem; height: 14rem; animation: nx-local-pulse 3.6s ease-out infinite; }
.nx-local-map__ring--two { width: 25rem; height: 25rem; animation: nx-local-pulse 3.6s 1.2s ease-out infinite; }
@keyframes nx-local-pulse { 0% { opacity: .15; transform: translate(-50%,-50%) scale(.72); } 55% { opacity: .75; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.12); } }
.nx-local-map__point { position: absolute; z-index: 2; display: grid; grid-template-columns: .75rem 1fr; gap: .08rem .7rem; align-items: center; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: .9rem; background: rgba(6,8,12,.76); box-shadow: 0 16px 45px rgba(0,0,0,.3); backdrop-filter: blur(14px); }
.nx-local-map__point i { grid-row: 1/3; width: .62rem; height: .62rem; border-radius: 50%; background: var(--nx-lime); box-shadow: 0 0 0 .3rem rgba(194,255,43,.12),0 0 1.2rem var(--nx-lime); }
.nx-local-map__point strong { font-family: var(--nx-display); font-size: 1rem; }
.nx-local-map__point small { color: #8e97a5; font-size: .56rem; letter-spacing: .05em; text-transform: uppercase; }
.nx-local-map__point--kingston { top: 25%; right: 8%; }.nx-local-map__point--surbiton { top: 47%; left: 18%; }.nx-local-map__point--surrey { right: 14%; bottom: 15%; }
.nx-local-map__signal { position: absolute; z-index: 3; left: 54%; top: 48%; width: 7.8rem; height: 7.8rem; display: grid; place-content: center; border: 1px solid rgba(194,255,43,.44); border-radius: 50%; background: rgba(4,6,8,.9); text-align: center; transform: translate(-50%,-50%); box-shadow: 0 0 3.5rem rgba(68,219,255,.16); }
.nx-local-map__signal b { color: var(--nx-lime); font-family: var(--nx-display); font-size: 1.8rem; }.nx-local-map__signal span { color: #8f98a5; font-size: .48rem; letter-spacing: .12em; text-transform: uppercase; }
.nx-local-hub__intro,.nx-local-page__split,.nx-local-page__coverage { display: grid; grid-template-columns: minmax(16rem,.75fr) minmax(0,1.25fr); gap: clamp(2rem,7vw,8rem); padding-block: clamp(5rem,9vw,9rem); border-top: 1px solid var(--nx-local-line); }
.nx-local-hub__intro h2,.nx-local-page__split h2,.nx-local-page__coverage h2 { max-width: 14ch; margin-top: 1.2rem; font-family: var(--nx-display); font-size: clamp(2.8rem,5.1vw,5.8rem); font-weight: 550; line-height: .94; letter-spacing: -.06em; }
.nx-local-hub__intro p,.nx-local-page__split p,.nx-local-page__coverage p { margin: 0 0 1.25rem; color: #aeb5c0; font-size: clamp(1.02rem,1.25vw,1.18rem); line-height: 1.82; }
.nx-local-cards,.nx-local-page__services { padding-block: clamp(5rem,8vw,8rem); }
.nx-local-cards__head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.nx-local-cards__head h2 { max-width: 15ch; margin: 0; font-family: var(--nx-display); font-size: clamp(2.8rem,4.8vw,5.3rem); font-weight: 550; line-height: .94; letter-spacing: -.06em; }
.nx-local-cards__grid,.nx-local-page__service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.nx-local-cards__grid > a,.nx-local-page__service-grid > a { min-height: 27rem; display: flex; flex-direction: column; padding: clamp(1.6rem,3vw,3rem); border: 1px solid var(--nx-local-line); border-radius: 1.5rem; background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); text-decoration: none; transition: border-color .35s ease,background .35s ease,transform .5s var(--nx-ease),box-shadow .5s var(--nx-ease); }
.nx-local-cards__grid > a:hover,.nx-local-page__service-grid > a:hover { border-color: rgba(194,255,43,.5); background: linear-gradient(145deg,rgba(194,255,43,.12),rgba(77,219,255,.035)); transform: translateY(-.45rem); box-shadow: 0 30px 75px rgba(0,0,0,.3); }
.nx-local-cards__grid span,.nx-local-page__service-grid span { color: var(--nx-lime); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nx-local-cards__grid h3,.nx-local-page__service-grid h3 { max-width: 16ch; margin: auto 0 1.2rem; font-family: var(--nx-display); font-size: clamp(2rem,3vw,3.6rem); font-weight: 550; line-height: 1; letter-spacing: -.05em; }
.nx-local-cards__grid p,.nx-local-page__service-grid p { max-width: 38rem; margin: 0 0 2rem; color: #9ea6b2; line-height: 1.7; }.nx-local-cards__grid b,.nx-local-page__service-grid b { color: #fff; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.nx-local-services { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,7vw,8rem); padding-block: clamp(5rem,9vw,9rem); border-top: 1px solid var(--nx-local-line); }.nx-local-services h2 { max-width: 12ch; margin-top: 1rem; font-family: var(--nx-display); font-size: clamp(2.7rem,4.5vw,5rem); font-weight: 550; line-height: .95; letter-spacing: -.055em; }
.nx-local-services__links a { display: grid; grid-template-columns: 1fr minmax(12rem,1.4fr) auto; gap: 1.5rem; align-items: center; padding: 1.7rem 0; border-bottom: 1px solid var(--nx-local-line); text-decoration: none; }.nx-local-services__links span { font-family: var(--nx-display); font-size: 1.45rem; }.nx-local-services__links small { color: #929ba8; line-height: 1.55; }.nx-local-services__links b { color: var(--nx-lime); transition: transform .25s var(--nx-ease); }.nx-local-services__links a:hover b { transform: translate(.25rem,-.25rem); }
.nx-local-breadcrumb { padding-top: 7.5rem; display: flex; align-items: center; gap: .7rem; color: #7f8998; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }.nx-local-breadcrumb a { text-decoration: none; }.nx-local-breadcrumb a:hover { color: var(--nx-lime); }.nx-local-breadcrumb b { color: #dfe3e7; }
.nx-local-page__hero { min-height: min(52rem,calc(100svh - 3rem)); padding-top: clamp(4rem,7vw,7rem); }
.nx-local-page__copy .nx-eyebrow i { width: .45rem; height: .45rem; display: inline-block; margin-right: .5rem; border-radius: 50%; background: var(--nx-lime); box-shadow: 0 0 1rem rgba(194,255,43,.8); }
.nx-local-page__proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 3.3rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--nx-local-line); list-style: none; }.nx-local-page__proof li { display: grid; gap: .35rem; }.nx-local-page__proof strong { color: #fff; font-family: var(--nx-display); font-size: 1.2rem; }.nx-local-page__proof span { color: #858f9e; font-size: .55rem; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.nx-local-page__media { position: relative; min-height: 37rem; overflow: hidden; border: 1px solid var(--nx-local-line); border-radius: 2rem; background: #0a0d12; box-shadow: 0 45px 100px rgba(0,0,0,.45); }.nx-local-page__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 40%,rgba(3,5,8,.9)); }.nx-local-page__media > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(1.15) contrast(1.08); transform: scale(1.03); }.nx-local-page__locator { position: absolute; z-index: 2; right: 1.4rem; bottom: 1.4rem; left: 1.4rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1rem; background: rgba(4,6,9,.68); backdrop-filter: blur(16px); }.nx-local-page__locator span { color: var(--nx-lime); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }.nx-local-page__locator strong { grid-row: 1/3; grid-column: 2; align-self: center; font-family: var(--nx-display); font-size: 1.4rem; }.nx-local-page__locator small { color: #a7aeba; font-size: .63rem; }
.nx-local-page__pulse { position: absolute; z-index: 3; top: 28%; left: 38%; width: 1rem; height: 1rem; border-radius: 50%; background: var(--nx-lime); box-shadow: 0 0 0 .6rem rgba(194,255,43,.11),0 0 3rem 1rem rgba(194,255,43,.34); animation: nx-local-dot 2.4s ease-in-out infinite; }@keyframes nx-local-dot { 50% { transform: scale(.72); opacity: .65; } }
.nx-local-page__service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.nx-local-page__service-grid > a { min-height: 29rem; }
.nx-local-page__journey { display: grid; grid-template-columns: minmax(0,1fr) minmax(25rem,.92fr); gap: clamp(2rem,6vw,7rem); align-items: center; padding-block: clamp(5rem,9vw,9rem); border-top: 1px solid var(--nx-local-line); }.nx-local-page__journey-copy h2 { max-width: 12ch; margin: 1rem 0 1.5rem; font-family: var(--nx-display); font-size: clamp(3rem,5vw,5.6rem); font-weight: 550; line-height: .92; letter-spacing: -.06em; }.nx-local-page__journey-copy > p { max-width: 45rem; color: #aeb5c0; font-size: 1.08rem; line-height: 1.75; }.nx-local-page__journey ol { margin: 2.5rem 0 0; padding: 0; list-style: none; }.nx-local-page__journey li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--nx-local-line); }.nx-local-page__journey li > b { color: var(--nx-lime); font-size: .6rem; }.nx-local-page__journey li span { color: #939ca9; line-height: 1.65; }.nx-local-page__journey li strong { display: block; margin-bottom: .25rem; color: #fff; font-family: var(--nx-display); font-size: 1.3rem; }
.nx-local-page__project { position: relative; min-height: 35rem; overflow: hidden; display: block; border: 1px solid var(--nx-local-line); border-radius: 1.7rem; color: #fff; text-decoration: none; box-shadow: 0 35px 90px rgba(0,0,0,.38); }.nx-local-page__project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(2,3,5,.96)); }.nx-local-page__project img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .8s var(--nx-ease); }.nx-local-page__project:hover img { transform: scale(1.05); }.nx-local-page__project > span { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.4rem; left: 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; }.nx-local-page__project small { grid-column: 1/-1; color: var(--nx-lime); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; }.nx-local-page__project strong { font-family: var(--nx-display); font-size: clamp(1.7rem,3vw,3rem); }.nx-local-page__project b { align-self: center; font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; }
.nx-local-page__coverage a { display: inline-block; margin-top: .5rem; color: var(--nx-lime); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.nx-local-page__faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem,7vw,8rem); padding-block: clamp(5rem,9vw,9rem); border-top: 1px solid var(--nx-local-line); }.nx-local-page__faq h2 { max-width: 10ch; margin-top: 1rem; font-family: var(--nx-display); font-size: clamp(3rem,4.8vw,5.4rem); font-weight: 550; line-height: .92; letter-spacing: -.06em; }.nx-local-page__faq details { border-bottom: 1px solid var(--nx-local-line); }.nx-local-page__faq summary { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.45rem 0; color: #fff; font-family: var(--nx-display); font-size: clamp(1.15rem,1.7vw,1.5rem); cursor: pointer; list-style: none; }.nx-local-page__faq summary::-webkit-details-marker { display: none; }.nx-local-page__faq summary span { color: var(--nx-lime); transition: transform .3s ease; }.nx-local-page__faq details[open] summary span { transform: rotate(45deg); }.nx-local-page__faq details p { max-width: 48rem; margin: 0 0 1.6rem; color: #9da6b3; line-height: 1.75; }
.nx-local-page__cta { margin-bottom: clamp(5rem,9vw,9rem); padding-block: clamp(4rem,7vw,7rem); border: 1px solid rgba(194,255,43,.24); border-radius: 2rem; background: radial-gradient(circle at 90% 20%,rgba(76,221,255,.13),transparent 36%),linear-gradient(135deg,rgba(194,255,43,.08),rgba(255,255,255,.025)); text-align: center; }.nx-local-page__cta h2 { max-width: 13ch; margin: 1rem auto 1.4rem; font-family: var(--nx-display); font-size: clamp(3.2rem,5.6vw,6rem); font-weight: 550; line-height: .9; letter-spacing: -.065em; }.nx-local-page__cta p { max-width: 42rem; margin-inline: auto; color: #aeb5c0; font-size: 1.08rem; line-height: 1.7; }.nx-local-page__cta .nx-local-actions { justify-content: center; }

@media (max-width: 900px) {
  .nx-local-hub__hero,.nx-local-page__hero,.nx-local-hub__intro,.nx-local-services,.nx-local-page__split,.nx-local-page__journey,.nx-local-page__coverage,.nx-local-page__faq { grid-template-columns: 1fr; }
  .nx-local-hub__hero,.nx-local-page__hero { min-height: auto; }.nx-local-hub__map,.nx-local-page__media { min-height: 31rem; }.nx-local-page__service-grid { grid-template-columns: 1fr; }.nx-local-page__service-grid > a { min-height: 20rem; }.nx-local-page__project { min-height: 31rem; }.nx-local-services__links a { grid-template-columns: 1fr auto; }.nx-local-services__links small { grid-column: 1/-1; grid-row: 2; }.nx-local-services__links b { grid-column: 2; grid-row: 1; }
}
@media (max-width: 640px) {
  .nx-local-hub__copy h1,.nx-local-page__copy h1 { font-size: clamp(3.6rem,17vw,5rem); }.nx-local-hub__map,.nx-local-page__media { min-height: 25rem; border-radius: 1.25rem; }.nx-local-map__point--kingston { top: 15%; right: 4%; }.nx-local-map__point--surbiton { left: 4%; }.nx-local-map__point--surrey { right: 5%; bottom: 8%; }.nx-local-map__ring--two { width: 18rem; height: 18rem; }.nx-local-cards__head { display: block; }.nx-local-cards__head .nx-eyebrow { display: block; margin-bottom: 1rem; }.nx-local-cards__grid { grid-template-columns: 1fr; }.nx-local-cards__grid > a { min-height: 22rem; }.nx-local-page__proof { grid-template-columns: 1fr 1fr; }.nx-local-page__locator { grid-template-columns: 1fr; }.nx-local-page__locator strong { grid-row: auto; grid-column: auto; }.nx-local-page__project { min-height: 24rem; }.nx-local-page__cta { margin-inline: var(--nx-gutter); padding-inline: 1.25rem; border-radius: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .nx-local-map__ring,.nx-local-page__pulse { animation: none; } }

/* Horizontal work gallery */
.nx-selected-work--v2 { padding: clamp(6rem,10vw,10rem) 0 clamp(5rem,9vw,8rem); background: var(--nx-ivory); color: var(--nx-ink); }
.nx-selected-work--v2::before { content: "WORK / WORK / WORK / WORK / WORK / WORK"; position: absolute; top: 1rem; left: -1vw; color: transparent; -webkit-text-stroke: 1px rgba(5,6,8,.06); font-family: var(--nx-display); font-size: clamp(5rem,13vw,14rem); font-weight: 700; line-height: 1; white-space: nowrap; pointer-events: none; }
.nx-selected-work--v2 .nx-selected-work__head { width: min(100%,var(--nx-max)); padding-inline: var(--nx-gutter); margin-bottom: 3rem; }
.nx-selected-work--v2 .nx-selected-work__head h2 { max-width: 14ch; margin: 1.1rem 0 0; font-family: var(--nx-display) !important; font-size: clamp(3.7rem,6.8vw,7.2rem); font-weight: 600; line-height: .88; letter-spacing: -.065em !important; }
.nx-work-controls { display: flex; align-items: center; gap: .65rem; }
.nx-work-controls > span { margin-right: .35rem; color: var(--nx-muted-light); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nx-work-controls button { width: 2.8rem; height: 2.8rem; border: 1px solid var(--nx-line-dark); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .25s ease,color .25s ease,transform .25s var(--nx-ease); }
.nx-work-controls button:hover { background: var(--nx-ink); color: #fff; transform: scale(1.06); }
.nx-work-controls .nx-arrow-link { margin-left: .8rem; }
.nx-selected-work--v2 .nx-project-grid { width: 100%; max-width: none; display: flex; gap: clamp(1rem,2vw,2rem); overflow-x: auto; margin: 0; padding: 0 max(var(--nx-gutter),calc((100vw - var(--nx-max))/2)) 1.5rem; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.nx-selected-work--v2 .nx-project-grid::-webkit-scrollbar { display: none; }
.nx-selected-work--v2 .nx-project-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.nx-selected-work--v2 .nx-project-card { position: relative; flex: 0 0 min(70vw,62rem); scroll-snap-align: center; color: var(--nx-ink); text-decoration: none; cursor: pointer; transform-style: preserve-3d; }
.nx-selected-work--v2 .nx-project-grid.is-dragging .nx-project-card { cursor: grabbing; }
.nx-selected-work--v2 .nx-project-card:focus-visible { outline: 3px solid var(--nx-lime); outline-offset: .45rem; border-radius: 1.35rem; }
.nx-selected-work--v2 .nx-project-card:nth-child(n+2) { flex-basis: min(54vw,46rem); }
.nx-selected-work--v2 .nx-project-card__media { position: relative; aspect-ratio: 16/10; border-radius: 1.35rem; background: #d9ddd8; box-shadow: 0 25px 70px rgba(20,24,28,.12); }
.nx-selected-work--v2 .nx-project-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,6,9,.7),transparent 36%); opacity: .6; transition: opacity .45s ease; }
.nx-selected-work--v2 .nx-project-card__media img { filter: saturate(.9); transform: scale(1.002); }
.nx-selected-work--v2 .nx-project-card:hover img { transform: scale(1.035); filter: saturate(1.07); }
.nx-selected-work--v2 .nx-project-card:hover .nx-project-card__media::after { opacity: .85; }
.nx-project-card__number { position: absolute; z-index: 2; top: 1rem; left: 1rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(5,6,8,.25); color: #fff; font-size: .64rem; backdrop-filter: blur(12px); }
.nx-project-card__view { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; padding: .75rem 1rem; border-radius: .75rem; background: rgba(245,247,250,.94); color: var(--nx-ink); font-size: .67rem; font-weight: 800; transform: translateY(0); opacity: 1; box-shadow: 0 10px 28px rgba(5,6,8,.16); transition: transform .4s var(--nx-ease),background .3s ease,color .3s ease; }
.nx-project-card:hover .nx-project-card__view,.nx-project-card:focus-visible .nx-project-card__view { background: var(--nx-lime); transform: translateY(-.15rem); }
.nx-selected-work--v2 .nx-project-card__meta { padding: 1.1rem .1rem 0; }
.nx-selected-work--v2 .nx-project-card__meta span { font-family: var(--nx-display); font-size: 1.2rem; font-weight: 650; }

/* Connected-system media */
.nx-signal-lab { position: relative; overflow: hidden; padding: clamp(6rem,10vw,10rem) var(--nx-gutter); background: radial-gradient(circle at 75% 20%,rgba(91,65,186,.18),transparent 30%),linear-gradient(145deg,#080a0e,#050608 65%); color: #fff; }
.nx-signal-lab::before { content: ""; 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: 100px 100px; mask-image: radial-gradient(circle at center,black,transparent 77%); opacity: .6; }
.nx-signal-lab__head,.nx-signal-lab__grid { position: relative; width: min(100%,var(--nx-max)); margin-inline: auto; }
.nx-signal-lab__head { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 2rem 5rem; margin-bottom: 3.5rem; }
.nx-signal-lab__head .nx-eyebrow { grid-column: 1/-1; color: var(--nx-cyan); }
.nx-signal-lab__head h2 { max-width: 15ch; margin: 0; font-family: var(--nx-display) !important; font-size: clamp(3.6rem,6.6vw,7.1rem); font-weight: 590; line-height: .89; letter-spacing: -.065em !important; }
.nx-signal-lab__head p { margin: 0; color: rgba(235,239,246,.63); font-size: .95rem; line-height: 1.8; }
.nx-signal-lab__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.1rem; }
.nx-signal-module { position: relative; min-height: 34rem; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 1.4rem; color: #fff; text-decoration: none; background: #090b10; transform-style: preserve-3d; }
.nx-signal-module--local { min-height: 28rem; }
.nx-signal-module img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--nx-ease),filter .6s ease; }
.nx-signal-module::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(3,5,8,.95),transparent 58%); }
.nx-signal-module:hover img { transform: scale(1.045); filter: saturate(1.2); }
.nx-signal-module > div { position: absolute; z-index: 2; inset: auto 1.5rem 1.5rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .7rem 2rem; }
.nx-signal-module span { grid-column: 1/-1; color: var(--nx-lime); font-size: .59rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nx-signal-module strong { max-width: 19ch; font-family: var(--nx-display); font-size: clamp(1.6rem,2.5vw,2.65rem); line-height: 1.02; letter-spacing: -.04em; }
.nx-signal-module small { font-size: .65rem; font-weight: 700; white-space: nowrap; }
.nx-signal-metrics { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.13); border-radius: 1.25rem; overflow: hidden; background: rgba(255,255,255,.035); backdrop-filter: blur(20px); }
.nx-signal-metrics > div { min-height: 9.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.4rem; }
.nx-signal-metrics > div + div { border-left: 1px solid rgba(255,255,255,.13); }
.nx-signal-metrics strong { font-family: var(--nx-display); font-size: clamp(3rem,5vw,5.5rem); font-weight: 550; line-height: .75; letter-spacing: -.07em; }
.nx-signal-metrics strong::after { content: "+"; color: var(--nx-cyan); font-size: .35em; vertical-align: top; }
.nx-signal-metrics span { max-width: 9rem; color: var(--nx-muted); font-size: .64rem; font-weight: 700; line-height: 1.45; text-align: right; text-transform: uppercase; }

/* Homepage legacy sections become a varied editorial story */
body.home .nexus-wrapper > section:not(.nx-selected-work):not(.nx-signal-lab) { position: relative; overflow: hidden; }
body.home #problems,
body.home #process,
body.home #pricing,
body.home #projects,
body.home .nexus-wrapper > section { padding-block: clamp(5rem,9vw,9rem) !important; }
body.home #problems { background: var(--nx-paper) !important; color: var(--nx-ink) !important; }
body.home #problems * { border-color: var(--nx-line-dark) !important; }
body.home #problems h2,body.home #problems h3,body.home #problems p { color: inherit !important; }
body.home #problems .glass-card { background: rgba(255,255,255,.45) !important; box-shadow: 0 12px 45px rgba(22,28,34,.06) !important; }
body.home #process { background: linear-gradient(125deg,#080a0f,#101520) !important; }
body.home #process::after { content: ""; position: absolute; inset: 0 0 0 48%; background: url("nexus-workflow-convergence-v2.avif") center/cover no-repeat; opacity: .21; mask-image: linear-gradient(90deg,transparent,black); pointer-events: none; }
body.home #process > * { position: relative; z-index: 2; }
body.home #projects { display: none !important; }
body.home .nexus-wrapper > section.bg-brand-lime { background: linear-gradient(120deg,var(--nx-lime),#e6ff91 55%,var(--nx-cyan)) !important; }
body.home .nexus-wrapper > section.py-20 { background: #eceee8 !important; color: var(--nx-ink) !important; }
body.home .nexus-wrapper > section.py-20 h2,body.home .nexus-wrapper > section.py-20 p,body.home .nexus-wrapper > section.py-20 a { color: inherit !important; }
body.home .nexus-wrapper > section.py-20::after { content: ""; position: absolute; inset: 0 0 0 55%; background: url("nexus-local-signal-v2.avif") center/cover no-repeat; opacity: .22; mask-image: linear-gradient(90deg,transparent,black); }
body.home .nexus-wrapper > section.py-20 > * { position: relative; z-index: 2; }
body.home .nexus-wrapper h2 { font-family: var(--nx-display) !important; font-weight: 600 !important; letter-spacing: -.055em !important; }
body.home .nexus-wrapper .text-5xl,body.home .nexus-wrapper .text-4xl { font-size: clamp(3.2rem,5.3vw,6rem) !important; line-height: .9 !important; }
body.home .nexus-wrapper .glass-card,body.home .nexus-wrapper .glass-panel { border-radius: 1.15rem !important; backdrop-filter: blur(18px); }

/* Every non-home page gets a modern, media-led opening */
body:not(.home).nexus-premium-v2 .nexus-premium-template > header:first-of-type,
body:not(.home).nexus-premium-v2 .nexus-premium-template > section:first-of-type {
  position: relative;
  min-height: min(760px,88svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(10rem,16vw,13rem) !important;
  padding-bottom: clamp(5rem,9vw,8rem) !important;
  background: radial-gradient(circle at 82% 35%,rgba(70,221,255,.12),transparent 30%),linear-gradient(145deg,#05070a,#0c1018) !important;
}
body:not(.home).nexus-premium-v2 .nexus-premium-template > header:first-of-type::after,
body:not(.home).nexus-premium-v2 .nexus-premium-template > section:first-of-type::after {
  content: "";
  position: absolute;
  inset: 8% 0 0 49%;
  background: url("nexus-kinetic-hero-v2.avif") 72% center/cover no-repeat;
  opacity: .42;
  mask-image: linear-gradient(90deg,transparent 0,black 35%);
  pointer-events: none;
}
body.nexus-page-local-seo-services-uk-trades .nexus-premium-template > section:first-of-type::after,
body.nexus-page-local-areas-we-serve .nexus-premium-template > section:first-of-type::after,
body.nexus-page-local-web-design-seo-kingston-upon-thames .nexus-premium-template > section:first-of-type::after { background-image: url("nexus-local-signal-v2.avif"); opacity: .5; }
body.nexus-page-custom-digital-workflow-implementation-trades .nexus-premium-template > section:first-of-type::after,
body.nexus-page-managed-automated-lead-generation-construction .nexus-premium-template > section:first-of-type::after { background-image: url("nexus-workflow-convergence-v2.avif"); opacity: .48; }
body:not(.home).nexus-premium-v2 .nexus-premium-template > header:first-of-type > .container,
body:not(.home).nexus-premium-v2 .nexus-premium-template > header:first-of-type > .relative,
body:not(.home).nexus-premium-v2 .nexus-premium-template > section:first-of-type > .container,
body:not(.home).nexus-premium-v2 .nexus-premium-template > section:first-of-type > .relative { position: relative; z-index: 2; }
body:not(.home).nexus-premium-v2 .nexus-premium-template h1 { max-width: 11ch; margin-inline: 0; font-family: var(--nx-display) !important; font-size: clamp(4rem,7.4vw,8rem) !important; font-weight: 560 !important; line-height: .86 !important; letter-spacing: -.07em !important; text-align: left; }
body:not(.home).nexus-premium-v2 .nexus-premium-template h1 .text-brand-lime { color: transparent !important; background: linear-gradient(95deg,var(--nx-lime),var(--nx-cyan)); -webkit-background-clip: text; background-clip: text; }

/* Case studies opens with real project proof, not generic decoration */
body.nexus-page-case-studies .nexus-premium-template > section.nx-case-hero {
  position: relative;
  min-height: min(900px,96svh);
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(9.5rem,14vh,11.5rem) 0 clamp(4.5rem,7vw,7rem) !important;
  background:
    radial-gradient(circle at 83% 30%,rgba(70,221,255,.15),transparent 24%),
    radial-gradient(circle at 67% 78%,rgba(140,99,255,.15),transparent 27%),
    linear-gradient(132deg,#050608 0%,#080b11 58%,#0c1019 100%) !important;
}
body.nexus-page-case-studies .nexus-premium-template > section.nx-case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg,transparent 0,black 42%,black 100%);
}
.nx-case-hero__inner {
  width: auto;
  min-height: min(690px,72svh);
  margin-inline: var(--nx-rail-space);
  display: grid;
  grid-template-columns: minmax(25rem,.84fr) minmax(36rem,1.16fr);
  align-items: center;
  gap: clamp(2.5rem,5vw,6rem);
}
.nx-case-hero__copy { position: relative; z-index: 4; }
.nx-case-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: clamp(1.5rem,3vw,2.6rem);
  color: #d8dce3;
  font-family: var(--nx-sans);
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.nx-case-hero__eyebrow i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--nx-lime); box-shadow: 0 0 0 5px rgba(202,255,44,.1),0 0 22px rgba(202,255,44,.48); }
body.nexus-page-case-studies .nexus-premium-template .nx-case-hero h1 {
  max-width: 9.8ch;
  margin: 0;
  font-size: clamp(4rem,5.75vw,6.8rem) !important;
  line-height: .87 !important;
}
.nx-case-hero__copy > p {
  max-width: 34rem;
  margin: clamp(1.6rem,2.5vw,2.35rem) 0 0;
  color: #a8aeb9;
  font-size: clamp(.98rem,1.15vw,1.15rem);
  font-weight: 420;
  line-height: 1.72;
}
.nx-case-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2rem; }
.nx-case-hero__brief { position: relative; padding: .9rem .15rem; color: #f8f9fb; font-size: .72rem; font-weight: 760; letter-spacing: .04em; text-decoration: none; }
.nx-case-hero__brief::after { content: ""; position: absolute; right: 0; bottom: .68rem; left: 0; height: 1px; background: linear-gradient(90deg,var(--nx-cyan),var(--nx-lime)); transform: scaleX(.24); transform-origin: left; transition: transform .45s var(--nx-ease); }
.nx-case-hero__brief:hover::after { transform: scaleX(1); }
.nx-case-hero__proof { max-width: 36rem; display: grid; grid-template-columns: repeat(3,1fr); margin: clamp(2rem,4vw,3.5rem) 0 0; padding: 1.15rem 0 0; border-top: 1px solid rgba(255,255,255,.13); }
.nx-case-hero__proof > div { display: flex; align-items: flex-end; gap: .65rem; min-width: 0; padding-right: .9rem; }
.nx-case-hero__proof dt { color: #fff; font-family: var(--nx-display); font-size: clamp(1.65rem,2.4vw,2.45rem); font-weight: 590; letter-spacing: -.06em; line-height: .82; }
.nx-case-hero__proof dd { margin: 0; color: #7f8793; font-size: .55rem; font-weight: 720; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }

.nx-case-hero__media { position: relative; min-width: 0; min-height: 650px; perspective: 1400px; }
.nx-case-hero__media::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  top: 2%;
  right: 1%;
  border-radius: 50%;
  background: conic-gradient(from 150deg,rgba(202,255,44,.22),rgba(70,221,255,.08),rgba(140,99,255,.18),transparent 70%);
  filter: blur(46px);
  opacity: .66;
  animation: nx-case-glow 11s ease-in-out infinite alternate;
}
.nx-case-hero__orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.nx-case-hero__orbit--one { width: 30rem; height: 30rem; top: 7%; right: 2%; }
.nx-case-hero__orbit--two { width: 21rem; height: 21rem; top: 20%; right: 10%; border-color: rgba(202,255,44,.13); }
.nx-case-shot { position: absolute; display: block; color: #fff; text-decoration: none; transition: border-color .4s ease,box-shadow .55s var(--nx-ease),filter .4s ease; transform-style: preserve-3d; will-change: transform; }
.nx-case-shot figure { position: relative; width: 100%; height: 100%; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 1.35rem; background: #0b0d12; box-shadow: 0 28px 75px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.12); }
.nx-case-shot figure::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg,transparent 45%,rgba(2,3,5,.9) 100%); pointer-events: none; }
.nx-case-shot figure::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.nx-case-shot img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s var(--nx-ease),filter .55s ease; }
.nx-case-shot:hover figure { border-color: rgba(202,255,44,.52); box-shadow: 0 38px 100px rgba(0,0,0,.58),0 0 0 1px rgba(202,255,44,.08); }
.nx-case-shot:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.02); }
.nx-case-shot__index { position: absolute; top: 1rem; left: 1rem; z-index: 4; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(5,6,8,.55); color: #fff; font-size: .58rem; font-weight: 760; letter-spacing: .06em; backdrop-filter: blur(12px); }
.nx-case-shot figcaption { position: absolute; z-index: 4; right: 1.15rem; bottom: 1.1rem; left: 1.15rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .25rem 1rem; }
.nx-case-shot figcaption small { grid-column: 1/-1; color: #b8bec8; font-size: .54rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.nx-case-shot figcaption strong { color: #fff; font-family: var(--nx-display); font-size: clamp(1rem,1.5vw,1.45rem); letter-spacing: -.035em; line-height: 1.05; text-shadow: 0 2px 16px rgba(0,0,0,.62); }
.nx-case-shot figcaption span { align-self: center; color: var(--nx-lime); font-size: .56rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.nx-case-shot--primary { z-index: 2; top: 2.7rem; left: 0; width: 78%; height: 57%; }
.nx-case-shot--primary img { object-position: 50% 52%; }
.nx-case-shot--newin { z-index: 4; top: 12rem; right: 0; width: 42%; height: 39%; }
.nx-case-shot--newin img { object-position: 55% center; }
.nx-case-shot--smyk { z-index: 5; bottom: 1.2rem; left: 8%; width: 49%; height: 31%; }
.nx-case-shot--smyk img { object-position: center; }
.nx-case-shot--secondary figcaption { right: .85rem; bottom: .8rem; left: .85rem; }
.nx-case-shot--secondary figcaption strong { font-size: clamp(.9rem,1.2vw,1.2rem); }
.nx-case-shot--secondary figcaption small { font-size: .48rem; }
.nx-case-shot--secondary figcaption span { font-size: .5rem; }
.nx-case-shot--secondary .nx-case-shot__index { top: .7rem; left: .7rem; width: 1.9rem; height: 1.9rem; font-size: .5rem; }
.nx-case-hero__stamp { position: absolute; z-index: 6; right: 1.2%; bottom: 2rem; width: 9.4rem; height: 9.4rem; display: grid; place-content: center; gap: .25rem; border: 1px solid rgba(202,255,44,.36); border-radius: 50%; background: rgba(5,6,8,.68); text-align: center; box-shadow: 0 20px 55px rgba(0,0,0,.35); backdrop-filter: blur(20px); animation: nx-case-float 5.5s ease-in-out infinite; }
.nx-case-hero__stamp span,.nx-case-hero__stamp small { color: #a7aeb8; font-size: .48rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nx-case-hero__stamp strong { color: var(--nx-lime); font-family: var(--nx-display); font-size: 2.4rem; font-weight: 450; line-height: .9; }
.nx-case-study-grid { scroll-margin-top: 6rem; padding-top: clamp(4rem,7vw,6.5rem) !important; }
body.nexus-page-case-studies .nx-case-filters::before { content: "Filter by"; align-self: center; margin-right: .5rem; color: #727986; font-size: .56rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
@keyframes nx-case-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes nx-case-glow { from { transform: translate3d(-2%,0,0) scale(.94); } to { transform: translate3d(3%,2%,0) scale(1.07); } }

/* Individual case studies: project-specific, media-led openings */
.nx-project-hero {
  --nx-project-accent: var(--nx-lime);
  --nx-project-accent-2: var(--nx-cyan);
  --nx-project-screen-bg: #eef0ed;
  position: relative;
  min-height: max(780px,100svh) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(9rem,14vh,11rem) 0 2rem !important;
  background:
    radial-gradient(circle at 82% 28%,color-mix(in srgb,var(--nx-project-accent-2) 18%,transparent),transparent 28%),
    radial-gradient(circle at 70% 82%,color-mix(in srgb,var(--nx-project-accent) 10%,transparent),transparent 30%),
    linear-gradient(135deg,#050608,#090c13 60%,#0b1019) !important;
}
.nx-project-hero--smyk { --nx-project-accent: #b4a2ff; --nx-project-accent-2: #46ddff; }
.nx-project-hero--lg-groundworks { --nx-project-accent: #ff8a33; --nx-project-accent-2: #caff2c; }
.nx-project-hero--newin { --nx-project-accent: #ff9f7a; --nx-project-accent-2: #d8ff5d; }
body:not(.home).nexus-premium-v2 .nexus-premium-template > header.nx-project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: clamp(72px,8vw,128px) clamp(72px,8vw,128px);
  mask-image: linear-gradient(90deg,black,transparent 74%);
}
.nx-project-hero__inner {
  width: auto;
  min-height: min(610px,70svh);
  margin-inline: var(--nx-rail-space);
  display: grid;
  grid-template-columns: minmax(25rem,.76fr) minmax(38rem,1.24fr);
  align-items: center;
  gap: clamp(2.5rem,5vw,6rem);
}
.nx-project-hero__copy { position: relative; z-index: 4; min-width: 0; }
.nx-project-hero__topline { display: flex; align-items: center; justify-content: space-between; max-width: 33rem; margin-bottom: clamp(1.6rem,3vw,2.6rem); padding-bottom: .9rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.nx-project-hero__topline a,.nx-project-hero__topline span { color: #89909c; font-size: .54rem; font-weight: 780; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.nx-project-hero__topline a { transition: color .3s ease; }
.nx-project-hero__topline a:hover { color: var(--nx-project-accent); }
.nx-project-hero__eyebrow { display: inline-flex; align-items: center; gap: .65rem; color: #d5dae2; font-size: .62rem; font-weight: 750; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.nx-project-hero__eyebrow i { width: .52rem; height: .52rem; flex: 0 0 auto; border-radius: 50%; background: var(--nx-project-accent); box-shadow: 0 0 0 5px color-mix(in srgb,var(--nx-project-accent) 10%,transparent),0 0 20px color-mix(in srgb,var(--nx-project-accent) 58%,transparent); }
body:not(.home).nexus-premium-v2 .nexus-premium-template .nx-project-hero h1 { display: flex; flex-direction: column; max-width: 9.5ch; margin: 1.35rem 0 0; font-size: clamp(4.2rem,6.15vw,7.1rem) !important; line-height: .84 !important; letter-spacing: -.075em !important; }
.nx-project-hero h1 .nx-gradient-text { background: linear-gradient(95deg,var(--nx-project-accent),var(--nx-project-accent-2)); -webkit-background-clip: text; background-clip: text; }
.nx-project-hero__copy > p { max-width: 35rem; margin: 1.65rem 0 0; color: #a9b0bc; font-size: clamp(.98rem,1.15vw,1.14rem); line-height: 1.7; }
.nx-project-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.nx-project-hero__next { position: relative; padding: .85rem 0; color: #f4f6f9; font-size: .68rem; font-weight: 780; letter-spacing: .045em; text-decoration: none; }
.nx-project-hero__next::after { content: ""; position: absolute; right: 0; bottom: .6rem; left: 0; height: 1px; background: linear-gradient(90deg,var(--nx-project-accent),var(--nx-project-accent-2)); transform: scaleX(.22); transform-origin: left; transition: transform .4s var(--nx-ease); }
.nx-project-hero__next:hover::after { transform: scaleX(1); }

.nx-project-hero__visual { position: relative; min-width: 0; min-height: 560px; perspective: 1400px; }
.nx-project-hero__visual::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; top: 5%; right: 3%; border-radius: 50%; background: conic-gradient(from 155deg,color-mix(in srgb,var(--nx-project-accent) 22%,transparent),color-mix(in srgb,var(--nx-project-accent-2) 16%,transparent),transparent 68%); filter: blur(45px); opacity: .78; animation: nx-case-glow 10s ease-in-out infinite alternate; }
.nx-project-screen { position: absolute; z-index: 2; inset: 1rem 0 3.8rem 0; display: grid; grid-template-rows: 3rem 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 1.45rem; background: var(--nx-project-screen-bg); color: #fff; text-decoration: none; box-shadow: 0 38px 110px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.12); transform-style: preserve-3d; transition: border-color .45s ease,box-shadow .55s var(--nx-ease); will-change: transform; }
.nx-project-screen:hover { border-color: color-mix(in srgb,var(--nx-project-accent) 60%,white 8%); box-shadow: 0 48px 130px rgba(0,0,0,.63),0 0 48px color-mix(in srgb,var(--nx-project-accent-2) 9%,transparent); }
.nx-project-screen__chrome { position: relative; z-index: 4; display: flex; align-items: center; gap: .45rem; padding: 0 1rem; background: rgba(8,10,14,.96); border-bottom: 1px solid rgba(255,255,255,.11); }
.nx-project-screen__chrome i { width: .52rem; height: .52rem; border-radius: 50%; background: #ff5c5c; }
.nx-project-screen__chrome i:nth-child(2) { background: #ffc14a; }.nx-project-screen__chrome i:nth-child(3) { background: #58d47b; }
.nx-project-screen__chrome small { margin-left: .5rem; color: #7f8792; font-size: .52rem; font-weight: 720; letter-spacing: .07em; }
.nx-project-screen img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: cover; object-position: center; transition: transform 1s var(--nx-ease),filter .5s ease; }
.nx-project-hero--express .nx-project-screen img,.nx-project-hero--smyk .nx-project-screen img { object-fit: contain; }
.nx-project-screen:hover img { transform: scale(1.025); filter: saturate(1.06) contrast(1.015); }
.nx-project-screen__open { position: absolute; z-index: 5; right: 1rem; bottom: 1rem; padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(5,6,8,.72); color: var(--nx-project-accent); font-size: .52rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(14px); }
.nx-project-hero__note { position: absolute; z-index: 5; right: -1.3rem; bottom: 0; width: 9.6rem; height: 9.6rem; display: grid; place-content: center; gap: .22rem; border: 1px solid color-mix(in srgb,var(--nx-project-accent) 42%,transparent); border-radius: 50%; background: rgba(5,6,8,.8); text-align: center; box-shadow: 0 20px 55px rgba(0,0,0,.42); backdrop-filter: blur(18px); animation: nx-case-float 5.5s ease-in-out infinite; }
.nx-project-hero__note span,.nx-project-hero__note small { color: #9098a4; font-size: .46rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nx-project-hero__note strong { color: var(--nx-project-accent); font-family: var(--nx-display); font-size: 2.35rem; font-weight: 520; line-height: .88; }
.nx-project-hero__proof { width: auto; margin: 1.4rem var(--nx-rail-space) 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.14); }
.nx-project-hero__proof > div { min-height: 5.7rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; padding: 1rem 1rem .25rem 0; }
.nx-project-hero__proof > div + div { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.11); }
.nx-project-hero__proof dt { color: var(--nx-project-accent); font-family: var(--nx-display); font-size: clamp(1.1rem,1.55vw,1.45rem); font-weight: 590; letter-spacing: -.035em; }
.nx-project-hero__proof dd { max-width: 7.5rem; margin: 0; color: #777f8b; font-size: .48rem; font-weight: 780; letter-spacing: .08em; line-height: 1.35; text-align: right; text-transform: uppercase; }
.nx-project-hero__scroll { position: absolute; z-index: 6; right: var(--nx-rail-space); bottom: 2.25rem; display: none; align-items: center; gap: .6rem; color: #777f8b; font-size: .5rem; font-weight: 780; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.nx-project-hero__scroll span { width: 2.5rem; height: 1px; background: linear-gradient(90deg,var(--nx-project-accent),transparent); }
#project-story { scroll-margin-top: 5rem; }

/* Global cards, imagery and page rhythm */
.nexus-premium-v2 .nexus-premium-template section { border-color: rgba(255,255,255,.1) !important; }
.nexus-premium-v2 .nexus-premium-template section:nth-of-type(even) { background-image: radial-gradient(circle at 85% 20%,rgba(140,99,255,.09),transparent 29%) !important; }
.nexus-premium-v2 .nexus-premium-template .glass-card,
.nexus-premium-v2 .nexus-premium-template .glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 1.2rem !important;
  background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.05),0 22px 60px rgba(0,0,0,.14) !important;
}
.nexus-premium-v2 .nexus-premium-template .glass-card::before,
.nexus-premium-v2 .nexus-premium-template .glass-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--nx-card-x,50%) var(--nx-card-y,50%),rgba(70,221,255,.14),transparent 42%); opacity: 0; transition: opacity .35s ease; }
.nexus-premium-v2 .nexus-premium-template .glass-card:hover::before,
.nexus-premium-v2 .nexus-premium-template .glass-panel:hover::before { opacity: 1; }
.nexus-premium-v2 .nexus-premium-template .glass-card:hover,
.nexus-premium-v2 .nexus-premium-template .glass-panel:hover { border-color: rgba(70,221,255,.4) !important; background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035)) !important; box-shadow: 0 28px 80px rgba(0,0,0,.25) !important; }
.nexus-premium-v2 .nexus-premium-template img { image-rendering: auto; }
.nexus-premium-v2 .nexus-premium-template .overflow-hidden img { transition: transform .9s var(--nx-ease),filter .6s ease; }
.nexus-premium-v2 .nexus-premium-template .overflow-hidden:hover img { transform: scale(1.035); filter: saturate(1.08); }

/* Plain service pages: cinematic hero plus interactive bento content */
body.nexus-premium-v2.nexus-plain-service main {
  position: relative;
  padding-top: 7rem;
  background-color: var(--nx-ink);
  background-image: linear-gradient(90deg,rgba(5,6,8,.99) 0%,rgba(5,6,8,.92) 42%,rgba(5,6,8,.26) 74%,rgba(5,6,8,.08)),url("nexus-workflow-convergence-v2.avif");
  background-repeat: no-repeat;
  background-position: center top,right 1rem;
  background-size: 100% 760px,min(68vw,1100px) auto;
}
body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades main {
  background-image: linear-gradient(90deg,rgba(5,6,8,.99) 0%,rgba(5,6,8,.92) 42%,rgba(5,6,8,.25) 74%,rgba(5,6,8,.08)),url("nexus-local-signal-v2.avif");
}

body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq {
	grid-column: 1 / -1;
	min-height: 0;
}

body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq__grid article {
	padding: clamp(1rem, 2vw, 1.5rem);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 1rem;
	background: rgba(255, 255, 255, .025);
}

body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq__grid h4 {
	margin: 0 0 .55rem;
	color: #fff;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.25;
	letter-spacing: -.015em;
}

body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq__grid p {
	margin: 0;
}

body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq__source {
	margin-top: 1.25rem;
}

@media (max-width: 720px) {
	body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .nx-local-seo-faq__grid {
		grid-template-columns: 1fr;
	}
}
body.nexus-premium-v2.nexus-plain-service .page-header {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(5rem,8vw,8rem);
  padding-bottom: clamp(5rem,8vw,8rem);
}
body.nexus-premium-v2.nexus-plain-service .page-header::before { color: var(--nx-cyan); text-shadow: 0 0 22px rgba(70,221,255,.3); }
body.nexus-premium-v2.nexus-plain-service main h1 {
  max-width: 11ch;
  font-family: var(--nx-display) !important;
  font-size: clamp(4rem,7.6vw,8rem) !important;
  font-weight: 560;
  line-height: .85 !important;
  letter-spacing: -.075em;
}
body.nexus-premium-v2.nexus-plain-service .page-content { gap: 1.1rem; }
body.nexus-premium-v2.nexus-plain-service .nx-service-rail { margin-bottom: 1.4rem; border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; overflow: hidden; background: rgba(255,255,255,.035); backdrop-filter: blur(18px); }
body.nexus-premium-v2.nexus-plain-service .page-content > section:not(.nx-related) {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.14);
  border-radius: 1.2rem;
  background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow: inset 0 1px rgba(255,255,255,.04),0 24px 60px rgba(0,0,0,.13);
  transition: transform .5s var(--nx-ease),border-color .35s ease,background .35s ease;
}
body.nexus-premium-v2.nexus-plain-service .page-content > section:not(.nx-related):hover { transform: translateY(-5px); border-color: rgba(70,221,255,.42); background: linear-gradient(145deg,rgba(70,221,255,.1),rgba(140,99,255,.035)); }
body.nexus-premium-v2.nexus-plain-service .page-content > section:first-of-type:not(.nx-related) { background: radial-gradient(circle at 88% 15%,rgba(70,221,255,.7),transparent 28%),linear-gradient(120deg,var(--nx-lime),#dcff77 52%,#7feeea); color: var(--nx-ink); }
body.nexus-premium-v2.nexus-plain-service .page-content h2 { font-family: var(--nx-display) !important; font-weight: 590; letter-spacing: -.06em; }
body.nexus-premium-v2.nexus-plain-service .page-content h3 { font-family: var(--nx-display); font-weight: 570; letter-spacing: -.045em; }
body.nexus-premium-v2.nexus-plain-service .page-content > section:not(:first-of-type):not(.nx-related)::after { content: ""; position: absolute; right: -3rem; bottom: -3rem; width: 8rem; height: 8rem; border: 1px solid rgba(70,221,255,.18); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(140,99,255,.025),0 0 0 3rem rgba(70,221,255,.018); pointer-events: none; }

/* Reveal system: content remains visible when JS is absent */
.nx-v2-ready [data-nx-reveal],
.nx-v2-ready .nx-reveal-target {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0,2.25rem,0) scale(.988);
  transition: opacity .8s ease,transform 1s var(--nx-ease),filter .85s ease;
  transition-delay: calc(var(--nx-reveal-order,0) * .055s);
}
.nx-v2-ready .nx-reveal-target.nx-reveal--left { transform: translate3d(-2rem,1rem,0) scale(.992); }
.nx-v2-ready .nx-reveal-target.nx-reveal--scale { transform: translate3d(0,1.2rem,0) scale(.96); }
.nx-v2-ready [data-nx-reveal].is-visible,
.nx-v2-ready .nx-reveal-target.is-visible { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }

/* Related content and richer page endings */
.nx-related { position: relative; overflow: hidden; background: radial-gradient(circle at 75% 20%,rgba(70,221,255,.1),transparent 24%),#07090d; }
.nx-related h2 { font-family: var(--nx-display) !important; font-weight: 580; letter-spacing: -.055em !important; }
.nx-related__links a { border-radius: 1.05rem; background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); }
.nx-related__links a:hover { border-color: rgba(70,221,255,.4); background: linear-gradient(145deg,rgba(70,221,255,.11),rgba(140,99,255,.045)); }
.nx-service-feature { background: var(--nx-paper); }
.nx-service-feature__copy h2 { font-family: var(--nx-display) !important; font-weight: 600; letter-spacing: -.06em !important; }
.nx-service-feature__media { border-radius: 1.2rem; box-shadow: 0 30px 90px rgba(11,15,20,.12); }

/* Footer becomes a final visual event */
.nx-footer { overflow: hidden; background: #050608; }
.nx-footer-cta { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 15%,rgba(70,221,255,.75),transparent 26%),linear-gradient(115deg,var(--nx-lime),#dfff74 48%,#8af2e9 75%,var(--nx-violet)); }
.nx-footer-cta::after { content: ""; position: absolute; right: -8vw; bottom: -35%; width: 48vw; aspect-ratio: 1; border: 1px solid rgba(5,6,8,.18); border-radius: 50%; box-shadow: 0 0 0 5vw rgba(255,255,255,.08),0 0 0 10vw rgba(255,255,255,.05); }
.nx-footer-cta > * { position: relative; z-index: 2; }
.nx-footer-cta h2 { font-family: var(--nx-display) !important; font-weight: 600; letter-spacing: -.07em !important; }
.nx-footer-cta h2 em { font-family: inherit; font-style: normal; color: rgba(5,6,8,.52); }
.nx-footer-main { position: relative; }
.nx-footer-main::before { content: "NEXUS"; position: absolute; left: var(--nx-gutter); bottom: -2.5rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.04); font-family: var(--nx-display); font-size: clamp(8rem,20vw,20rem); font-weight: 700; pointer-events: none; }

/* Planner and mobile menu inherit the glass system */
.nx-mobile-menu { background: radial-gradient(circle at 80% 15%,rgba(70,221,255,.13),transparent 30%),#06080c; }
.nx-mobile-menu__links a { font-weight: 580; letter-spacing: -.05em; }
.nx-planner__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46rem,100%);
  background: #eff1ec;
  clip-path: inset(0 0 0 100%);
  transform: none;
  transition: clip-path .55s var(--nx-ease);
}
.nx-planner[aria-hidden="false"] .nx-planner__panel { clip-path: inset(0); transform: none; }
.nx-planner { overflow: hidden; contain: layout paint; }
.nx-planner__panel h2 { font-weight: 600; letter-spacing: -.06em; }
.nx-value-planner__result { background: linear-gradient(115deg,var(--nx-lime),var(--nx-cyan)); }

/* Final detail pass: restrained motion, tactile surfaces and scroll accents */
.nx-section-motion { position: relative; }
.nx-section-edge {
  position: absolute !important;
  z-index: 8;
  top: 0;
  left: var(--nx-rail-space);
  right: var(--nx-rail-space);
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(255,255,255,.055);
}
.nx-section-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,var(--nx-lime),var(--nx-cyan) 58%,var(--nx-violet));
  box-shadow: 0 0 18px rgba(70,221,255,.36);
  transform: scaleX(var(--nx-section-progress,0));
  transform-origin: left;
  transition: transform .12s linear;
}
body.nexus-plain-service .page-header > .nx-section-edge,
body.nexus-plain-service .page-content > section > .nx-section-edge,
.nexus-premium-template > .container > .nx-section-edge,
.nx-footer-main > .nx-section-edge { left: 0; right: 0; }

.nx-hover-surface {
  --nx-surface-lift: 0px;
  position: relative;
  isolation: isolate;
  transition: transform .55s var(--nx-ease),border-color .35s ease,box-shadow .55s var(--nx-ease),filter .4s ease !important;
}
.nx-hover-surface:focus-within { border-color: rgba(202,255,44,.55) !important; box-shadow: 0 0 0 4px rgba(202,255,44,.08),0 24px 70px rgba(0,0,0,.2); }

.nx-media-frame { position: relative; overflow: hidden; isolation: isolate; }
.nx-media-sheen {
  position: absolute !important;
  z-index: 6;
  inset: -55% -80%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg,transparent 37%,rgba(255,255,255,.18) 49%,rgba(70,221,255,.14) 52%,transparent 64%);
  transform: translate3d(-38%,0,0) rotate(7deg);
}

.nx-pressable { transform-origin: center; transition: transform .32s var(--nx-ease),box-shadow .35s ease,background-color .3s ease,border-color .3s ease !important; }
.nx-pressable.is-pressed,.nx-pressable:active { transform: translateY(1px) scale(.975) !important; transition-duration: .09s !important; }
.nx-button > span:last-child,
.nx-related__links a > span:last-child,
.nx-contact-options__grid > * > span:last-child,
.nx-project-card__meta b { display: inline-block; transition: transform .35s var(--nx-ease); }
.nx-button:hover > span:last-child,
.nx-related__links a:hover > span:last-child,
.nx-contact-options__grid > *:hover > span:last-child,
.nx-project-card:hover .nx-project-card__meta b { transform: translate3d(.28rem,-.08rem,0); }

.nx-nav { transition: height .35s var(--nx-ease),inset .35s var(--nx-ease),background .35s ease,border-color .35s ease,box-shadow .45s ease,transform .45s var(--nx-ease); }
body[data-nx-scroll-direction="down"] .nx-nav.is-scrolled { transform: translate3d(0,-.12rem,0); }
body[data-nx-scroll-direction="up"] .nx-nav.is-scrolled { transform: translate3d(0,0,0); }
.nx-nav__link { transition: color .25s ease,transform .35s var(--nx-ease); }
.nx-nav__link:hover { transform: translateY(-1px); }
.nx-brand { transition: transform .4s var(--nx-ease),filter .35s ease; }
.nx-brand:hover { transform: translateY(-1px); filter: drop-shadow(0 0 12px rgba(70,221,255,.25)); }
.nx-brand-dot { transition: color .3s ease,text-shadow .35s ease,transform .4s var(--nx-ease); }
.nx-brand:hover .nx-brand-dot { color: var(--nx-lime); text-shadow: 0 0 18px rgba(202,255,44,.7); }

.nx-related__links a,
.nx-contact-options__grid > *,
.nx-curated-insights__grid > a { transition: transform .5s var(--nx-ease),border-color .35s ease,background .35s ease,box-shadow .5s var(--nx-ease); }
.nx-related__links a:hover,
.nx-contact-options__grid > *:hover,
.nx-curated-insights__grid > a:hover { transform: translateY(-5px); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.nx-case-filters button { transition: transform .35s var(--nx-ease),background .3s ease,color .3s ease,border-color .3s ease,box-shadow .35s ease; }
.nx-case-filters button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(202,255,44,.12); }

.nx-footer-main a,
.nx-footer-base a { position: relative; transition: color .28s ease,opacity .28s ease,transform .35s var(--nx-ease); }
.nx-footer-main a:hover,
.nx-footer-base a:hover { color: var(--nx-cyan); transform: translateX(.18rem); }
.nx-footer-cta .nx-button:hover { box-shadow: 0 22px 60px rgba(5,6,8,.2); }

body.nexus-premium-v2 input:not([type="hidden"]),
body.nexus-premium-v2 select,
body.nexus-premium-v2 textarea {
  transition: border-color .3s ease,background-color .3s ease,box-shadow .35s ease,transform .35s var(--nx-ease);
}
body.nexus-premium-v2 input:not([type="hidden"]):hover,
body.nexus-premium-v2 select:hover,
body.nexus-premium-v2 textarea:hover { border-color: rgba(70,221,255,.48) !important; }
body.nexus-premium-v2 input:not([type="hidden"]):focus,
body.nexus-premium-v2 select:focus,
body.nexus-premium-v2 textarea:focus { border-color: var(--nx-cyan) !important; box-shadow: 0 0 0 4px rgba(70,221,255,.1),0 14px 40px rgba(0,0,0,.12); transform: translateY(-1px); }

@media (hover:hover) and (pointer:fine) {
  .nx-v2-ready .nx-reveal-target.is-visible.nx-hover-surface:hover,
  .nx-hover-surface:hover {
    transform: translate3d(0,-5px,0);
    filter: saturate(1.045);
    box-shadow: 0 28px 80px rgba(0,0,0,.24),0 0 0 1px rgba(70,221,255,.08);
  }
  .nx-media-frame:hover .nx-media-sheen { animation: nx-media-sheen .95s var(--nx-ease) both; }
  @keyframes nx-media-sheen {
    0% { opacity: 0; transform: translate3d(-38%,0,0) rotate(7deg); }
    24% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(38%,0,0) rotate(7deg); }
  }
}

/* One shared alignment rail: navbar brand → page content → footer → navbar CTA */
body.nexus-premium-v2 .nexus-premium-template .container {
  width: auto !important;
  max-width: none !important;
  margin-inline: var(--nx-rail-space) !important;
  padding-inline: 0 !important;
}

body.nexus-premium-v2 .nexus-premium-template > section:has(> .container),
body.nexus-premium-v2 .nexus-premium-template > header:has(> .container) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.nexus-premium-v2 .nexus-premium-template > section > .container,
body.nexus-premium-v2 .nexus-premium-template > header > .container {
  width: calc(100% - var(--nx-rail-space) - var(--nx-rail-space)) !important;
  flex: 0 0 auto;
}

.nx-hero-v2 {
  padding: clamp(9rem,14vh,11rem) 0 2rem !important;
}
body.home.nexus-premium-v2 .nexus-premium-template > header.nx-hero-v2 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.nx-hero-v2__grid,
.nx-hero-v2__rail,
.nx-selected-work--v2 .nx-selected-work__head,
.nx-signal-lab__head,
.nx-signal-lab__grid,
.nx-related > div,
.nx-curated-insights__head,
.nx-curated-insights__grid,
.nx-contact-options__head,
.nx-contact-options__grid,
.nx-contact-options > p,
.nx-footer-main,
.nx-footer-base {
  width: auto;
  max-width: none;
  margin-inline: var(--nx-rail-space);
}

.nx-hero-v2__grid { margin-top: auto; margin-bottom: 4.5rem; }
.nx-hero-v2__rail { margin-top: 0; margin-bottom: 0; }
body.home.nexus-premium-v2 .nx-hero-v2__grid,
body.home.nexus-premium-v2 .nx-hero-v2__rail {
  margin-left: max(0px,calc(var(--nx-rail-space) - var(--nx-gutter)));
  margin-right: max(0px,calc(var(--nx-rail-space) - var(--nx-gutter)));
}
.nx-hero-v2__scroll { right: var(--nx-rail-space); }
.nx-selected-work,
.nx-signal-lab,
.nx-related,
.nx-curated-insights,
.nx-contact-options {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.nx-selected-work--v2 .nx-selected-work__head { padding-inline: 0; }
.nx-selected-work--v2 .nx-project-grid { padding-left: var(--nx-rail-space); padding-right: var(--nx-rail-space); }
.nx-service-feature { padding-inline: var(--nx-rail-space); }
.nx-tool-breadcrumb { width: auto; margin: 0 var(--nx-rail-space) -7rem; padding-inline: 0; }
.nx-case-filters { width: 100%; max-width: none !important; margin-left: 0; margin-right: 0; padding-inline: 0; }
.nx-case-nav > a:first-child { padding-left: var(--nx-rail-space); }
.nx-case-nav > a:last-child { padding-right: var(--nx-rail-space); }
.nx-footer-cta { padding-left: var(--nx-rail-space); padding-right: var(--nx-rail-space); }
.nx-footer-main { padding-left: 0; padding-right: 0; }
.nx-footer-base { padding-left: 0; padding-right: 0; }
.nx-footer-main::before { left: 0; }

body.nexus-premium-v2.nexus-plain-service .page-header,
body.nexus-premium-v2.nexus-plain-service .page-content,
body.nexus-premium-v2.nexus-page-custom-digital-workflow-implementation-trades .page-header,
body.nexus-premium-v2.nexus-page-custom-digital-workflow-implementation-trades .page-content,
body.nexus-premium-v2.nexus-page-managed-automated-lead-generation-construction .page-header,
body.nexus-premium-v2.nexus-page-managed-automated-lead-generation-construction .page-content,
body.nexus-premium-v2.nexus-page-ai-web-design-trade-contractors .page-header,
body.nexus-premium-v2.nexus-page-ai-web-design-trade-contractors .page-content,
body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .page-header,
body.nexus-premium-v2.nexus-page-local-seo-services-uk-trades .page-content {
  width: auto !important;
  max-width: none !important;
  margin-left: var(--nx-rail-space) !important;
  margin-right: var(--nx-rail-space) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.nexus-premium-v2.nexus-plain-service main {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 1100px) {
  .nx-nav__inner { grid-template-columns: 190px 1fr 190px; }
  .nx-nav__desktop { gap: .8rem; }
  .nx-nav__link { font-size: .6rem; }
  .nx-hero-v2__grid { grid-template-columns: 1fr .72fr; gap: 2rem; }
  .nx-hero-v2__signal-card { max-width: 18rem; }
  .nx-home-showcase { min-height: 450px; }
  .nx-signal-lab__grid { grid-template-columns: 1fr 1fr; }
  body.nexus-page-case-studies .nexus-premium-template > section.nx-case-hero { min-height: auto; }
  .nx-case-hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 2.5rem; }
  .nx-case-hero__copy { max-width: 48rem; }
  .nx-case-hero__media { width: min(100%,52rem); min-height: 650px; margin-inline: auto; }
  body:not(.home).nexus-premium-v2 .nexus-premium-template > header.nx-project-hero { min-height: auto !important; }
  .nx-project-hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 2.6rem; }
  .nx-project-hero__copy { max-width: 48rem; }
  .nx-project-hero__visual { width: min(100%,52rem); min-height: 560px; margin-inline: auto; }
}

@media (max-width: 900px) {
  :root { --nx-rail-edge: 1.15rem; }
  .nx-cursor-halo { display: none; }
  .nx-nav { inset-inline: .6rem auto !important; width: calc(100vw - 1.2rem); padding-inline: .55rem; }
  .nx-nav__inner { grid-template-columns: 1fr auto; }
  .nx-nav__desktop { display: none; }
  .nx-nav__actions { grid-column: 2; }
  .nx-nav__menu { display: block; }
  .nx-hero-v2 { min-height: 1180px !important; }
  .nx-hero-v2::before { background: linear-gradient(90deg,rgba(4,6,9,.98),rgba(4,6,9,.58)),linear-gradient(0deg,rgba(4,6,9,.95),transparent 55%); }
  .nx-hero-v2__art > img { object-position: 62% center; opacity: .82; }
  .nx-hero-v2__grid { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .nx-hero-v2__signal-card { max-width: 22rem; }
  .nx-home-showcase { width: min(100%,43rem); min-height: 500px; margin-inline: auto; }
  .nx-hero-v2__rail { grid-template-columns: 1fr 1fr; }
  .nx-hero-v2__rail span { border-top: 1px solid rgba(255,255,255,.08); }
  .nx-hero-v2__scroll { display: none; }
  .nx-selected-work__head { align-items: flex-start; flex-direction: column; }
  .nx-selected-work--v2 .nx-project-card,.nx-selected-work--v2 .nx-project-card:nth-child(n+2) { flex-basis: min(84vw,44rem); }
  .nx-signal-lab__head { grid-template-columns: 1fr; }
  .nx-signal-lab__head .nx-eyebrow { grid-column: auto; }
  .nx-signal-lab__grid { grid-template-columns: 1fr; }
  .nx-signal-module { min-height: 27rem; }
  .nx-signal-metrics { grid-template-columns: 1fr; }
  .nx-signal-metrics > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  body:not(.home).nexus-premium-v2 .nexus-premium-template > header:first-of-type::after,
  body:not(.home).nexus-premium-v2 .nexus-premium-template > section:first-of-type::after { inset-inline-start: 25%; opacity: .25; }
  body.nexus-page-case-studies .nexus-premium-template > section.nx-case-hero { padding-top: 8.5rem !important; padding-bottom: 4rem !important; }
  body.nexus-page-case-studies .nexus-premium-template > section.nx-case-hero::after { inset: 0; opacity: .2; }
  .nx-case-hero__media { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
  .nx-case-hero__media::before { width: 90%; top: 10%; right: 0; }
  .nx-case-hero__orbit,.nx-case-hero__stamp { display: none; }
  .nx-case-shot,.nx-case-shot--primary,.nx-case-shot--newin,.nx-case-shot--smyk { position: relative; inset: auto; width: auto; height: auto; }
  .nx-case-shot--primary { grid-column: 1/-1; aspect-ratio: 16/9; }
  .nx-case-shot--secondary { aspect-ratio: 4/3; }
  .nx-case-shot figcaption span { display: none; }
  body:not(.home).nexus-premium-v2 .nexus-premium-template > header.nx-project-hero::after { inset: 0; opacity: .18; }
  .nx-project-hero__visual { min-height: 520px; }
  .nx-project-hero__proof { grid-template-columns: repeat(2,1fr); }
  .nx-project-hero__proof > div:nth-child(3) { border-left: 0; }
  .nx-project-hero__proof > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.11); }
}

@media (max-width: 640px) {
  .nx-media-sheen { display: none; }
  .nexus-premium-template [class*="-skew-x-12"][class*="-translate-x-full"] { display: none; }
  body.nexus-page-contact .nexus-premium-template .animate-blob {
    left: 10% !important;
    right: auto !important;
    width: 80vw !important;
    height: 80vw !important;
    animation: none !important;
    transform: none !important;
  }
  .nx-nav { height: 4.05rem; padding-inline: .55rem; border-radius: 1rem; }
  .nx-nav__planner { min-width: auto; min-height: 2.85rem; padding-inline: .8rem; font-size: .62rem; }
  .nx-nav__menu { width: 2.85rem; height: 2.85rem; }
  .nx-brand-sub { display: none; }
  .nx-hero-v2 { min-height: 1090px !important; padding-top: 7.6rem !important; }
  .nx-hero-v2 h1 { font-size: clamp(3.15rem,13.7vw,4.8rem) !important; line-height: .86 !important; }
  .nx-hero-v2 h1 { width: 100%; max-width: 100% !important; min-width: 0; }
  .nx-hero-v2__eyebrow { max-width: 25rem; line-height: 1.5; }
  .nx-hero-v2__copy > p { font-size: .91rem; line-height: 1.65; }
  .nx-hero-v2__actions { display: grid; grid-template-columns: 1fr; }
  .nx-hero-v2__actions .nx-button { width: 100%; }
  .nx-hero-v2__signal-card { display: none; }
  .nx-home-showcase { min-height: 330px; }
  .nx-home-showcase__project { border-radius: .9rem; }
  .nx-home-showcase__project--primary { width: 94%; height: 68%; }
  .nx-home-showcase__project--secondary { width: 58%; height: 45%; }
  .nx-home-showcase__project > span { right: .7rem; bottom: .65rem; left: .7rem; }
  .nx-home-showcase__project small { font-size: .42rem; }
  .nx-home-showcase__project strong { font-size: .82rem; }
  .nx-home-showcase__project b { display: none; }
  .nx-home-showcase__count { top: .55rem; width: 5.25rem; height: 5.25rem; }
  .nx-home-showcase__count strong { font-size: 1.5rem; }
  .nx-home-showcase__count small { font-size: .38rem; }
  .nx-hero-v2__rail span { padding: 1rem .5rem .25rem 0; font-size: .53rem; }
  .nx-selected-work--v2 .nx-selected-work__head h2,.nx-signal-lab__head h2 { font-size: clamp(3rem,14vw,4.5rem); }
  .nx-work-controls { width: 100%; flex-wrap: wrap; }
  .nx-work-controls .nx-arrow-link { margin-left: auto; }
  .nx-selected-work--v2 .nx-project-card,.nx-selected-work--v2 .nx-project-card:nth-child(n+2) { flex-basis: 87vw; }
  .nx-selected-work--v2 .nx-project-card__media { aspect-ratio: 4/3; }
  .nx-project-card__view { opacity: 1; transform: none; }
  .nx-signal-module { min-height: 22rem; }
  .nx-signal-module > div { inset: auto 1rem 1rem; grid-template-columns: 1fr; }
  .nx-signal-module strong { font-size: 1.6rem; }
  .nx-signal-metrics > div { min-height: 7rem; }
  body:not(.home).nexus-premium-v2 .nexus-premium-template > header:first-of-type,
  body:not(.home).nexus-premium-v2 .nexus-premium-template > section:first-of-type { min-height: 670px; }
  body:not(.home).nexus-premium-v2 .nexus-premium-template h1 { font-size: clamp(3.15rem,14vw,5rem) !important; }
  body.nexus-premium-v2.nexus-plain-service main { background-size: 100% 670px,auto 570px; background-position: center top,64% 2rem; }
  body.nexus-premium-v2.nexus-plain-service .page-header { min-height: 560px; padding-top: 5rem; }
  body.nexus-premium-v2.nexus-plain-service main h1 { font-size: clamp(3.2rem,14vw,5rem) !important; }
  body.home.nexus-premium-v2 .nexus-premium-template > header.nx-hero-v2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.home.nexus-premium-v2 .nx-hero-v2__grid,
  body.home.nexus-premium-v2 .nx-hero-v2__rail {
    margin-left: var(--nx-rail-space) !important;
    margin-right: var(--nx-rail-space) !important;
  }
  .nx-tool-breadcrumb { margin-bottom: -6rem; }
  .nx-footer-cta::after { display: none; }
  body.nexus-page-case-studies .nexus-premium-template > section.nx-case-hero { min-height: 0; padding-top: 7.5rem !important; padding-bottom: 3.5rem !important; }
  body.nexus-page-case-studies .nexus-premium-template .nx-case-hero h1 { max-width: 10ch; font-size: clamp(3.25rem,14.8vw,4.8rem) !important; line-height: .88 !important; }
  .nx-case-hero__eyebrow { max-width: 19rem; margin-bottom: 1.5rem; font-size: .56rem; }
  .nx-case-hero__copy > p { margin-top: 1.35rem; font-size: .93rem; line-height: 1.62; }
  .nx-case-hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 1.5rem; }
  .nx-case-hero__actions .nx-button { width: 100%; }
  .nx-case-hero__brief { justify-self: start; }
  .nx-case-hero__proof { display: none; }
  .nx-case-hero__proof > div { display: grid; gap: .4rem; align-content: end; }
  .nx-case-hero__proof dt { font-size: 1.75rem; }
  .nx-case-hero__proof dd { font-size: .48rem; }
  .nx-case-hero__media { gap: .6rem; }
  .nx-case-shot figure { border-radius: .9rem; }
  .nx-case-shot--primary { aspect-ratio: 1.5; }
  .nx-case-shot--secondary { aspect-ratio: 1.08; }
  .nx-case-shot__index { top: .65rem; left: .65rem; width: 1.8rem; height: 1.8rem; font-size: .48rem; }
  .nx-case-shot figcaption,.nx-case-shot--secondary figcaption { right: .7rem; bottom: .65rem; left: .7rem; }
  .nx-case-shot figcaption small { font-size: .43rem; }
  .nx-case-shot figcaption strong,.nx-case-shot--secondary figcaption strong { font-size: .85rem; }
  .nx-case-study-grid { padding-top: 4rem !important; }
  body.nexus-page-case-studies .nx-case-filters::before { width: 100%; margin: 0 0 .3rem; }
  body:not(.home).nexus-premium-v2 .nexus-premium-template > header.nx-project-hero { min-height: 0 !important; padding-top: 7.4rem !important; padding-bottom: 1.5rem !important; }
  .nx-project-hero__inner { gap: 2rem; }
  .nx-project-hero__topline { margin-bottom: 1.35rem; }
  .nx-project-hero__eyebrow { max-width: 20rem; font-size: .53rem; }
  body:not(.home).nexus-premium-v2 .nexus-premium-template .nx-project-hero h1 { max-width: 10ch; margin-top: 1rem; font-size: clamp(3.35rem,15vw,4.7rem) !important; line-height: .86 !important; }
  .nx-project-hero__copy > p { margin-top: 1.25rem; font-size: .92rem; line-height: 1.62; }
  .nx-project-hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 1.4rem; }
  .nx-project-hero__actions .nx-button { width: 100%; }
  .nx-project-hero__next { justify-self: start; }
  .nx-project-hero__visual { min-height: 330px; }
  .nx-project-screen { inset: .25rem 0 1.5rem; grid-template-rows: 2.45rem 1fr; border-radius: .95rem; }
  .nx-project-screen__chrome { padding-inline: .7rem; }
  .nx-project-screen__chrome small { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nx-project-screen__open { right: .6rem; bottom: .6rem; padding: .55rem .65rem; font-size: .44rem; }
  .nx-project-hero__note { display: none; }
  .nx-project-hero__proof { margin-top: .8rem; }
  .nx-project-hero__proof > div { min-height: 4.5rem; padding: .8rem .6rem .2rem 0; display: grid; gap: .25rem; align-content: end; }
  .nx-project-hero__proof > div + div { padding-left: .7rem; }
  .nx-project-hero__proof dt { font-size: .95rem; }
  .nx-project-hero__proof dd { max-width: none; font-size: .42rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),::view-transition-new(root) { animation: none; }
  .nx-hero-v2__orb,.nx-status-dot,.nx-signal-card__wave i,.nx-hero-v2__scroll span { animation: none !important; }
  .nx-hero-v2__art > img { transform: none !important; }
  .nx-v2-ready [data-nx-reveal],.nx-v2-ready .nx-reveal-target { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .nx-section-edge::after { transform: scaleX(1); transition: none; }
  .nx-media-sheen { display: none; }
  .nx-hover-surface,.nx-pressable,.nx-nav,.nx-nav__link,.nx-brand { transition: none !important; }
  .nx-hover-surface:hover,.nx-pressable:active,.nx-pressable.is-pressed { transform: none !important; }
  .nx-case-hero__media::before,.nx-case-hero__stamp,.nx-home-showcase::before,.nx-project-hero__visual::before,.nx-project-hero__note { animation: none !important; }
}

/* Keep the custom local layouts independent from the generic inner-page hero. */
body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > header.nx-local-page__hero,
body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > header.nx-local-hub__hero {
  min-height: min(56rem,calc(100svh - 5.5rem));
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(30rem,1.1fr);
  gap: clamp(2rem,5vw,6rem);
  align-items: center;
  overflow: visible;
  padding-top: clamp(7rem,12vw,11rem) !important;
  padding-bottom: clamp(5rem,8vw,8rem) !important;
  background: #050608 !important;
}
body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > header.nx-local-page__hero::after,
body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > header.nx-local-hub__hero::after,
body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > section.nx-local-page__split::after,
body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > section.nx-local-hub__intro::after { display: none; }
body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > section.nx-local-page__split,
body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > section.nx-local-hub__intro {
  min-height: 0;
  display: grid;
  align-items: start;
  overflow: visible;
  padding-top: clamp(5rem,9vw,9rem) !important;
  padding-bottom: clamp(5rem,9vw,9rem) !important;
  background: #050608 !important;
}

@media (max-width: 900px) {
  body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > header.nx-local-page__hero,
  body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > header.nx-local-hub__hero,
  body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > section.nx-local-page__split,
  body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > section.nx-local-hub__intro { grid-template-columns: 1fr; }
  body.nexus-page-website-design-in-surbiton.nexus-premium-v2 .nexus-premium-template > header.nx-local-page__hero,
  body.nexus-page-local-areas-we-serve.nexus-premium-v2 .nexus-premium-template > header.nx-local-hub__hero { min-height: 0; }
}
