/* Nexlume brand — Prudigital roles + Yep orange: orange / orange gradient / black type */
:root {
  --nx-orange: #fc6e19;
  --nx-orange-deep: #f0620d;
  /* Text accent: deeper than fill orange so highlights stay readable on white */
  --nx-orange-text: #c24a0a;
  --nx-black: #111111;
  --nx-black-soft: #1a1a1a;
  --nx-black-2: #2c2c2c;
  --nx-body: #303030;
  --nx-muted: #5a5a5a;
  --nx-sand: #fff7f0;
  /* aliases kept for older rules */
  --nx-ink: var(--nx-black);
  --nx-ink-deep: var(--nx-black-soft);
  --nx-navy: var(--nx-black);
  --nx-navy-deep: var(--nx-black-soft);
  --nx-coral: var(--nx-orange);
  --nx-coral-hover: var(--nx-orange-deep);

  /*
   * CRITICAL: --red-1 / --red-2 are used as `color` and `border-color` in style.css.
   * They MUST stay solid colors. Gradients only on button backgrounds.
   */
  --nx-orange-grad: linear-gradient(90deg, #f0620d 0%, #fc6e19 100%);
  --primarybuttonColor: var(--nx-orange-grad);
  --footerColor: #ffffff;
  --blackColor: #1a1a1a;
  /* Text-safe accent (was bright fill orange → low contrast on white) */
  --red-1: #c24a0a;
  --red-2: #a63f08;
  --textgradient: #fc6e19;
  --newred: #fc6e19;
  --orange: #fc6e19;
  --pru-red: #fc6e19;
  --pru-red-dark: #f0620d;
  --red: #fc6e19;
  --ta-red-light: #fc6e19;
  --text-dark: #111111;
  --black-1: #1a1a1a;
  --black-2: #2c2c2c;
}

.primarybutton {
  background: linear-gradient(90deg, #f0620d 0%, #fc6e19 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  box-shadow: 0 14px 26px rgba(252, 110, 25, 0.32);
}

.primarybutton:hover {
  box-shadow: 0 18px 30px rgba(252, 110, 25, 0.4);
}

.primarybutton:active {
  box-shadow: 0 10px 18px rgba(240, 98, 13, 0.3);
}

/* Solid brand orange + white label (no deep-orange / bright-orange conflict) */
.hero-btn-primary,
.cap-tab.active,
.card-cta,
.primarybutton,
.text-button {
  background: var(--nx-orange) !important;
  background-image: none !important;
  background-color: var(--nx-orange) !important;
  box-shadow: 0 10px 24px rgba(252, 110, 25, 0.32) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hero-btn-primary:hover,
.card-cta:hover,
.primarybutton:hover,
.text-button:hover {
  background: var(--nx-orange-deep) !important;
  background-image: none !important;
  background-color: var(--nx-orange-deep) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Blog arrow: same brand orange disc, crisp white arrow */
.blog-section .blog-arrow,
.blog-arrow {
  background: var(--nx-orange) !important;
  background-image: none !important;
  background-color: var(--nx-orange) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(252, 110, 25, 0.3) !important;
  border: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-section .blog-arrow:hover,
.blog-arrow:hover {
  background: var(--nx-orange-deep) !important;
  background-color: var(--nx-orange-deep) !important;
  background-image: none !important;
  box-shadow: 0 8px 18px rgba(240, 98, 13, 0.36) !important;
  transform: translateX(3px);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.blog-arrow svg {
  width: 15px !important;
  height: 15px !important;
}

.blog-arrow svg,
.blog-arrow path {
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 2.25 !important;
  color: #ffffff !important;
}

/* Kill gradient text-fill (transparent fill + orange wash = unreadable) */
.highlight,
.hero-title span,
.partners-heading .highlight,
.eco-heading .highlight,
.blog-heading .highlight,
.capabilities-heading .highlight,
.how-heading .highlight,
.enquiry-heading .highlight,
.faq-heading .highlight,
.who-heading .highlight,
.what-heading .highlight,
.help-heading .highlight,
.contact-info-heading .highlight,
.culture-heading .highlight,
.models-heading .highlight,
.ecosystem-heading .highlight,
.contact-heading .highlight,
.video-label span,
.nx-hero-brand,
.nx-cap-num,
.nx-step-index {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--nx-orange-text) !important;
  color: var(--nx-orange-text) !important;
}

.highlight::after,
.hero-title span:after {
  background: rgba(194, 74, 10, 0.12) !important;
  opacity: 1 !important;
}

/* Accent hover for text links only — never paint orange text onto orange buttons */
.nav-links a:hover,
.faq-link:hover,
.legal-links a:hover,
.footer-col a:hover,
.footer-desc a:hover {
  color: var(--nx-orange-text) !important;
}

.hero-btn-secondary:hover {
  color: var(--nx-orange-text) !important;
  border-color: var(--nx-orange) !important;
}

.primarybutton,
.hero-btn-primary,
.card-cta,
.text-button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: var(--nx-orange) !important;
}

/* Insights thumbs: match cover AR so titles/watermark are not cropped */
.blog-section .blog-thumb {
  aspect-ratio: 16 / 9;
  background: #f4f4f4;
}

.blog-section .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4f4f4;
}

.blogBox > a > img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f4f4f4;
}

/*
 * Restore red/black card pairing (original Prudigital contrast),
 * mapped to orange vs near-black — do NOT paint both the same.
 */
.card.red,
.stat-card.red,
.contact-info-card.red,
.contact-card.red,
.culture-pill.red,
.help-card.red,
.ta-card.red {
  background: var(--nx-orange-grad) !important;
  background-color: var(--nx-orange-text) !important;
  color: #ffffff !important;
}

.card.black,
.stat-card.black,
.contact-info-card.black,
.contact-card.black,
.culture-pill.black,
.help-card.black {
  background: linear-gradient(160deg, #1a1a1a, #2c2c2c 90%) !important;
  background-color: var(--nx-black-soft) !important;
  color: #ffffff !important;
}

.card.red *,
.card.black *,
.stat-card.red *,
.stat-card.black *,
.contact-info-card.red *,
.contact-info-card.black *,
.culture-pill.red,
.culture-pill.black {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.card.red .card-copy,
.card.black .card-copy,
.card.red .card-subtitle,
.card.black .card-subtitle,
.card.red li,
.card.black li {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}

.card.red .check-icon {
  background: #111111 !important;
}

.card.black .check-icon {
  background: #ffffff !important;
}

.card.red .check-icon svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.card.black .check-icon svg {
  stroke: #111111 !important;
  color: #111111 !important;
}

.card.red .card-cta {
  background: #111111 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.card.black .card-cta {
  background: var(--nx-orange-text) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.footer-brand .pru,
.footer-bottom .brand-name {
  color: var(--nx-orange-text) !important;
}

.connector,
.step-divider,
.cap-service.open .cap-service-toggle,
.ring-track {
  border-color: var(--nx-orange) !important;
  stroke: var(--nx-orange) !important;
}

/* Prudigital video tint — disabled; Nexlume uses photo stage */
.video-mask:after {
  display: none !important;
  content: none !important;
}

.hero-section .hero-video-area {
  animation: none !important;
}

/* ---------- Nexlume hero stage: photo + project chips (no Prudigital mask) ---------- */
.nx-hero-stage {
  position: relative;
  width: 640px;
  height: 620px;
  margin-left: auto;
}

.nx-hero-frame {
  position: absolute;
  inset: 36px 28px 48px 12px;
  border-radius: 28px 28px 72px 28px;
  overflow: hidden;
  background: #f3eee8;
  box-shadow:
    0 28px 60px rgba(17, 17, 17, 0.14),
    0 2px 0 rgba(252, 110, 25, 0.18);
}

.nx-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 42%,
    rgba(17, 17, 17, 0.06) 100%
  );
}

.nx-hero-frame-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nx-hero-chip {
  position: absolute;
  z-index: 4;
  width: 148px;
  height: 108px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.16);
}

.nx-hero-chip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-hero-chip-a {
  left: -4px;
  bottom: 78px;
  transform: rotate(-4deg);
}

.nx-hero-chip-b {
  right: 8px;
  bottom: 28px;
  width: 168px;
  height: 118px;
  transform: rotate(3deg);
}

.nx-hero-stage .video-label {
  z-index: 6;
}

.nx-hero-stage .label-strategy {
  top: 12px;
  left: auto;
  right: 36px;
}

.nx-hero-stage .label-partnerships {
  top: 46%;
  left: -8px;
}

.nx-hero-stage .label-scale {
  top: 38%;
  right: 18px;
  left: auto;
}

.nx-hero-stage .label-performance {
  top: auto;
  bottom: 168px;
  left: 24px;
}

/* Soft Services-style band for all InnerHero pages */
.inner-banner {
  background:
    radial-gradient(circle at 88% 18%, rgba(252, 110, 25, 0.14), transparent 34%),
    linear-gradient(105deg, #fff8f2 0%, #f7fbff 55%, #eef6fc 100%) !important;
  text-align: center;
}

.hero-section.inner-banner {
  min-height: 0 !important;
  padding: 56px 0 48px !important;
  display: flex;
  align-items: center;
}

.hero-section.inner-banner .inner-banner-content h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #111 !important;
}

.hero-section.inner-banner .inner-banner-content p {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: #555 !important;
  opacity: 1;
}

.hero-section.inner-banner .inner-banner-content .cta-button {
  margin-top: 18px;
}

/* Legal / listing pages — shorter title band, same soft wash */
.hero-section.inner-banner.privacy-policy-banner {
  padding: 36px 0 32px !important;
}

.hero-section.inner-banner.privacy-policy-banner .inner-banner-content h1 {
  margin: 0;
}

.hero-section.inner-banner.privacy-policy-banner .inner-banner-content p {
  margin-top: 10px;
  max-width: 38rem;
}

.servicesfaq-num,
.servicesfaq-check {
  background: var(--nx-orange) !important;
}

/* Performance Ecosystem — Affilired/Yep-style intro + two retained content cards */
.eco-section .eco-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.eco-section .eco-heading {
  margin: 0 0 12px;
}

.eco-section .eco-eyebrow {
  margin: 0 0 10px;
  color: var(--nx-orange-text);
}

.eco-section .eco-copy {
  max-width: 560px;
  margin: 0 auto;
}

.eco-section .eco-cards {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.eco-section .eco-card {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  padding: 28px 26px 24px;
  background: #fff;
  box-shadow: none;
}

.eco-section .eco-card-icon {
  /* Icons are white fills — need solid orange, not sand */
  background: var(--nx-orange);
  width: 52px;
  height: 52px;
}

.eco-section .eco-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.eco-section .eco-chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eco-section .eco-chip-list li {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(252, 110, 25, 0.28);
  background: var(--nx-sand);
  color: var(--nx-black);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.eco-section .eco-footnote {
  text-align: center;
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--nx-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .eco-section .eco-cards {
    grid-template-columns: 1fr;
  }
}

body {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(17, 17, 17, 0.04), transparent 60%),
    radial-gradient(900px 400px at -10% 20%, rgba(252, 110, 25, 0.06), transparent 55%),
    #fff;
  color: var(--nx-black);
}

.hero-title,
.partners-heading,
.capabilities-heading,
.how-heading,
.eco-heading,
.blog-heading,
.ecosystem-heading {
  color: var(--nx-black);
}

.hero-content p {
  color: var(--nx-body);
}

/* Brand lockup image (icon + wordmark in one asset) */
.brand-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
}

.logo > a > img,
.brand-link img.brand-logo,
.footer-brand .brand-logo {
  width: auto !important;
  height: 38px !important;
  max-width: min(220px, 62vw) !important;
  display: block;
  flex-shrink: 0;
}

.brand-link img.brand-mark,
.brand-wordmark {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.burger span {
  background: #111 !important;
}

/* Step icons use brand SVGs (#FC6E19) — no hue rewrite needed */
.how-section .step-icon {
  background: var(--nx-sand);
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.08);
}

.how-section .step-icon img {
  filter: none;
  border-radius: 50%;
}

/* ---------- Tablet + laptop: fixed 700px hero video overflows until ~1350px ---------- */
@media (max-width: 1280px) {
  .hero-section {
    min-height: 0;
    padding: 56px 0 64px;
    overflow: hidden;
  }

  .hero-row {
    min-height: 0;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(40px, 4.2vw, 56px) !important;
    line-height: 1.12 !important;
    letter-spacing: -1px !important;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-video-area {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    animation: none !important;
  }

  .video-mask {
    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;
    aspect-ratio: 593 / 673;
    margin: 0 auto !important;
  }

  .nx-hero-stage {
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    aspect-ratio: 640 / 620;
    margin-left: auto !important;
  }

  .nx-hero-frame {
    inset: 8% 6% 10% 4%;
  }

  .nx-hero-chip-a {
    width: 118px;
    height: 86px;
    left: 0;
    bottom: 14%;
  }

  .nx-hero-chip-b {
    width: 132px;
    height: 94px;
    right: 2%;
    bottom: 4%;
  }
}

/* iPad landscape / small laptop: stack hero, tighten chrome */
@media (max-width: 1024px) {
  nav {
    padding: 12px 0 !important;
    gap: 12px;
  }

  .header-strip .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-strip .primarybutton,
  .header-strip .nx-header-auth {
    display: none !important;
  }

  .nav-links {
    gap: 18px !important;
    font-size: 0.9rem !important;
  }

  .hero-section {
    padding: 40px 0 48px !important;
  }

  .hero-container {
    padding: 0 24px !important;
  }

  .hero-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(34px, 5.2vw, 46px) !important;
    letter-spacing: -0.6px !important;
  }

  .hero-video-area {
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  .video-mask {
    max-width: 380px !important;
  }

  .nx-hero-stage {
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .label-strategy {
    top: 2% !important;
    left: auto !important;
    right: 10% !important;
  }

  .label-partnerships {
    top: 40% !important;
    left: 10% !important;
  }

  .label-scale {
    top: 48% !important;
    right: 4% !important;
  }

  .label-performance {
    top: 62% !important;
    left: 4% !important;
  }

  .how-section,
  .who-section,
  .capabilities-section,
  .blog-section,
  .models-section,
  .ecosystem-section,
  .partners-section,
  .eco-section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .capabilities-row {
    flex-direction: column !important;
  }

  .cap-item {
    flex: 0 0 auto !important;
    min-height: 52px !important;
  }

  .cap-item.active {
    min-height: 420px !important;
  }

  .tab-label span {
    writing-mode: horizontal-tb !important;
    transform: none !important;
  }

  .card-content {
    grid-template-columns: 1fr !important;
  }

  .steps-grid {
    grid-template-columns: 1fr !important;
  }

  /* Beat desktop .step:nth-child(n) .step-icon { left: 10%/30%/… } */
  .step {
    position: relative !important;
    text-align: left !important;
    padding: 0 0 40px 64px !important;
    border-left: 2px dashed var(--nx-orange) !important;
    margin-left: 27px !important;
  }

  .step:last-child {
    border-left-color: transparent !important;
    padding-bottom: 0 !important;
  }

  .step:nth-child(1) .step-icon,
  .step:nth-child(2) .step-icon,
  .step:nth-child(3) .step-icon,
  .step:nth-child(4) .step-icon,
  .step:nth-child(5) .step-icon,
  .step-icon {
    position: absolute !important;
    top: 0 !important;
    left: -27px !important;
    right: auto !important;
    transform: none !important;
  }

  .step-divider {
    margin: 0 0 12px !important;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px;
  }
}

/* Phone / large phone / small tablet portrait */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    right: 0;
    left: auto;
    transform: translateX(110%);
    background: rgba(17, 17, 17, 0.98) !important;
  }

  .nav-links.open {
    transform: translateX(0) !important;
  }
}

@media (max-width: 768px) {
  body {
    padding: 0 !important;
  }

  .header-strip .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  nav {
    padding: 12px 0 !important;
  }

  .logo > a > img,
  .brand-link img.brand-logo {
    height: 36px !important;
    max-width: min(180px, 58vw) !important;
  }

  .hero-container {
    padding: 0 20px !important;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 20px !important;
  }

  .hero-title br {
    display: block !important;
  }

  .hero-content p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .hero-video-area {
    max-width: 360px !important;
    margin: 8px auto 0 !important;
  }

  .video-mask {
    width: min(90vw, 340px) !important;
    max-width: 340px !important;
  }

  .video-label {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    transform: none;
  }

  .how-section,
  .who-section,
  .capabilities-section,
  .blog-section,
  .models-section,
  .ecosystem-section,
  .partners-section,
  .eco-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .footer-columns {
    grid-template-columns: 1fr !important;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    width: 100%;
  }

  .primarybutton,
  .header-strip .primarybutton {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

/* —— Affilired module effects (home) —— */
/* Nexlume hero — light field, orange as accent only */
.nx-hero {
  position: relative;
  color: #111;
  padding: 88px 0 72px !important;
  overflow: hidden;
  min-height: 560px;
  background: #f4f5f7 !important;
}

.nx-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 90% 32%, rgba(252, 110, 25, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 6% 78%, rgba(252, 110, 25, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #eef0f3 100%);
}

.nx-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 48px;
  align-items: center;
}

.nx-hero-copy {
  max-width: 36rem;
}

.nx-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-orange-text, #c24a0a);
}

.nx-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4.6vw, 3.55rem);
  line-height: 1.08;
  color: #111;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nx-hero-copy h1 span {
  color: var(--nx-orange-text, #c24a0a);
}

.nx-hero-intro {
  margin: 0 0 28px;
  max-width: 32rem;
  line-height: 1.65;
  color: #4a4a4a;
  font-size: 1.05rem;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nx-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nx-hero-btn-primary {
  background: var(--nx-orange, #fc6e19);
  color: #fff;
  box-shadow: 0 10px 24px rgba(252, 110, 25, 0.28);
}

.nx-hero-btn-primary:hover {
  background: var(--nx-orange-deep, #f0620d);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(252, 110, 25, 0.34);
}

.nx-hero-btn-ghost {
  background: transparent;
  color: #111;
  border: 1.5px solid rgba(17, 17, 17, 0.22);
}

.nx-hero-btn-ghost:hover {
  border-color: var(--nx-orange, #fc6e19);
  color: var(--nx-orange-text, #c24a0a);
}

.nx-hero-visual {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-hero-visual-svg {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .nx-hero {
    min-height: 0;
    padding: 64px 0 56px !important;
  }

  .nx-hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nx-hero-visual {
    min-height: 280px;
    order: -1;
  }

  .nx-hero-visual-svg {
    max-width: 400px;
  }

  .nx-hero-copy {
    max-width: none;
  }
}

/* keep legacy class hooks from breaking if referenced elsewhere */
.nx-aff-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* ——— Homepage visual system ——— */
.nx-section-head {
  max-width: 720px;
  margin: 0 auto 8px;
  padding: 0 28px;
  text-align: center;
}

.nx-section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
  font-weight: 800;
}

.nx-section-sub {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  color: #5c5c5c;
  line-height: 1.65;
  font-size: 1.02rem;
}

.nx-aff-solutions {
  padding: 88px 0 72px;
  background: #fff;
}

.nx-aff-sol-list {
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 0 28px;
  display: grid;
  gap: 64px;
}

.nx-aff-sol-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.nx-aff-sol-row.is-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.nx-aff-sol-row.is-reverse .nx-aff-sol-copy {
  order: 2;
}

.nx-aff-sol-row.is-reverse .nx-aff-sol-media {
  order: 1;
}

.nx-aff-sol-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  font-weight: 800;
}

.nx-aff-sol-copy p {
  margin: 0 0 22px;
  color: #555;
  line-height: 1.7;
  max-width: 32rem;
  font-size: 1.02rem;
}

.nx-aff-sol-media {
  overflow: hidden;
  background: #eceef1;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}

.nx-aff-sol-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-aff-verticals {
  padding: 88px 0 80px;
  background: #f4f5f7;
}

.nx-aff-vert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 0 28px;
}

.nx-aff-vert-tile {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
}

.nx-aff-vert-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.nx-aff-vert-tile:hover img {
  transform: scale(1.04);
}

.nx-aff-vert-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(17, 17, 17, 0.82) 100%);
}

.nx-aff-vert-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 6px;
}

.nx-aff-vert-label strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.nx-aff-vert-label em {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.45;
}

.nx-aff-cta-art {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.nx-aff-cta-art svg {
  width: min(100%, 260px);
  height: auto;
}

@media (max-width: 900px) {
  .nx-aff-hero-inner,
  .nx-aff-sol-row,
  .nx-aff-sol-row.is-reverse {
    grid-template-columns: 1fr !important;
  }

  .nx-aff-sol-row.is-reverse .nx-aff-sol-copy,
  .nx-aff-sol-row.is-reverse .nx-aff-sol-media {
    order: initial;
  }

  .nx-aff-vert-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .nx-aff-vert-grid {
    grid-template-columns: 1fr;
  }
}

.nx-why-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 960px;
}

.nx-why-footnote {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--nx-muted, #5a5a5a);
}

.partners-section .strip-wrap {
  margin-top: 28px;
}

/* Keep scroll-reveal visible when delayed */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-48px);
}

.reveal.reveal-right {
  transform: translateX(48px);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-left,
  .reveal.reveal-right,
  .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nx-hero-bg {
  display: none;
}

.nx-verticals,
.nx-why,
.nx-partners-static {
  padding: 64px 0 24px;
}

.nx-vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.nx-vertical-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nx-vertical-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f3f3;
  margin-bottom: 6px;
}

.nx-vertical-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-vertical-cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-orange);
}

.nx-vertical-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #111;
}

.nx-vertical-card p:last-child {
  margin: 0;
  color: var(--nx-muted, #5a5a5a);
  line-height: 1.55;
  font-size: 0.95rem;
}

.nx-vertical-more {
  text-align: center;
  margin-top: 28px;
}

.nx-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 24px;
}

.nx-why-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #111;
}

.nx-why-card p {
  margin: 0;
  color: var(--nx-muted, #5a5a5a);
  line-height: 1.6;
}

.nx-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  max-width: 960px;
  margin: 36px auto 0;
  padding: 0 24px;
  align-items: center;
}

.nx-logo-cell {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 12px;
}

.nx-logo-cell img {
  max-width: 120px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.nx-how {
  padding: 72px 24px 64px;
}

.nx-how-grid {
  list-style: none;
  margin: 48px auto 0;
  padding: 0 28px;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.nx-how-step {
  padding: 28px 18px 8px;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
  min-height: 100%;
}

.nx-how-step:last-child {
  border-right: none;
}

.nx-how-num {
  display: block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--nx-orange-text, #c24a0a);
}

.nx-how-step h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.nx-how-step p {
  margin: 0;
  color: #5c5c5c;
  line-height: 1.55;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nx-how-grid {
    grid-template-columns: 1fr;
    border-top: none;
    gap: 0;
  }

  .nx-how-step {
    border-right: none;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    padding: 22px 4px;
  }
}

.nx-hero-inner {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.nx-hero-brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-black) !important;
  -webkit-text-fill-color: var(--nx-black) !important;
  margin: 0 0 12px;
}

/* Partners without logo strip — keep original section, tighter stats band */
.partners-section:not(:has(.strip-wrap)) {
  padding-bottom: 48px;
}

.partners-section:not(:has(.strip-wrap)) .stats-grid {
  margin-top: 28px;
}

.partners-section:not(:has(.strip-wrap)) .stat-card {
  border-radius: 10px;
}

.nx-hero-copy .hero-title {
  margin-bottom: 18px;
}

.nx-hero-art {
  width: 100%;
}

.nx-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.capabilities-section.nx-caps {
  max-width: none !important;
  width: 100%;
  padding-top: 72px !important;
  padding-bottom: 48px !important;
}

.nx-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.nx-cap-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 8px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nx-caps-text .nx-cap-card {
  gap: 8px;
}

.nx-caps-text .nx-cap-media {
  display: none;
}

.nx-cap-media {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  background: #f3f3f3;
}

.nx-cap-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-cap-num {
  margin: 8px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--nx-orange);
}

.nx-cap-title {
  margin: 0;
  font-size: 1.25rem;
  color: #111;
}

.nx-cap-copy {
  margin: 0;
  color: var(--nx-body);
  line-height: 1.55;
  flex: 1;
}

.nx-cap-card .card-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* Icon steps — keep original how rhythm, brand SVGs already styled above */

.nx-steps {
  list-style: none;
  margin: 36px auto 0;
  padding: 0 24px;
  max-width: 920px;
  display: grid;
  gap: 0;
  border-left: 2px dashed var(--nx-orange);
}

.nx-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 0 0 36px 28px;
  position: relative;
  margin-left: -33px;
}

.nx-step:last-child {
  padding-bottom: 0;
}

.nx-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nx-step-icon img {
  width: 64px;
  height: 64px;
}

.nx-step-index {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--nx-orange);
}

.nx-step-body .step-title {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .nx-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .nx-hero-art {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .nx-cap-grid,
  .nx-vertical-grid,
  .nx-why-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .nx-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nx-cap-grid,
  .nx-vertical-grid,
  .nx-why-grid {
    grid-template-columns: 1fr !important;
  }

  .nx-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nx-step {
    grid-template-columns: 52px 1fr;
    margin-left: -27px;
    padding-left: 22px;
  }

  .nx-step-icon,
  .nx-step-icon img {
    width: 52px;
    height: 52px;
  }
}

/* Capabilities deep page — stacked tabs, not Prudigital sliding pill */
.nx-caps-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 64px !important;
}

.nx-caps-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.nx-caps-tabs .capaa-slider {
  display: none !important;
}

.nx-caps-tabs button {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 6px;
  width: 100% !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  text-align: left !important;
  white-space: normal !important;
  font-weight: 700 !important;
}

.nx-caps-tabs button.is-active,
.nx-caps-tabs button[aria-selected='true'] {
  border-color: var(--nx-orange-text) !important;
  box-shadow: inset 0 -3px 0 var(--nx-orange-text);
  color: #111 !important;
}

.nx-caps-tabs .capaa-num {
  color: var(--nx-orange-text) !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.nx-caps-kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-orange-text) !important;
  -webkit-text-fill-color: var(--nx-orange-text) !important;
}

.nx-caps-intro .capaa-media-con {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  margin: 36px 0 28px;
}

.nx-caps-intro .capaa-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
}

.nx-caps-page .ta-media img,
.nx-caps-page .capaa-media img {
  object-fit: cover;
}

.nx-caps-page .servicesfaq-wrap {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nx-caps-tabs {
    grid-template-columns: 1fr !important;
  }

  .nx-caps-intro .capaa-media-con {
    grid-template-columns: 1fr !important;
  }
}

/* Trusted-brand logos in partners marquee — larger marks */
.partners-section .strip-item {
  background: transparent;
  width: 156px;
  height: 84px;
  margin: 0 22px;
}

.partners-logo img,
.partner-logo img,
.logo-slider img,
.partners-section .strip-item img {
  display: block;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 0.94;
  height: 58px;
  width: auto;
  max-width: 140px;
}

.partners-section .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Duo-echo watermark on stat cards */
.stat-card .stat-card-mark {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 84px;
  height: 84px;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.stat-card .stat-number,
.stat-card .stat-label {
  position: relative;
  z-index: 1;
}

.stat-card::after {
  display: none !important;
}

@media (max-width: 900px) {
  .partners-section .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.nx-cap-media img,
.nx-hero-art img,
.projects-grid img,
.project-card img,
.capaa-media img,
.ta-media img {
  object-fit: cover;
}

/* Projects grid: consistent cover crop, theme arrow if linked */
.projects .project-box {
  background: #fff;
  overflow: hidden;
}

.projects .project-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f4f4f4;
}

.projects .project-details h3 {
  text-transform: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--nx-black);
}

.projects .project-details p {
  color: var(--nx-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.projects .project-details .blog-arrow {
  margin-top: 14px;
}
/* Contact / career form accents �� kill #ff3b30 red leak */
.se-title-highlight,
.join-heading .highlight,
.se-card .highlight {
  color: var(--nx-orange-text) !important;
  background: rgba(252, 110, 25, 0.12) !important;
}
.se-input:focus,
.se-select:focus,
.se-textarea:focus,
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--nx-orange) !important;
  box-shadow: 0 0 0 3px rgba(252, 110, 25, 0.18) !important;
}
.se-checkbox {
  accent-color: var(--nx-orange) !important;
}
.se-consent a,
.join-form a {
  color: var(--nx-orange-text) !important;
}

/* Article / legal / rich-text links — kill bootstrap blue & leftover reds */
.blog-details-section a,
.blog-details-content a,
.blog-details-content .rich-text a,
.termsConditions a,
.privacy-policy a,
.legal-content a,
.faq-card a,
.capaa-panel a,
.ta-card a {
  color: var(--nx-orange-text) !important;
}

.blog-details-section a:hover,
.blog-details-content a:hover,
.blog-details-content .rich-text a:hover,
.termsConditions a:hover,
.privacy-policy a:hover,
.legal-content a:hover,
.faq-card a:hover {
  color: var(--nx-orange-deep) !important;
  text-decoration: underline;
}

/* ---------- Blog detail layout polish ---------- */
.nx-blog-detail .blog-details-content {
  padding: 8px 8px 24px 0;
}

.nx-blog-detail .blog-detail-heading {
  display: block !important;
  margin-bottom: 28px;
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  padding: 0;
}

.nx-blog-detail .blog-detail-heading h1 {
  max-width: none !important;
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #111;
}

.nx-blog-detail .blog-detail-author {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  text-align: left !important;
}

.nx-blog-detail .blog-detail-author span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666 !important;
}

.nx-blog-detail .blog-detail-author span:first-child {
  color: var(--nx-orange-text, #c24a0a) !important;
}

.nx-blog-detail .blog-detail-author span + span::before {
  content: "·";
  display: inline-block;
  margin: 0 10px;
  color: #bbb;
  font-weight: 400;
}

.nx-blog-detail .blog-detail-right {
  padding: 22px 18px !important;
  border: 1px solid #ebe7e2;
  border-radius: 14px !important;
  box-shadow: none !important;
  background: #faf9f7;
}

.nx-blog-detail .blog-detail-right h3 {
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #e5e1db !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em;
}

.nx-blog-detail .blog-detail-right .blogBox {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center;
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #ebe7e2;
}

.nx-blog-detail .blog-detail-right .blogBox:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nx-blog-detail .nx-related-thumb {
  display: block;
  width: 72px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
}

.nx-blog-detail .nx-related-thumb img,
.nx-blog-detail .blog-detail-right .blogBox img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.nx-blog-detail .blog-detail-right .blog-content {
  padding: 0 !important;
  min-width: 0;
}

.nx-blog-detail .blog-detail-right .blog-content h4 {
  margin: 0;
  font-size: 0.92rem !important;
  font-weight: 700;
  line-height: 1.35;
}

.nx-blog-detail .blog-detail-right .blog-content h4 a {
  color: #111 !important;
  text-decoration: none !important;
}

.nx-blog-detail .blog-detail-right .blog-content h4 a:hover {
  color: var(--nx-orange-text, #c24a0a) !important;
}

@media (min-width: 768px) {
  .termsConditions .blog-detail-right {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
}

@media (max-width: 767px) {
  .nx-blog-detail .blog-details-content {
    padding: 0 0 20px;
  }

  .nx-blog-detail .blog-detail-right {
    margin-top: 12px;
  }
}

/* Compact sticky header */
.header-strip nav {
  padding: 14px 0 !important;
}

.header-strip .primarybutton {
  padding: 11px 18px !important;
  font-size: 14px !important;
  gap: 10px !important;
  min-height: 0 !important;
  box-shadow: 0 8px 16px rgba(194, 74, 10, 0.22) !important;
}

.header-strip .logo img {
  max-height: 40px;
  width: auto;
}
.se-error,
.join-error {
  color: var(--nx-orange-deep) !important;
}

/* ---------- CTA banner only ---------- */
.page-wrap {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.cta-banner,
.cta-banner.nx-cta-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.9fr) !important;
  gap: clamp(20px, 3vw, 40px) !important;
  align-items: center !important;
  overflow: visible !important;
  margin-bottom: 48px !important;
  padding: 48px 44px !important;
}

/* Text-only CTA — no repeated Storyset / handshake art */
.cta-banner.nx-cta-text-only {
  grid-template-columns: 1fr !important;
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left;
}

.cta-banner.nx-cta-text-only .cta-title {
  max-width: 28ch;
}

.cta-banner.nx-cta-text-only .cta-copy {
  max-width: 54ch;
}

.cta-banner > * {
  min-width: 0 !important;
}

.nx-cta-art.cta-art,
.cta-banner .nx-cta-art {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  max-height: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 4px 0 !important;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 16px 26px rgba(17, 17, 17, 0.18));
}

.nx-cta-art img,
.cta-banner .nx-cta-art img,
.cta-banner .cta-art img {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 500px !important;
  max-height: 310px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  background: transparent !important;
}

.cta-title {
  max-width: 22ch;
  color: #fff !important;
  line-height: 1.2 !important;
}

.cta-copy {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.95) !important;
}

/* CTA on orange banner: original black pill + white label */
.cta-banner .cta-button,
.cta-button {
  background: var(--nx-black) !important;
  background-image: none !important;
  background-color: var(--nx-black) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.22) !important;
}

.cta-banner .cta-button:hover,
.cta-button:hover {
  background: #2c2c2c !important;
  background-color: #2c2c2c !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.3) !important;
}

.cta-art {
  position: relative !important;
  width: 100% !important;
  min-height: 180px;
  max-height: 260px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-banner .cta-art,
.cta-banner .nx-cta-art {
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.cta-art img,
.cta-art svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 480px !important;
  max-height: 250px !important;
  object-fit: contain !important;
}

.cta-banner .cta-art img,
.cta-banner .cta-art svg,
.cta-banner .nx-cta-art img {
  max-width: 500px !important;
  max-height: 310px !important;
}

/* How Can We Help — recolor Prudigital red art to Nexlume orange */
.help-section .help-icon img {
  filter: hue-rotate(18deg) saturate(1.4) brightness(1.03);
}

.help-section .help-divider {
  background: var(--nx-orange) !important;
}

/* Contact Information → inquiry form spacing */
.contact-section {
  padding: 48px 24px 72px !important;
}

.contact-section .contact-grid {
  margin-bottom: 64px !important;
}

.contact-section > .se-card {
  margin-top: 0 !important;
}

.contact-section .se-image {
  display: block;
  background: #f3f4f6;
}

.contact-section .se-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Align FAQ card width with help / blog / contact content */
.faq-outer {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 24px 48px !important;
  box-sizing: border-box;
}

.faq-outer .faq-card {
  width: 100%;
  box-sizing: border-box;
}

/* Kill Prudigital-style orange slash ribbons */
.dividerline,
.dividerline::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

footer::before {
  content: none !important;
  display: none !important;
}

/* Keep original Prudigital hero / partners rhythm (Nexlume orange remaps only) */
.hero-section {
  padding-bottom: 36px;
}

/* Accent highlight underline for Nexlume orange */
.hero-title span {
  color: var(--nx-orange-text, #c24a0a) !important;
}

.hero-title span:after {
  background: rgba(252, 110, 25, 0.16) !important;
}

.partners-section {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
  padding: 48px max(24px, calc((100% - 1320px) / 2)) 56px;
  background: #ffffff;
}

.partners-section .partners-heading {
  margin-bottom: 2px;
}

.partners-section .partners-subtext {
  margin: 14px auto 28px;
  max-width: 720px;
}

.partners-section .strip-wrap {
  margin-top: 8px;
  margin-bottom: 8px;
}

.partners-section .stats-grid {
  margin-top: 28px;
}

/* Soft handoff into the next white section */
.ecosystem-section {
  padding-top: 72px;
  background: #ffffff;
}

/* Footer tuck under CTA — spacing only; layout restored below */

@media (max-width: 900px) {
  .cta-banner {
    grid-template-columns: 1fr !important;
    padding: 36px 28px !important;
  }

  .cta-art {
    order: -1;
    max-height: 200px;
  }

  .cta-title {
    max-width: none;
  }
}

/* ========== AffMantra-slim isometric system ========== */
.nx-iso-eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-orange-text, #c24a0a);
}

.hero-section.nx-iso-hero {
  padding: 56px 0 64px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(252, 110, 25, 0.12), transparent 36%),
    linear-gradient(180deg, #fffaf6 0%, #ffffff 62%) !important;
  overflow: hidden;
}

.footer-bottom .nx-storyset-credit {
  margin-top: 6px;
  font-size: 12px;
  color: #8a8a8a;
}

.footer-bottom .nx-storyset-credit a {
  color: #666;
  text-decoration: underline;
}

.nx-iso-hero-row {
  align-items: center !important;
  gap: 36px !important;
}

.nx-iso-hero .hero-content p {
  max-width: 36rem;
}

.nx-iso-art {
  width: min(100%, 560px);
  margin-left: auto;
  background: #f3f5f7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
}

.nx-iso-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  filter: none;
}

.nx-aff-about-art img,
.nx-aff-why-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.nx-home-projects {
  padding: 72px 24px 56px;
  background: #fff;
}

.nx-home-projects-grid {
  max-width: 1180px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.nx-home-project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ebe7e2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-home-project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.nx-home-project-media {
  aspect-ratio: 16 / 10;
  background: #f3f3f3;
  overflow: hidden;
}

.nx-home-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-home-project-copy {
  padding: 14px 16px 18px;
}

.nx-home-project-copy h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.nx-home-project-copy p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nx-home-projects-more {
  margin-top: 28px;
  text-align: center;
}

@media (max-width: 900px) {
  .nx-home-projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nx-home-projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Capabilities cards with Storyset SVG */
.nx-cap-media {
  background: #f4f8fc !important;
  display: grid;
  place-items: center;
  padding: 18px;
}

.nx-cap-media img {
  object-fit: contain !important;
  max-height: 180px;
}

.nx-aff-about-story {
  padding: 64px 24px 40px;
  background: #fff;
}

.nx-aff-about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.nx-aff-about-art img,
.nx-aff-why-art img {
  display: block;
  width: 100%;
  height: auto;
}

.nx-aff-about-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.nx-aff-about-quote {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: #1f2a37;
  line-height: 1.35;
}

.nx-aff-about-body {
  margin: 0 0 24px;
  color: #5a6270;
  line-height: 1.7;
  max-width: 36rem;
}

.nx-aff-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nx-aff-process {
  padding: 56px 0 64px;
  background: #faf8f6;
}

.nx-aff-process-grid {
  list-style: none;
  margin: 36px auto 0;
  padding: 0 24px;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}

.nx-aff-process-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 22px 18px 24px;
  text-align: left;
}

.nx-aff-process-num {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--nx-orange-text, #c24a0a);
}

.nx-aff-process-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.nx-aff-process-card p {
  margin: 0;
  color: #5c5c5c;
  font-size: 0.9rem;
  line-height: 1.55;
}

.nx-aff-why {
  padding: 72px 24px 64px;
  background: #ffffff;
}

.nx-aff-why-top {
  max-width: 1180px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.nx-aff-why-top-copy {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.nx-aff-why-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.nx-aff-why-intro {
  margin: 0 auto;
  color: #5a6270;
  line-height: 1.7;
  max-width: 40rem;
}

.nx-aff-why-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 36px;
  align-items: start;
}

.nx-aff-why-card {
  border: none;
  border-radius: 0;
  padding: 0 10px;
  background: transparent;
  text-align: center;
}

.nx-aff-why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--nx-orange-text, #c24a0a);
  background: #fff7f1;
  border-radius: 16px;
}

.nx-aff-why-icon svg {
  width: 28px;
  height: 28px;
}

.nx-aff-why-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nx-aff-why-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: #111;
}

.nx-aff-why-card p {
  margin: 0 auto;
  max-width: 28ch;
  color: #666;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Top nav — original-site spacing + active state */
.header-strip .nav-links {
  gap: 36px !important;
  flex-wrap: nowrap;
}

.header-strip .nav-links > li > a {
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
}

.header-strip .nav-links > li > a.is-active,
.header-strip .nav-links > li.is-active > a {
  color: var(--nx-orange-text, #c24a0a) !important;
}

.header-strip .nav-links > li > a.is-active::after,
.header-strip .nav-links > li.is-active > a::after {
  width: 100% !important;
  background: var(--nx-orange, #fc6e19) !important;
}

/* Services mega menu — illustrated cards */
.header-strip .nx-services-menu.mega-menu {
  width: min(760px, calc(100vw - 48px)) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-8px) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 18px !important;
  background: #ffffff !important;
  border: 1px solid #eceef2 !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 48px rgba(17, 17, 17, 0.12) !important;
}

.header-strip .nx-has-services:hover .nx-services-menu.mega-menu,
.header-strip .nx-has-services.open .nx-services-menu.mega-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

.header-strip .nx-service-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 14px 12px 16px !important;
  text-align: left !important;
  border-radius: 14px !important;
  background: #f7f8fa !important;
  border: 1px solid transparent !important;
  color: #111 !important;
}

.header-strip .nx-service-card:hover {
  background: #fff7f1 !important;
  border-color: rgba(252, 110, 25, 0.28) !important;
}

.header-strip .nx-service-art {
  display: grid;
  place-items: center;
  height: 88px;
  border-radius: 12px;
  background: #ffffff;
}

.header-strip .nx-service-art img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.header-strip .nx-service-copy {
  display: grid;
  gap: 6px;
}

.header-strip .nx-services-menu .pill-title {
  color: #111 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

.header-strip .nx-services-menu .pill-sub {
  color: #6b7280 !important;
  font-size: 0.78rem !important;
  line-height: 1.45;
  font-weight: 500;
}

.header-strip .nx-services-all {
  grid-column: 1 / -1;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--nx-orange-text, #c24a0a) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
}

.header-strip .nx-services-all:hover {
  background: rgba(252, 110, 25, 0.08) !important;
}

@media (max-width: 900px) {
  .header-strip .nx-services-menu.mega-menu {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    position: static !important;
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 0 0 !important;
    display: none !important;
  }

  .header-strip .nx-has-services.open .nx-services-menu.mega-menu {
    display: grid !important;
  }

  .header-strip .nx-service-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .header-strip .nx-service-art {
    width: 64px;
    height: 64px;
    flex: none;
  }

  .header-strip .nx-service-art img {
    width: 52px;
    height: 52px;
  }
}

/*
  Footer — brand · Company · Legal · Connect
  Legal holds Privacy / Terms / Cookie Policy + Cookie Settings (Cookiebot-ready).
*/
footer.nx-footer,
footer {
  background: #ffffff !important;
  margin-top: 0 !important;
  padding: 56px 0 28px !important;
  position: relative;
  z-index: 1;
  border-top: none !important;
}

footer.nx-footer::before,
footer::before {
  display: none !important;
  content: none !important;
}

/* Full-width 4-up: brand · company · legal · connect */
.nx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.85fr));
  column-gap: clamp(24px, 3.5vw, 56px);
  row-gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.nx-footer-brand-block {
  min-width: 0;
}

.nx-footer-brand {
  display: inline-block;
  margin-bottom: 12px;
}

.nx-footer-brand .brand-logo {
  max-height: 34px;
  width: auto;
  display: block;
}

.nx-footer-desc {
  margin: 0;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #5f6772;
}

.nx-footer-col--connect {
  justify-self: stretch;
}

.nx-footer-top,
.nx-footer-cols {
  display: contents;
}

.nx-footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #111;
}

.nx-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-footer-col a {
  color: #3a4149;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.nx-footer-col a:hover {
  color: var(--nx-orange-text, #c24a0a);
}

.nx-footer-cookie-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: #3a4149;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
}

.nx-footer-cookie-btn:hover {
  color: var(--nx-orange-text, #c24a0a);
}

.nx-cookie-policy h2 {
  margin-top: 1.6em;
}

.nx-cookie-declaration {
  margin: 16px 0 8px;
  min-height: 48px;
}

.nx-cookie-pending {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f7f8fa;
  color: #5b6470;
  font-size: 0.92rem;
  line-height: 1.55;
}

.nx-cookie-inline-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #222;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.nx-cookie-inline-btn:hover {
  border-color: var(--nx-orange, #fc6e19);
  color: var(--nx-orange-text, #c24a0a);
}

.rich-legal h2 {
  margin-top: 1.75em;
}

.termsConditions .rich-text,
.termsConditions .rich-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 0 56px;
  color: #333;
  line-height: 1.7;
}

.nx-footer-connect li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-connect-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--nx-orange, #fc6e19);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.nx-connect-icon img {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
}

.nx-footer-connect a {
  color: #5b6470;
  font-weight: 500;
  word-break: break-word;
}

/* Copyright strip — light divider, centered; readable gray, not bold */
.nx-footer-meta {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e8eaee;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  color: #5f6772;
}

.nx-footer-meta a {
  color: #5f6772;
  text-decoration: none;
}

.nx-footer-meta a:hover {
  color: var(--nx-orange-text, #c24a0a);
}

.nx-footer-meta-sep {
  margin: 0 8px;
  color: #c5c9d0;
}

.footer-bottom .nx-storyset-credit,
.nx-storyset-credit {
  display: none !important;
}

.nx-services-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(252, 110, 25, 0.14), transparent 34%),
    linear-gradient(105deg, #fff8f2 0%, #f7fbff 55%, #eef6fc 100%);
  padding: 56px 0 48px;
}

.nx-services-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 28px 40px;
  align-items: center;
}

.nx-services-hero-kicker {
  margin: 0 0 10px;
  color: var(--nx-orange-text, #c24a0a);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-services-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.18;
  color: #111;
}

.nx-services-hero-copy > p {
  margin: 0 0 22px;
  max-width: 46ch;
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
}

.nx-services-hero-copy .hero-btn {
  margin-top: 4px;
}

.nx-services-hero-art {
  display: grid;
  place-items: center;
  min-height: 240px;
}

.nx-services-hero-art img {
  width: min(100%, 380px);
  height: auto;
}

.nx-services-page {
  padding: 56px 0 0;
  background: #ffffff;
  scroll-margin-top: 88px;
}

.nx-services-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.nx-services-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: #111;
}

.nx-services-head p {
  margin: 0;
  color: #666;
  line-height: 1.65;
  font-size: 0.98rem;
}

/* Our Services: one white field; rhythm from flip layout, not stripe backgrounds */
.nx-service-band {
  padding: 56px 0;
  background: #ffffff;
  scroll-margin-top: 88px;
}

.nx-service-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px 48px;
  align-items: center;
}

.nx-service-band.is-flip .nx-service-band-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.nx-service-band.is-flip .nx-service-band-art {
  order: 2;
}

.nx-service-band.is-flip .nx-service-band-copy {
  order: 1;
}

.nx-service-band-art {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 24px;
  background: transparent;
}

.nx-service-band-art img {
  width: min(100%, 300px);
  height: auto;
}

.nx-service-band-badge {
  margin: 0 0 8px;
  color: var(--nx-orange-text, #c24a0a);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nx-service-band-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.22;
  color: #111;
}

.nx-service-band-lead {
  margin: 0 0 22px;
  max-width: 54ch;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.nx-service-band-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}

.nx-service-band-feat {
  margin: 0;
  padding: 0;
}

.nx-service-band-feat h4 {
  position: relative;
  margin: 0 0 6px;
  padding-left: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
}

.nx-service-band-feat h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-orange, #fc6e19);
}

.nx-service-band-feat p {
  margin: 0;
  padding-left: 14px;
  color: #666;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Why: same white field as Our Services — no stripe / sand flip */
.nx-services-why {
  padding: 72px 0 64px;
  background: #ffffff;
}

.nx-services-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.nx-services-why-card {
  text-align: center;
  padding: 4px 10px 8px;
}

.nx-services-why-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--nx-orange-text, #c24a0a);
  background: #fff7f1;
  border-radius: 14px;
}

.nx-services-why-icon svg {
  width: 26px;
  height: 26px;
}

.nx-services-why-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
}

.nx-services-why-card p {
  margin: 0 auto;
  max-width: 28ch;
  color: #666;
  font-size: 0.88rem;
  line-height: 1.55;
}

.nx-services-foot-cta {
  display: flex;
  justify-content: center;
  padding: 28px 0 8px;
}

@media (max-width: 900px) {
  .nx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    margin-bottom: 28px;
  }

  .nx-footer-brand-block {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .nx-services-hero-inner,
  .nx-service-band-inner,
  .nx-services-why-grid {
    grid-template-columns: 1fr;
  }

  .nx-services-hero {
    padding: 40px 0 32px;
    text-align: center;
  }

  .nx-services-hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .nx-services-hero-art {
    order: -1;
    min-height: 0;
  }

  .nx-services-hero-art img {
    width: min(100%, 280px);
  }

  .nx-service-band {
    padding: 36px 0;
  }

  .nx-service-band.is-flip .nx-service-band-art,
  .nx-service-band.is-flip .nx-service-band-copy {
    order: unset;
  }

  .nx-service-band-art {
    min-height: 200px;
    order: -1;
  }

  .nx-service-band-art img {
    width: min(100%, 240px);
  }

  .nx-service-band-feats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-banner,
  .cta-banner.nx-cta-banner {
    grid-template-columns: 1fr !important;
    padding: 36px 28px !important;
  }

  .nx-cta-art.cta-art {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .nx-services-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nx-service-band-inner,
  .nx-service-band.is-flip .nx-service-band-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nx-service-band.is-flip .nx-service-band-art,
  .nx-service-band.is-flip .nx-service-band-copy {
    order: unset;
  }

  .nx-service-band-art {
    order: -1;
    min-height: 220px;
  }

  .nx-service-band-feats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nx-iso-hero-row,
  .nx-aff-about-inner,
  .nx-aff-why-top {
    grid-template-columns: 1fr !important;
  }

  .nx-iso-art,
  .nx-aff-about-art,
  .nx-aff-why-art {
    max-width: 460px;
    margin: 0 auto;
  }

  .nx-aff-process-grid,
  .nx-aff-why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nx-aff-process-grid,
  .nx-aff-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Header Login / Register (AffMantra-style dual CTAs) ========== */
.nx-header-auth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  flex: none;
}

.nx-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nx-auth-btn-ghost {
  color: var(--nx-orange-text, #c24a0a) !important;
  background: #fff !important;
  border: 1.5px solid rgba(252, 110, 25, 0.45);
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.05);
}

.nx-auth-btn-ghost:hover {
  border-color: var(--nx-orange, #fc6e19);
  color: var(--nx-orange-deep, #f0620d) !important;
}

.nx-auth-btn-solid {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: var(--nx-orange, #fc6e19) !important;
  border: 1.5px solid var(--nx-orange, #fc6e19);
  box-shadow: 0 8px 16px rgba(252, 110, 25, 0.28);
}

.nx-auth-btn-solid:hover {
  background: var(--nx-orange-deep, #f0620d) !important;
  border-color: var(--nx-orange-deep, #f0620d);
}

.nav-auth-mobile {
  display: none !important;
}

@media (max-width: 1024px) {
  .nav-auth-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-auth-mobile .nx-auth-btn {
    width: 100%;
  }

  .nav-links.open .nx-auth-btn-ghost {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.45);
  }
}

/* ========== Auth pages: full-bleed left/right split ========== */
.nx-auth-page {
  --nx-auth-side: 48%;
  min-height: 100vh;
  display: block;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
}

/* Register needs a wider form column for dense fields */
.nx-auth-page.is-register {
  --nx-auth-side: 40%;
}

.nx-auth-shell {
  display: flex;
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  overflow: visible;
  background: #fff;
  box-shadow: none;
}

.nx-auth-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  width: var(--nx-auth-side);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 40px 40px 28px;
  background: #fc6e19;
  color: #fff;
  overflow: hidden;
}

.nx-auth-panel-top {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 28rem;
  padding-right: 8px;
}

.nx-auth-panel-logo,
.nx-auth-mobile-logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
}

.nx-auth-panel-mark {
  width: 28px;
  height: 28px;
  display: block;
  flex: none;
}

.nx-auth-panel-word {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1;
  white-space: nowrap;
}

.nx-auth-panel-word em {
  font-style: normal;
  color: #fc6e19;
}

.nx-auth-panel-copy {
  position: relative;
  z-index: 1;
  margin: 0;
}

.nx-auth-panel-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.nx-auth-panel-copy p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.nx-auth-panel-art {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 0 8px;
  min-height: 0;
}

/* Soft disc keeps orange Storyset fills from melting into the orange rail */
.nx-auth-panel-art::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(78%, 380px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 58%, transparent 72%);
  pointer-events: none;
}

.nx-auth-panel-illu {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 520px);
  height: auto;
  max-height: min(54vh, 480px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 28px rgba(17, 17, 17, 0.18));
  user-select: none;
  pointer-events: none;
}

.nx-auth-main {
  margin-left: var(--nx-auth-side);
  width: calc(100% - var(--nx-auth-side));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px clamp(32px, 5vw, 72px);
  background: #fff;
  box-sizing: border-box;
}

.nx-auth-card {
  width: min(100%, 480px);
  margin: 0 auto;
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Register: full-bleed split; right column scrolls, left stays fixed */
.nx-auth-page.is-register .nx-auth-main {
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 48px;
}

.nx-auth-page.is-register .nx-auth-card {
  width: min(100%, 640px);
}

.nx-auth-page.is-register .nx-auth-card-head {
  margin-bottom: 16px;
}

.nx-auth-page.is-register .nx-auth-card-head h2 {
  font-size: 1.75rem;
}

.nx-auth-page.is-register .nx-auth-form {
  gap: 12px;
}

.nx-auth-page.is-register .nx-auth-field input {
  min-height: 42px;
}

.nx-auth-page.is-register .nx-auth-panel-copy h1 {
  font-size: clamp(1.4rem, 1.85vw, 1.85rem);
}

.nx-auth-page.is-register .nx-auth-panel-illu {
  width: min(100%, 560px);
  max-height: min(56vh, 500px);
}

.nx-auth-card-head {
  margin-bottom: 22px;
  text-align: center;
}

.nx-auth-mobile-logo {
  display: none;
  margin: 0 auto 18px;
}

.nx-auth-card-head h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
}

.nx-auth-card-head p {
  margin: 8px 0 0;
  color: #666;
  font-size: 0.95rem;
}

.nx-auth-form {
  display: grid;
  gap: 14px;
}

.nx-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nx-auth-field {
  display: grid;
  gap: 6px;
}

.nx-auth-field > span {
  font-size: 0.86rem;
  font-weight: 700;
  color: #222;
}

.nx-auth-field em {
  color: #e23b2f;
  font-style: normal;
}

.nx-auth-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.95rem;
  background: #fff;
  color: #111;
}

.nx-auth-field input:focus {
  outline: none;
  border-color: var(--nx-orange, #fc6e19);
  box-shadow: 0 0 0 3px rgba(252, 110, 25, 0.15);
}

.nx-auth-input-wrap {
  position: relative;
}

.nx-auth-input-wrap input {
  padding-right: 64px;
}

.nx-auth-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #777;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.nx-auth-hint {
  color: #888;
  font-size: 0.78rem;
}

.nx-auth-error {
  color: #c0392b;
  font-size: 0.78rem;
}

.nx-auth-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  align-items: center;
}

.nx-auth-check {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #444;
}

.nx-auth-check input {
  margin-top: 3px;
}

.nx-auth-agree a,
.nx-auth-text-link,
.nx-auth-footer-links a {
  color: var(--nx-orange-text, #c24a0a);
  text-decoration: none;
  font-weight: 600;
}

.nx-auth-agree a:hover,
.nx-auth-text-link:hover,
.nx-auth-footer-links a:hover {
  text-decoration: underline;
}

.nx-auth-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.nx-auth-actions-split {
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px 20px;
}

.nx-auth-actions-split .nx-auth-footer-links {
  margin-top: 0;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}

.nx-auth-actions-split .nx-auth-footer-links p {
  white-space: nowrap;
  font-size: 0.88rem;
}

.nx-auth-actions-split .nx-auth-submit {
  flex: none;
  margin-left: auto;
}

.nx-auth-submit {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--nx-orange, #fc6e19);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(252, 110, 25, 0.28);
}

.nx-auth-submit:hover {
  background: var(--nx-orange-deep, #f0620d);
}

.nx-auth-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.nx-auth-divider {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.nx-auth-role-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.nx-auth-footer-links {
  margin-top: 6px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.nx-auth-footer-links p {
  margin: 0;
  white-space: nowrap;
}

.nx-auth-footer-sep {
  margin: 0 0.45em;
  color: #cfcfcf;
}

@media (max-width: 640px) {
  .nx-auth-footer-links p {
    white-space: normal;
  }
}

.nx-auth-role-btn {
  flex: 1 1 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

.nx-auth-role-btn:hover {
  border-color: var(--nx-orange, #fc6e19);
  color: var(--nx-orange-text, #c24a0a);
}

.nx-auth-role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: #f3f3f3;
}

.nx-auth-role-tab {
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #555;
  font-weight: 700;
  font-size: 0.9rem;
}

.nx-auth-role-tab.is-active {
  background: #fff;
  color: var(--nx-orange-text, #c24a0a);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.06);
}

.nx-auth-role-note {
  margin: 0;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

.nx-auth-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.nx-auth-status.is-sent {
  background: #eefaf1;
  color: #1d6b3a;
}

.nx-auth-status.is-error {
  background: #fff1f0;
  color: #a1281f;
}

.nx-auth-status.is-sending {
  background: #fff7f0;
  color: #8a4b16;
}

@media (max-width: 980px) {
  .nx-auth-page {
    --nx-auth-side: 0%;
  }

  .nx-auth-shell {
    flex-direction: column;
    min-height: auto;
  }

  .nx-auth-panel {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 28px 24px 0;
  }

  .nx-auth-panel-top {
    gap: 24px;
    max-width: none;
  }

  .nx-auth-panel-illu,
  .nx-auth-page.is-register .nx-auth-panel-illu {
    max-height: 220px;
  }

  .nx-auth-main,
  .nx-auth-page.is-register .nx-auth-main {
    margin-left: 0;
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    padding: 32px 22px 40px;
  }

  .nx-auth-mobile-logo {
    display: inline-flex;
  }

  .nx-auth-panel-logo {
    display: none;
  }

  .nx-auth-card,
  .nx-auth-page.is-register .nx-auth-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 640px) {
  .nx-auth-panel {
    padding: 22px 18px 0;
  }

  .nx-auth-panel-art {
    display: none;
  }

  .nx-auth-main,
  .nx-auth-page.is-register .nx-auth-main {
    padding: 28px 16px 40px;
  }

  .nx-auth-grid {
    grid-template-columns: 1fr;
  }

  .nx-auth-actions,
  .nx-auth-actions-split {
    flex-direction: column-reverse;
    align-items: stretch;
    justify-content: stretch;
  }

  .nx-auth-actions-split .nx-auth-footer-links {
    text-align: center;
  }

  .nx-auth-actions-split .nx-auth-submit,
  .nx-auth-submit {
    width: 100%;
    margin-left: 0;
  }
}

/* ---------- Status pages: 404 / error ---------- */
.nx-status,
section.notfound {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 88% 12%, rgba(252, 110, 25, 0.16), transparent 36%),
    radial-gradient(circle at 8% 88%, rgba(252, 110, 25, 0.08), transparent 42%),
    linear-gradient(165deg, #fffaf6 0%, #ffffff 48%, #f7fbff 100%);
}

.nx-status-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.nx-status-code {
  margin: 0 0 6px;
  font-size: clamp(4rem, 11vw, 6.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(252, 110, 25, 0.28);
  user-select: none;
}

.nx-status h1,
.nx-status-inner h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
}

.nx-status-copy {
  margin: 0 auto 26px;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #5f6772;
}

.nx-status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.nx-status-actions .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nx-status-actions .hero-btn-secondary {
  background: #fff;
  color: #222;
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: none;
}

.nx-status-actions .hero-btn-secondary:hover {
  border-color: rgba(252, 110, 25, 0.45);
  color: var(--nx-orange-text, #c24a0a);
}

.nx-status-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.nx-status-links a {
  color: #6b7280;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.nx-status-links a:hover {
  color: var(--nx-orange-text, #c24a0a);
}

.nx-status--error .nx-status-code {
  color: rgba(17, 24, 39, 0.1);
}

@media (max-width: 640px) {
  .nx-status,
  section.notfound {
    min-height: 0;
    padding: 40px 0 48px;
  }

  .nx-status-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nx-status-actions .hero-btn {
    width: 100%;
  }
}
