/*
 * NOXUS AI — Experience layer / 2026.2
 * Pure-black editorial surfaces, real vector controls and scroll-led product stories.
 */

:root {
  --nx-black: #010203;
  --nx-ink: #030607;
  --nx-panel: #071014;
  --nx-cyan: #71eaff;
  --nx-cyan-bright: #d5faff;
  --nx-white: #f4f8f9;
  --nx-muted: #89999f;
  --nx-line: rgba(196, 235, 244, 0.12);
  --nx-line-strong: rgba(196, 235, 244, 0.25);
}

body {
  background-color: var(--nx-black);
}

.brand-icon {
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.icon-arrow {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.header-contact .icon-arrow,
.button.primary .icon-arrow,
.footer-action .icon-arrow {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--nx-black);
  background: var(--nx-cyan);
  transition: color 220ms ease, background 220ms ease, transform 300ms var(--nx-ease);
}

.button.primary:hover .icon-arrow {
  color: var(--nx-cyan);
  background: var(--nx-black);
  transform: translate(2px, -2px);
}

.button.primary:hover .icon-arrow-down {
  transform: translateY(2px);
}

.footer-action:hover .icon-arrow,
.header-contact:hover .icon-arrow {
  transform: translate(2px, -2px);
}

.text-link::after {
  content: none;
}

.text-link .icon-arrow {
  width: 27px;
  height: 27px;
  padding: 6px;
  border: 1px solid var(--nx-line-strong);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.text-link:hover .icon-arrow {
  color: var(--nx-black);
  background: var(--nx-cyan);
  transform: translate(2px, -2px);
}

.solution-card::after,
.process-grid article::after,
.case-card::after {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M8 7h9v9' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.growth-grid article::after {
  content: none;
}

.form-panel .errorlist {
  color: var(--nx-cyan-bright);
}

.nav-mobile-intro,
.nav-mobile-footer {
  display: none;
}

/* Scroll-led service theatre */
.service-showcase {
  --service-progress: 0;
  position: relative;
  width: 100%;
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background: #000;
}

.service-showcase-stage {
  position: sticky;
  z-index: 2;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.service-showcase-stage::before,
.service-showcase-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.service-showcase-stage::before {
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(113, 234, 255, 0.1) 50%, transparent 50.04%),
    radial-gradient(circle at 50% 50%, rgba(29, 121, 143, 0.12), transparent 38%);
}

.service-showcase-stage::after {
  top: 50%;
  left: 50%;
  width: min(72vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(113, 234, 255, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 12vw rgba(113, 234, 255, 0.012),
    0 0 0 24vw rgba(113, 234, 255, 0.008);
  transform: translate(-50%, -50%);
}

.service-showcase-meta,
.service-showcase-foot {
  position: absolute;
  z-index: 5;
  right: var(--nx-gutter);
  left: var(--nx-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(208, 231, 236, 0.53);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-showcase-meta {
  top: max(7rem, calc(env(safe-area-inset-top) + 5.5rem));
}

.service-showcase-meta p {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.status-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nx-cyan);
  box-shadow: 0 0 12px var(--nx-cyan);
  animation: nx-status-pulse 2s ease-in-out infinite;
}

@keyframes nx-status-pulse {
  50% { opacity: 0.35; box-shadow: 0 0 4px var(--nx-cyan); }
}

.service-showcase-intro {
  position: absolute;
  z-index: 4;
  bottom: 4.5rem;
  left: var(--nx-gutter);
  max-width: 340px;
}

.service-showcase-intro .eyebrow,
.service-showcase-intro > p:last-child {
  display: none;
}

.service-showcase-intro h2 {
  margin: 0;
  color: rgba(207, 227, 233, 0.45);
  font-family: var(--nx-display);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-slide-stack {
  position: absolute;
  inset: 0;
}

.service-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 10rem), 1100px);
  visibility: hidden;
  margin: 0;
  text-align: center;
  opacity: 0;
  filter: blur(13px);
  transform: translate(-50%, -42%) scale(0.97);
  transition:
    opacity 500ms ease,
    filter 700ms var(--nx-ease),
    transform 800ms var(--nx-ease),
    visibility 500ms;
}

.service-slide.is-active {
  visibility: visible;
  opacity: 1;
  filter: none;
  transform: translate(-50%, -50%) scale(1);
}

.service-slide-count,
.service-slide-eyebrow {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.service-slide-count {
  margin-bottom: 1.2rem;
  color: var(--nx-cyan);
}

.service-slide h3 {
  margin: 0;
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-size: clamp(3.5rem, 7.6vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.service-slide-summary {
  max-width: 690px;
  margin: 1.6rem auto 0;
  color: #8fa0a5;
  font-size: clamp(0.87rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  text-wrap: balance;
}

.service-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  color: var(--nx-cyan-bright);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-slide-link .icon-arrow {
  width: 26px;
  height: 26px;
  padding: 5px;
  border: 1px solid var(--nx-line-strong);
  transition: color 250ms ease, background 250ms ease, transform 300ms var(--nx-ease);
}

.service-slide-link:hover .icon-arrow {
  color: var(--nx-black);
  background: var(--nx-cyan);
  transform: translate(2px, -2px);
}

.service-showcase-nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: var(--nx-gutter);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-50%);
}

.service-showcase-nav button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 14px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.service-showcase-nav button span {
  width: 10px;
  height: 1px;
  background: rgba(220, 242, 246, 0.28);
  transition: width 300ms var(--nx-ease), background 300ms ease, box-shadow 300ms ease;
}

.service-showcase-nav button.is-active span {
  width: 22px;
  background: var(--nx-cyan);
  box-shadow: 0 0 12px rgba(113, 234, 255, 0.6);
}

.service-showcase-foot {
  bottom: 2.2rem;
}

.service-showcase-line {
  position: relative;
  flex: 1;
  max-width: 440px;
  height: 1px;
  overflow: hidden;
  background: rgba(212, 241, 247, 0.15);
}

.service-showcase-line i {
  position: absolute;
  inset: 0;
  background: var(--nx-cyan);
  box-shadow: 0 0 12px rgba(113, 234, 255, 0.7);
  transform: scaleX(var(--service-progress));
  transform-origin: left;
}

.service-scroll-track {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.service-scroll-track > span {
  display: block;
  height: 64svh;
}

/* Digital growth becomes an editorial capability index, not a card wall. */
.growth-section {
  background: #010203 !important;
}

.growth-section::before,
.growth-section::after {
  content: none !important;
}

.growth-intro {
  max-width: 1180px;
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  text-align: center;
}

.growth-intro .eyebrow {
  justify-content: center;
}

.growth-intro h2 {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-size: clamp(3rem, 6.4vw, 7.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.growth-intro > p:last-child {
  max-width: 720px;
  margin: 2.2rem auto 0;
  color: var(--nx-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.85;
}

.growth-grid {
  display: block;
  border: 0;
  border-top: 1px solid var(--nx-line-strong);
}

.growth-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 48px;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  min-height: 170px;
  padding: 2rem clamp(0rem, 1vw, 1rem);
  border: 0;
  border-bottom: 1px solid var(--nx-line);
  background: transparent;
  transition: padding 500ms var(--nx-ease), background 300ms ease;
}

.growth-grid article::before {
  content: none;
}

.growth-grid article:hover {
  padding-right: clamp(0.5rem, 2vw, 2rem);
  padding-left: clamp(0.5rem, 2vw, 2rem);
  background: linear-gradient(90deg, rgba(113, 234, 255, 0.035), transparent 72%);
  transform: none;
}

.growth-grid article > span {
  align-self: start;
  padding-top: 0.4rem;
}

.growth-grid article h3 {
  margin: 0 0 0.65rem;
  color: var(--nx-white);
  font-size: clamp(1.65rem, 3vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.growth-grid article p {
  max-width: 750px;
  font-size: 0.9rem;
}

.growth-row-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--nx-line-strong);
  color: var(--nx-cyan-bright);
  transition: color 250ms ease, background 250ms ease, transform 350ms var(--nx-ease);
}

.growth-row-link:hover {
  color: var(--nx-black);
  background: var(--nx-cyan);
  transform: translate(3px, -3px);
}

/* Product pages open as a focused black manifesto. */
.product-landing,
.page-erp .erp-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 9rem var(--nx-gutter) 7rem;
  border-bottom: 1px solid var(--nx-line-strong);
  background: #000;
}

.product-landing-art,
.product-landing-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-landing-art {
  z-index: -3;
  opacity: 0.16;
  background: var(--nx-page-art, var(--hero-image)) 50% 35% / cover no-repeat;
  filter: grayscale(0.78) saturate(0.35) contrast(1.16);
  transform: scale(1.03);
  animation: nx-product-breathe 16s ease-in-out infinite alternate;
}

@keyframes nx-product-breathe {
  to { transform: scale(1.075); opacity: 0.2; }
}

.product-landing-scrim {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 46%, rgba(2, 7, 9, 0.22) 0 18%, #000 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 30%, transparent 65%, #000 96%);
}

.product-landing-meta {
  position: absolute;
  z-index: 4;
  top: max(7.5rem, calc(env(safe-area-inset-top) + 6rem));
  right: var(--nx-gutter);
  left: var(--nx-gutter);
  display: flex;
  justify-content: space-between;
  color: rgba(206, 230, 235, 0.47);
  font-size: 0.5rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.product-landing-copy,
.erp-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(100%, 1200px);
  margin: 0 auto;
  text-align: center;
}

.product-landing-copy .eyebrow,
.erp-hero-copy .eyebrow {
  justify-content: center;
  margin-bottom: 1.1rem;
}

.product-landing-copy h1,
.page-erp .erp-hero-copy h1 {
  margin: 0;
  color: var(--nx-muted);
  font-family: var(--nx-display);
  font-size: clamp(0.7rem, 1vw, 0.92rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-manifesto,
.erp-hero-copy > .product-manifesto {
  min-height: 1.9em;
  max-width: 1180px;
  margin: 1.3rem auto 1rem;
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-size: clamp(3.5rem, 7.4vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.typewriter-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.77em;
  margin-left: 0.07em;
  background: var(--nx-cyan);
  box-shadow: 0 0 15px rgba(113, 234, 255, 0.65);
  animation: nx-caret 850ms steps(1) infinite;
}

@keyframes nx-caret {
  50% { opacity: 0; }
}

.product-summary,
.erp-hero-copy > .product-summary {
  max-width: 670px;
  margin: 0.7rem auto 1.8rem;
  color: #92a1a6;
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  text-wrap: balance;
}

.product-scroll {
  position: absolute;
  z-index: 4;
  right: var(--nx-gutter);
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--nx-muted);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-scroll svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--nx-line-strong);
  fill: none;
  stroke: var(--nx-cyan);
  stroke-width: 1.35;
  animation: nx-scroll-hint 1.8s ease-in-out infinite;
}

@keyframes nx-scroll-hint {
  50% { transform: translateY(4px); }
}

.service-body {
  padding-top: clamp(7rem, 11vw, 12rem);
}

.service-body .rich-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.service-body .rich-copy .eyebrow {
  justify-content: center;
}

.service-body .rich-copy h2 {
  margin: 0 0 2rem;
  color: var(--nx-white);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.service-body .metrics-row {
  max-width: 1180px;
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  border-left: 0;
}

.service-body .metrics-row article {
  min-height: 170px;
  border-right: 0;
  background: transparent;
  text-align: center;
}

.service-body .metrics-row article + article {
  border-left: 1px solid var(--nx-line);
}

.system-pillars {
  max-width: 1180px;
  margin: clamp(5rem, 10vw, 10rem) auto 0;
  border-top: 1px solid var(--nx-line-strong);
}

.system-pillars > section {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(1rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--nx-line);
}

.system-pillars > section > span {
  color: var(--nx-cyan);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.system-pillars h2 {
  margin: 0 0 1.4rem;
  font-family: var(--nx-display);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.system-pillars p {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem 1.4rem 0.35rem 0;
  color: var(--nx-muted);
  font-size: 0.88rem;
}

.system-pillars p::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 0.65rem;
  background: var(--nx-cyan);
  transform: rotate(45deg);
}

.solutions-filter-bar {
  position: relative;
  z-index: 3;
  width: min(100%, var(--nx-max));
  margin: 0 auto;
  padding: 2rem var(--nx-gutter);
  background: var(--nx-black);
}

.solutions-filter-bar .filter-row {
  margin: 0;
}

/* ERPNextAI shares the product manifesto language. */
.page-erp .erp-hero {
  align-items: center;
  background: #000;
}

.page-erp .erp-film-bg {
  opacity: 0.075;
  filter: grayscale(1) saturate(0);
}

.page-erp .erp-film-bg::after {
  background: radial-gradient(circle at 50% 45%, transparent, #000 72%);
}

.page-erp .erp-hero-copy > p:not(.eyebrow) {
  max-width: 1180px;
}

.page-erp .erp-hero-copy > p.product-manifesto {
  min-height: 1.9em;
  max-width: 1180px;
  margin: 1.3rem auto 1rem;
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-size: clamp(3.5rem, 7.4vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.page-erp .erp-hero-copy > .product-summary {
  max-width: 670px;
  margin-top: 0.7rem;
}

.page-erp .erp-hero-copy .cta-row {
  justify-content: center;
}

/* Deeper but calmer section motion. */
[data-reveal] {
  filter: blur(7px);
  transform: translateY(38px);
  transition:
    opacity 900ms var(--nx-ease) var(--reveal-delay, 0ms),
    transform 1000ms var(--nx-ease) var(--reveal-delay, 0ms),
    filter 1000ms var(--nx-ease) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  filter: none;
}

/* The complete mobile navigation is activated before the desktop links can crowd. */
@media (max-width: 1120px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.nav-open {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    padding: 0 var(--nx-gutter);
  }

  .site-header .brand {
    position: relative;
    z-index: 103;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .header-contact {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 103;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    justify-self: end;
    gap: 0.8rem;
    width: 94px;
    min-height: 42px;
    padding: 0 0.72rem;
    border: 1px solid var(--nx-line-strong);
    color: var(--nx-white);
    background: rgba(1, 3, 4, 0.82);
    cursor: pointer;
  }

  .nav-toggle .nav-toggle-label {
    position: relative;
    display: block;
    width: 34px;
    height: 1em;
    overflow: hidden;
    background: transparent;
  }

  .nav-toggle .nav-toggle-label b {
    position: absolute;
    inset: 0 auto auto 0;
    font-size: 0.52rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: transform 400ms var(--nx-ease), opacity 260ms ease;
  }

  .nav-toggle .nav-toggle-label b:last-child {
    opacity: 0;
    transform: translateY(130%);
  }

  .nav-toggle span.nav-toggle-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
    background: transparent;
  }

  .nav-open .nav-toggle span.nav-toggle-label {
    opacity: 1;
    transform: none;
  }

  .nav-open .nav-toggle span.nav-toggle-icon {
    width: 20px;
    opacity: 1;
    transform: none;
  }

  .nav-toggle .nav-toggle-icon i {
    position: absolute;
    right: 0;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: top 350ms var(--nx-ease), transform 350ms var(--nx-ease), width 300ms var(--nx-ease);
  }

  .nav-toggle .nav-toggle-icon i:first-child { top: 3px; }
  .nav-toggle .nav-toggle-icon i:last-child { top: 10px; width: 13px; }

  .nav-open .nav-toggle .nav-toggle-label b:first-child {
    opacity: 0;
    transform: translateY(-130%);
  }

  .nav-open .nav-toggle .nav-toggle-label b:last-child {
    opacity: 1;
    transform: none;
  }

  .nav-open .nav-toggle .nav-toggle-icon i:first-child,
  .nav-open .nav-toggle .nav-toggle-icon i:last-child {
    top: 7px;
    width: 20px;
  }

  .nav-open .nav-toggle .nav-toggle-icon i:first-child { transform: rotate(45deg); }
  .nav-open .nav-toggle .nav-toggle-icon i:last-child { transform: rotate(-45deg); }

  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    height: 100dvh;
    min-height: 100svh;
    padding: max(6.3rem, calc(env(safe-area-inset-top) + 5.5rem)) var(--nx-gutter) max(1.5rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background:
      linear-gradient(180deg, rgba(0, 2, 3, 0.965), rgba(0, 2, 3, 0.99)),
      url("../assets/noxus-sentinel-hero-v1.32978c312897.webp") 64% center / cover no-repeat;
    transform: translateY(-14px);
    transition: opacity 320ms ease, transform 600ms var(--nx-ease), visibility 320ms;
  }

  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-mobile-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--nx-line-strong);
    color: var(--nx-muted);
    font-size: 0.48rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .nav-mobile-intro b {
    color: var(--nx-cyan);
    font-weight: 500;
  }

  .main-nav > a {
    display: flex;
    align-items: baseline;
    flex: 0 0 auto;
    width: 100%;
    padding: clamp(0.66rem, 1.75vh, 1.05rem) 0;
    border-bottom: 1px solid var(--nx-line);
    color: var(--nx-white);
    font-family: var(--nx-display);
    font-size: clamp(1.38rem, 4.8vw, 2.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    text-transform: none;
  }

  .main-nav > a span {
    width: 36px;
    color: var(--nx-cyan);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .main-nav > a::after {
    display: none;
  }

  .nav-mobile-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.3rem;
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 1rem !important;
    width: min(250px, 65vw) !important;
    min-height: 48px;
    padding: 0.65rem 0.75rem 0.65rem 1rem !important;
    border: 1px solid rgba(113, 234, 255, 0.45) !important;
    color: var(--nx-white) !important;
    font-size: 0.58rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
  }

  .nav-mobile-cta span {
    width: auto !important;
    color: inherit !important;
    font-size: inherit !important;
  }

  .nav-mobile-cta .icon-arrow {
    width: 27px;
    height: 27px;
    padding: 5px;
    color: var(--nx-black);
    background: var(--nx-cyan);
  }

  .nav-mobile-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--nx-muted);
    font-size: 0.45rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-mobile-status i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--nx-cyan);
    box-shadow: 0 0 9px var(--nx-cyan);
  }
}

@media (max-width: 720px) {
  .brand-copy strong {
    font-size: 0.88rem;
    letter-spacing: 0.25em;
  }

  .brand-copy small {
    display: none;
  }

  .service-showcase-stage {
    min-height: 620px;
  }

  .service-showcase-meta {
    top: 6rem;
  }

  .service-showcase-meta > span:last-child {
    display: none;
  }

  .service-slide {
    width: calc(100% - 3.5rem);
  }

  .service-slide h3 {
    font-size: clamp(2.8rem, 13.5vw, 5.3rem);
    line-height: 0.92;
  }

  .service-slide-summary {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.85rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .service-showcase-nav {
    right: 0.65rem;
  }

  .service-showcase-intro {
    right: 6rem;
    bottom: 4.3rem;
    left: auto;
    max-width: 190px;
    text-align: right;
  }

  .service-showcase-foot {
    right: 1.15rem;
    bottom: 1.6rem;
    left: 1.15rem;
  }

  .service-showcase-foot > span:first-child {
    display: none;
  }

  .service-scroll-track > span {
    height: 58svh;
  }

  .growth-intro {
    margin-bottom: 4rem;
  }

  .growth-intro h2 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }

  .growth-grid article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.8rem;
    min-height: 0;
    padding: 2rem 0;
  }

  .growth-grid article > span {
    padding-top: 0.3rem;
  }

  .growth-grid article h3 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .growth-row-link {
    grid-column: 2;
    width: 38px;
    height: 38px;
    margin-top: 0.9rem;
  }

  .product-landing,
  .page-erp .erp-hero {
    min-height: 100svh;
    padding: 8rem 1.2rem 6.5rem;
  }

  .product-landing-meta {
    top: 6.2rem;
    right: 1.2rem;
    left: 1.2rem;
  }

  .product-landing-meta span:last-child {
    display: none;
  }

  .product-manifesto,
  .erp-hero-copy > .product-manifesto {
    min-height: 2.4em;
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .page-erp .erp-hero-copy > p.product-manifesto {
    min-height: 2.4em;
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .product-summary,
  .erp-hero-copy > .product-summary {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .product-scroll {
    right: 1.2rem;
    bottom: 1.4rem;
  }

  .service-body .rich-copy h2 {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .service-body .metrics-row article + article {
    border-left: 0;
  }

  .system-pillars > section {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .system-pillars p {
    display: flex;
    margin-right: 0;
  }

  .solutions-filter-bar {
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
  }

  .solutions-filter-bar .filter-row {
    flex-wrap: nowrap;
    margin: 0;
    padding: 0 var(--nx-gutter) 0.5rem;
    overflow-x: auto;
    border-left: 0;
    scrollbar-width: none;
  }

  .solutions-filter-bar .filter-row::-webkit-scrollbar {
    display: none;
  }

  .solutions-filter-bar .filter-row a {
    flex: 0 0 auto;
  }

  .hero.sentinel-hero {
    min-height: 100svh;
  }

  .hero-navigation {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-navigation::-webkit-scrollbar {
    display: none;
  }

  .hero-navigation > a {
    scroll-snap-align: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.nav-open {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 0.78rem;
  }

  .nav-toggle {
    width: 86px;
  }

  .nav-mobile-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-mobile-cta {
    width: 100% !important;
  }

  .nav-mobile-status {
    align-self: flex-end;
  }

  .service-slide {
    width: calc(100% - 2.7rem);
  }

  .service-slide-summary {
    max-width: calc(100% - 1rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-identity {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-showcase-stage {
    position: static;
    height: auto;
    min-height: 0;
    padding: 8rem var(--nx-gutter) 5rem;
  }

  .service-slide-stack {
    position: static;
  }

  .service-slide,
  .service-slide.is-active {
    position: static;
    width: 100%;
    visibility: visible;
    margin: 0 auto;
    padding: 3rem 0;
    border-bottom: 1px solid var(--nx-line);
    opacity: 1;
    filter: none;
    transform: none;
  }

  .service-slide h3 {
    font-size: clamp(2.5rem, 6vw, 5rem);
  }

  .service-scroll-track,
  .service-showcase-nav,
  .service-showcase-intro,
  .service-showcase-foot {
    display: none;
  }

  .product-landing-art,
  .typewriter-caret,
  .status-pulse,
  .product-scroll svg {
    animation: none;
  }
}
