/* Nexxaa homepage: cinematic introduction and editorial company story. */
/* The shared template loader obscures the homepage for several seconds. */
.index-five .loader-wrap { display: none !important; }
.index-five.loaded { overflow: auto !important; height: auto !important; }

.nx-hero,
.nx-about { font-family: "Manrope", sans-serif; }

.nx-hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: #061633;
  color: #fff;
}

.nx-hero-photo,
.nx-hero-shade,
.nx-hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nx-hero-photo {
  object-fit: cover;
  object-position: center 42%;
  animation: nx-photo-reveal 1.8s ease-out both;
}

.nx-hero-shade {
  background:
    linear-gradient(90deg, #061633 0%, rgba(6,22,51,.98) 23%, rgba(6,22,51,.90) 42%, rgba(6,22,51,.40) 68%, rgba(6,22,51,.10) 100%),
    linear-gradient(0deg, rgba(5,18,44,.94) 0%, transparent 30%, rgba(5,18,44,.19) 75%, rgba(5,18,44,.40) 100%);
}

.nx-hero-grid {
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 130px 130px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
  pointer-events: none;
}

.nx-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 900px;
  padding-top: 235px;
  padding-bottom: 42px;
}

.nx-hero-copy {
  max-width: 780px;
  animation: nx-rise 850ms ease-out both;
}

.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #315bff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .19em;
}

.nx-kicker > span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.nx-kicker-light { color: #b7caff; }

.nx-hero h1 {
  max-width: 780px;
  margin: 28px 0 24px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(59px, 5.2vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.064em;
  word-break: normal;
}

.nx-hero h1 em,
.nx-about h2 em {
  color: #a8bfff;
  font-style: normal;
}

.nx-hero-copy > p {
  max-width: 570px;
  margin: 0;
  color: #dce5fa;
  font-size: 18px;
  line-height: 1.75;
}

.nx-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 38px;
}

.nx-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 58px;
  padding: 16px 23px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nx-cta:hover { transform: translateY(-3px); }

.nx-cta-light {
  background: #fff;
  color: #071a3d;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.nx-cta-light:hover,
.nx-cta-light:focus-visible {
  background: #e9efff;
  color: #071a3d;
  box-shadow: 0 21px 44px rgba(0,0,0,.22);
}

.nx-cta-text {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.nx-cta-text:hover,
.nx-cta-text:focus-visible { color: #b7caff; }
.nx-cta-text i { transition: transform 220ms ease; }
.nx-cta-text:hover i { transform: translateY(4px); }

.nx-live-panel {
  position: absolute;
  right: 28px;
  bottom: 155px;
  width: 380px;
  overflow: hidden;
  border: 1px solid rgba(211, 227, 255, .42);
  border-radius: 14px;
  background: rgba(5, 23, 55, .88);
  color: #fff;
  box-shadow: 0 25px 65px rgba(2, 12, 33, .32);
  backdrop-filter: blur(18px);
  animation: nx-rise 850ms 300ms ease-out both;
}

.nx-live-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 19px 8px;
  color: #c4d4fa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.nx-live-pulse {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76a0ff;
}

.nx-live-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(154, 185, 255, .75);
  border-radius: 50%;
  animation: nx-live-pulse 2.8s ease-out infinite;
}

.nx-live-count {
  margin-left: auto;
  color: #8faadf;
  letter-spacing: .08em;
}

.nx-live-stage {
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 12px;
  min-height: 101px;
  padding: 4px 19px 12px;
}

.nx-live-icon {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(178, 204, 255, .35);
  border-radius: 13px;
  background: rgba(112, 151, 238, .15);
  color: #c4d4ff;
  font-size: 20px;
}

.nx-live-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(188, 209, 255, .35);
  border-radius: 18px;
  animation: nx-live-orbit 13s linear infinite;
}

.nx-live-copy { min-width: 0; }
.nx-live-copy > span {
  display: block;
  margin-bottom: 4px;
  color: #a7c1ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}
.nx-live-copy strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.nx-live-copy p {
  margin: 3px 0 0;
  color: #c4d1ec;
  font-size: 11px;
  line-height: 1.45;
}

.nx-live-panel.is-changing .nx-live-copy,
.nx-live-panel.is-changing .nx-live-icon {
  animation: nx-live-swap 350ms ease both;
}

.nx-live-link {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #c4d4ff;
  font-size: 12px;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}
.nx-live-link:hover,
.nx-live-link:focus-visible {
  transform: translate(2px, -2px);
  background: #fff;
  color: #315bff;
}

.nx-live-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 13px;
}
.nx-live-switcher button {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 9px 3px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  color: #a9bce2;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.nx-live-switcher button:hover,
.nx-live-switcher button:focus-visible {
  background: rgba(166, 194, 255, .18);
  color: #fff;
}
.nx-live-switcher button[aria-pressed="true"] {
  border-color: rgba(186, 210, 255, .3);
  background: #eaf0ff;
  color: #173c93;
}
.nx-live-switcher button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nx-live-progress {
  height: 2px;
  background: rgba(255, 255, 255, .14);
}
.nx-live-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #7ca5ff, #fff);
}
.nx-live-panel.is-playing .nx-live-progress span {
  animation: nx-live-progress 5.6s linear infinite;
}

.nx-hero-bottom {
  display: grid;
  grid-template-columns: 1.18fr repeat(3, 1fr);
  align-items: center;
  gap: 0;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 11px;
  background: rgba(5,23,55,.68);
  backdrop-filter: blur(16px);
  animation: nx-rise 850ms 180ms ease-out both;
}

.nx-hero-bottom-intro,
.nx-hero-capability {
  min-height: 91px;
  padding: 23px 25px;
}

.nx-hero-bottom-intro {
  color: #9db3df;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .17em;
}

.nx-hero-bottom-intro strong { color: #fff; }
.nx-hero-capability { border-left: 1px solid rgba(255,255,255,.19); }
.nx-hero-capability span {
  display: block;
  margin-bottom: 8px;
  color: #adc3f5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.nx-hero-capability strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.nx-hero-side {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}
.nx-hero-side span {
  width: 1px;
  height: 55px;
  background: rgba(255,255,255,.7);
}

.nx-about {
  padding: 118px 0 112px;
  background: #fff;
  scroll-margin-top: 110px;
}

.nx-about-intro {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 65px;
}

.nx-about h2 {
  max-width: 760px;
  margin: 22px 0 0;
  color: #081d42;
  font-family: "Manrope", sans-serif;
  font-size: clamp(43px, 4.15vw, 62px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.055em;
  word-break: normal;
}

.nx-about h2 em { color: #3855a3; }

.nx-about-intro > p {
  max-width: 420px;
  margin: 0 0 5px;
  color: #53657c;
  font-size: 17px;
  line-height: 1.8;
}

.nx-about-content {
  display: grid;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  align-items: center;
  gap: 64px;
}

.nx-about-visual {
  position: relative;
  height: 680px;
}

.nx-about-image-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 77%;
  height: 590px;
  overflow: hidden;
  border-radius: 12px;
  background: #d9e2ed;
  box-shadow: 0 30px 60px rgba(7,26,61,.14);
}

.nx-about-image-main img,
.nx-about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-about-image-main img { object-position: 46% center; }

.nx-about-image-secondary {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 57%;
  height: 290px;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 14px;
  background: #cbd8ea;
  box-shadow: 0 20px 45px rgba(7,26,61,.13);
}

.nx-about-image-secondary img { object-position: 58% center; }

.nx-about-photo-label {
  position: absolute;
  left: 27px;
  bottom: 41px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 21px;
  border-radius: 8px;
  background: #071a3d;
  color: #fff;
  box-shadow: 0 18px 30px rgba(7,26,61,.18);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.nx-photo-label-symbol {
  color: #b6caff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.nx-about-visual-line {
  position: absolute;
  top: -18px;
  right: 15%;
  width: 80px;
  height: 4px;
  background: #315bff;
}

.nx-about-details {
  min-width: 0;
  padding: 38px;
  border: 1px solid #e5ebf5;
  border-radius: 24px;
  background: linear-gradient(145deg, #f7f9ff, #edf2fa);
}

.nx-about-details .nx-kicker {
  color: #3855a3;
  font-size: 10px;
  letter-spacing: .15em;
}

.nx-about-details h3 {
  max-width: 620px;
  margin: 20px 0 16px;
  color: #081d42;
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 2.8vw, 43px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.05em;
  word-break: normal;
}

.nx-about-details h3 em {
  color: #3855a3;
  font-style: normal;
}

/* The shared template adds a fade animation to every h3; the homepage
   handles its own section motion. */
.nx-about h3.animated {
  animation: none !important;
  opacity: 1 !important;
}

.nx-about-details > p {
  max-width: 580px;
  margin: 0 0 26px;
  color: #5d6d82;
  font-size: 14px;
  line-height: 1.75;
}

.nx-detail-list {
  display: grid;
  gap: 10px;
}

.nx-detail-item {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid #e3e9f3;
  border-radius: 13px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.nx-detail-item:hover,
.nx-detail-item:focus-visible {
  border-color: #a8bce7;
  box-shadow: 0 8px 20px rgba(20, 48, 101, .07);
  transform: translateY(-2px);
}

.nx-detail-item:focus-visible {
  outline: 2px solid #3855a3;
  outline-offset: 3px;
}

.nx-detail-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #edf2ff;
  color: #3855a3;
  font-size: 21px;
}

.nx-detail-item:nth-child(2) .nx-detail-icon {
  background: #eaf6f3;
  color: #2b7a6a;
}

.nx-detail-item:nth-child(3) .nx-detail-icon {
  background: #f1edfc;
  color: #7760ac;
}

.nx-detail-item h4 {
  margin: 0 0 4px;
  color: #102a50;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.nx-detail-item p {
  margin: 0;
  color: #637289;
  font-size: 12px;
  line-height: 1.6;
}

.nx-detail-item > i {
  color: #7186aa;
  font-size: 13px;
  text-align: right;
}

.nx-about-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid #102a50;
  border-radius: 10px;
  background: #102a50;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.nx-about-link span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}
.nx-about-link:hover,
.nx-about-link:focus-visible { background: #24457c; color: #fff; }
.nx-about-link:focus-visible { outline: 2px solid #3855a3; outline-offset: 4px; }
.nx-about-link:hover span {
  transform: translate(3px,-3px);
  color: #fff;
}

.nx-about-statement {
  display: grid;
  grid-template-columns: 57px minmax(0,1fr) auto;
  align-items: center;
  gap: 26px;
  margin-top: 75px;
  padding: 34px 40px;
  border-radius: 11px;
  background: #071a3d;
  color: #fff;
}

.nx-statement-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 9px;
  color: #b7caff;
  font-size: 24px;
}

.nx-about-statement span {
  display: block;
  margin-bottom: 5px;
  color: #a9bfff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.nx-about-statement p {
  max-width: 690px;
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.nx-about-statement a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.nx-about-statement a:hover { color: #b7caff; }

.index-five .tmp-portfolio-area {
  padding-top: 95px;
  padding-bottom: 100px;
  background: #f7f9fd;
}

.index-five .tmp-portfolio-area .section-head .title,
.index-five .tpm-services-process-area .section-head .title,
.index-five .contact-area-three .section-head .title {
  color: #071a3d;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.045em;
}

.index-five .services-filter-btns { gap: 10px; }
.index-five .services-filter-btns button {
  padding: 12px 20px;
  border: 1px solid #e2e9f5;
  border-radius: 100px;
  background: #fff;
  box-shadow: none;
  color: #405372;
  font-size: 14px;
  font-weight: 700;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.index-five .services-filter-btns button:hover { transform: translateY(-2px); color: #315bff; }
.index-five .services-filter-btns button.is-checked {
  border-color: #315bff;
  background: #315bff;
  color: #fff;
  box-shadow: 0 10px 20px rgba(49,91,255,.18);
}
.index-five .services-swiper-grid .tmp-single-portfolio-item {
  border: 1px solid #e7edf6;
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(7,26,61,.055);
}
.index-five .services-swiper-grid .tmp-single-portfolio-item .tmp-inner-content a .title {
  color: #10284e;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
}

.nx-hero a:focus-visible,
.nx-about a:focus-visible {
  outline: 3px solid #a8bfff;
  outline-offset: 4px;
}

.nx-motion-ready .nx-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 850ms ease, transform 1000ms cubic-bezier(.16,1,.3,1);
}
.nx-motion-ready .nx-reveal.nx-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nx-motion-ready .nx-reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes nx-rise {
  from { transform: translateY(27px); }
  to { transform: translateY(0); }
}
@keyframes nx-photo-reveal {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}
@keyframes nx-live-pulse {
  from { transform: scale(.5); opacity: .8; }
  to { transform: scale(1.35); opacity: 0; }
}
@keyframes nx-live-orbit {
  to { transform: rotate(360deg); }
}
@keyframes nx-live-swap {
  from { opacity: .55; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nx-live-progress {
  to { width: 100%; }
}

@media (max-width: 1199px) {
  .nx-live-panel { right: 25px; width: 350px; }
  .nx-about-content { gap: 36px; }
  .nx-about-details { padding: 28px; }
  .nx-about-visual { height: 620px; }
  .nx-about-image-main { height: 550px; }
  .nx-about-image-secondary { height: 260px; }
}

@media (max-width: 991px) {
  .nx-hero-side { display: none; }
  .nx-hero,
  .nx-hero-inner { min-height: 820px; }
  .nx-hero-inner { padding-top: 210px; }
  .nx-hero h1 { font-size: clamp(55px, 7.5vw, 72px); }
  .nx-hero-copy { max-width: 620px; }
  .nx-live-panel { right: 15px; width: 330px; bottom: 147px; }
  .nx-hero-bottom { grid-template-columns: repeat(3,1fr); }
  .nx-hero-bottom-intro { display: none; }
  .nx-hero-capability:first-of-type { border-left: 0; }
  .nx-about { padding: 90px 0; }
  .nx-about-intro { gap: 35px; }
  .nx-about-content { gap: 28px; }
  .nx-about-details { padding: 24px; }
  .nx-detail-item { grid-template-columns: 38px minmax(0,1fr) 14px; gap: 10px; padding: 14px 12px; }
  .nx-detail-icon { width: 38px; height: 38px; font-size: 19px; }
  .nx-about-visual { height: 560px; }
  .nx-about-image-main { height: 500px; }
  .nx-about-image-secondary { height: 225px; }
  .nx-about-photo-label { left: 15px; bottom: 30px; }
  .nx-about-statement { margin-top: 60px; }
}

@media (max-width: 767px) {
  .nx-hero,
  .nx-hero-inner { min-height: 850px; }
  .nx-hero-inner { padding-top: 165px; padding-bottom: 25px; }
  .nx-hero-photo { object-position: 59% center; }
  .nx-hero-shade {
    background: linear-gradient(90deg,rgba(5,18,44,.93),rgba(5,18,44,.72)), linear-gradient(0deg,#061633,transparent 55%);
  }
  .nx-hero-grid { background-size: 90px 90px; }
  .nx-hero h1 { font-size: clamp(49px, 9vw, 66px); }
  .nx-hero-side { display: none; }
  .nx-live-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 430px);
    margin: 34px 0 28px;
  }
  .nx-hero-bottom { grid-template-columns: 1fr; }
  .nx-hero-capability { min-height: 0; padding: 13px 22px; border-left: 0; border-top: 1px solid rgba(255,255,255,.19); }
  .nx-hero-capability:first-of-type { border-top: 0; }
  .nx-hero-capability span { display: inline-block; width: 105px; margin-bottom: 0; }
  .nx-hero-capability strong { display: inline; }
  .nx-about-intro,
  .nx-about-content { grid-template-columns: 1fr; }
  .nx-about-intro { margin-bottom: 43px; }
  .nx-about-intro > p { max-width: 620px; }
  .nx-about-content { gap: 32px; }
  .nx-about-visual { width: min(100%,580px); height: 610px; }
  .nx-about-image-main { height: 540px; }
  .nx-about-image-secondary { height: 260px; }
  .nx-about-statement { grid-template-columns: 50px 1fr; }
  .nx-about-statement a { grid-column: 2; }
  .index-five .tmp-portfolio-area { padding-top: 75px; padding-bottom: 75px; }
}

@media (max-width: 575px) {
  .nx-hero,
  .nx-hero-inner { min-height: 860px; }
  .nx-hero-inner { padding-top: 137px; padding-bottom: 20px; }
  .nx-hero h1 { font-size: clamp(42px, 11vw, 55px); margin: 25px 0 18px; }
  .nx-hero-copy > p { font-size: 15px; line-height: 1.7; }
  .nx-hero-actions { gap: 22px; margin-top: 28px; }
  .nx-cta { min-height: 52px; }
  .nx-live-panel { margin-top: 28px; margin-bottom: 25px; }
  .nx-live-switcher button { font-size: 9px; }
  .nx-hero-capability span { width: 91px; font-size: 9px; }
  .nx-hero-capability strong { font-size: 12px; }
  .nx-about { padding: 72px 0; }
  .nx-about h2 { font-size: clamp(37px, 9vw, 48px); }
  .nx-about-intro > p { font-size: 15px; }
  .nx-about-visual { height: 500px; }
  .nx-about-image-main { height: 450px; }
  .nx-about-image-secondary { height: 200px; width: 59%; }
  .nx-about-photo-label { bottom: 21px; padding: 12px 15px; font-size: 10px; }
  .nx-about-details { padding: 24px 20px; border-radius: 20px; }
  .nx-about-details h3 { font-size: clamp(28px, 7vw, 36px); }
  .nx-detail-item h4 { font-size: 15px; }
  .nx-detail-item p { font-size: 12px; }
  .nx-detail-item > i { font-size: 13px; }
  .nx-about-statement { grid-template-columns: 1fr; gap: 15px; padding: 28px; }
  .nx-about-statement a { grid-column: 1; }
  .nx-about-statement p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-hero-photo,
  .nx-hero-copy,
  .nx-hero-bottom,
  .nx-live-panel,
  .nx-live-pulse::after,
  .nx-live-icon::after,
  .nx-live-panel.is-changing .nx-live-copy,
  .nx-live-panel.is-changing .nx-live-icon,
  .nx-live-panel.is-playing .nx-live-progress span { animation: none !important; }
  .nx-reveal { transform: none; transition: none; }
  .nx-cta,
  .nx-cta-text i,
  .nx-about-link span,
  .index-five .services-filter-btns button { transition: none; }
}

/* Service explorer: a raised side sheet, with a bottom-sheet layout on mobile. */
.nx-service-sheet {
  --sheet-accent: #3855a3;
  --sheet-tint: #edf2ff;
  position: fixed;
  inset: 0;
  width: min(740px, calc(100% - 32px));
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  margin: 16px 16px 16px auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  background: #fcfdff;
  color: #102a50;
  box-shadow: 0 32px 100px rgba(4,18,45,.25);
  font-family: "Manrope", sans-serif;
}
.nx-service-sheet[open] { display: flex; flex-direction: column; animation: nx-sheet-enter 420ms cubic-bezier(.2,.8,.2,1) both; }
.nx-service-sheet[data-service="revenue"] { --sheet-accent: #236e60; --sheet-tint: #eaf6f1; }
.nx-service-sheet[data-service="growth"] { --sheet-accent: #6d53a1; --sheet-tint: #f1edfc; }
.nx-service-sheet::backdrop { background: rgba(7,20,43,.48); backdrop-filter: blur(8px); animation: nx-sheet-backdrop 320ms ease both; }
.nx-service-sheet.is-closing { animation: nx-sheet-exit 220ms ease-in both; pointer-events: none; }
.nx-service-sheet.is-closing::backdrop { animation: nx-sheet-backdrop 220ms ease reverse both; }
.nx-sheet-header { display: flex; align-items: center; gap: 14px; padding: 22px 30px 16px; }
.nx-sheet-brand { font-size: 29px; line-height: 1; font-weight: 800; letter-spacing: -.07em; }
.nx-sheet-brand span { color: var(--sheet-accent); }
.nx-sheet-header > span:nth-child(2) { color: #65738b; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.nx-service-sheet button { width: auto; max-width: none; font-family: inherit; cursor: pointer; }
.nx-sheet-close { display: grid; place-items: center; flex: 0 0 38px; height: 38px; margin-left: auto; border: 1px solid #e1e7f0; border-radius: 50%; background: #f1f4f9; color: #102a50; font-size: 18px; }
.nx-sheet-close:hover { background: #e2e9f4; }
.nx-sheet-nav { display: flex; flex-shrink: 0; gap: 5px; margin: 0 30px 16px; padding: 5px; border-radius: 14px; background: #edf1f7; }
.nx-sheet-nav button { flex: 1; min-width: 0; padding: 10px 8px; border: 1px solid transparent; border-radius: 10px; color: #5a6a82; font-size: 12px; font-weight: 700; line-height: 1.4; transition: background 180ms ease, box-shadow 180ms ease; }
.nx-sheet-nav button[aria-pressed="true"] { background: #fff; color: var(--sheet-accent); box-shadow: 0 2px 7px rgba(13,35,71,.08); }
.nx-sheet-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c8d4e5 transparent; }
.nx-sheet-content { padding: 0 30px 28px; }
.nx-sheet-hero { position: relative; overflow: hidden; padding: 30px; border: 1px solid rgba(47,74,116,.06); border-radius: 20px; background: var(--sheet-tint); }
.nx-sheet-hero::after { content: ''; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border: 32px solid var(--sheet-accent); border-radius: 50%; opacity: .04; pointer-events: none; }
.nx-sheet-symbol { display: grid; position: relative; width: 48px; height: 48px; margin-bottom: 23px; place-items: center; border: 1px solid #fff; border-radius: 15px; background: rgba(255,255,255,.8); color: var(--sheet-accent); font-size: 24px; box-shadow: 0 5px 16px rgba(20,43,78,.04); }
.nx-sheet-eyebrow { color: var(--sheet-accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.nx-service-sheet h2 { position: relative; margin: 12px 0 16px; font-family: inherit; color: #102a50; font-size: clamp(28px, 2.5vw, 37px); font-weight: 800; line-height: 1.18; letter-spacing: -.045em; word-break: normal; }
.nx-sheet-hero p { position: relative; max-width: 550px; margin: 0; color: #53657d; font-size: 14px; line-height: 1.8; }
.nx-sheet-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 6px; }
.nx-service-sheet h3 { margin: 0; color: #102a50; font-family: inherit; font-size: 17px; font-weight: 800; letter-spacing: -.025em; line-height: 1.4; animation: none !important; opacity: 1 !important; }
.nx-sheet-section-heading > span { color: #7a879b; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.nx-sheet-service { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 14px; padding: 19px 0; border-bottom: 1px solid #e8edf4; }
.nx-sheet-service > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--sheet-tint); color: var(--sheet-accent); font-size: 18px; }
.nx-service-sheet h4 { margin: 0 0 5px; color: #153154; font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1.5; }
.nx-sheet-service p, .nx-sheet-approach p { margin: 0; color: #637289; font-size: 12px; line-height: 1.75; }
.nx-sheet-approach { margin-top: 26px; padding: 23px; border: 1px solid #e6ebf4; border-radius: 16px; background: #f6f8fc; }
.nx-sheet-approach ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: sheet-step; }
.nx-sheet-approach li { margin: 0; counter-increment: sheet-step; }
.nx-sheet-approach li::before { content: '0' counter(sheet-step); display: block; margin-bottom: 9px; color: var(--sheet-accent); font-size: 11px; font-weight: 800; }
.nx-sheet-approach strong { display: block; margin-bottom: 5px; color: #183355; font-size: 12px; line-height: 1.5; }
.nx-sheet-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; color: var(--sheet-accent); }
.nx-sheet-note > i { padding-top: 2px; font-size: 20px; }
.nx-sheet-note p { margin: 0; color: #65738b; font-size: 12px; line-height: 1.7; }
.nx-sheet-footer { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 18px; padding: 18px 30px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid #e6ecf5; background: #fff; }
.nx-sheet-primary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 18px; border-radius: 12px; background: #102a50; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.5; }
.nx-sheet-primary:hover { background: #24457c; color: #fff; }
.nx-sheet-secondary { display: inline-flex; align-items: center; gap: 10px; color: var(--sheet-accent); font-size: 12px; font-weight: 800; line-height: 1.5; }
.nx-sheet-secondary:hover { color: #102a50; }
.nx-service-sheet :is(a,button):focus-visible { outline: 2px solid var(--sheet-accent); outline-offset: 3px; }
@keyframes nx-sheet-enter { from { opacity: 0; transform: translateX(70px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes nx-sheet-exit { to { opacity: 0; transform: translateX(50px) scale(.98); } }
@keyframes nx-sheet-backdrop { from { background: rgba(7,20,43,0); backdrop-filter: blur(0); } to { background: rgba(7,20,43,.48); backdrop-filter: blur(8px); } }
@media (max-width: 600px) {
  .nx-service-sheet { inset: auto 0 0; width: 100%; height: calc(100dvh - 20px); margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .nx-sheet-header { gap: 10px; padding: 20px 20px 14px; }
  .nx-sheet-header > span:nth-child(2) { font-size: 8px; letter-spacing: .08em; }
  .nx-sheet-nav { margin: 0 16px 14px; gap: 2px; }
  .nx-sheet-nav button { padding: 10px 4px; font-size: 10px; }
  .nx-sheet-content { padding: 0 16px 24px; }
  .nx-sheet-hero { padding: 24px; }
  .nx-service-sheet h2 { font-size: 29px; }
  .nx-sheet-hero p { font-size: 13px; }
  .nx-sheet-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .nx-sheet-section-heading > span { order: -1; }
  .nx-sheet-approach { padding: 20px; }
  .nx-sheet-approach ol { grid-template-columns: 1fr; gap: 16px; }
  .nx-sheet-approach li { position: relative; padding-left: 32px; }
  .nx-sheet-approach li::before { position: absolute; left: 0; top: 3px; }
  .nx-sheet-footer { flex-direction: column; gap: 14px; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
  .nx-sheet-primary { width: 100%; }
  @keyframes nx-sheet-enter { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
  @keyframes nx-sheet-exit { to { opacity: 0; transform: translateY(50px); } }
}
@media (prefers-reduced-motion: reduce) {
  .nx-service-sheet[open], .nx-service-sheet.is-closing, .nx-service-sheet::backdrop { animation: none; }
  .nx-service-sheet *, .nx-detail-item { transition: none; }
}

/* Stretch every blog card to the tallest slide and align its read-more link. */
.blog-home-swiper .swiper-wrapper {
  align-items: stretch;
}
.blog-home-swiper .swiper-slide {
  display: flex;
  height: auto;
}
.blog-home-swiper .single-blog,
.blog-home-swiper .single-blog .blog-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.blog-home-swiper .single-blog .blog-inner .thumbnail {
  flex-shrink: 0;
}
.blog-home-swiper .single-blog .blog-inner .blog-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-home-swiper .blog-content > .btn-read-more {
  align-self: flex-start;
  margin-top: auto;
}
