/*
 * NOXUS AI — Crystal Sentinel identity system
 * Visual direction: obsidian, dark chrome, optical glass and ice-cyan telemetry.
 */

:root {
  --nx-black: #020405;
  --nx-ink: #05090b;
  --nx-panel: #081014;
  --nx-panel-soft: rgba(10, 20, 25, 0.72);
  --nx-line: rgba(188, 231, 244, 0.14);
  --nx-line-strong: rgba(188, 231, 244, 0.28);
  --nx-cyan: #6be9ff;
  --nx-cyan-bright: #baf5ff;
  --nx-white: #f2f7f8;
  --nx-muted: #91a1a7;
  --nx-dim: #56656b;
  --nx-display: "Space Grotesk", "Inter", sans-serif;
  --nx-body: "Inter", sans-serif;
  --nx-max: 1500px;
  --nx-gutter: clamp(1.25rem, 4.6vw, 5.5rem);
  --nx-radius: 2px;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--nx-cyan) var(--nx-black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(107, 233, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 233, 255, 0.017) 1px, transparent 1px),
    var(--nx-black);
  background-size: 72px 72px;
  color: var(--nx-white);
  font-family: var(--nx-body);
  font-size: 16px;
  line-height: 1.7;
}

body.nav-is-open {
  overflow: hidden;
}

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

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--nx-black);
}

body::-webkit-scrollbar-thumb {
  background: var(--nx-cyan);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

main {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--nx-black);
  background: var(--nx-cyan);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-atmosphere {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-atmosphere span {
  position: absolute;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid rgba(107, 233, 255, 0.06);
  border-radius: 50%;
  filter: blur(1px);
}

.site-atmosphere span:nth-child(1) {
  top: 32vh;
  right: -22rem;
  box-shadow: 0 0 140px rgba(18, 148, 178, 0.05);
}

.site-atmosphere span:nth-child(2) {
  bottom: 6vh;
  left: -26rem;
  width: 48rem;
}

.site-atmosphere span:nth-child(3) {
  top: 160vh;
  left: 40%;
  width: 22rem;
}

.scanline {
  position: fixed;
  z-index: 98;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #baf5ff 4px);
  mix-blend-mode: screen;
}

/* Header and identity */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.8fr minmax(190px, 0.7fr);
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 0 var(--nx-gutter);
  border-bottom: 1px solid transparent;
  transition: min-height 400ms var(--nx-ease), background 400ms ease, border-color 400ms ease, backdrop-filter 400ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  min-height: 74px;
  border-color: var(--nx-line);
  background: rgba(2, 5, 6, 0.84);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.8rem;
  width: max-content;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(186, 245, 255, 0.46);
  color: var(--nx-white);
  background: linear-gradient(135deg, rgba(186, 245, 255, 0.1), transparent 55%);
  box-shadow: inset 0 0 20px rgba(107, 233, 255, 0.03);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1px;
  height: 140%;
  background: rgba(186, 245, 255, 0.38);
  transform: rotate(27deg);
}

.brand-mark i {
  font-family: var(--nx-display);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--nx-display);
  font-size: 1rem;
  letter-spacing: 0.32em;
}

.brand-copy small {
  margin-top: 0.42rem;
  color: var(--nx-muted);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 2.7vw, 3.4rem);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.48rem;
  color: #cfdbde;
  font-family: var(--nx-display);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.6rem;
  left: 1.25rem;
  height: 1px;
  background: var(--nx-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--nx-ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--nx-cyan-bright);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a span {
  color: var(--nx-cyan);
  font-family: var(--nx-body);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  justify-self: end;
  gap: 1.2rem;
  min-width: 174px;
  padding: 0.74rem 0.8rem 0.74rem 1rem;
  border: 1px solid var(--nx-line-strong);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.header-contact i,
.button.primary i,
.footer-action i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--nx-black);
  background: var(--nx-cyan);
  font-style: normal;
}

.header-contact:hover {
  border-color: var(--nx-cyan);
  background: rgba(107, 233, 255, 0.07);
}

.nav-toggle {
  display: none;
  border: 0;
  color: var(--nx-white);
  background: transparent;
}

/* Cinematic sentinel hero */
.hero.sentinel-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem var(--nx-gutter) 9.2rem;
  border-bottom: 1px solid var(--nx-line);
  background: var(--nx-black);
}

.hero-art,
.hero-art img,
.hero-scrim,
.neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  z-index: -4;
}

.hero-art img {
  display: block;
  object-fit: cover;
  object-position: center center;
  animation: sentinel-breathe 15s ease-in-out infinite alternate;
}

@keyframes sentinel-breathe {
  from { transform: scale(1.005); }
  to { transform: scale(1.045); }
}

.hero-scrim {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 4, 5, 0.88) 0%, rgba(2, 4, 5, 0.39) 42%, rgba(2, 4, 5, 0.02) 70%),
    linear-gradient(180deg, rgba(2, 4, 5, 0.55) 0%, transparent 24%, transparent 62%, rgba(2, 4, 5, 0.94) 100%);
}

.hero-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background: linear-gradient(90deg, transparent 49.95%, rgba(186, 245, 255, 0.11) 50%, transparent 50.05%);
}

.neural-canvas {
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.hero-telemetry {
  position: absolute;
  z-index: 2;
  top: 7.6rem;
  right: var(--nx-gutter);
  left: var(--nx-gutter);
  display: flex;
  justify-content: space-between;
  color: rgba(207, 227, 233, 0.52);
  font-size: 0.51rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-telemetry span:last-child {
  color: var(--nx-cyan);
}

.hero-wordmark {
  position: absolute;
  z-index: 0;
  top: 45%;
  right: var(--nx-gutter);
  left: var(--nx-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(243, 249, 250, 0.92);
  font-family: var(--nx-display);
  font-size: clamp(3rem, 8.3vw, 10rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  transform: translateY(-50%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-wordmark i {
  color: var(--nx-cyan-bright);
  font-size: 0.28em;
  font-style: normal;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 5vw;
  width: min(100%, var(--nx-max));
  margin: 0 auto;
}

.hero-statement {
  max-width: 780px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.35rem;
  color: var(--nx-cyan);
  font-family: var(--nx-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}

.eyebrow span {
  color: var(--nx-muted);
  font-family: var(--nx-body);
  font-size: 0.54rem;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-size: clamp(3rem, 5.6vw, 6.7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-brief {
  padding: 1.2rem 0 0 1.6rem;
  border-left: 1px solid var(--nx-line-strong);
}

.hero-copy {
  max-width: 36rem;
  margin: 0 0 1.8rem;
  color: #c2cfd3;
  font-size: clamp(0.9rem, 1.1vw, 1.08rem);
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 50px;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--nx-line-strong);
  border-radius: 0;
  font-family: var(--nx-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 260ms var(--nx-ease), border-color 260ms ease, color 260ms ease, background 260ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button.primary {
  justify-content: space-between;
  min-width: 194px;
  color: var(--nx-white);
  border-color: rgba(107, 233, 255, 0.55);
  background: rgba(5, 15, 18, 0.68);
}

.button.primary:hover {
  color: var(--nx-black);
  background: var(--nx-cyan);
  box-shadow: 0 12px 40px rgba(74, 218, 245, 0.13);
}

.button.primary:hover i {
  color: var(--nx-cyan);
  background: var(--nx-black);
}

.button.secondary {
  color: #b9c6ca;
  border-color: transparent;
}

.button.secondary:hover {
  color: var(--nx-cyan-bright);
  border-color: var(--nx-line-strong);
}

.hero-navigation {
  position: absolute;
  z-index: 5;
  right: var(--nx-gutter);
  bottom: 0;
  left: var(--nx-gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) 1.2fr;
  align-items: stretch;
  max-width: var(--nx-max);
  min-height: 102px;
  margin: 0 auto;
  border-top: 1px solid var(--nx-line-strong);
}

.hero-navigation[data-reveal] {
  opacity: 1;
  transform: none;
}

.hero-navigation > a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(0.7rem, 1.4vw, 1.5rem);
  border-right: 1px solid var(--nx-line);
  transition: color 240ms ease, background 240ms ease;
}

.hero-navigation > a:hover {
  color: var(--nx-cyan-bright);
  background: rgba(107, 233, 255, 0.045);
}

.hero-navigation span {
  align-self: start;
  padding-top: 0.22rem;
  color: var(--nx-cyan);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.hero-navigation strong {
  font-family: var(--nx-display);
  font-size: clamp(0.63rem, 0.8vw, 0.76rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-navigation .hero-scroll {
  display: flex;
  justify-content: flex-end;
  border-right: 0;
  color: var(--nx-muted);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll i {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--nx-line-strong);
  border-radius: 50%;
}

.hero-scroll i::before,
.hero-scroll i::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll i::before {
  top: 9px;
  width: 1px;
  height: 16px;
  background: var(--nx-cyan);
}

.hero-scroll i::after {
  bottom: 9px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--nx-cyan);
  border-bottom: 1px solid var(--nx-cyan);
  transform: translateX(-50%) rotate(45deg);
}

/* Shared editorial sections */
.section {
  position: relative;
  width: min(100%, var(--nx-max));
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 10rem) var(--nx-gutter);
}

.section + .section {
  border-top: 1px solid rgba(188, 231, 244, 0.07);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  margin-bottom: clamp(3.2rem, 6vw, 6.5rem);
}

.section-heading .eyebrow {
  grid-column: 1;
}

.section-heading h2 {
  grid-column: 1;
  margin-top: 0;
}

.section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 46rem;
  margin: 0;
  padding-top: 1.9rem;
  color: var(--nx-muted);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.8;
}

.section-heading.compact {
  grid-template-columns: minmax(300px, 0.9fr) minmax(280px, 0.55fr);
  justify-content: space-between;
}

.section-heading h2,
.media-copy h2,
.global-section h2,
.split-panel h2,
.footer-callout h2,
.page-hero h1 {
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading h2,
.media-copy h2,
.global-section h2,
.split-panel h2 {
  font-size: clamp(2.35rem, 4.2vw, 5rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  color: var(--nx-cyan-bright);
  font-family: var(--nx-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--nx-line-strong);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

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

/* Story and timeline */
.story-section {
  padding-top: clamp(7rem, 11vw, 12rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--nx-line-strong);
}

.timeline-item {
  position: relative;
  min-height: 290px;
  padding: 2rem clamp(1rem, 2.2vw, 2.3rem) 2.4rem;
  border-right: 1px solid var(--nx-line);
  background: linear-gradient(180deg, rgba(107, 233, 255, 0.025), transparent 50%);
  transition: background 300ms ease, transform 300ms var(--nx-ease);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--nx-cyan);
  background: var(--nx-black);
  transform: rotate(45deg);
}

.timeline-item:hover {
  z-index: 1;
  background: linear-gradient(180deg, rgba(107, 233, 255, 0.09), transparent);
  transform: translateY(-8px);
}

.timeline-item > span,
.solution-card > span,
.case-card > span,
.growth-grid article > span,
.process-grid article > span,
.article-meta {
  color: var(--nx-cyan);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-item h3,
.solution-card h3,
.solution-card h2,
.case-card h3,
.growth-grid h3,
.feature-grid h3,
.process-grid h3,
.erp-feature-grid h3 {
  margin: 1.7rem 0 0.8rem;
  font-family: var(--nx-display);
  font-weight: 500;
  line-height: 1.2;
}

.timeline-item p,
.solution-card p,
.case-card p,
.growth-grid p,
.feature-grid p,
.process-grid p,
.erp-feature-grid p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.story-news-swiper {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 5vw;
  align-items: stretch;
  margin-top: clamp(4rem, 7vw, 8rem);
  padding: clamp(1.2rem, 2.5vw, 2.5rem);
  border: 1px solid var(--nx-line);
  background: rgba(6, 12, 15, 0.55);
}

.swiper-copy {
  align-self: center;
  padding: 2rem;
}

.swiper-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--nx-display);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.swiper-copy > p:last-child {
  color: var(--nx-muted);
}

.swiper-frame {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--nx-panel);
}

.swiper-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 800ms ease, transform 1300ms var(--nx-ease);
}

.swiper-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.08) brightness(0.72) hue-rotate(150deg);
}

.swiper-slide figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--nx-line);
  color: #cedbde;
  background: rgba(2, 5, 6, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

/* System and case cards */
.solution-grid,
.growth-grid,
.case-grid,
.process-grid,
.erp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--nx-line-strong);
  border-left: 1px solid var(--nx-line);
}

.solution-card,
.growth-grid article,
.process-grid article,
.erp-feature-grid article {
  position: relative;
  display: block;
  min-height: 310px;
  padding: clamp(1.5rem, 2.7vw, 2.8rem);
  overflow: hidden;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background: rgba(5, 10, 12, 0.46);
  transition: color 300ms ease, background 300ms ease, transform 350ms var(--nx-ease);
}

.solution-card::before,
.growth-grid article::before,
.process-grid article::before,
.case-card::before,
.content-band::before,
.form-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 34px;
  border-top: 1px solid var(--nx-cyan);
  border-left: 1px solid var(--nx-cyan);
  opacity: 0;
  transition: opacity 260ms ease, width 400ms var(--nx-ease), height 400ms var(--nx-ease);
}

.solution-card::after,
.growth-grid article::after,
.process-grid article::after,
.case-card::after {
  content: "↗";
  position: absolute;
  right: 1.6rem;
  bottom: 1.5rem;
  color: var(--nx-dim);
  font-size: 1rem;
  transition: color 260ms ease, transform 260ms ease;
}

.solution-card:hover,
.growth-grid article:hover,
.process-grid article:hover,
.case-card:hover {
  z-index: 2;
  background: rgba(10, 25, 30, 0.75);
  transform: translateY(-6px);
}

.solution-card:hover::before,
.growth-grid article:hover::before,
.process-grid article:hover::before,
.case-card:hover::before {
  width: 54px;
  height: 54px;
  opacity: 1;
}

.solution-card:hover::after,
.growth-grid article:hover::after,
.process-grid article:hover::after,
.case-card:hover::after {
  color: var(--nx-cyan);
  transform: translate(3px, -3px);
}

.solution-card h3,
.solution-card h2 {
  font-size: clamp(1.35rem, 1.9vw, 2rem);
}

.solution-card p {
  max-width: 28rem;
}

.growth-section {
  width: 100%;
  max-width: none;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.98), rgba(2, 5, 6, 0.82)),
    var(--growth-image) center / cover;
}

.growth-section > * {
  width: min(100%, calc(var(--nx-max) - (var(--nx-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

/* Media feature bands */
.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  max-width: none;
  width: 100%;
  padding-right: var(--nx-gutter);
  padding-left: 0;
  background: #030708;
}

.media-visual,
.chip-visual {
  min-height: clamp(520px, 67vw, 820px);
  border: 1px solid var(--nx-line);
  background:
    linear-gradient(180deg, transparent 58%, rgba(2, 5, 6, 0.8)),
    var(--media-image) center / cover no-repeat;
  filter: saturate(0.66) contrast(1.1) hue-rotate(145deg);
}

.media-copy {
  max-width: 680px;
  padding: 4rem 0;
}

.media-copy > p:not(.eyebrow) {
  color: var(--nx-muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 3rem 0 1.8rem;
  border-top: 1px solid var(--nx-line-strong);
}

.feature-grid article {
  min-height: 170px;
  padding: 1.4rem 1.4rem 1.4rem 0;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
}

.feature-grid article:nth-child(even) {
  padding-left: 1.4rem;
  border-right: 0;
}

.feature-grid h3 {
  margin-top: 0;
  color: var(--nx-white);
  font-size: 1rem;
}

.industrial-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.chip-visual {
  min-height: 680px;
}

.feature-list {
  border-top: 1px solid var(--nx-line-strong);
}

.feature-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--nx-line);
}

.feature-list article > span {
  color: var(--nx-cyan);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.feature-list h3 {
  margin: 0 0 0.5rem;
  font-family: var(--nx-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.feature-list p {
  margin: 0;
  color: var(--nx-muted);
}

.tech-separator {
  position: relative;
  width: 100%;
  height: clamp(220px, 31vw, 480px);
  overflow: hidden;
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background:
    linear-gradient(90deg, var(--nx-black), transparent 40%, var(--nx-black)),
    linear-gradient(180deg, var(--nx-black), transparent, var(--nx-black)),
    var(--separator-image) center / cover;
  filter: saturate(0.4) hue-rotate(140deg);
}

.tech-separator::after {
  content: "NOXUS / INTELLIGENCE FIELD";
  position: absolute;
  top: 50%;
  right: var(--nx-gutter);
  left: var(--nx-gutter);
  color: rgba(233, 247, 250, 0.7);
  font-family: var(--nx-display);
  font-size: clamp(1.2rem, 3.7vw, 4.6rem);
  letter-spacing: 0.3em;
  text-align: center;
  transform: translateY(-50%);
}

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

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 1.1rem;
  overflow: hidden;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background: rgba(5, 10, 12, 0.52);
  transition: background 300ms ease, transform 350ms var(--nx-ease);
}

.case-card img {
  width: 100%;
  height: 245px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  filter: saturate(0.45) contrast(1.1) brightness(0.78) hue-rotate(145deg);
  transition: filter 400ms ease, transform 700ms var(--nx-ease);
}

.case-card:hover img {
  filter: saturate(0.8) contrast(1.05);
  transform: scale(1.02);
}

.case-card h3,
.case-card p,
.case-card > span {
  margin-right: 1rem;
  margin-left: 1rem;
}

.case-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.process-grid article {
  min-height: 250px;
}

.process-grid article > span {
  display: block;
  margin-bottom: 2.5rem;
}

.process-grid h3 {
  font-size: 1.3rem;
}

.global-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: end;
  isolation: isolate;
  min-height: 730px;
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.97), rgba(2, 5, 6, 0.63)),
    linear-gradient(180deg, var(--nx-black), transparent 35%, var(--nx-black)),
    var(--global-image) center / cover;
}

.global-section > div:first-child {
  max-width: 580px;
}

.global-section > div:first-child > p:last-child {
  color: var(--nx-muted);
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--nx-line-strong);
  border-left: 1px solid var(--nx-line);
}

.stats-grid article {
  min-height: 215px;
  padding: 2rem;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background: rgba(3, 9, 11, 0.62);
  backdrop-filter: blur(12px);
}

.stats-grid strong {
  display: block;
  color: var(--nx-cyan-bright);
  font-family: var(--nx-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 1rem;
  color: var(--nx-white);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stats-grid p {
  color: var(--nx-muted);
  font-size: 0.8rem;
}

.partner-swiper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 170px;
  border-top: 1px solid var(--nx-line-strong);
  border-left: 1px solid var(--nx-line);
}

.partner-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  min-height: 170px;
  padding: 1.4rem;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  opacity: 0.42;
  filter: grayscale(1);
  transition: opacity 400ms ease, filter 400ms ease, background 400ms ease;
}

.partner-card.is-active,
.partner-card:hover {
  opacity: 1;
  filter: grayscale(0);
  background: rgba(107, 233, 255, 0.04);
}

.partner-card img {
  max-width: 130px;
  max-height: 52px;
  object-fit: contain;
}

.partner-card span {
  color: var(--nx-muted);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
}

.split-panel > div,
.split-panel > article {
  min-width: 0;
}

.list-link,
.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--nx-line);
  color: #d8e1e3;
  font-family: var(--nx-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  transition: color 220ms ease, padding 300ms var(--nx-ease), border-color 220ms ease;
}

.list-link:hover,
.job-row:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  border-color: var(--nx-cyan);
  color: var(--nx-cyan-bright);
}

.list-link span,
.job-row span {
  color: var(--nx-muted);
  font-family: var(--nx-body);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  max-width: 1050px;
  margin-left: auto;
  border-top: 1px solid var(--nx-line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--nx-line);
}

.faq-list summary {
  position: relative;
  padding: 1.8rem 4rem 1.8rem 0;
  cursor: pointer;
  list-style: none;
  color: #d9e4e6;
  font-family: var(--nx-display);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--nx-line-strong);
  color: var(--nx-cyan);
  font-weight: 300;
  transform: translateY(-50%);
  transition: transform 300ms var(--nx-ease), color 220ms ease, background 220ms ease;
}

.faq-list details[open] summary::after {
  color: var(--nx-black);
  background: var(--nx-cyan);
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 800px;
  margin: 0;
  padding: 0 3rem 1.8rem 0;
  color: var(--nx-muted);
}

/* Inner-page signature */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 74svh;
  overflow: hidden;
  isolation: isolate;
  padding: 11rem var(--nx-gutter) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--nx-line-strong);
  background: var(--nx-black);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.98) 2%, rgba(2, 5, 6, 0.8) 42%, rgba(2, 5, 6, 0.25)),
    linear-gradient(180deg, rgba(2, 5, 6, 0.35), transparent 45%, rgba(2, 5, 6, 0.9)),
    var(--nx-page-art, url("../assets/noxus-sentinel-hero-v1.32978c312897.webp")) 70% 35% / cover no-repeat;
  filter: saturate(0.72);
}

.page-hero.service-hero::before {
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.98) 2%, rgba(2, 5, 6, 0.68) 52%, rgba(2, 5, 6, 0.34)),
    linear-gradient(180deg, rgba(2, 5, 6, 0.42), transparent 45%, rgba(2, 5, 6, 0.96)),
    var(--nx-page-art, var(--hero-image, url("../assets/noxus-sentinel-hero-v1.32978c312897.webp"))) 70% 35% / cover no-repeat;
}

.page-hero::after {
  content: var(--nx-field-label, "NOXUS / FIELD 01");
  position: absolute;
  top: 9rem;
  right: var(--nx-gutter);
  color: rgba(186, 245, 255, 0.52);
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
}

/* Page-specific chapters in the Sentinel visual universe. */
.page-solutions,
.page-search {
  --nx-page-art: url("../assets/noxus-sentinel-solutions-v1.472e9535fc19.webp");
  --nx-field-label: "NOXUS / SYSTEMS";
}

.page-service-ai-cameras,
.page-service-transport-systems {
  --nx-page-art: url("../assets/noxus-sentinel-vision-v1.629bde16fffb.webp");
  --nx-field-label: "NOXUS / OPTICAL INTELLIGENCE";
}

.page-service-industrial-ai,
.page-service-edge-computing,
.page-service-embedded {
  --nx-page-art: url("../assets/noxus-sentinel-industrial-v1.7ebf808e376c.webp");
  --nx-field-label: "NOXUS / PHYSICAL AI";
}

.page-service-saas,
.page-service-ai-development,
.page-service-media,
.page-service-web-development,
.page-service-mobile-app-development,
.page-service-seo-optimization,
.page-service-digital-marketing,
.page-content,
.page-dashboard {
  --nx-page-art: url("../assets/noxus-sentinel-operations-v1.dc0c51a669a5.webp");
  --nx-field-label: "NOXUS / OPERATIONS";
}

.page-projects {
  --nx-page-art: url("../assets/noxus-sentinel-projects-v1.2a91df2abba6.webp");
  --nx-field-label: "NOXUS / BUILT SYSTEMS";
}

.page-careers {
  --nx-page-art: url("../assets/noxus-sentinel-careers-v1.14b4ba179960.webp");
  --nx-field-label: "NOXUS / FUTURE TEAM";
}

.page-contact {
  --nx-page-art: url("../assets/noxus-sentinel-contact-v1.ca379b2de7c5.webp");
  --nx-field-label: "NOXUS / OPEN CHANNEL";
}

.page-insights {
  --nx-page-art: url("../assets/noxus-sentinel-insights-v1.eac55660a6d5.webp");
  --nx-field-label: "NOXUS / INTELLIGENCE ARCHIVE";
}

.identity-vision {
  background:
    linear-gradient(180deg, transparent 58%, rgba(2, 5, 6, 0.82)),
    url("../assets/noxus-sentinel-vision-v1.629bde16fffb.webp") center / cover no-repeat !important;
}

.identity-industrial {
  background:
    linear-gradient(180deg, transparent 58%, rgba(2, 5, 6, 0.82)),
    url("../assets/noxus-sentinel-industrial-v1.7ebf808e376c.webp") center / cover no-repeat !important;
}

.page-erp .erp-hero {
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.75), rgba(2, 5, 6, 0.1)),
    url("../assets/noxus-sentinel-operations-v1.dc0c51a669a5.webp") center / cover no-repeat;
}

.page-erp .erp-film-bg {
  opacity: 0.36;
}

.page-hero > div {
  width: min(100%, var(--nx-max));
  margin: 0 auto;
}

.page-hero.slim {
  min-height: 64svh;
}

.page-hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 1.8rem 0 0;
  color: #aebdc1;
  font-size: clamp(1rem, 1.35vw, 1.24rem);
}

.page-hero .button {
  margin-top: 2rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 3.5rem;
  border-top: 1px solid var(--nx-line);
  border-left: 1px solid var(--nx-line);
}

.filter-row a {
  padding: 0.8rem 1.2rem;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  color: var(--nx-muted);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 200ms ease, background 200ms ease;
}

.filter-row a:hover,
.filter-row a.active {
  color: var(--nx-black);
  background: var(--nx-cyan);
}

.service-body,
.article-body,
.job-detail {
  max-width: 1280px;
}

.rich-copy {
  max-width: 900px;
  color: #aab9bd;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.9;
}

.rich-copy h2,
.rich-copy h3,
.rich-copy h4 {
  margin: 2.5em 0 0.7em;
  color: var(--nx-white);
  font-family: var(--nx-display);
  font-weight: 500;
  line-height: 1.15;
}

.rich-copy h2 {
  font-size: clamp(2rem, 3.7vw, 4rem);
}

.rich-copy h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
}

.rich-copy a {
  color: var(--nx-cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.rich-copy blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--nx-cyan);
  color: #d5e2e5;
  background: rgba(107, 233, 255, 0.04);
}

.metrics-row,
.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--nx-line-strong);
  border-left: 1px solid var(--nx-line);
}

.metrics-row article,
.three-column article {
  min-height: 190px;
  padding: 2rem;
  border-right: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  background: rgba(6, 12, 15, 0.52);
}

.metrics-row strong {
  display: block;
  color: var(--nx-cyan-bright);
  font-family: var(--nx-display);
  font-size: clamp(2.1rem, 3.7vw, 4rem);
  font-weight: 400;
}

.metrics-row span {
  color: var(--nx-muted);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.three-column h2,
.three-column h3 {
  margin: 0 0 1rem;
  font-family: var(--nx-display);
  font-size: 1.3rem;
  font-weight: 500;
}

.three-column p {
  color: var(--nx-muted);
}

.job-list {
  border-top: 1px solid var(--nx-line-strong);
}

.job-row {
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
}

.article-meta {
  margin-bottom: 2.5rem;
}

.content-band,
.contact-aside,
.form-panel,
.search-page-form {
  position: relative;
  padding: clamp(1.5rem, 3vw, 3.2rem);
  border: 1px solid var(--nx-line);
  background:
    linear-gradient(145deg, rgba(107, 233, 255, 0.045), transparent 38%),
    rgba(5, 11, 13, 0.78);
}

.content-band::before,
.form-panel::before {
  opacity: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.contact-aside h2,
.form-panel h2 {
  margin: 0 0 1.3rem;
  font-family: var(--nx-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.contact-aside p,
.contact-aside a {
  color: var(--nx-muted);
}

.contact-aside a:hover {
  color: var(--nx-cyan);
}

.map-shell {
  min-height: 320px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  filter: grayscale(1) invert(0.88) hue-rotate(145deg) contrast(1.1);
}

.map-shell iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.form-panel p {
  margin: 0 0 1.3rem;
}

.form-panel label {
  display: block;
  margin-bottom: 0.5rem;
  color: #bdc9cc;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-panel input,
.form-panel textarea,
.form-panel select,
.search-page-form input {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--nx-line);
  border-radius: 0;
  outline: 0;
  color: var(--nx-white);
  background: rgba(1, 4, 5, 0.78);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-panel textarea {
  min-height: 160px;
  resize: vertical;
}

.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus,
.search-page-form input:focus {
  border-color: var(--nx-cyan);
  box-shadow: 0 0 0 3px rgba(107, 233, 255, 0.08);
}

.form-panel .errorlist {
  margin: 0.4rem 0;
  padding: 0;
  color: #ff8f9a;
  font-size: 0.78rem;
  list-style: none;
}

.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.search-results > section {
  margin-top: 3rem;
}

/* ERPNextAI receives the same brand, not a separate microsite */
.erp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 10rem var(--nx-gutter) 7rem;
  border-bottom: 1px solid var(--nx-line-strong);
  background: var(--nx-black);
}

.erp-film-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.erp-film-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 5, 6, 0.96) 4%, rgba(2, 5, 6, 0.52) 62%, rgba(2, 5, 6, 0.74)), linear-gradient(180deg, rgba(2, 5, 6, 0.24), rgba(2, 5, 6, 0.92));
}

.erp-film-bg iframe {
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.74;
  pointer-events: none;
}

.erp-hero-copy {
  width: min(100%, var(--nx-max));
  margin: 0 auto;
}

.erp-hero-copy h1 {
  max-width: 950px;
  margin: 0;
  font-family: var(--nx-display);
  font-size: clamp(3.4rem, 8vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.erp-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 1.7rem 0;
  color: #b6c4c8;
  font-size: 1.05rem;
}

.erp-film-section,
.erp-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.erp-film-shell {
  overflow: hidden;
  border: 1px solid var(--nx-line-strong);
  background: var(--nx-panel);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.46);
}

.erp-film-shell iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
}

.erp-film-copy h2,
.erp-ai-section h2 {
  font-family: var(--nx-display);
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.erp-film-copy p,
.erp-stack p {
  color: var(--nx-muted);
}

.erp-stack article {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--nx-line);
}

.erp-stack h3 {
  margin: 0 0 0.5rem;
  font-family: var(--nx-display);
  font-weight: 500;
}

.erp-code-panel {
  min-height: 460px;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  overflow: auto;
  border: 1px solid var(--nx-line-strong);
  color: var(--nx-cyan-bright);
  background: linear-gradient(145deg, rgba(107, 233, 255, 0.06), transparent 40%), #030708;
  font-size: 0.8rem;
  line-height: 1.9;
}

/* Messages */
.system-messages {
  position: fixed;
  z-index: 200;
  top: 6rem;
  right: var(--nx-gutter);
  width: min(440px, calc(100% - 2rem));
}

.system-messages p {
  padding: 1rem 1.2rem;
  border: 1px solid var(--nx-cyan);
  color: var(--nx-cyan-bright);
  background: rgba(3, 12, 15, 0.94);
  backdrop-filter: blur(15px);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 9rem) var(--nx-gutter) 1.8rem;
  border-top: 1px solid var(--nx-line-strong);
  background:
    radial-gradient(circle at 72% 15%, rgba(44, 174, 202, 0.09), transparent 32%),
    #020506;
}

.site-footer::before {
  content: "N";
  position: absolute;
  top: -11rem;
  right: -3rem;
  color: transparent;
  font-family: var(--nx-display);
  font-size: min(44vw, 42rem);
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(107, 233, 255, 0.055);
  pointer-events: none;
}

.footer-callout,
.footer-grid,
.footer-bottom {
  position: relative;
  width: min(100%, var(--nx-max));
  margin-right: auto;
  margin-left: auto;
}

.footer-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.footer-callout .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.footer-callout h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 8rem);
}

.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
  padding: 0.8rem 0.8rem 0.8rem 1.2rem;
  border: 1px solid var(--nx-line-strong);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 220ms ease, background 220ms ease;
}

.footer-action:hover {
  border-color: var(--nx-cyan);
  background: rgba(107, 233, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.72fr);
  gap: 3rem;
  padding: 4rem 0;
  border-top: 1px solid var(--nx-line-strong);
}

.footer-grid section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid h3 {
  margin: 0 0 1.4rem;
  color: var(--nx-cyan);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  margin: 0.36rem 0;
  color: var(--nx-muted);
  font-size: 0.78rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-grid a:not(.brand):hover {
  color: var(--nx-cyan-bright);
  transform: translateX(3px);
}

.footer-identity > p {
  max-width: 410px;
  margin: 1.5rem 0 0;
  color: var(--nx-muted);
  font-size: 0.82rem;
}

.footer-identity .footer-slogan {
  color: var(--nx-cyan);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--nx-line);
  color: var(--nx-dim);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-online {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.system-online i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nx-cyan);
  box-shadow: 0 0 10px var(--nx-cyan);
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 900ms var(--nx-ease), transform 900ms var(--nx-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 1px solid var(--nx-cyan);
  outline-offset: 4px;
}

/* Error pages */
.error-page {
  display: grid;
  place-items: center;
  min-height: 80svh;
  padding: 10rem var(--nx-gutter) 5rem;
  text-align: center;
}

.error-page strong {
  color: transparent;
  font-family: var(--nx-display);
  font-size: clamp(7rem, 22vw, 24rem);
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(107, 233, 255, 0.36);
}

.error-page h1 {
  margin: 1rem 0;
  font-family: var(--nx-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.error-page p {
  max-width: 580px;
  color: var(--nx-muted);
}

/* Responsive */
@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: 220px 1fr auto;
  }

  .main-nav {
    gap: 1.5rem;
  }

  .main-nav a {
    font-size: 0.64rem;
  }

  .header-contact {
    min-width: 150px;
  }

  .hero-navigation {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-navigation .hero-scroll {
    display: none;
  }

  .solution-grid,
  .growth-grid,
  .process-grid,
  .erp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card,
  .growth-grid article,
  .process-grid article,
  .erp-feature-grid article {
    min-height: 260px;
  }

  .partner-swiper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --nx-gutter: clamp(1.1rem, 5vw, 2.5rem);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .site-header .brand {
    z-index: 2;
  }

  .header-contact {
    display: none;
  }

  .nav-toggle {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: var(--nx-gutter);
    display: grid;
    grid-template-columns: 24px auto;
    align-items: center;
    gap: 0.7rem;
    min-height: 44px;
    width: 76px;
    padding: 0 0.65rem;
    justify-self: end;
    border: 1px solid var(--nx-line-strong);
    background: rgba(2, 5, 6, 0.46);
  }

  .nav-toggle span {
    grid-column: 1;
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 260ms ease, opacity 260ms ease;
  }

  .nav-toggle span:nth-child(2) {
    width: 16px;
  }

  .nav-toggle b {
    grid-column: 2;
    grid-row: 1 / span 3;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 7rem var(--nx-gutter) 3rem;
    visibility: hidden;
    opacity: 0;
    background:
      linear-gradient(90deg, rgba(2, 5, 6, 0.94), rgba(2, 5, 6, 0.78)),
      url("../assets/noxus-sentinel-hero-v1.32978c312897.webp") 68% center / cover;
    transform: translateY(-12px);
    transition: opacity 300ms ease, transform 500ms var(--nx-ease), visibility 300ms;
  }

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

  .main-nav a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--nx-line);
    font-size: clamp(1.4rem, 6vw, 2.4rem);
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .main-nav a span {
    width: 28px;
    font-size: 0.55rem;
  }

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

  .hero.sentinel-hero {
    min-height: 900px;
    padding-top: 7rem;
    padding-bottom: 10.5rem;
  }

  .hero-art img {
    object-position: 62% center;
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(2, 4, 5, 0.74), rgba(2, 4, 5, 0.08)), linear-gradient(180deg, rgba(2, 4, 5, 0.5), transparent 25%, rgba(2, 4, 5, 0.93) 70%);
  }

  .hero-telemetry {
    top: 6rem;
  }

  .hero-telemetry span:nth-child(2) {
    display: none;
  }

  .hero-wordmark {
    top: 36%;
    font-size: clamp(3rem, 13vw, 7rem);
    letter-spacing: 0.18em;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-statement {
    max-width: 650px;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 5.8rem);
  }

  .hero-brief {
    max-width: 540px;
  }

  .hero-navigation {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    overflow-x: auto;
  }

  .hero-navigation > a {
    min-width: 155px;
  }

  .section-heading,
  .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
    padding-top: 0;
  }

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

  .story-news-swiper,
  .media-band,
  .industrial-layout,
  .global-section,
  .contact-layout,
  .erp-film-section,
  .erp-split {
    grid-template-columns: 1fr;
  }

  .media-band {
    padding-right: var(--nx-gutter);
    padding-left: var(--nx-gutter);
  }

  .media-visual {
    min-height: 580px;
  }

  .global-section {
    align-items: start;
  }

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

  .split-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  body {
    background-size: 48px 48px;
  }

  .brand-copy small {
    display: none;
  }

  .hero.sentinel-hero {
    min-height: 820px;
    padding-bottom: 9.5rem;
  }

  .hero-art img {
    object-position: 64% center;
  }

  .hero-wordmark {
    top: 22%;
    right: 1rem;
    left: 1rem;
    font-size: 13vw;
  }

  .hero-telemetry span:first-child {
    max-width: 180px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .hero-brief {
    padding: 0;
    border-left: 0;
  }

  .hero-copy {
    font-size: 0.86rem;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-navigation {
    right: 0;
    left: 0;
    padding-left: var(--nx-gutter);
  }

  .hero-navigation > a {
    min-width: 142px;
    border-bottom: 0;
  }

  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .section-heading h2,
  .media-copy h2,
  .global-section h2,
  .split-panel h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .timeline,
  .solution-grid,
  .growth-grid,
  .case-grid,
  .process-grid,
  .erp-feature-grid,
  .stats-grid,
  .metrics-row,
  .three-column {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .solution-card,
  .growth-grid article,
  .process-grid article,
  .erp-feature-grid article {
    min-height: auto;
  }

  .story-news-swiper {
    padding: 0.7rem;
  }

  .swiper-copy {
    padding: 1.3rem;
  }

  .swiper-frame {
    min-height: 390px;
  }

  .media-visual,
  .chip-visual {
    min-height: 460px;
  }

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

  .feature-grid article,
  .feature-grid article:nth-child(even) {
    min-height: auto;
    padding: 1.3rem 0;
    border-right: 0;
  }

  .tech-separator::after {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .case-card {
    min-height: 420px;
  }

  .partner-swiper {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero,
  .page-hero.slim {
    min-height: 680px;
    padding-top: 8rem;
  }

  .page-hero::before {
    background-position: 65% center;
  }

  .page-hero h1 {
    font-size: clamp(2.9rem, 13vw, 5rem);
  }

  .job-row {
    grid-template-columns: 1fr;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }

  .erp-hero {
    min-height: 820px;
    padding-top: 8rem;
  }

  .erp-film-shell iframe {
    min-height: 420px;
  }

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

  .footer-callout h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .footer-action {
    width: 100%;
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .site-atmosphere,
  .scanline,
  .neural-canvas {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .page-hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
