/* ==========================================================================
   Landing motion — high-budget cinematic layer (landing-page only)
   Respects prefers-reduced-motion throughout.
   ========================================================================== */

.landing-page {
  --nh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nh-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --nh-motion-dur: 0.9s;
}

/* ==========================================================================
   CINEMATIC HERO — unmistakable visual rewrite (beats style.css !important)
   ========================================================================== */
.landing-page .top-banner--cinematic.top-banner--spline {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(114, 108, 244, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(236, 72, 153, 0.12), transparent 50%),
    linear-gradient(165deg, #fbfaf8 0%, #f3f1ff 42%, #eef7ff 100%) !important;
}

.landing-page .nh-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-page .nh-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: nh-orb-float 12s ease-in-out infinite;
}

.landing-page .nh-hero-orb--a {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  left: -8%;
  top: 10%;
  background: radial-gradient(circle, rgba(114, 108, 244, 0.55), transparent 68%);
}

.landing-page .nh-hero-orb--b {
  width: min(36vw, 440px);
  height: min(36vw, 440px);
  right: 8%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent 68%);
  animation-duration: 15s;
  animation-delay: -3s;
}

.landing-page .nh-hero-orb--c {
  width: min(28vw, 320px);
  height: min(28vw, 320px);
  left: 42%;
  top: 55%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.28), transparent 68%);
  animation-duration: 18s;
  animation-delay: -6s;
}

@keyframes nh-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -30px, 0) scale(1.08); }
}

.landing-page .nh-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 20%, transparent 75%);
}

.landing-page .top-banner--cinematic .banner-content.ai-era-hero.hero-content {
  max-width: 760px !important;
  padding-left: max(48px, 5vw) !important;
}

.landing-page .nh-hero-brand {
  margin: 0 0 18px !important;
  font-family: "Unbounded", "Bricolage Grotesque", "Syne", sans-serif !important;
  font-size: clamp(0.7rem, 1.1vw, 0.85rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.42em !important;
  text-transform: uppercase !important;
  color: #726cf4 !important;
  -webkit-text-fill-color: #726cf4 !important;
  background: none !important;
  opacity: 0;
}

.landing-page .top-banner--cinematic.is-hero-in .nh-hero-brand,
body.nh-preloader-done .landing-page .nh-hero-brand,
body.nh-preloader-done .nh-hero-brand {
  animation: nh-brand-in 0.9s var(--nh-ease-out) both;
}

@keyframes nh-brand-in {
  from { opacity: 0; letter-spacing: 0.8em; transform: translateY(12px); }
  to { opacity: 1; letter-spacing: 0.42em; transform: translateY(0); }
}

.landing-page .top-banner--cinematic .hero-content .ai-era-title.nh-hero-display {
  gap: 0 !important;
  row-gap: 0 !important;
  margin-bottom: 22px !important;
}

.landing-page .top-banner--cinematic .hero-title-line {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.055em !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
}

.landing-page .top-banner--cinematic .hero-title-line + .hero-title-line {
  margin-top: -0.08em !important;
}

.landing-page .top-banner--cinematic.is-hero-in .hero-title-line {
  animation: nh-title-rise 0.95s var(--nh-ease-out) both;
}

.landing-page .top-banner--cinematic.is-hero-in .hero-title-line:nth-child(1) { animation-delay: 0.15s; }
.landing-page .top-banner--cinematic.is-hero-in .hero-title-line:nth-child(2) { animation-delay: 0.28s; }
.landing-page .top-banner--cinematic.is-hero-in .hero-title-line:nth-child(3) { animation-delay: 0.41s; }

@keyframes nh-title-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

/* Flowing animated gradient — visible without scramble JS */
.landing-page .nh-flow-text,
.landing-page .top-banner--cinematic .gradient-heavy {
  background: linear-gradient(
    110deg,
    #d946ef 0%,
    #ec4899 18%,
    #726cf4 42%,
    #00d4e0 62%,
    #726cf4 78%,
    #d946ef 100%
  ) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.landing-page .top-banner--cinematic.is-hero-in .nh-flow-text,
.landing-page .top-banner--cinematic.is-hero-in .gradient-heavy {
  animation:
    nh-title-rise 0.95s var(--nh-ease-out) both,
    nh-flow-gradient 5.5s linear 1s infinite !important;
}

.landing-page .top-banner--cinematic.is-hero-in .hero-title-line:nth-child(1).nh-flow-text {
  animation-delay: 0.15s, 1s !important;
}
.landing-page .top-banner--cinematic.is-hero-in .hero-title-line:nth-child(3).nh-flow-text {
  animation-delay: 0.41s, 1s !important;
}

@keyframes nh-flow-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.landing-page .top-banner--cinematic .hero-title-dark {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  background: none !important;
}

.landing-page .top-banner--cinematic .ai-era-subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem) !important;
  line-height: 1.45 !important;
  max-width: 34em !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  text-shadow: none !important;
  margin-bottom: 28px !important;
  opacity: 0;
}

.landing-page .top-banner--cinematic.is-hero-in .ai-era-subtitle {
  animation: nh-title-rise 0.9s var(--nh-ease-out) 0.55s both;
}

.landing-page .top-banner--cinematic .dual-cta-group {
  gap: 14px !important;
  margin-bottom: 0 !important;
  opacity: 0;
}

.landing-page .top-banner--cinematic.is-hero-in .dual-cta-group {
  animation: nh-title-rise 0.9s var(--nh-ease-out) 0.7s both;
}

.landing-page .top-banner--cinematic .ai-era-btn-primary {
  padding: 15px 30px !important;
  font-size: 15px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 32px rgba(114, 108, 244, 0.45) !important;
}

.landing-page .top-banner--cinematic .ai-era-btn-secondary {
  padding: 15px 28px !important;
  font-size: 15px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px);
}

.landing-page .nh-cta-pulse {
  position: relative;
}

.landing-page .nh-cta-pulse::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 2px solid rgba(114, 108, 244, 0.45);
  animation: nh-cta-ring 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes nh-cta-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* Story band — louder kinetic words */
.landing-page .nh-story-word {
  font-size: clamp(5rem, 16vw, 11rem) !important;
  background: linear-gradient(135deg, #fff 10%, #c4b5fd 45%, #67e8f9 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
}

.landing-page .nh-featured-tile {
  border-radius: 18px !important;
  min-height: 248px !important;
}

.landing-page .nh-featured-tile h3 {
  font-size: 21px !important;
}

/* Hide old proof bar if any leftover */
.landing-page .top-banner--cinematic .hero-proof-bar {
  display: none !important;
}

/* ---- Preloader ---- */
body.nh-is-loading {
  overflow: hidden;
}

.nh-preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  background: #070d18;
  color: #fff;
  overflow: hidden;
}

.nh-preloader__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(114, 108, 244, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(0, 242, 254, 0.12), transparent 60%);
  pointer-events: none;
}

.nh-preloader__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: 24px;
}

.nh-preloader__mark {
  display: flex;
  gap: 7px;
  margin-bottom: 4px;
}

.nh-preloader__mark span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #726cf4;
  animation: nh-preloader-dots 1.05s ease-in-out infinite;
}

.nh-preloader__mark span:nth-child(2) {
  animation-delay: 0.14s;
  background: #8b85f7;
}

.nh-preloader__mark span:nth-child(3) {
  animation-delay: 0.28s;
  background: #00d4e0;
}

@keyframes nh-preloader-dots {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-7px); opacity: 1; }
}

.nh-preloader__word {
  display: flex;
  gap: 0.06em;
  font-family: "Unbounded", "Bricolage Grotesque", "Syne", sans-serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nh-preloader__char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.6em, 0) rotate(4deg);
  animation: nh-preloader-char 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(180ms + var(--i) * 55ms);
}

@keyframes nh-preloader-char {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

.nh-preloader__bar {
  width: min(220px, 52vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.nh-preloader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #726cf4, #00f2fe);
  animation: nh-preloader-bar 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes nh-preloader-bar {
  to { width: 100%; }
}

.nh-preloader__tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: nh-preloader-fade 0.6s ease 0.7s forwards;
}

@keyframes nh-preloader-fade {
  to { opacity: 1; }
}

.nh-preloader__curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  z-index: 4;
  background: #070d18;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.nh-preloader__curtain--left {
  left: 0;
  border-right: 1px solid rgba(114, 108, 244, 0.18);
}

.nh-preloader__curtain--right {
  right: 0;
  border-left: 1px solid rgba(114, 108, 244, 0.18);
}

.nh-preloader.is-exit .nh-preloader__center {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(8px);
  transition: opacity 0.45s ease, transform 0.55s var(--nh-ease-out), filter 0.45s ease;
}

.nh-preloader.is-exit .nh-preloader__curtain--left {
  transform: translate3d(-102%, 0, 0);
  transition: transform 0.85s var(--nh-ease-out) 0.12s;
}

.nh-preloader.is-exit .nh-preloader__curtain--right {
  transform: translate3d(102%, 0, 0);
  transition: transform 0.85s var(--nh-ease-out) 0.12s;
}

.nh-preloader.is-exit .nh-preloader__veil {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nh-preloader.is-done {
  display: none;
}

/* ---- Kinetic characters ---- */
/* Word shell keeps per-letter spans from wrapping mid-word. */
.nh-kword {
  display: inline-block;
  white-space: nowrap;
}

.nh-kchar {
  display: inline-block;
  letter-spacing: 0;
  will-change: transform, opacity;
}

.nh-kchar--hero {
  opacity: 0;
  transform: translate3d(0, 1.05em, 0);
  filter: blur(4px);
  transition:
    opacity 0.55s var(--nh-ease-soft),
    transform 0.7s var(--nh-ease-out),
    filter 0.55s ease;
  transition-delay: calc(var(--line, 0) * 90ms + var(--i, 0) * 22ms + 120ms);
}

.landing-page .top-banner--spline.is-hero-in .nh-kchar--hero.is-scrambling,
.landing-page .top-banner--spline.is-hero-in .nh-kchar--hero.is-set {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.nh-kchar--hero.is-scrambling {
  color: #726cf4 !important;
  -webkit-text-fill-color: #726cf4 !important;
  background: none !important;
}

/* Continuous gradient across the whole line (not per-letter mini gradients) */
.nh-kchar--hero.is-gradient.is-set {
  font-weight: 900;
  background-image: linear-gradient(135deg, #d946ef 0%, #ec4899 35%, #726cf4 85%, #5f58dc 100%);
  background-size: var(--line-w, 100%) 100%;
  background-position: calc(var(--char-x, 0px) * -1) 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nh-kchar--hero.is-dark.is-set {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: none !important;
}

.nh-kchar--section {
  display: inline-block;
  opacity: 0.2;
  transform: translate3d(0, 0.35em, 0);
  transition:
    opacity 0.45s var(--nh-ease-soft),
    transform 0.55s var(--nh-ease-out);
  transition-delay: calc(var(--i, 0) * 18ms);
}

.nh-kchar--section.is-scrambling {
  opacity: 0.7;
  color: #726cf4;
}

.nh-kchar--section.is-set {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.nh-kinetic-heading {
  overflow: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---- Scroll progress ---- */
.nh-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.nh-scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  transform-origin: left center;
  background: linear-gradient(90deg, #726cf4 0%, #00f2fe 55%, #726cf4 100%);
  background-size: 200% 100%;
  animation: nh-progress-sheen 4.5s linear infinite;
  box-shadow: 0 0 12px rgba(114, 108, 244, 0.45);
}

@keyframes nh-progress-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---- Cursor follower (desktop) ---- */
.nh-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 1.5px solid rgba(114, 108, 244, 0.55);
  background: rgba(114, 108, 244, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(0.4);
  transition: opacity 0.25s ease, transform 0.18s var(--nh-ease-out), width 0.25s ease, height 0.25s ease, margin 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  mix-blend-mode: multiply;
  will-change: transform;
}

.nh-cursor.is-on {
  opacity: 1;
}

.nh-cursor.is-press {
  transform: translate3d(var(--nh-cx, 0), var(--nh-cy, 0), 0) scale(0.7);
}

.nh-cursor.is-hover {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: rgba(114, 108, 244, 0.12);
  border-color: rgba(114, 108, 244, 0.85);
}

body.nh-cursor-active,
body.nh-cursor-active a,
body.nh-cursor-active button {
  cursor: none;
}

/* ---- Hero cinematic entrance ---- */
.landing-page .top-banner--spline.is-motion-ready .hero-title-line {
  overflow: hidden;
  display: block !important;
}

/* Chars own the motion — keep the line wrapper stable (do not double-animate) */
.landing-page .top-banner--spline.is-motion-ready .hero-line-inner {
  display: inline-block !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  letter-spacing: -0.04em;
  /* Kill inherited transparent fill from .gradient-heavy on the parent line */
  background: none !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
}

.landing-page .top-banner--spline.is-motion-ready .hero-title-line.gradient-heavy {
  background: none !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
}

.landing-page .top-banner--spline.is-motion-ready .ai-era-subtitle,
.landing-page .top-banner--spline.is-motion-ready .dual-cta-group,
.landing-page .top-banner--spline.is-motion-ready .hero-proof-bar {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--nh-ease-soft),
    transform 0.85s var(--nh-ease-out),
    filter 0.85s ease;
}

.landing-page .top-banner--spline.is-motion-ready .ai-era-subtitle {
  transition-delay: 520ms;
}

.landing-page .top-banner--spline.is-motion-ready .dual-cta-group {
  transition-delay: 640ms;
}

.landing-page .top-banner--spline.is-motion-ready .hero-proof-bar {
  transition-delay: 760ms;
}

.landing-page .top-banner--spline.is-hero-in .ai-era-subtitle,
.landing-page .top-banner--spline.is-hero-in .dual-cta-group,
.landing-page .top-banner--spline.is-hero-in .hero-proof-bar {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Scroll cue */
.nh-scroll-cue {
  position: absolute;
  left: max(40px, 3.5vw);
  bottom: 36px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(15, 23, 42, 0.55);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.7s var(--nh-ease-soft) 1.1s, transform 0.7s var(--nh-ease-out) 1.1s;
}

.landing-page .top-banner--spline.is-hero-in .nh-scroll-cue {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.landing-page .top-banner--spline.is-scrolled .nh-scroll-cue {
  opacity: 0 !important;
  transition-delay: 0s !important;
}

.nh-scroll-cue__line {
  position: relative;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.12);
}

.nh-scroll-cue__line span {
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, #726cf4);
  animation: nh-cue-fall 1.8s var(--nh-ease-soft) infinite;
}

@keyframes nh-cue-fall {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Hero mouse parallax target */
.landing-page .top-banner--spline .ai-era-wrapper {
  will-change: transform;
  transition: transform 0.45s var(--nh-ease-soft);
}

/* ---- Magnetic CTAs ---- */
.nh-magnetic {
  position: relative;
  display: inline-flex;
  transition: transform 0.35s var(--nh-ease-out) !important;
  will-change: transform;
}

.nh-magnetic .nh-magnetic-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120px circle at var(--nh-mx, 50%) var(--nh-my, 50%),
    rgba(255, 255, 255, 0.28),
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nh-magnetic:hover .nh-magnetic-fill {
  opacity: 1;
}

/* ---- Generic scroll reveal ---- */
.nh-reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  filter: blur(8px);
  transition:
    opacity 0.85s var(--nh-ease-soft),
    transform 0.9s var(--nh-ease-out),
    filter 0.85s ease;
  transition-delay: var(--nh-reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.nh-reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.nh-reveal--left {
  transform: translate3d(-36px, 0, 0);
}

.nh-reveal--left.is-in {
  transform: translate3d(0, 0, 0);
}

.nh-reveal--scale {
  transform: translate3d(0, 24px, 0) scale(0.96);
}

.nh-reveal--scale.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}

.nh-reveal--clip {
  opacity: 1;
  filter: none;
  transform: none;
  clip-path: inset(12% 0 12% 0);
  transition: clip-path 1s var(--nh-ease-out);
}

.nh-reveal--clip.is-in {
  clip-path: inset(0 0 0 0);
}

/* Featured tiles — spotlight wash under content (top accent bar stays in style.css) */
.landing-page .nh-featured-tile {
  isolation: isolate;
  transition:
    border-color 0.35s ease,
    transform 0.45s var(--nh-ease-out),
    box-shadow 0.45s ease !important;
}

.landing-page .nh-featured-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    240px circle at var(--nh-mx, 50%) var(--nh-my, 40%),
    rgba(114, 108, 244, 0.14),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.landing-page .nh-featured-tile:hover::after,
.landing-page .nh-featured-tile:focus-visible::after {
  opacity: 1;
}

.landing-page .nh-featured-tile > * {
  position: relative;
  z-index: 1;
}

.landing-page .nh-featured-tile:hover {
  transform: translate3d(0, -6px, 0) !important;
  box-shadow: 0 22px 48px -24px rgba(114, 108, 244, 0.45);
}

/* Case banner kinetic type — children own the motion, not the wrapper */
.landing-page .nh-case-banner-inner.nh-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.landing-page .nh-case-banner-inner .nh-case-banner-kicker,
.landing-page .nh-case-banner-inner h2,
.landing-page .nh-case-banner-inner p {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s var(--nh-ease-soft),
    transform 0.85s var(--nh-ease-out);
}

.landing-page .nh-case-banner-inner.is-in .nh-case-banner-kicker {
  opacity: 1;
  transform: none;
  transition-delay: 60ms;
}

.landing-page .nh-case-banner-inner.is-in h2 {
  opacity: 1;
  transform: none;
  transition-delay: 160ms;
}

.landing-page .nh-case-banner-inner.is-in p {
  opacity: 1;
  transform: none;
  transition-delay: 280ms;
}

/* Proof metrics pop */
.landing-page .nh-proof-metric {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.94);
  transition:
    opacity 0.7s var(--nh-ease-soft),
    transform 0.8s var(--nh-ease-out);
  transition-delay: calc(var(--nh-metric-i, 0) * 90ms + 120ms);
}

.landing-page .nh-proof-metrics.is-in .nh-proof-metric {
  opacity: 1;
  transform: none;
}

.landing-page .nh-proof-number {
  background: linear-gradient(135deg, #fff 20%, #c4bfff 55%, #fff 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-page .nh-proof-metrics.is-in .nh-proof-number {
  animation: nh-metric-shine 2.4s var(--nh-ease-soft) 0.4s both;
}

@keyframes nh-metric-shine {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Story words — letter kinetic */
.landing-page .nh-story-word .nh-char {
  display: inline-block;
  opacity: 0.28;
  transform: translate3d(0, 0.18em, 0);
  transition:
    opacity 0.55s var(--nh-ease-soft),
    transform 0.65s var(--nh-ease-out),
    color 0.4s ease;
  transition-delay: calc(var(--nh-char-i, 0) * 35ms);
}

.landing-page .nh-story-slide.is-pinned:not(.is-curtained) .nh-story-word .nh-char,
.landing-page .nh-story-slide.is-after .nh-story-word .nh-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 991px) {
  .landing-page .nh-story-word .nh-char {
    opacity: 1;
    transform: none;
  }

  .landing-page .nh-story-lead,
  .landing-page .nh-story-trail {
    opacity: 1;
    transform: none;
  }

  .landing-page .nh-services-panel:not(.is-active) {
    filter: none;
  }
}

.landing-page .nh-story-slide--build .nh-story-word .nh-char { color: #a5b4fc; }
.landing-page .nh-story-slide--scale .nh-story-word .nh-char { color: #67e8f9; }
.landing-page .nh-story-slide--automate .nh-story-word .nh-char { color: #c4b5fd; }

.landing-page .nh-story-lead,
.landing-page .nh-story-trail {
  opacity: 0.55;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.5s ease, transform 0.55s var(--nh-ease-out);
}

.landing-page .nh-story-slide.is-pinned:not(.is-curtained) .nh-story-lead,
.landing-page .nh-story-slide.is-pinned:not(.is-curtained) .nh-story-trail,
.landing-page .nh-story-slide.is-after .nh-story-lead,
.landing-page .nh-story-slide.is-after .nh-story-trail {
  opacity: 1;
  transform: none;
}

/* Services nav active underline scrub */
.landing-page .nh-services-nav-item {
  position: relative;
}

.landing-page .nh-services-nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #726cf4;
  transition: width 0.45s var(--nh-ease-out);
}

.landing-page .nh-services-nav-item.is-active::after {
  width: 42px;
}

.landing-page .nh-services-panel {
  transition:
    opacity 0.55s var(--nh-ease-soft),
    transform 0.6s var(--nh-ease-out),
    filter 0.55s ease !important;
}

.landing-page .nh-services-panel:not(.is-active) {
  filter: blur(4px);
}

.landing-page .nh-services-panel.is-active {
  filter: blur(0);
}

/* Insights accordion — depth on hover expand */
.landing-page .accordion-card-item {
  transition:
    flex 0.65s var(--nh-ease-out),
    transform 0.45s var(--nh-ease-out),
    box-shadow 0.45s ease !important;
}

.landing-page .accordion-card-item.active {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 28px 60px -36px rgba(16, 35, 63, 0.55);
}

.landing-page .accordion-card-item .accordion-bg-image img {
  transition: transform 1.1s var(--nh-ease-out) !important;
}

/* Logo strip — subtle speed-up feel */
.landing-page .nh-logo-track {
  animation-duration: 32s;
}

/* Solid CTA pulse ring */
.landing-page .nh-solid-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--nh-ease-out), box-shadow 0.35s ease !important;
}

.landing-page .nh-solid-btn:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 14px 34px rgba(114, 108, 244, 0.4);
}

.landing-page .nh-solid-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--nh-ease-out);
}

.landing-page .nh-solid-btn:hover::after {
  transform: translateX(120%);
}

/* Mobile / touch: hide custom cursor & heavy parallax */
@media (max-width: 991px), (hover: none) {
  .nh-cursor {
    display: none !important;
  }

  body.nh-cursor-active,
  body.nh-cursor-active a,
  body.nh-cursor-active button {
    cursor: auto;
  }

  .nh-scroll-cue {
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
  }

  .landing-page .top-banner--spline.is-hero-in .nh-scroll-cue {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nh-scroll-progress__bar,
  .nh-scroll-cue__line span,
  .landing-page .nh-logo-track,
  .landing-page .nh-proof-metrics.is-in .nh-proof-number,
  .nh-preloader__mark span,
  .nh-preloader__char,
  .nh-preloader__bar span,
  .nh-preloader__tag,
  .landing-page .nh-hero-orb,
  .landing-page .nh-cta-pulse::before,
  .landing-page .nh-flow-text,
  .landing-page .top-banner--cinematic .gradient-heavy,
  .landing-page .nh-hero-brand,
  .landing-page .top-banner--cinematic .hero-title-line,
  .landing-page .top-banner--cinematic .ai-era-subtitle,
  .landing-page .top-banner--cinematic .dual-cta-group {
    animation: none !important;
  }

  /* Keep the new look; only kill looping motion */
  .landing-page .nh-flow-text,
  .landing-page .top-banner--cinematic .gradient-heavy {
    background-position: 30% 50% !important;
  }

  .nh-preloader__char,
  .nh-preloader__tag,
  .nh-kchar--hero,
  .nh-kchar--section {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .landing-page .top-banner--spline.is-motion-ready .hero-line-inner,
  .landing-page .top-banner--spline.is-motion-ready .ai-era-subtitle,
  .landing-page .top-banner--spline.is-motion-ready .dual-cta-group,
  .landing-page .top-banner--spline.is-motion-ready .hero-proof-bar,
  .nh-reveal,
  .landing-page .nh-case-banner-inner .nh-case-banner-kicker,
  .landing-page .nh-case-banner-inner h2,
  .landing-page .nh-case-banner-inner p,
  .landing-page .nh-proof-metric,
  .landing-page .nh-story-word .nh-char,
  .landing-page .nh-story-lead,
  .landing-page .nh-story-trail {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .nh-scroll-cue {
    display: none;
  }

  .nh-cursor {
    display: none !important;
  }

  .nh-preloader {
    display: none !important;
  }

  body.nh-is-loading {
    overflow: auto;
  }

  .nh-page-transition,
  .landing-page .nh-case-card,
  .landing-page .nh-featured-tile {
    transition: none !important;
  }
}

/* ==========================================================================
   High-budget layer: cases, services progress, micro-motion, page fade
   ========================================================================== */

/* ---- Case cards ---- */
.landing-page .nh-case-card {
  position: relative;
  border-radius: 18px;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.45s var(--nh-ease-out),
    box-shadow 0.45s ease,
    border-color 0.35s ease !important;
}

.landing-page .nh-case-card:hover,
.landing-page .nh-case-card:focus-within {
  transform: translateY(-10px) !important;
  border-color: rgba(114, 108, 244, 0.65) !important;
  box-shadow:
    0 28px 56px -22px rgba(114, 108, 244, 0.55),
    0 12px 24px -16px rgba(15, 23, 42, 0.25) !important;
}

.landing-page .nh-case-card.is-tilting {
  transition: box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.landing-page .nh-case-card figure {
  border-radius: 18px 18px 0 0;
}

.landing-page .nh-case-card img {
  transition: transform 0.85s var(--nh-ease-out) !important;
}

.landing-page .nh-case-card:hover img,
.landing-page .nh-case-card:focus-within img {
  transform: scale(1.1) !important;
}

.landing-page .nh-case-view {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translate(-50%, 12px);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: opacity 0.35s ease, transform 0.45s var(--nh-ease-out);
  pointer-events: none;
}

.landing-page .nh-case-view em {
  font-style: normal;
  font-weight: 600;
  opacity: 0.85;
}

.landing-page .nh-case-card:hover .nh-case-view,
.landing-page .nh-case-card:focus-within .nh-case-view {
  opacity: 1;
  transform: translate(-50%, 0);
}

.landing-page .nh-case-card figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 18, 31, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.landing-page .nh-case-card:hover figure::before,
.landing-page .nh-case-card:focus-within figure::before {
  opacity: 1;
}

/* ---- Stronger case modal ---- */
.nh-case-modal {
  background: rgba(7, 12, 24, 0.62) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.nh-case-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.nh-case-modal__dialog {
  z-index: 1;
  width: min(980px, 100%) !important;
  max-height: min(90vh, 700px) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(114, 108, 244, 0.12) !important;
  transform: translateY(28px) scale(0.94) !important;
  opacity: 0;
  transition:
    transform 0.45s var(--nh-ease-out),
    opacity 0.35s ease !important;
  overflow: hidden;
}

.nh-case-modal.is-open .nh-case-modal__dialog {
  transform: none !important;
  opacity: 1;
}

.nh-case-modal.is-closing .nh-case-modal__dialog {
  transform: translateY(16px) scale(0.97) !important;
  opacity: 0;
}

.nh-case-modal__media {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(114, 108, 244, 0.22), transparent 65%),
    #0f172a !important;
  overflow: hidden;
}

.nh-case-modal__media-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(114, 108, 244, 0.35), transparent 70%);
  pointer-events: none;
}

.nh-case-modal__media img {
  position: relative;
  z-index: 1;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 0.7s var(--nh-ease-out), opacity 0.5s ease;
}

.nh-case-modal__media img.is-in {
  transform: scale(1);
  opacity: 1;
}

.nh-case-modal__content > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.5s var(--nh-ease-out);
}

.nh-case-modal.is-open .nh-case-modal__content > *:nth-child(1) { transition-delay: 80ms; }
.nh-case-modal.is-open .nh-case-modal__content > *:nth-child(2) { transition-delay: 140ms; }
.nh-case-modal.is-open .nh-case-modal__content > *:nth-child(3) { transition-delay: 200ms; }
.nh-case-modal.is-open .nh-case-modal__content > *:nth-child(4) { transition-delay: 260ms; }
.nh-case-modal.is-open .nh-case-modal__content > *:nth-child(5) { transition-delay: 320ms; }

.nh-case-modal.is-open .nh-case-modal__content > * {
  opacity: 1;
  transform: none;
}

.nh-case-modal__tags {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
}

.nh-case-modal__pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(114, 108, 244, 0.1);
  color: #5f58dc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: nh-pill-in 0.45s var(--nh-ease-out) forwards;
  animation-delay: calc(220ms + var(--i, 0) * 60ms);
}

@keyframes nh-pill-in {
  to { opacity: 1; transform: none; }
}

.nh-case-modal__cta {
  border-radius: 12px !important;
  padding: 13px 22px !important;
  box-shadow: 0 10px 28px rgba(114, 108, 244, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.nh-case-modal__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(114, 108, 244, 0.45);
}

.nh-case-modal__close {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

.nh-case-modal__close:hover {
  transform: rotate(90deg) scale(1.05);
}

/* ---- Services chapter progress ---- */
.landing-page .nh-services-progress {
  position: relative;
  width: min(280px, 100%);
  height: 3px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.1);
}

.landing-page .nh-services-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #726cf4, #00d4e0);
  transition: transform 0.15s linear;
  will-change: transform;
}

.landing-page .nh-services-chapters {
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
}

.landing-page .nh-services-chapter {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 35, 63, 0.18);
  transition: background 0.3s ease, transform 0.35s var(--nh-ease-out), box-shadow 0.3s ease;
}

.landing-page .nh-services-chapter.is-done {
  background: rgba(114, 108, 244, 0.45);
}

.landing-page .nh-services-chapter.is-active {
  background: #726cf4;
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(114, 108, 244, 0.18);
}

.landing-page .nh-services-nav-item {
  position: relative;
  padding-left: 4px;
}

.landing-page .nh-services-nav-item.is-active {
  transform: translateX(4px);
}

/* ---- Featured tile 3D tilt shell ---- */
.landing-page .nh-featured-tile {
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 18px !important;
}

.landing-page .nh-featured-tile.is-tilting {
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Logo marquee — livelier */
.landing-page .nh-logo-track {
  animation-duration: 28s !important;
}

.landing-page .nh-logo-carousel:hover .nh-logo-track {
  animation-play-state: paused !important;
}

.landing-page .nh-logo-group img {
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.35s var(--nh-ease-out) !important;
}

.landing-page .nh-logo-group img:hover {
  transform: scale(1.08);
}

/* ---- Page transition curtain ---- */
.nh-page-transition {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.nh-page-transition.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.nh-page-transition__panel {
  position: absolute;
  inset: 0;
  background: #070d18;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.55s var(--nh-ease-out);
}

.nh-page-transition.is-active .nh-page-transition__panel {
  transform: scaleY(1);
}

.nh-page-transition__mark {
  position: relative;
  z-index: 1;
  font-family: "Unbounded", "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease 0.2s, transform 0.4s var(--nh-ease-out) 0.2s;
}

.nh-page-transition.is-active .nh-page-transition__mark {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px), (hover: none) {
  .landing-page .nh-case-card.is-tilting,
  .landing-page .nh-featured-tile.is-tilting {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nh-page-transition__panel,
  .nh-case-modal__pill,
  .nh-case-modal__media img {
    transition: none !important;
    animation: none !important;
  }

  .nh-page-transition {
    display: none !important;
  }
}

