/* ==========================================================================
   NEXUS EQUITY - STRATEGY & DILIGENCE DESIGN SHOWCASE (SCOPED STYLES)
   Contains: 3 Kept Designs (Funnel, Pods, Editorial) + 5 New Timeline/Visual Concepts
   Requirement: Stage 03 combines Internal Analysis & External Validation
   with clear visual separation across all 8 designs.
   ========================================================================== */

.nx-designs-showcase-wrapper,
.nx-designs-showcase-wrapper p,
.nx-designs-showcase-wrapper h2,
.nx-designs-showcase-wrapper h3,
.nx-designs-showcase-wrapper h4,
.nx-designs-showcase-wrapper span,
.nx-designs-showcase-wrapper a {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Homepage high contrast guard: loaded last so buttons/cards stay readable */
body[data-high-contrast="true"],
body.nx-high-contrast {
  background: #000000 !important;
  color: #ffffff !important;
  filter: none !important;
}

body[data-high-contrast="true"] .nx-hero-section,
body[data-high-contrast="true"] .nx-section,
body[data-high-contrast="true"] .nx-designs-showcase-wrapper,
body[data-high-contrast="true"] .nx-numbers-band,
body[data-high-contrast="true"] .nx-about-refresh-section,
body[data-high-contrast="true"] .nx-strategy-section,
body[data-high-contrast="true"] .nx-blog-section,
body.nx-high-contrast .nx-hero-section,
body.nx-high-contrast .nx-section,
body.nx-high-contrast .nx-designs-showcase-wrapper,
body.nx-high-contrast .nx-numbers-band,
body.nx-high-contrast .nx-about-refresh-section,
body.nx-high-contrast .nx-strategy-section,
body.nx-high-contrast .nx-blog-section {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
}

body[data-high-contrast="true"] .main-header,
body[data-high-contrast="true"] .header-upper,
body[data-high-contrast="true"] .sticky-header,
body.nx-high-contrast .main-header,
body.nx-high-contrast .header-upper,
body.nx-high-contrast .sticky-header {
  background: #000000 !important;
  background-image: none !important;
  border-bottom: 1px solid #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] *:not(.nx-a11y-widget, .nx-a11y-widget *, .theme-btn:hover, .btn-one:hover, .btn-two:hover, .nx-btn-primary:hover, .nx-btn-secondary:hover),
body.nx-high-contrast *:not(.nx-a11y-widget, .nx-a11y-widget *, .theme-btn:hover, .btn-one:hover, .btn-two:hover, .nx-btn-primary:hover, .nx-btn-secondary:hover) {
  color: #ffffff !important;
  text-shadow: none !important;
}

body[data-high-contrast="true"] a:not(.theme-btn, .btn-one, .btn-two, .nx-btn-primary, .nx-btn-secondary, .nx-a11y-widget *),
body.nx-high-contrast a:not(.theme-btn, .btn-one, .btn-two, .nx-btn-primary, .nx-btn-secondary, .nx-a11y-widget *) {
  color: #7dd3fc !important;
}

body[data-high-contrast="true"] .theme-btn,
body[data-high-contrast="true"] .btn-one,
body[data-high-contrast="true"] .btn-two,
body[data-high-contrast="true"] .nx-btn-primary,
body[data-high-contrast="true"] .nx-btn-secondary,
body[data-high-contrast="true"] .nx-btn-outline,
body.nx-high-contrast .theme-btn,
body.nx-high-contrast .btn-one,
body.nx-high-contrast .btn-two,
body.nx-high-contrast .nx-btn-primary,
body.nx-high-contrast .nx-btn-secondary,
body.nx-high-contrast .nx-btn-outline {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .theme-btn:hover,
body[data-high-contrast="true"] .btn-one:hover,
body[data-high-contrast="true"] .btn-two:hover,
body[data-high-contrast="true"] .nx-btn-primary:hover,
body[data-high-contrast="true"] .nx-btn-secondary:hover,
body[data-high-contrast="true"] .nx-btn-outline:hover,
body.nx-high-contrast .theme-btn:hover,
body.nx-high-contrast .btn-one:hover,
body.nx-high-contrast .btn-two:hover,
body.nx-high-contrast .nx-btn-primary:hover,
body.nx-high-contrast .nx-btn-secondary:hover,
body.nx-high-contrast .nx-btn-outline:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

body[data-high-contrast="true"] .theme-btn::before,
body[data-high-contrast="true"] .btn-one::before,
body[data-high-contrast="true"] .btn-two::before,
body[data-high-contrast="true"] .nx-btn-primary::before,
body[data-high-contrast="true"] .nx-btn-secondary::before,
body[data-high-contrast="true"] .nx-btn-outline::before,
body.nx-high-contrast .theme-btn::before,
body.nx-high-contrast .btn-one::before,
body.nx-high-contrast .btn-two::before,
body.nx-high-contrast .nx-btn-primary::before,
body.nx-high-contrast .nx-btn-secondary::before,
body.nx-high-contrast .nx-btn-outline::before {
  background: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
}

body[data-high-contrast="true"] .nx-hero-trust-strip,
body[data-high-contrast="true"] .nx-hero-trust-item,
body[data-high-contrast="true"] .nx-opt3-wrap,
body[data-high-contrast="true"] .nx-opt3-tier,
body[data-high-contrast="true"] .nx-opt3-tier-combined,
body[data-high-contrast="true"] .nx-number-box,
body[data-high-contrast="true"] .nx-facts-feature-panel,
body[data-high-contrast="true"] .nx-blog-card,
body[data-high-contrast="true"] .nx-alpha-card,
body.nx-high-contrast .nx-hero-trust-strip,
body.nx-high-contrast .nx-hero-trust-item,
body.nx-high-contrast .nx-opt3-wrap,
body.nx-high-contrast .nx-opt3-tier,
body.nx-high-contrast .nx-opt3-tier-combined,
body.nx-high-contrast .nx-number-box,
body.nx-high-contrast .nx-facts-feature-panel,
body.nx-high-contrast .nx-blog-card,
body.nx-high-contrast .nx-alpha-card {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .nx-hero-video-bg,
body[data-high-contrast="true"] .nx-metrics-video-bg,
body.nx-high-contrast .nx-hero-video-bg,
body.nx-high-contrast .nx-metrics-video-bg {
  opacity: 0.18 !important;
  filter: grayscale(1) contrast(1.2) brightness(0.45) !important;
}

body[data-high-contrast="true"] .theme-btn:hover *,
body[data-high-contrast="true"] .btn-one:hover *,
body[data-high-contrast="true"] .btn-two:hover *,
body[data-high-contrast="true"] .nx-btn-primary:hover *,
body[data-high-contrast="true"] .nx-btn-secondary:hover *,
body[data-high-contrast="true"] .nx-btn-outline:hover *,
body.nx-high-contrast .theme-btn:hover *,
body.nx-high-contrast .btn-one:hover *,
body.nx-high-contrast .btn-two:hover *,
body.nx-high-contrast .nx-btn-primary:hover *,
body.nx-high-contrast .nx-btn-secondary:hover *,
body.nx-high-contrast .nx-btn-outline:hover * {
  color: #000000 !important;
}

/* High contrast fixes for leadership capsules and FAQ accordion readability */
body[data-high-contrast="true"] .nx-leader-card,
body.nx-high-contrast .nx-leader-card {
  background: #000000 !important;
  background-image: none !important;
  border: 1px solid #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .nx-leader-card h3,
body[data-high-contrast="true"] .nx-leader-card p,
body.nx-high-contrast .nx-leader-card h3,
body.nx-high-contrast .nx-leader-card p {
  color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-leader-role-tag,
body[data-high-contrast="true"] .nx-leader-role-tag.sponsor,
body.nx-high-contrast .nx-leader-role-tag,
body.nx-high-contrast .nx-leader-role-tag.sponsor {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #7dd3fc !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .nx-linkedin-pill,
body.nx-high-contrast .nx-linkedin-pill {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .nx-linkedin-pill *,
body.nx-high-contrast .nx-linkedin-pill * {
  color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-linkedin-pill:hover,
body.nx-high-contrast .nx-linkedin-pill:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

body[data-high-contrast="true"] .nx-linkedin-pill:hover *,
body.nx-high-contrast .nx-linkedin-pill:hover * {
  color: #000000 !important;
}

body[data-high-contrast="true"] .nx-faq-desk-card,
body[data-high-contrast="true"] .nx-faq-item,
body[data-high-contrast="true"] .nx-faq-item.open,
body[data-high-contrast="true"] .nx-faq-trigger,
body[data-high-contrast="true"] .nx-faq-body,
body.nx-high-contrast .nx-faq-desk-card,
body.nx-high-contrast .nx-faq-item,
body.nx-high-contrast .nx-faq-item.open,
body.nx-high-contrast .nx-faq-trigger,
body.nx-high-contrast .nx-faq-body {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .nx-faq-trigger span,
body[data-high-contrast="true"] .nx-faq-body p,
body[data-high-contrast="true"] .nx-faq-desk-card h5,
body[data-high-contrast="true"] .nx-faq-desk-card p,
body[data-high-contrast="true"] .nx-faq-contact-link,
body[data-high-contrast="true"] .nx-faq-contact-link *,
body.nx-high-contrast .nx-faq-trigger span,
body.nx-high-contrast .nx-faq-body p,
body.nx-high-contrast .nx-faq-desk-card h5,
body.nx-high-contrast .nx-faq-desk-card p,
body.nx-high-contrast .nx-faq-contact-link,
body.nx-high-contrast .nx-faq-contact-link * {
  color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-faq-body p,
body.nx-high-contrast .nx-faq-body p {
  border-top-color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-faq-icon-indicator,
body.nx-high-contrast .nx-faq-icon-indicator {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

body[data-high-contrast="true"] .theme-btn:hover *,
body[data-high-contrast="true"] .btn-one:hover *,
body[data-high-contrast="true"] .btn-two:hover *,
body[data-high-contrast="true"] .nx-btn-primary:hover *,
body[data-high-contrast="true"] .nx-btn-secondary:hover *,
body[data-high-contrast="true"] .nx-btn-outline:hover *,
body.nx-high-contrast .theme-btn:hover *,
body.nx-high-contrast .btn-one:hover *,
body.nx-high-contrast .btn-two:hover *,
body.nx-high-contrast .nx-btn-primary:hover *,
body.nx-high-contrast .nx-btn-secondary:hover *,
body.nx-high-contrast .nx-btn-outline:hover * {
  color: #000000 !important;
}

.nx-opt-metric-serif,
.nx-opt3-tier-right,
.nx-opt3-sub-metric,
.nx-opt4-card-metric,
.nx-opt5-col-metric,
.nx-tl-h-metric,
.nx-tl-v-metric,
.nx-metro-metric,
.nx-chv-metric,
.nx-arch-metric,
.nx-arch-sub-metric {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
}

/* Universal Showcase Frame & Jump Bar */
.nx-designs-showcase-wrapper {
  background: #eef2f6;
  padding: 40px 0 80px;
  position: relative;
}

.nx-showcase-intro-banner {
  background: #091a2b;
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(9, 26, 43, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 992px) {
  .nx-showcase-intro-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.nx-showcase-intro-banner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.nx-showcase-intro-banner p {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}

.nx-showcase-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
}

.nx-showcase-nav-pills a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nx-showcase-nav-pills a:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #091a2b;
  transform: translateY(-2px);
}

.nx-showcase-nav-pills a.highlight-pill {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #7dd3fc;
}

/* Option Header Flag (Identifies each design section) */
.nx-option-flag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px dashed #cbd5e1;
  scroll-margin-top: 120px;
}

.nx-option-pill {
  background: #0b1f33;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.nx-option-pill.new-badge {
  background: #d97706;
  color: #ffffff;
}

.nx-option-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.nx-option-desc {
  font-size: 13px;
  color: #64748b;
  margin-left: auto;
}

@media (max-width: 767px) {
  .nx-option-flag {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nx-option-desc {
    margin-left: 0;
  }
}

/* Divider between design variations */
.nx-design-separator {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nx-design-separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #94a3b8, transparent);
}

.nx-design-separator span {
  background: #eef2f6;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #64748b;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   KEPT DESIGN OPTION 1 (Formerly 03): STEPPED ARCHITECTURAL INVERTED FUNNEL
   4-tier narrowing stack with Tier 03 combining Internal & External
   ========================================================================== */
.nx-opt3-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 40px 32px;
}

.nx-opt3-mandate-box {
  max-width: 840px;
  margin: 0 auto 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px 30px;
  text-align: left;
}

.nx-opt3-mandate-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.nx-opt3-mandate-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

.nx-opt3-mandate-box p + p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
  color: #0f172a;
  font-weight: 500;
}

.nx-opt3-funnel-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.nx-opt3-tier {
  width: 100%;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.nx-opt3-tier:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.nx-opt3-tier-1 { width: 100%; background: #f0f9ff; border-color: #bae6fd; }
.nx-opt3-tier-2 { width: 90%; background: #f0f9ff; border-color: #bae6fd; }
.nx-opt3-tier-3 { width: 82%; background: #f0f9ff; border-color: #bae6fd; }
.nx-opt3-tier-4 {
  width: 72%;
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0b1f33;
  box-shadow: 0 10px 25px rgba(9, 26, 43, 0.08);
}

.nx-opt3-tier-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nx-opt3-tier-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b1f33;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-opt3-tier-4 .nx-opt3-tier-num {
  background: #0b1f33;
  color: #ffffff;
}

.nx-opt3-tier-info h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.nx-opt3-tier-4 .nx-opt3-tier-info h4 {
  color: #ffffff;
}

.nx-opt3-tier-info p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.nx-opt3-tier-4 .nx-opt3-tier-info p {
  color: #64748b;
}

.nx-opt3-tier-right {
  font-size: 24px;
  line-height: 1;
  color: #0369a1;
  text-align: left;
  white-space: nowrap;
}

.nx-opt3-tier-4 .nx-opt3-tier-right {
  color: #0369a1;
}

.nx-research-funnel-wrap .nx-opt3-tier-1,
.nx-research-funnel-wrap .nx-opt3-tier-2,
.nx-research-funnel-wrap .nx-opt3-tier-4 {
  justify-content: center;
  text-align: center;
}

.nx-research-funnel-wrap .nx-opt3-tier-1 .nx-opt3-tier-left,
.nx-research-funnel-wrap .nx-opt3-tier-2 .nx-opt3-tier-left,
.nx-research-funnel-wrap .nx-opt3-tier-4 .nx-opt3-tier-left {
  width: auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nx-research-funnel-wrap .nx-opt3-tier-1 .nx-opt3-tier-info,
.nx-research-funnel-wrap .nx-opt3-tier-2 .nx-opt3-tier-info,
.nx-research-funnel-wrap .nx-opt3-tier-4 .nx-opt3-tier-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nx-opt3-title-row {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 3px;
}

.nx-opt3-title-row .nx-opt3-tier-right {
  flex: 0 0 auto;
}

.nx-research-funnel-wrap .nx-opt3-tier-1 .nx-opt3-tier-info p,
.nx-research-funnel-wrap .nx-opt3-tier-2 .nx-opt3-tier-info p,
.nx-research-funnel-wrap .nx-opt3-tier-4 .nx-opt3-tier-info p {
  text-align: center;
}

.nx-research-funnel-wrap .nx-opt3-tier-4 .nx-opt3-tier-info h3 {
  color: #0f172a;
}

.nx-opt3-arrow-down {
  color: #94a3b8;
  font-size: 11px;
}

/* Tier 03 Combined Internal Analysis + External Validation */
.nx-opt3-tier-combined {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.nx-opt3-tier-combined .nx-opt3-tier-left {
  justify-content: center;
  width: 100%;
}

.nx-opt3-combined-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  width: 100%;
  margin-left: 0;
  margin-top: 0;
}

.nx-opt3-sub-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.nx-opt3-sub-info {
  flex: 1;
}

.nx-opt3-sub-info h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.nx-opt3-sub-info p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.nx-opt3-sub-divider {
  width: 1px;
  height: 40px;
  background: #bae6fd;
  flex-shrink: 0;
}

.nx-opt3-sub-metric {
  font-size: 22px;
  line-height: 1;
  color: #0369a1;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ==========================================================================
   KEPT DESIGN OPTION 2 (Formerly 04): PROGRESSIVE TILES & STRATEGY PODS
   4 stages: Step 03 is a double-wide unified diligence card
   ========================================================================== */
.nx-opt4-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 36px 32px;
}

.nx-opt4-mandate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.nx-opt4-pod {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 12px;
  padding: 22px 24px;
}

.nx-opt4-pod.gold {
  border-left-color: #d97706;
}

.nx-opt4-pod-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0369a1;
  display: block;
  margin-bottom: 8px;
}

.nx-opt4-pod.gold .nx-opt4-pod-badge {
  color: #d97706;
}

.nx-opt4-pod p {
  font-size: 14.5px;
  line-height: 1.68;
  color: #334155;
  margin: 0;
}

.nx-opt4-flow-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  gap: 14px;
}

.nx-opt4-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.nx-opt4-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}

.nx-opt4-card-no {
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
  display: block;
  margin-bottom: 8px;
}

.nx-opt4-card-metric {
  font-size: 26px;
  line-height: 1.1;
  color: #0369a1;
  margin-bottom: 4px;
}

.nx-opt4-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.nx-opt4-card p {
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.nx-opt4-card.accent {
  background: #f0f9ff;
  border-color: #38bdf8;
}

.nx-opt4-card.combined {
  background: #f0f9ff;
  border-color: #38bdf8;
}

.nx-opt4-split-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 16px;
  flex: 1;
}

.nx-opt4-subcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-opt4-v-divider {
  background: #bae6fd;
  width: 1px;
}

.nx-opt4-card.accent-final {
  background: #091a2b;
  border-color: #1a3c61;
  color: #fff;
}

.nx-opt4-card.accent-final .nx-opt4-card-no {
  color: #fbbf24;
}

.nx-opt4-card.accent-final .nx-opt4-card-metric {
  color: #fbbf24;
}

.nx-opt4-card.accent-final h4 {
  color: #ffffff;
}

.nx-opt4-card.accent-final p {
  color: #cbd5e1;
  border-top-color: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   KEPT DESIGN OPTION 3 (Formerly 05): LUXURY EDITORIAL DUAL-TIER (SWISS / FT)
   4 editorial columns: Col 03 holds both Internal Analysis & External Validation
   ========================================================================== */
.nx-opt5-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 44px 36px;
}

.nx-opt5-editorial-head {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.nx-opt5-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #854d0e;
  display: block;
  margin-bottom: 8px;
}

.nx-opt5-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 28px 32px;
}

.nx-opt5-editorial-col span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #78716c;
  margin-bottom: 8px;
}

.nx-opt5-editorial-col p {
  font-size: 15px;
  line-height: 1.75;
  color: #292524;
  margin: 0;
}

.nx-opt5-steps-container {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  border-top: 2px solid #0f172a;
  border-bottom: 1px solid #e7e5e4;
  padding: 28px 0 16px;
}

.nx-opt5-col {
  padding: 0 18px;
  border-right: 1px solid #e7e5e4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-opt5-col:last-child {
  border-right: none;
}

.nx-opt5-col.combined {
  padding: 0 22px;
}

.nx-opt5-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  flex: 1;
}

.nx-opt5-subcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-opt5-subcol:last-child {
  padding-left: 20px;
  border-left: 1px dashed #e7e5e4;
}

.nx-opt5-col-num {
  font-size: 12px;
  font-weight: 800;
  color: #a8a29e;
  display: block;
  margin-bottom: 14px;
}

.nx-opt5-col-metric {
  font-size: 32px;
  line-height: 1;
  color: #0f172a;
  margin-bottom: 10px;
}

.nx-opt5-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #1c1917;
  margin: 0 0 10px;
}

.nx-opt5-col p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #57534e;
  margin: 0;
}

.nx-opt5-col-final {
  background: #fafaf9;
  border-radius: 8px;
  padding: 14px 18px;
  margin: -14px -6px -6px;
}

.nx-opt5-col-final .nx-opt5-col-metric {
  color: #b45309;
}


/* ==========================================================================
   NEW DESIGN OPTION 04: LUMINOUS HORIZONTAL TIMELINE
   4 sequential milestone stations: Step 03 is a double-wide diligence node
   ========================================================================== */
.nx-tl-h-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 40px 32px;
}

.nx-tl-strategy-card {
  background: linear-gradient(135deg, #091a2b 0%, #0d2946 100%);
  border-radius: 16px;
  padding: 28px 32px;
  color: #ffffff;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.nx-tl-strategy-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.nx-tl-strategy-item {
  border-left: 2px solid #38bdf8;
  padding-left: 18px;
}

.nx-tl-strategy-item.gold {
  border-left-color: #38bdf8;
}

.nx-tl-strategy-item p {
  font-size: 14.5px;
  line-height: 1.68;
  color: #e2e8f0;
  margin: 0;
}

@media (min-width: 992px) {
  .main-header .right-column {
    margin-right: 70px;
  }
}

.nx-research-funnel-wrap .nx-opt3-tier {
  align-items: flex-start;
}

.nx-research-funnel-wrap .nx-opt3-tier-right {
  padding-top: 0;
  line-height: 1.1;
}

.nx-research-funnel-wrap .nx-opt3-tier-num {
  display: none;
}

.nx-research-funnel-wrap .nx-opt3-tier-1,
.nx-research-funnel-wrap .nx-opt3-tier-2,
.nx-research-funnel-wrap .nx-opt3-tier-4 {
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  padding-left: 42px;
  padding-right: 42px;
}

.nx-research-funnel-wrap .nx-opt3-tier-3 {
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  padding-left: 44px;
  padding-right: 44px;
}

/* Horizontal Timeline Track */
.nx-tl-h-track-container {
  position: relative;
  padding-top: 36px;
}

.nx-tl-h-line {
  position: absolute;
  top: 56px;
  left: 6%;
  right: 6%;
  height: 4px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 45%, #94a3b8 70%, #d97706 100%);
  border-radius: 4px;
  z-index: 1;
}

.nx-tl-h-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.nx-tl-h-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nx-tl-h-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0284c7;
  color: #0284c7;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px #e0f2fe;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.nx-tl-h-step:hover .nx-tl-h-node {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px #bae6fd;
}

.nx-tl-h-step.final .nx-tl-h-node {
  border-color: #d97706;
  color: #d97706;
  box-shadow: 0 0 0 6px #fef3c7;
}

.nx-tl-h-card {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: all 0.25s ease;
}

.nx-tl-h-step:hover .nx-tl-h-card {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}

.nx-tl-h-card.combined {
  background: #f0f9ff;
  border-color: #38bdf8;
  padding: 20px 20px;
}

.nx-tl-h-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 16px;
  height: 100%;
  text-align: left;
}

.nx-tl-subcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-tl-v-sep {
  background: #bae6fd;
  width: 1px;
}

.nx-tl-h-metric {
  font-size: 26px;
  line-height: 1;
  color: #0369a1;
  margin-bottom: 8px;
}

.nx-tl-h-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.nx-tl-h-card p {
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.nx-tl-h-step.final .nx-tl-h-card {
  background: #091a2b;
  border-color: #1a3c61;
  color: #ffffff;
}

.nx-tl-h-step.final .nx-tl-h-metric {
  color: #fbbf24;
}

.nx-tl-h-step.final .nx-tl-h-card h4 {
  color: #ffffff;
}

.nx-tl-h-step.final .nx-tl-h-card p {
  color: #cbd5e1;
  border-top-color: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   NEW DESIGN OPTION 05: ALTERNATING VERTICAL ROADMAP / TIMELINE
   4 alternating items: Left (01) -> Right (02) -> Left (03 Unified) -> Right (04)
   ========================================================================== */
.nx-tl-v-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 44px 32px;
}

.nx-tl-v-spine-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
}

.nx-tl-v-spine-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, #0284c7 0%, #38bdf8 50%, #d97706 100%);
  transform: translateX(-50%);
  border-radius: 3px;
}

.nx-tl-v-item {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}

.nx-tl-v-item.left {
  justify-content: flex-start;
}

.nx-tl-v-item.right {
  justify-content: flex-end;
}

.nx-tl-v-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0284c7;
  color: #0284c7;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px #e0f2fe;
  z-index: 2;
}

.nx-tl-v-item.final .nx-tl-v-node {
  border-color: #d97706;
  color: #d97706;
  box-shadow: 0 0 0 5px #fef3c7;
}

.nx-tl-v-card {
  width: 43%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.nx-tl-v-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.nx-tl-v-card.combined {
  width: 45%;
  background: #f0f9ff;
  border-color: #38bdf8;
  padding: 22px 24px;
}

.nx-tl-v-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.nx-tl-v-subcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-tl-v-subcol:last-child {
  padding-left: 18px;
  border-left: 1px dashed #cbd5e1;
}

.nx-tl-v-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.nx-tl-v-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.nx-tl-v-metric {
  font-size: 22px;
  color: #0369a1;
}

.nx-tl-v-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.nx-tl-v-item.final .nx-tl-v-card {
  background: linear-gradient(135deg, #091a2b 0%, #153252 100%);
  border-color: #1e3a5f;
  color: #ffffff;
}

.nx-tl-v-item.final .nx-tl-v-card h4 {
  color: #ffffff;
}

.nx-tl-v-item.final .nx-tl-v-metric {
  color: #fbbf24;
}

.nx-tl-v-item.final .nx-tl-v-card p {
  color: #cbd5e1;
}


/* ==========================================================================
   NEW DESIGN OPTION 06: CONNECTED METRO / TRANSIT PIPELINE
   3 phases: Station 03 combines Internal Analysis & External Validation
   ========================================================================== */
.nx-metro-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 40px 32px;
}

.nx-metro-track-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nx-metro-phase-tag-1 { color: #0284c7; }
.nx-metro-phase-tag-2 { color: #475569; }
.nx-metro-phase-tag-3 { color: #d97706; }

.nx-metro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  gap: 16px;
  position: relative;
}

.nx-metro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 5px solid #0284c7;
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.nx-metro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.nx-metro-card.phase-2 {
  border-top-color: #334155;
}

.nx-metro-card.phase-2.combined {
  background: #f8fafc;
}

.nx-metro-card.phase-3 {
  border-top-color: #d97706;
  background: #091a2b;
  color: #fff;
}

.nx-metro-card-station {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.nx-metro-station-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0284c7;
}

.nx-metro-card.phase-2 .nx-metro-station-dot { background: #334155; }
.nx-metro-card.phase-3 .nx-metro-station-dot { background: #fbbf24; }

.nx-metro-station-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748b;
}

.nx-metro-card.phase-3 .nx-metro-station-index { color: #fde68a; }

.nx-metro-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 16px;
  flex: 1;
}

.nx-metro-subdock {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-metro-sub-sep {
  background: #e2e8f0;
  width: 1px;
}

.nx-metro-metric {
  font-size: 28px;
  line-height: 1;
  color: #0369a1;
  margin-bottom: 8px;
}

.nx-metro-card.phase-2 .nx-metro-metric { color: #1e293b; }
.nx-metro-card.phase-3 .nx-metro-metric { color: #fbbf24; }

.nx-metro-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.nx-metro-card.phase-3 h4 { color: #ffffff; }

.nx-metro-card p {
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.nx-metro-card.phase-3 p {
  color: #cbd5e1;
  border-top-color: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   NEW DESIGN OPTION 07: DIRECTIONAL CHEVRON PIPELINE
   Step 03 holds dual compartments (Internal + External) inside chevron 03
   ========================================================================== */
.nx-chv-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 40px 32px;
}

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

.nx-chv-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  transition: all 0.25s ease;
}

.nx-chv-card:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}

.nx-chv-card.combined {
  background: #f0f9ff;
  border-color: #38bdf8;
}

.nx-chv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.nx-chv-step-no {
  font-size: 11px;
  font-weight: 900;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 4px;
}

.nx-chv-arrow {
  font-size: 12px;
  color: #94a3b8;
}

.nx-chv-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 16px;
  flex: 1;
}

.nx-chv-subcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nx-chv-sep {
  background: #bae6fd;
  width: 1px;
}

.nx-chv-metric {
  font-size: 28px;
  line-height: 1;
  color: #0369a1;
  margin-bottom: 8px;
}

.nx-chv-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.nx-chv-card p {
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.nx-chv-card.final {
  background: linear-gradient(135deg, #091a2b 0%, #153252 100%);
  border-color: #1e3a5f;
  color: #ffffff;
}

.nx-chv-card.final .nx-chv-step-no {
  background: #fbbf24;
  color: #0b1f33;
}

.nx-chv-card.final .nx-chv-arrow {
  color: #fbbf24;
}

.nx-chv-card.final .nx-chv-metric {
  color: #fbbf24;
}

.nx-chv-card.final h4 {
  color: #ffffff;
}

.nx-chv-card.final p {
  color: #cbd5e1;
  border-top-color: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   NEW DESIGN OPTION 08: LAYERED ARCHITECTURAL MILESTONE BOARD
   4 capsule rows: Row 03 combines Internal Analysis & External Validation
   ========================================================================== */
.nx-arch-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
  padding: 44px 32px;
}

.nx-arch-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.nx-arch-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.2s ease;
}

.nx-arch-row:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.nx-arch-row.combined {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.nx-arch-row.combined .nx-arch-badge {
  background: #dcfce7;
  color: #15803d;
}

.nx-arch-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.nx-arch-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-arch-split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 24px;
  align-items: center;
  flex: 1;
}

.nx-arch-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nx-arch-v-sep {
  width: 1px;
  height: 44px;
  background: #bbf7d0;
}

.nx-arch-details h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.nx-arch-details p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.nx-arch-metric-wrap {
  text-align: right;
  flex-shrink: 0;
}

.nx-arch-metric,
.nx-arch-sub-metric {
  font-size: 26px;
  color: #0369a1;
  display: block;
}

.nx-arch-subitem .nx-arch-sub-metric {
  color: #15803d;
}

.nx-arch-row.final {
  background: linear-gradient(135deg, #091a2b 0%, #153252 100%);
  border-color: #1e3a5f;
  color: #ffffff;
}

.nx-arch-row.final .nx-arch-badge {
  background: #fbbf24;
  color: #0b1f33;
}

.nx-arch-row.final .nx-arch-details h4 {
  color: #ffffff;
}

.nx-arch-row.final .nx-arch-details p {
  color: #cbd5e1;
}

.nx-arch-row.final .nx-arch-metric {
  color: #fbbf24;
}


/* ==========================================================================
   RESPONSIVE QUERIES FOR ALL 8 DESIGNS
   ========================================================================== */
@media (max-width: 991px) {
  .nx-opt4-mandate-row,
  .nx-opt5-editorial-grid,
  .nx-tl-strategy-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .nx-opt4-flow-wrap,
  .nx-opt5-steps-container,
  .nx-tl-h-grid,
  .nx-metro-grid,
  .nx-chv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .nx-opt4-card.combined,
  .nx-opt5-col.combined,
  .nx-tl-h-step.combined,
  .nx-metro-card.combined,
  .nx-chv-card.combined,
  .nx-opt4-card.accent-final,
  .nx-opt5-col-final,
  .nx-tl-h-step.final,
  .nx-metro-card.phase-3,
  .nx-chv-card.final {
    grid-column: span 2;
  }

  .nx-tl-h-line {
    display: none;
  }

  .nx-opt5-col {
    border-right: none;
    border-bottom: 1px solid #e7e5e4;
    padding: 16px 0;
  }

  .nx-opt3-tier {
    width: 100% !important;
  }

  .nx-tl-v-spine-line {
    left: 20px;
  }

  .nx-tl-v-node {
    left: 20px;
  }

  .nx-tl-v-card,
  .nx-tl-v-card.combined {
    width: calc(100% - 50px);
    margin-left: 50px;
  }

  .nx-tl-v-item.left,
  .nx-tl-v-item.right {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .nx-opt4-flow-wrap,
  .nx-opt5-steps-container,
  .nx-tl-h-grid,
  .nx-metro-grid,
  .nx-chv-grid {
    grid-template-columns: 1fr;
  }
  
  .nx-opt4-card.combined,
  .nx-opt5-col.combined,
  .nx-tl-h-step.combined,
  .nx-metro-card.combined,
  .nx-chv-card.combined,
  .nx-opt4-card.accent-final,
  .nx-opt5-col-final,
  .nx-tl-h-step.final,
  .nx-metro-card.phase-3,
  .nx-chv-card.final {
    grid-column: span 1;
  }

  .nx-opt3-wrap,
  .nx-opt4-wrap,
  .nx-opt5-wrap,
  .nx-tl-h-wrap,
  .nx-tl-v-wrap,
  .nx-metro-wrap,
  .nx-chv-wrap,
  .nx-arch-wrap {
    padding: 24px 16px;
  }

  .nx-opt3-tier-combined {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nx-opt3-combined-row {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .nx-opt3-sub-item {
    width: 100%;
  }

  .nx-opt3-combined-row,
  .nx-opt4-split-grid,
  .nx-opt5-split-grid,
  .nx-tl-h-split,
  .nx-tl-v-split,
  .nx-metro-split,
  .nx-chv-split,
  .nx-arch-split {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .nx-opt3-sub-divider,
  .nx-opt4-v-divider,
  .nx-tl-v-sep,
  .nx-metro-sub-sep,
  .nx-chv-sep,
  .nx-arch-v-sep {
    display: none !important;
  }

  .nx-opt5-subcol:last-child {
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 1px dashed #e7e5e4;
    padding-top: 14px;
  }

  .nx-tl-v-subcol:last-child {
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 1px dashed #cbd5e1;
    padding-top: 14px;
  }

  .nx-arch-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nx-arch-split {
    width: 100%;
  }

  .nx-arch-subitem {
    width: 100%;
  }

  .nx-arch-metric-wrap {
    text-align: left;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
  }

  .nx-arch-row.final .nx-arch-metric-wrap {
    border-top-color: rgba(255, 255, 255, 0.15);
  }
}

/* Final homepage high contrast guard: this is intentionally last. */
body[data-high-contrast="true"],
body.nx-high-contrast {
  background: #000000 !important;
  color: #ffffff !important;
  filter: none !important;
}

body[data-high-contrast="true"] .nx-hero-section,
body[data-high-contrast="true"] .nx-section,
body[data-high-contrast="true"] .nx-designs-showcase-wrapper,
body[data-high-contrast="true"] .nx-numbers-band,
body[data-high-contrast="true"] .nx-about-refresh-section,
body[data-high-contrast="true"] .nx-strategy-section,
body[data-high-contrast="true"] .nx-blog-section,
body.nx-high-contrast .nx-hero-section,
body.nx-high-contrast .nx-section,
body.nx-high-contrast .nx-designs-showcase-wrapper,
body.nx-high-contrast .nx-numbers-band,
body.nx-high-contrast .nx-about-refresh-section,
body.nx-high-contrast .nx-strategy-section,
body.nx-high-contrast .nx-blog-section {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
}

body[data-high-contrast="true"] .main-header,
body[data-high-contrast="true"] .header-upper,
body[data-high-contrast="true"] .sticky-header,
body.nx-high-contrast .main-header,
body.nx-high-contrast .header-upper,
body.nx-high-contrast .sticky-header {
  background: #000000 !important;
  background-image: none !important;
  border-bottom: 1px solid #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] *:not(.nx-a11y-widget, .nx-a11y-widget *, .theme-btn:hover, .btn-one:hover, .btn-two:hover, .nx-btn-primary:hover, .nx-btn-secondary:hover),
body.nx-high-contrast *:not(.nx-a11y-widget, .nx-a11y-widget *, .theme-btn:hover, .btn-one:hover, .btn-two:hover, .nx-btn-primary:hover, .nx-btn-secondary:hover) {
  color: #ffffff !important;
  text-shadow: none !important;
}

body[data-high-contrast="true"] a:not(.theme-btn, .btn-one, .btn-two, .nx-btn-primary, .nx-btn-secondary, .nx-a11y-widget *),
body.nx-high-contrast a:not(.theme-btn, .btn-one, .btn-two, .nx-btn-primary, .nx-btn-secondary, .nx-a11y-widget *) {
  color: #7dd3fc !important;
}

body[data-high-contrast="true"] .theme-btn,
body[data-high-contrast="true"] .btn-one,
body[data-high-contrast="true"] .btn-two,
body[data-high-contrast="true"] .nx-btn-primary,
body[data-high-contrast="true"] .nx-btn-secondary,
body[data-high-contrast="true"] .nx-btn-outline,
body.nx-high-contrast .theme-btn,
body.nx-high-contrast .btn-one,
body.nx-high-contrast .btn-two,
body.nx-high-contrast .nx-btn-primary,
body.nx-high-contrast .nx-btn-secondary,
body.nx-high-contrast .nx-btn-outline {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .theme-btn:hover,
body[data-high-contrast="true"] .btn-one:hover,
body[data-high-contrast="true"] .btn-two:hover,
body[data-high-contrast="true"] .nx-btn-primary:hover,
body[data-high-contrast="true"] .nx-btn-secondary:hover,
body[data-high-contrast="true"] .nx-btn-outline:hover,
body.nx-high-contrast .theme-btn:hover,
body.nx-high-contrast .btn-one:hover,
body.nx-high-contrast .btn-two:hover,
body.nx-high-contrast .nx-btn-primary:hover,
body.nx-high-contrast .nx-btn-secondary:hover,
body.nx-high-contrast .nx-btn-outline:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

body[data-high-contrast="true"] .theme-btn::before,
body[data-high-contrast="true"] .btn-one::before,
body[data-high-contrast="true"] .btn-two::before,
body[data-high-contrast="true"] .nx-btn-primary::before,
body[data-high-contrast="true"] .nx-btn-secondary::before,
body[data-high-contrast="true"] .nx-btn-outline::before,
body.nx-high-contrast .theme-btn::before,
body.nx-high-contrast .btn-one::before,
body.nx-high-contrast .btn-two::before,
body.nx-high-contrast .nx-btn-primary::before,
body.nx-high-contrast .nx-btn-secondary::before,
body.nx-high-contrast .nx-btn-outline::before {
  background: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
}

body[data-high-contrast="true"] .nx-hero-trust-strip,
body[data-high-contrast="true"] .nx-hero-trust-item,
body[data-high-contrast="true"] .nx-opt3-wrap,
body[data-high-contrast="true"] .nx-opt3-tier,
body[data-high-contrast="true"] .nx-opt3-tier-combined,
body[data-high-contrast="true"] .nx-number-box,
body[data-high-contrast="true"] .nx-facts-feature-panel,
body[data-high-contrast="true"] .nx-blog-card,
body[data-high-contrast="true"] .nx-alpha-card,
body.nx-high-contrast .nx-hero-trust-strip,
body.nx-high-contrast .nx-hero-trust-item,
body.nx-high-contrast .nx-opt3-wrap,
body.nx-high-contrast .nx-opt3-tier,
body.nx-high-contrast .nx-opt3-tier-combined,
body.nx-high-contrast .nx-number-box,
body.nx-high-contrast .nx-facts-feature-panel,
body.nx-high-contrast .nx-blog-card,
body.nx-high-contrast .nx-alpha-card {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
}

body[data-high-contrast="true"] .nx-hero-video-bg,
body[data-high-contrast="true"] .nx-metrics-video-bg,
body.nx-high-contrast .nx-hero-video-bg,
body.nx-high-contrast .nx-metrics-video-bg {
  opacity: 0.18 !important;
  filter: grayscale(1) contrast(1.2) brightness(0.45) !important;
}
body[data-high-contrast="true"] .theme-btn:hover *,
body[data-high-contrast="true"] .btn-one:hover *,
body[data-high-contrast="true"] .btn-two:hover *,
body[data-high-contrast="true"] .nx-btn-primary:hover *,
body[data-high-contrast="true"] .nx-btn-secondary:hover *,
body[data-high-contrast="true"] .nx-btn-outline:hover *,
body.nx-high-contrast .theme-btn:hover *,
body.nx-high-contrast .btn-one:hover *,
body.nx-high-contrast .btn-two:hover *,
body.nx-high-contrast .nx-btn-primary:hover *,
body.nx-high-contrast .nx-btn-secondary:hover *,
body.nx-high-contrast .nx-btn-outline:hover * {
  color: #000000 !important;
}

/* Requested high-contrast visibility fixes: FAQ hover, form submit, scroll top, intro numbers only. */
body[data-high-contrast="true"] .faq-item-card:hover .faq-question-btn,
body.nx-high-contrast .faq-item-card:hover .faq-question-btn {
  background: #ffffff !important;
}

body[data-high-contrast="true"] .faq-item-card:hover .faq-q-text,
body[data-high-contrast="true"] .faq-item-card:hover .faq-question-btn *,
body.nx-high-contrast .faq-item-card:hover .faq-q-text,
body.nx-high-contrast .faq-item-card:hover .faq-question-btn * {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body[data-high-contrast="true"] .nx-form-submit-btn,
body.nx-high-contrast .nx-form-submit-btn {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

body[data-high-contrast="true"] .nx-form-submit-btn span,
body.nx-high-contrast .nx-form-submit-btn span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-form-submit-btn:hover,
body.nx-high-contrast .nx-form-submit-btn:hover {
  background: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  border-color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-form-submit-btn:hover span,
body.nx-high-contrast .nx-form-submit-btn:hover span {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body[data-high-contrast="true"] .scroll-top,
body.nx-high-contrast .scroll-top {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body[data-high-contrast="true"] .scroll-top i,
body.nx-high-contrast .scroll-top i {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body[data-high-contrast="true"] .nx-intro-principles > div > span,
body.nx-high-contrast .nx-intro-principles > div > span {
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  border: 1px solid #ffffff !important;
}

/* Requested high-contrast fixes: form dropdown menu text, FAQ text/arrow, scroll-top arrow only. */
body[data-high-contrast="true"] select.nx-form-control option,
body.nx-high-contrast select.nx-form-control option {
  background-color: #000000 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body[data-high-contrast="true"] select.nx-form-control option:checked,
body.nx-high-contrast select.nx-form-control option:checked {
  background-color: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body[data-high-contrast="true"] .nx-faq-item:hover .nx-faq-trigger,
body[data-high-contrast="true"] .nx-faq-item.open .nx-faq-trigger,
body.nx-high-contrast .nx-faq-item:hover .nx-faq-trigger,
body.nx-high-contrast .nx-faq-item.open .nx-faq-trigger {
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body[data-high-contrast="true"] .nx-faq-item:hover .nx-faq-trigger span,
body[data-high-contrast="true"] .nx-faq-item.open .nx-faq-trigger span,
body.nx-high-contrast .nx-faq-item:hover .nx-faq-trigger span,
body.nx-high-contrast .nx-faq-item.open .nx-faq-trigger span {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body[data-high-contrast="true"] .nx-faq-icon-indicator,
body[data-high-contrast="true"] .nx-faq-item:hover .nx-faq-icon-indicator,
body[data-high-contrast="true"] .nx-faq-item.open .nx-faq-icon-indicator,
body.nx-high-contrast .nx-faq-icon-indicator,
body.nx-high-contrast .nx-faq-item:hover .nx-faq-icon-indicator,
body.nx-high-contrast .nx-faq-item.open .nx-faq-icon-indicator {
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  border: 1px solid #ffffff !important;
}

body[data-high-contrast="true"] .nx-faq-icon-indicator i,
body[data-high-contrast="true"] .nx-faq-icon-indicator i::before,
body[data-high-contrast="true"] .nx-faq-item:hover .nx-faq-icon-indicator i,
body[data-high-contrast="true"] .nx-faq-item:hover .nx-faq-icon-indicator i::before,
body[data-high-contrast="true"] .nx-faq-item.open .nx-faq-icon-indicator i,
body[data-high-contrast="true"] .nx-faq-item.open .nx-faq-icon-indicator i::before,
body.nx-high-contrast .nx-faq-icon-indicator i,
body.nx-high-contrast .nx-faq-icon-indicator i::before,
body.nx-high-contrast .nx-faq-item:hover .nx-faq-icon-indicator i,
body.nx-high-contrast .nx-faq-item:hover .nx-faq-icon-indicator i::before,
body.nx-high-contrast .nx-faq-item.open .nx-faq-icon-indicator i,
body.nx-high-contrast .nx-faq-item.open .nx-faq-icon-indicator i::before {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

body[data-high-contrast="true"] .scroll-top:hover,
body.nx-high-contrast .scroll-top:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

body[data-high-contrast="true"] .scroll-top:hover i,
body[data-high-contrast="true"] .scroll-top:hover i::before,
body.nx-high-contrast .scroll-top:hover i,
body.nx-high-contrast .scroll-top:hover i::before {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}
