/* ==========================================================================
   Company family — about, industries, solutions, case studies, contact, FAQ,
   privacy, terms, 404 and the Arabic homepage.

   Editorial and credible: typography, indexes, rules and real photography do
   the work; no decorative motion. Every class is prefixed nxc-. Built on the
   shared primitives in nexla.css ("Site-wide redesign layer"). Nothing here
   hides content before JavaScript runs; the only scripted state (active index
   links, the contact progress meter) is additive.
   ========================================================================== */

:root {
  --nxc-gap: clamp(2rem, 1rem + 4vw, 5rem);
  --nxc-rule: var(--nx-line-strong);
  --nxc-sticky-top: 6.5rem;
}

/* ---------- Shared helpers ---------- */
.nxc-mono {
  font-family: var(--nx-font-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
}
.nxc-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--nx-font-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .38rem .7rem; border-radius: 999px;
  border: 1px solid var(--nx-hair-dark); color: var(--nx-on-dark-mut);
  background: rgba(255, 255, 255, .04);
}
.nxc-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nx-teal); }
.nxc-tag--early::before { background: #F5B94A; }
.nxc-tag--light { border-color: var(--nx-line-strong); color: var(--nx-muted); background: var(--nx-surface); }
.nxc-tag--light::before { background: var(--nx-blue-600); }
.nxc-h2 { font-size: var(--nx-h2); line-height: 1.02; letter-spacing: -.042em; margin: 0; }
.nxc-h2 + .nx-lead { margin-top: 1.2rem; }
.nxc-head-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--nxc-gap); align-items: end;
  margin-bottom: clamp(2.4rem, 1.6rem + 3vw, 4.4rem);
}
.nxc-head-row .nx-lead { margin: 0; }
.nxc-head-row .nx-btn-row { margin-top: 1.6rem; }
@media (max-width: 900px) { .nxc-head-row { grid-template-columns: 1fr; gap: 1.2rem; } }

/* Arrows point the reading direction in Arabic. */
[dir="rtl"] main .nx-btn svg,
[dir="rtl"] main .nx-link svg,
[dir="rtl"] main .nxc-arrow { transform: scaleX(-1); }
[dir="rtl"] main .nx-btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] main .nx-link:hover svg { transform: scaleX(-1); }

/* ---------- Hero index (about contents, case study projects, FAQ topics) ---------- */
.nxc-index {
  position: relative;
  border: 1px solid var(--nx-hair-dark); border-radius: var(--nx-radius-lg);
  background: linear-gradient(180deg, rgba(8, 24, 56, .82), rgba(0, 10, 30, .86));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: clamp(1.2rem, .9rem + 1vw, 1.8rem);
}
.nxc-index__h {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--nx-font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--nx-on-dark-mut); padding-bottom: 1rem; border-bottom: 1px solid var(--nx-hair-dark);
}
.nxc-index__h b { color: var(--nx-teal); font-weight: 500; }
.nxc-index ol { list-style: none; margin: 0; padding: 0; }
.nxc-index li { border-bottom: 1px solid var(--nx-hair-dark); }
.nxc-index li:last-child { border-bottom: 0; }
.nxc-index a {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: baseline; gap: .8rem;
  padding: 1rem 0; color: #fff;
  transition: color .3s var(--nx-ease), padding .4s var(--nx-ease);
}
.nxc-index a:hover { color: var(--nx-teal); padding-inline-start: .4rem; }
.nxc-index__n { font-family: var(--nx-font-mono); font-size: .72rem; color: var(--nx-teal); letter-spacing: .1em; }
.nxc-index__t {
  font-family: var(--nx-font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.02rem, .92rem + .4vw, 1.28rem); line-height: 1.25;
}
.nxc-index__t small {
  display: block; margin-top: .3rem;
  font-family: var(--nx-font-mono); font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--nx-on-dark-mut);
}
.nxc-index__m { font-family: var(--nx-font-mono); font-size: .68rem; color: var(--nx-on-dark-mut); letter-spacing: .1em; }
.nxc-index__m .nxc-arrow { display: inline-block; vertical-align: -2px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */

/* Manifesto: the position as a statement set in display type, then the four
   commitments as a ruled, numbered ledger. */
.nxc-manifesto {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: var(--nxc-gap); align-items: start;
}
.nxc-manifesto__lead { position: sticky; top: var(--nxc-sticky-top); }
.nxc-manifesto__lead h2 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem); line-height: .98; letter-spacing: -.048em; margin-bottom: 1.4rem; }
.nxc-manifesto__lead .nx-lead { max-width: 30rem; }
.nxc-manifesto__img {
  margin-top: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  border-radius: var(--nx-radius-lg); overflow: hidden; position: relative;
}
.nxc-manifesto__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }

.nxc-ledger { list-style: none; margin: 0; padding: 0; counter-reset: nxcl; border-top: 1px solid var(--nxc-rule); }
.nxc-ledger li {
  counter-increment: nxcl;
  position: relative; display: block;
  padding: clamp(1.5rem, 1.1rem + 1.3vw, 2.3rem) 0 clamp(1.5rem, 1.1rem + 1.3vw, 2.3rem) clamp(3.4rem, 2.6rem + 2vw, 5rem);
  border-bottom: 1px solid var(--nxc-rule);
  font-size: 1.02rem; line-height: 1.68; color: var(--nx-body);
}
[dir="rtl"] .nxc-ledger li { padding-left: 0; padding-right: clamp(3.4rem, 2.6rem + 2vw, 5rem); }
.nxc-ledger li::before {
  content: counter(nxcl, decimal-leading-zero);
  position: absolute; inset-inline-start: 0; top: clamp(1.75rem, 1.35rem + 1.3vw, 2.6rem);
  font-family: var(--nx-font-mono); font-size: .74rem; letter-spacing: .12em; color: var(--nx-blue-600);
}
.nxc-ledger li strong {
  display: block; margin-bottom: .55rem;
  font-family: var(--nx-font-display); font-weight: 600; color: var(--nx-text);
  font-size: clamp(1.3rem, 1.05rem + .9vw, 1.85rem); line-height: 1.15; letter-spacing: -.03em;
}
.nx-section--dark .nxc-ledger, .nx-section--dark .nxc-ledger li { border-color: var(--nx-hair-dark); }
.nx-section--dark .nxc-ledger li { color: var(--nx-on-dark-mut); }
.nx-section--dark .nxc-ledger li strong { color: #fff; }
.nx-section--dark .nxc-ledger li::before { color: var(--nx-teal); }
@media (max-width: 900px) {
  .nxc-manifesto { grid-template-columns: 1fr; }
  .nxc-manifesto__lead { position: static; }
}

/* Principles index: rows, not cards. Number · position · reasoning. */
.nxc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-hair-dark); }
.nxc-row {
  position: relative;
  display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, .5rem + 2vw, 3rem); align-items: baseline;
  padding-block: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  border-bottom: 1px solid var(--nx-hair-dark);
}
.nxc-row::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--nx-blue), var(--nx-teal));
  transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--nx-ease);
}
[dir="rtl"] .nxc-row::after { transform-origin: right center; }
.nxc-row:hover::after { transform: scaleX(1); }
.nxc-row__n { font-family: var(--nx-font-mono); font-size: .78rem; letter-spacing: .14em; color: var(--nx-teal); }
.nxc-row h3 {
  margin: 0; color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em;
}
.nxc-row p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--nx-on-dark-mut); max-width: 36rem; }
.nx-section:not(.nx-section--dark):not(.nx-section--deep) .nxc-rows,
.nx-section:not(.nx-section--dark):not(.nx-section--deep) .nxc-row { border-color: var(--nxc-rule); }
.nx-section:not(.nx-section--dark):not(.nx-section--deep) .nxc-row h3 { color: var(--nx-text); }
.nx-section:not(.nx-section--dark):not(.nx-section--deep) .nxc-row p { color: var(--nx-body); }
.nx-section:not(.nx-section--dark):not(.nx-section--deep) .nxc-row__n { color: var(--nx-blue-600); }
@media (max-width: 900px) {
  .nxc-row { grid-template-columns: 3rem minmax(0, 1fr); }
  .nxc-row p { grid-column: 2; }
}

/* A compact two-by-two index (Arabic about, "habits"). */
.nxc-rows--grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--nxc-gap); border-top: 0; }
.nxc-rows--grid .nxc-row { grid-template-columns: 3rem minmax(0, 1fr); border-top: 1px solid var(--nxc-rule); border-bottom: 0; }
.nxc-rows--grid .nxc-row h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); }
.nxc-rows--grid .nxc-row p { grid-column: 2; }
@media (max-width: 760px) { .nxc-rows--grid { grid-template-columns: 1fr; } }

/* First month: a dated timeline. */
.nxc-time {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .6rem + 1.4vw, 2rem);
  position: relative;
}
.nxc-time::before {
  content: ''; position: absolute; inset-inline: 0; top: .55rem; height: 1px;
  background: linear-gradient(90deg, var(--nx-blue), var(--nx-teal) 60%, var(--nxc-rule));
}
[dir="rtl"] .nxc-time::before { background: linear-gradient(270deg, var(--nx-blue), var(--nx-teal) 60%, var(--nxc-rule)); }
.nxc-time li { position: relative; display: block; padding-top: 2.2rem; font-size: .98rem; line-height: 1.68; color: var(--nx-body); }
.nxc-time li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--nx-bg); border: 2px solid var(--nx-blue);
  box-shadow: 0 0 0 5px var(--nx-bg);
}
.nxc-time li strong {
  display: block; margin-bottom: .6rem;
  font-family: var(--nx-font-display); font-weight: 600; color: var(--nx-text);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.2; letter-spacing: -.025em;
}
@media (max-width: 860px) {
  .nxc-time { grid-template-columns: 1fr; gap: 0; }
  .nxc-time::before { inset-inline: auto; inset-inline-start: .52rem; top: 0; bottom: 0; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--nx-blue), var(--nx-teal) 60%, var(--nxc-rule)); }
  .nxc-time li { padding: 0 0 1.8rem 2.4rem; }
  [dir="rtl"] .nxc-time li { padding: 0 2.4rem 1.8rem 0; }
}
.nxc-firstmonth {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--nxc-gap); align-items: end; margin-bottom: clamp(2.6rem, 1.8rem + 3vw, 4.4rem);
}
.nxc-firstmonth .nx-media img { aspect-ratio: 21/10; }
@media (max-width: 900px) { .nxc-firstmonth { grid-template-columns: 1fr; } }

/* Placeholder register: a section deliberately left open. */
.nxc-open {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--nxc-gap);
  padding: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  border: 1px dashed var(--nx-line-strong); border-radius: var(--nx-radius-lg);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(1, 17, 47, .018) 14px 15px), var(--nx-surface);
}
.nxc-open h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin: 0; }
.nxc-open p { color: var(--nx-body); }
.nxc-open p:last-child { margin-bottom: 0; }
.nxc-open a { color: var(--nx-blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 800px) { .nxc-open { grid-template-columns: 1fr; gap: 1rem; } }

/* ==========================================================================
   INDUSTRIES — one editorial treatment per sector
   ========================================================================== */

/* Hero: the six sectors as a photographic index. */
.nxc-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.nxc-mosaic a {
  position: relative; display: block; overflow: hidden; border-radius: 12px;
  aspect-ratio: 4/3.4; background: var(--nx-navy);
  border: 1px solid var(--nx-hair-dark);
}
.nxc-mosaic img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .55; transition: opacity .5s var(--nx-ease), transform 1s var(--nx-ease);
}
.nxc-mosaic a::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 10, 30, .1) 30%, rgba(0, 10, 30, .88));
}
.nxc-mosaic a:hover img { opacity: .85; transform: scale(1.05); }
.nxc-mosaic span {
  position: absolute; z-index: 1; inset-inline: .8rem; bottom: .75rem;
  font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(.9rem, .8rem + .3vw, 1.05rem);
  letter-spacing: -.01em; line-height: 1.2; color: #fff;
}
.nxc-mosaic span b {
  display: block; margin-bottom: .25rem;
  font-family: var(--nx-font-mono); font-weight: 500; font-size: .62rem; letter-spacing: .16em; color: var(--nx-teal);
}
@media (max-width: 560px) { .nxc-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sector header used by every treatment. */
.nxc-sector__k {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem;
  font-family: var(--nx-font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--nx-muted);
}
.nxc-sector__k b { font-weight: 500; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); letter-spacing: -.04em; line-height: .8;
  font-family: var(--nx-font-display); color: transparent; -webkit-text-stroke: 1px var(--nx-line-strong); }
.nx-section--dark .nxc-sector__k { color: var(--nx-on-dark-mut); }
.nx-section--dark .nxc-sector__k b { -webkit-text-stroke-color: rgba(255, 255, 255, .28); }
.nxc-sector h2 { font-size: clamp(2rem, 1.15rem + 2.7vw, 3.6rem); line-height: 1.02; letter-spacing: -.042em; margin-bottom: 1.2rem; }

/* Points: the capability list, numbered and ruled. */
.nxc-points { list-style: none; margin: 0; padding: 0; counter-reset: nxcp; }
.nxc-points li {
  counter-increment: nxcp; position: relative; display: block;
  padding: 1.15rem 0 1.15rem 2.6rem; border-top: 1px solid var(--nxc-rule);
  font-size: .96rem; line-height: 1.62; color: var(--nx-body);
}
[dir="rtl"] .nxc-points li { padding: 1.15rem 2.6rem 1.15rem 0; }
.nxc-points li::before {
  content: counter(nxcp, decimal-leading-zero);
  position: absolute; inset-inline-start: 0; top: 1.32rem;
  font-family: var(--nx-font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--nx-blue-600);
}
.nxc-points li strong { color: var(--nx-text); font-weight: 600; }
.nx-section--dark .nxc-points li { border-color: var(--nx-hair-dark); color: var(--nx-on-dark-mut); }
.nx-section--dark .nxc-points li strong { color: #fff; }
.nx-section--dark .nxc-points li::before { color: var(--nx-teal); }
.nxc-points--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); column-gap: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); }
.nxc-points--cols li strong { display: block; margin-bottom: .3rem; }

/* 1. Cover: a cinematic image band, heading and list beneath. */
.nxc-cover {
  margin-inline: 0;
  position: relative; overflow: hidden; border-radius: var(--nx-radius-lg);
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); background: var(--nx-navy);
}
.nxc-cover img { display: block; width: 100%; aspect-ratio: 21/8; object-fit: cover; }
.nxc-cover figcaption {
  position: absolute; inset-inline-start: 1.2rem; bottom: 1.1rem;
  font-family: var(--nx-font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(0, 10, 30, .55); padding: .4rem .65rem; border-radius: 6px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nxc-cover__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--nxc-gap); align-items: start;
}
@media (max-width: 900px) {
  .nxc-cover img { aspect-ratio: 16/9; }
  .nxc-cover__body { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* 2. Ledger: sticky photograph, the list as entries. */
.nxc-ledgerset {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--nxc-gap); align-items: start;
}
.nxc-ledgerset__media { position: sticky; top: var(--nxc-sticky-top); }
.nxc-ledgerset__media .nx-media img { aspect-ratio: 4/5; }
@media (max-width: 900px) {
  .nxc-ledgerset { grid-template-columns: 1fr; }
  .nxc-ledgerset__media { position: static; }
  .nxc-ledgerset__media .nx-media img { aspect-ratio: 16/10; }
}

/* 3. Offset: a large photograph overlapped by the copy panel. */
.nxc-offset { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.nxc-offset__media { grid-column: 1 / span 7; grid-row: 1; border-radius: var(--nx-radius-lg); overflow: hidden; }
.nxc-offset__media img { display: block; width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.nxc-offset__panel {
  grid-column: 6 / span 7; grid-row: 1; position: relative; z-index: 1;
  background: var(--nx-surface); border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-lg);
  padding: clamp(1.6rem, 1rem + 2.4vw, 3.2rem);
  box-shadow: 0 40px 80px -50px rgba(1, 17, 47, .45);
}
.nxc-offset__panel .nx-btn { margin-top: 1.6rem; }
@media (max-width: 900px) {
  .nxc-offset { display: block; }
  .nxc-offset__panel { margin: -3rem .8rem 0; }
}
/* phones: the inset panel goes full width and its button can wrap, so long
   labels ("Commerce engineering") are not clipped at 320px */
@media (max-width: 480px) {
  .nxc-offset__panel { margin-inline: 0; }
  .nxc-offset__panel .nx-btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
}

/* 4. Portrait: a tall photograph beside the copy. */
.nxc-portrait { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--nxc-gap); align-items: center; }
.nxc-portrait__media { border-radius: var(--nx-radius-lg); overflow: hidden; position: relative; }
.nxc-portrait__media img { display: block; width: 100%; aspect-ratio: 3/4; max-height: 46rem; object-fit: cover; }
@media (max-width: 900px) {
  .nxc-portrait { grid-template-columns: 1fr; }
  .nxc-portrait__media { order: -1; }
  .nxc-portrait__media img { aspect-ratio: 16/10; }
}

/* 5. Field: heading row, then a wide image with the list as a strip below it. */
.nxc-field__media { border-radius: var(--nx-radius-lg); overflow: hidden; margin-block: clamp(1.6rem, 1rem + 2vw, 2.8rem); }
.nxc-field__media img { display: block; width: 100%; aspect-ratio: 24/9; object-fit: cover; }
.nxc-field .nxc-points--cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .nxc-field .nxc-points--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .nxc-field .nxc-points--cols { grid-template-columns: 1fr; }
  .nxc-field__media img { aspect-ratio: 16/9; }
}

/* 6. Statement: the heading as a centred statement over a darkened photograph. */
.nxc-statement {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--nx-radius-lg); border: 1px solid var(--nx-hair-dark);
  padding: clamp(2.4rem, 1.4rem + 5vw, 6rem) clamp(1.4rem, 1rem + 3vw, 4rem);
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.6rem);
}
.nxc-statement img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.nxc-statement::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(1, 17, 47, .96) 0%, rgba(1, 17, 47, .7) 55%, rgba(1, 17, 47, .35));
}
[dir="rtl"] .nxc-statement::after { background: linear-gradient(270deg, rgba(1, 17, 47, .96) 0%, rgba(1, 17, 47, .7) 55%, rgba(1, 17, 47, .35)); }
.nxc-statement > div { max-width: 46rem; }
.nxc-statement h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: .98; }

/* Closing "not on the list" band. */
.nxc-next {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--nxc-gap); align-items: end;
  padding-top: clamp(2rem, 1.4rem + 2vw, 3rem); border-top: 1px solid var(--nx-hair-dark);
}
.nxc-next h2 { margin: 0; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: .98; }
.nxc-next .nx-btn-row { margin-top: 1.6rem; }
@media (max-width: 900px) { .nxc-next { grid-template-columns: 1fr; gap: 1rem; } }

/* Arabic overview: six sectors as an index of names. */
.nxc-sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--nxc-rule); }
.nxc-sectors li {
  display: block; padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem) clamp(1rem, .6rem + 1vw, 1.6rem);
  border-bottom: 1px solid var(--nxc-rule); border-inline-end: 1px solid var(--nxc-rule);
}
.nxc-sectors li:nth-child(3n) { border-inline-end: 0; }
.nxc-sectors__n { display: block; font-family: var(--nx-font-mono); font-size: .7rem; letter-spacing: .14em; color: var(--nx-blue-600); margin-bottom: .9rem; }
.nxc-sectors h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); margin: 0 0 .5rem; letter-spacing: -.03em; }
.nxc-sectors p { margin: 0; color: var(--nx-body); }
.nxc-sectors .nxc-sectors__fit { margin-top: .9rem; font-size: .9rem; color: var(--nx-muted); }
.nxc-sectors__fit a { font-weight: 600; color: var(--nx-blue-600); text-decoration: underline; text-underline-offset: 3px; }
.nxc-sectors__fit a:hover { color: var(--nx-navy); }
@media (max-width: 860px) {
  .nxc-sectors { grid-template-columns: 1fr 1fr; }
  .nxc-sectors li:nth-child(3n) { border-inline-end: 1px solid var(--nxc-rule); }
  .nxc-sectors li:nth-child(2n) { border-inline-end: 0; }
}
@media (max-width: 520px) {
  .nxc-sectors { grid-template-columns: 1fr; }
  .nxc-sectors li { border-inline-end: 0 !important; }
}

/* ==========================================================================
   SOLUTIONS — problem in, families, one team out
   ========================================================================== */
.nxc-route {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr) minmax(0, .7fr);
  align-items: center; gap: 0;
  border: 1px solid var(--nx-hair-dark); border-radius: var(--nx-radius-lg);
  background: linear-gradient(180deg, rgba(8, 24, 56, .78), rgba(0, 10, 30, .84));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: clamp(1.2rem, .8rem + 1.6vw, 2.2rem) clamp(.9rem, .6rem + 1vw, 1.6rem);
}
.nxc-route__fig {
  position: absolute; top: .9rem; inset-inline-end: 1.1rem;
  font-family: var(--nx-font-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(157, 174, 203, .7);
}
.nxc-route__node {
  position: relative; z-index: 1;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
  background: rgba(1, 17, 47, .85);
  padding: .9rem .95rem; color: #fff;
  font-family: var(--nx-font-display); font-weight: 600; font-size: .95rem; line-height: 1.25; letter-spacing: -.01em;
}
.nxc-route__node small { display: block; margin-bottom: .35rem; font-family: var(--nx-font-mono); font-weight: 500; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-on-dark-mut); }
.nxc-route__node--out { border-color: rgba(0, 219, 178, .5); box-shadow: 0 0 0 4px rgba(0, 219, 178, .07), 0 20px 40px -20px rgba(0, 219, 178, .35); }
.nxc-route__node--out small { color: var(--nx-teal); }
.nxc-route__fams { list-style: none; margin: 0; padding: 0 2rem; display: grid; gap: .5rem; position: relative; z-index: 1; }
.nxc-route__fams a {
  display: flex; align-items: center; gap: .7rem;
  padding: .62rem .8rem; border-radius: 10px;
  border: 1px solid var(--nx-hair-dark); background: rgba(255, 255, 255, .04);
  color: rgba(238, 243, 250, .92); font-size: .82rem; font-weight: 500; white-space: nowrap;
  transition: border-color .3s var(--nx-ease), background .3s var(--nx-ease), transform .3s var(--nx-ease);
}
.nxc-route__fams a:hover { border-color: var(--nx-teal); background: rgba(0, 219, 178, .08); transform: translateX(3px); }
[dir="rtl"] .nxc-route__fams a:hover { transform: translateX(-3px); }
.nxc-route__fams b { font-family: var(--nx-font-mono); font-weight: 500; font-size: .64rem; color: var(--nx-teal); letter-spacing: .08em; }
.nxc-route__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nxc-route__wires path { fill: none; stroke: rgba(93, 187, 255, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nxc-route__wires path.is-out { stroke: rgba(0, 219, 178, .45); }
[dir="rtl"] .nxc-route__wires { transform: scaleX(-1); }
@media (max-width: 560px), (min-width: 993px) and (max-width: 1240px) {
  .nxc-route { grid-template-columns: 1fr; gap: .8rem; padding-top: 2.4rem; }
  .nxc-route__fams a { white-space: normal; }
  .nxc-route__fams { padding: 0; }
  .nxc-route__wires { display: none; }
  .nxc-route__node { text-align: center; }
}

/* Family section frame */
.nxc-fam__k { display: block; font-family: var(--nx-font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-blue-600); margin-bottom: 1rem; }
.nx-section--dark .nxc-fam__k { color: var(--nx-teal); }
.nxc-fam h2 { margin-bottom: 0; }

/* Workflow: the four automation layers as a vertical run beside the photograph. */
.nxc-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--nxc-gap); align-items: center; }
.nxc-work .nx-media img { aspect-ratio: 4/3.4; }
.nxc-steps { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: nxcs; }
.nxc-steps::before {
  content: ''; position: absolute; inset-inline-start: 1.15rem; top: 1.4rem; bottom: 1.4rem; width: 1px;
  background: linear-gradient(180deg, var(--nx-blue), var(--nx-teal));
}
.nxc-steps li {
  counter-increment: nxcs; position: relative; display: block;
  padding: 1rem 1.1rem 1rem 3.6rem; margin-bottom: .7rem;
  border: 1px solid var(--nx-line); border-radius: 14px; background: var(--nx-surface);
  font-size: .95rem; line-height: 1.6; color: var(--nx-body);
  transition: border-color .35s var(--nx-ease), transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease);
}
[dir="rtl"] .nxc-steps li { padding: 1rem 3.6rem 1rem 1.1rem; }
.nxc-steps li:last-child { margin-bottom: 0; }
.nxc-steps li:hover { border-color: var(--nx-line-strong); transform: translateY(-2px); box-shadow: 0 24px 40px -30px rgba(1, 17, 47, .4); }
.nxc-steps li::before {
  content: counter(nxcs, decimal-leading-zero);
  position: absolute; inset-inline-start: .55rem; top: 1rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--nx-font-mono); font-size: .58rem; color: var(--nx-blue-600);
  background: var(--nx-surface); border: 1px solid rgba(0, 140, 254, .45);
}
.nxc-steps li strong { display: block; color: var(--nx-text); font-family: var(--nx-font-display); font-weight: 600; font-size: 1.06rem; letter-spacing: -.015em; margin-bottom: .15rem; }
@media (max-width: 900px) { .nxc-work { grid-template-columns: 1fr; } .nxc-work > .nx-media { order: -1; } }

/* Structures: software as a context panel and a 2x2 of what gets built. */
.nxc-struct { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--nxc-gap); align-items: stretch; }
.nxc-struct__media { border-radius: var(--nx-radius-lg); overflow: hidden; min-height: 22rem; position: relative; }
.nxc-struct__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nxc-quad { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--nx-hair-dark);
  border: 1px solid var(--nx-hair-dark); border-radius: var(--nx-radius-lg); overflow: hidden; }
.nxc-quad li { display: block; padding: clamp(1.3rem, 1rem + 1vw, 2rem); background: var(--nx-navy); color: var(--nx-on-dark-mut); font-size: .95rem; line-height: 1.62; }
.nxc-quad li strong { display: block; margin-bottom: .5rem; color: #fff; font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); letter-spacing: -.02em; }
.nxc-quad li::before { content: ''; display: block; width: 1.6rem; height: 2px; margin-bottom: 1.1rem; background: var(--nx-grad); }
@media (max-width: 900px) { .nxc-struct { grid-template-columns: 1fr; } .nxc-struct__media { min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 560px) { .nxc-quad { grid-template-columns: 1fr; } }

/* Pipeline: cloud delivery as four stages on one line. */
.nxc-pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, .5rem + 1vw, 1.4rem); position: relative; counter-reset: nxcpi; }
.nxc-pipe::before { content: ''; position: absolute; inset-inline: 1rem; top: 1.05rem; height: 1px; background: linear-gradient(90deg, var(--nx-blue), var(--nx-teal)); }
[dir="rtl"] .nxc-pipe::before { background: linear-gradient(270deg, var(--nx-blue), var(--nx-teal)); }
.nxc-pipe li { counter-increment: nxcpi; position: relative; display: block; padding-top: 3rem; font-size: .95rem; line-height: 1.62; color: var(--nx-body); }
.nxc-pipe li::before {
  content: counter(nxcpi, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0;
  height: 2.1rem; padding: 0 .8rem; border-radius: 999px; display: inline-grid; place-items: center;
  font-family: var(--nx-font-mono); font-size: .66rem; letter-spacing: .1em; color: var(--nx-blue-600);
  background: var(--nx-surface); border: 1px solid rgba(0, 140, 254, .4);
}
.nxc-pipe li strong { display: block; margin-bottom: .45rem; color: var(--nx-text); font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); letter-spacing: -.02em; }
.nxc-band { border-radius: var(--nx-radius-lg); overflow: hidden; margin-top: clamp(2rem, 1.4rem + 2vw, 3.2rem); position: relative; }
.nxc-band img { display: block; width: 100%; aspect-ratio: 24/7; object-fit: cover; }
@media (max-width: 900px) {
  .nxc-pipe { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .nxc-pipe::before { display: none; }
  .nxc-band img { aspect-ratio: 16/8; }
}
@media (max-width: 520px) { .nxc-pipe { grid-template-columns: 1fr; } }

/* Problem -> solution: commerce. */
.nxc-ps { display: grid; grid-template-columns: minmax(0, .85fr) auto minmax(0, 1.15fr); gap: clamp(1rem, .5rem + 2vw, 2.6rem); align-items: stretch; }
.nxc-ps__card { border-radius: var(--nx-radius-lg); padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); border: 1px solid var(--nx-hair-dark); background: rgba(255, 255, 255, .03); }
.nxc-ps__card h3 { font-family: var(--nx-font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-on-dark-mut); margin-bottom: 1.2rem; }
.nxc-ps__card--in { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.nxc-ps__card--in p { color: #fff; font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.nxc-ps__card--in .nxc-ps__img { border-radius: 12px; overflow: hidden; }
.nxc-ps__card--in .nxc-ps__img img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.nxc-ps__card--out { border-color: rgba(0, 219, 178, .3); background: linear-gradient(180deg, rgba(0, 219, 178, .06), rgba(255, 255, 255, .02)); }
.nxc-ps__card--out h3 { color: var(--nx-teal); }
.nxc-ps__arrow { align-self: center; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--nx-hair-dark); color: var(--nx-teal); }
.nxc-ps .nxc-points li:first-child { border-top: 0; padding-top: 0; }
.nxc-ps .nxc-points li:first-child::before { top: .17rem; }
@media (max-width: 900px) {
  .nxc-ps { grid-template-columns: 1fr; }
  .nxc-ps__arrow { transform: rotate(90deg); justify-self: center; }
}

/* ==========================================================================
   CASE STUDIES — editorial project spreads
   ========================================================================== */
.nxc-notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start;
  padding: clamp(1.2rem, .9rem + 1vw, 1.8rem) clamp(1.2rem, .9rem + 1.2vw, 2rem);
  border: 1px solid rgba(0, 182, 148, .35); border-radius: var(--nx-radius-lg);
  background: rgba(0, 219, 178, .06); color: #0A4E40; font-size: .98rem; line-height: 1.65;
}
.nxc-notice__ico { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 182, 148, .14); color: #00806A; }
.nxc-notice strong { color: #05614E; }

.nxc-case { padding-block: clamp(3rem, 2rem + 4vw, 6rem); border-top: 1px solid var(--nx-hair-dark); }
.nxc-case:first-child { border-top: 0; padding-top: 0; }
.nxc-case:last-child { padding-bottom: 0; }
.nxc-case__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--nxc-gap); align-items: end; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.8rem); }
.nxc-case__media { grid-column: span 7; position: relative; border-radius: var(--nx-radius-lg); overflow: hidden; background: var(--nx-navy-deep); }
.nxc-case__media img { display: block; width: 100%; aspect-ratio: 16/10.5; object-fit: cover; transition: transform 1.2s var(--nx-ease); }
.nxc-case__media:hover img { transform: scale(1.03); }
.nxc-case__media .nxc-tag { position: absolute; top: 1rem; inset-inline-start: 1rem; background: rgba(0, 10, 30, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; border-color: rgba(255, 255, 255, .18); }
.nxc-case__head { grid-column: span 5; }
.nxc-case--flip .nxc-case__media { order: 2; }
.nxc-case__index { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.2rem; font-family: var(--nx-font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-on-dark-mut); }
.nxc-case__index b { font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(3.4rem, 2.4rem + 4vw, 6.4rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); }
.nxc-case h3 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 1.4rem; }
.nxc-case__challenge dt { font-family: var(--nx-font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-teal); margin-bottom: .6rem; }
.nxc-case__challenge dd { margin: 0; color: var(--nx-on-dark-mut); font-size: 1.02rem; line-height: 1.7; }
.nxc-case__facts { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--nx-hair-dark); }
.nxc-case__fact { padding: 1.5rem clamp(1rem, .6rem + 1.4vw, 2rem) 0 0; }
[dir="rtl"] .nxc-case__fact { padding: 1.5rem 0 0 clamp(1rem, .6rem + 1.4vw, 2rem); }
.nxc-case__fact + .nxc-case__fact { padding-inline-start: clamp(1rem, .6rem + 1.4vw, 2rem); border-inline-start: 1px solid var(--nx-hair-dark); }
.nxc-case__fact dt { font-family: var(--nx-font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-on-dark-mut); margin-bottom: .7rem; }
.nxc-case__fact dd { margin: 0; color: rgba(238, 243, 250, .82); font-size: .95rem; line-height: 1.68; }
.nxc-case__fact .nx-tags { margin-top: 1rem; }
.nxc-case__fact--pending dd {
  padding: .9rem 1rem; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 12px;
  color: var(--nx-on-dark-mut); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, .025) 10px 11px);
}
.nxc-case__fact--pending dd em { font-style: normal; }
.nxc-case__fact--pending dt::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-start: .55rem; border-radius: 50%; background: #F5B94A; vertical-align: 1px; }
@media (max-width: 1000px) {
  .nxc-case__top { grid-template-columns: 1fr; gap: 1.6rem; }
  .nxc-case__media, .nxc-case__head { grid-column: auto; }
  .nxc-case--flip .nxc-case__media { order: 0; }
  .nxc-case__facts { grid-template-columns: 1fr; }
  .nxc-case__fact, [dir="rtl"] .nxc-case__fact { padding: 1.3rem 0; }
  .nxc-case__fact + .nxc-case__fact { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--nx-hair-dark); }
}

.nxc-quote {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--nxc-gap); align-items: start;
  padding: clamp(1.8rem, 1rem + 3vw, 3.6rem);
  border: 1px dashed var(--nx-line-strong); border-radius: var(--nx-radius-lg); background: var(--nx-surface);
}
.nxc-quote::before {
  content: '\201C'; position: absolute; inset-inline-end: clamp(1rem, .5rem + 2vw, 3rem); top: -2.2rem;
  font-family: var(--nx-font-serif); font-style: italic; font-size: 16rem; line-height: 1; color: var(--nx-bg-tint);
  pointer-events: none;
}
.nxc-quote > * { position: relative; }
.nxc-quote h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); margin: 0; }
.nxc-quote p { color: var(--nx-body); }
.nxc-quote p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .nxc-quote { grid-template-columns: 1fr; gap: 1rem; } }

/* ==========================================================================
   CONTACT — editorial: a typographic introduction beside a quiet form
   (2026-11-13). Hairlines, not cards; the light header sits over it.
   ========================================================================== */
.nxc-contact {
  position: relative;
  padding: clamp(7.5rem, 6rem + 4vw, 10rem) 0 clamp(4rem, 3rem + 4vw, 7rem);
  background: var(--nx-surface);
}
.nxc-contact .nx-crumbs { color: var(--nx-muted); }
.nxc-contact .nx-crumbs a { color: var(--nx-muted); }
.nxc-contact .nx-crumbs a:hover { color: var(--nx-blue-600); }
.nxc-contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 1rem + 6vw, 7.5rem); align-items: start;
  margin-top: clamp(2rem, 1.4rem + 2vw, 3.4rem);
}

/* the introduction */
.nxc-contact__intro { position: sticky; top: var(--nxc-sticky-top); }
.nxc-contact__h {
  margin: 1.1rem 0 1.5rem; max-width: 12ch;
  font-size: clamp(2.6rem, 1.3rem + 4.2vw, 5rem); line-height: .98; letter-spacing: -.048em; color: var(--nx-navy);
}
.nxc-contact__lead { max-width: 33rem; margin: 0; font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); line-height: 1.7; color: var(--nx-body); }
.nxc-contact__facts { margin: clamp(2rem, 1.5rem + 1.5vw, 3rem) 0 0; max-width: 33rem; border-top: 1px solid var(--nxc-rule); }
.nxc-contact__facts > div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--nx-line);
}
.nxc-contact__facts dt { font-family: var(--nx-font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted); }
.nxc-contact__facts dd { margin: 0; font-size: 1rem; color: var(--nx-text); }
.nxc-contact__facts a { font-weight: 600; color: var(--nx-navy); background: linear-gradient(var(--nx-blue), var(--nx-blue)) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--nx-ease), color .2s; }
[dir="rtl"] .nxc-contact__facts a { background-position: 100% 100%; }
.nxc-contact__facts a:hover { color: var(--nx-blue-600); background-size: 100% 1px; }
.nxc-contact__next { margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); max-width: 33rem; }
.nxc-contact__next h2 { margin: 0 0 1rem; font-family: var(--nx-font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted); }
.nxc-contact__next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.nxc-contact__next li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: baseline; font-size: .95rem; line-height: 1.6; color: var(--nx-body); }
.nxc-contact__next li b { font-family: var(--nx-font-mono); font-size: .7rem; font-weight: 500; color: var(--nx-blue-600); }
.nxc-contact__next li strong { color: var(--nx-text); font-weight: 600; }

/* the form: a hairline frame, no shadow stack */
.nxc-contact__panel {
  border: 1px solid var(--nx-line); border-radius: var(--nx-radius-lg);
  padding: clamp(1.4rem, .9rem + 2vw, 2.8rem);
  background: var(--nx-surface);
  box-shadow: 0 30px 60px -45px rgba(1, 17, 47, .28);
}
.nxc-form { display: grid; gap: 1.25rem; }
.nxc-form[hidden], .nxc-done[hidden] { display: none; }
.nxc-form__head { padding-bottom: 1.3rem; margin-bottom: .2rem; border-bottom: 1px solid var(--nx-line); }
.nxc-form__head h2 { margin: 0 0 .4rem; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); letter-spacing: -.03em; color: var(--nx-navy); }
.nxc-form__head p { margin: 0; font-size: .86rem; color: var(--nx-muted); }
.nxc-form__head .req { color: var(--nx-blue-600); font-weight: 700; }
.nxc-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.nxc-form .nx-field { gap: .5rem; min-width: 0; }
.nxc-form .nx-field label { font-size: .84rem; font-weight: 600; color: var(--nx-text); }
.nxc-opt { font-weight: 400; color: var(--nx-muted); }
.nxc-form .nx-field input,
.nxc-form .nx-field select,
.nxc-form .nx-field textarea {
  width: 100%; min-height: 3.1rem; padding: .8rem 1rem;
  font: inherit; font-size: .97rem; color: var(--nx-text);
  background-color: var(--nx-surface); border: 1px solid var(--nx-line-strong); border-radius: 10px;
  transition: border-color .2s var(--nx-ease), box-shadow .2s var(--nx-ease);
}
.nxc-form .nx-field select { padding-inline-end: 2.6rem; }
[dir="rtl"] .nxc-form .nx-field select { background-position: left 1rem center; padding-right: 1rem; }
.nxc-form .nx-field select:invalid,
.nxc-form .nx-field select:has(option[value=""]:checked) { color: var(--nx-muted); }
.nxc-form .nx-field select option { color: var(--nx-text); }
.nxc-form .nx-field textarea { min-height: 9.5rem; line-height: 1.6; resize: vertical; }
.nxc-form .nx-field ::placeholder { color: #8A96AE; opacity: 1; }
.nxc-form .nx-field input:hover,
.nxc-form .nx-field select:hover,
.nxc-form .nx-field textarea:hover { border-color: #B9C6DA; }
.nxc-form .nx-field input:focus,
.nxc-form .nx-field select:focus,
.nxc-form .nx-field textarea:focus { outline: none; border-color: var(--nx-blue); box-shadow: 0 0 0 4px rgba(0, 140, 254, .12); }
.nxc-form .nx-field [aria-invalid="true"] { border-color: #D64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .08); }
.nxc-form .nx-field__err { margin: 0; font-size: .8rem; color: #B42F2F; }
.nxc-form .nx-field__err:not(:empty)::before { content: '! '; font-weight: 700; }
.nxc-form .nx-form__status { margin: 0; }
.nxc-form .nx-form__status:empty { display: none; }
/* One-tap enquiry types above the message box. They need the script, so they are not shown without it. */
.nxc-quick { display: grid; gap: .6rem; min-width: 0; }
html:not(.nx-js) .nxc-quick { display: none; }
.nxc-quick__h { margin: 0; font-size: .84rem; font-weight: 600; color: var(--nx-text); }
.nxc-quick__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.nxc-quick__chip {
  min-height: 40px; padding: .5rem .95rem; border-radius: 999px; font-size: .875rem; font-weight: 500; line-height: 1.2;
  color: var(--nx-text); background: var(--nx-surface); border: 1px solid var(--nx-line-strong);
  transition: background .2s, color .2s, border-color .2s;
}
.nxc-quick__chip:hover { border-color: var(--nx-blue); color: var(--nx-blue-600); }
.nxc-quick__chip[aria-pressed="true"] { background: var(--nx-navy); border-color: var(--nx-navy); color: #fff; }
.nxc-quick__chip:focus-visible { outline: 2px solid var(--nx-blue); outline-offset: 2px; border-radius: 999px; }
.nxc-form__foot { display: grid; gap: 1rem; padding-top: .4rem; }
.nxc-form__submit { justify-self: start; min-height: 3.1rem; padding-inline: 1.7rem; }
.nxc-form__submit[disabled] { cursor: progress; opacity: .8; }
.nxc-form__submit.is-loading svg { display: none; }
.nxc-form__submit.is-loading::after {
  content: ''; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid currentColor; border-inline-end-color: transparent;
  animation: nxc-spin .7s linear infinite;
}
@keyframes nxc-spin { to { transform: rotate(360deg); } }
.nxc-form .nx-form__note { margin: 0; font-size: .8rem; line-height: 1.6; color: var(--nx-muted); }
.nxc-form .nx-form__note a { color: var(--nx-blue-600); text-decoration: underline; text-underline-offset: 2px; }

/* after a successful send */
.nxc-done { padding: clamp(1rem, .5rem + 2vw, 2.4rem) 0; animation: nx-tp-in .35s var(--nx-ease); }
.nxc-done__mark {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.4rem;
  border: 1px solid rgba(0, 182, 148, .45); border-radius: 50%; color: #05866D;
}
.nxc-done h2 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); letter-spacing: -.035em; color: var(--nx-navy); outline: none; }
.nxc-done p { max-width: 26rem; margin: 0 0 1.8rem; font-size: 1.05rem; line-height: 1.65; color: var(--nx-body); }
.nxc-done__again {
  padding: 0 0 .15rem; border: 0; border-bottom: 1px solid currentColor; background: none;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--nx-blue-600); cursor: pointer;
}
.nxc-done__again:hover { color: var(--nx-navy); }

@media (prefers-reduced-motion: reduce) {
  .nxc-form__submit.is-loading::after { animation-duration: 2s; }
  .nxc-done { animation: none; }
}
@media (max-width: 1000px) {
  .nxc-contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .nxc-contact__intro { position: static; }
  .nxc-contact__h { max-width: 14ch; }
}
@media (max-width: 600px) {
  .nxc-form__row { grid-template-columns: 1fr; }
  .nxc-form__submit { justify-self: stretch; justify-content: center; }
  .nxc-contact__facts > div { grid-template-columns: 6rem minmax(0, 1fr); }
  .nxc-contact__facts dd { overflow-wrap: anywhere; }
}

.nxc-qa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--nxc-gap); align-items: start; }
.nxc-qa__head { position: sticky; top: var(--nxc-sticky-top); }
.nxc-qa__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
@media (max-width: 900px) { .nxc-qa { grid-template-columns: 1fr; gap: 1.4rem; } .nxc-qa__head { position: static; } }

/* ==========================================================================
   FAQ and legal — sticky index + readable column
   ========================================================================== */
.nxc-doc { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.nxc-toc { position: sticky; top: var(--nxc-sticky-top); }
.nxc-toc__h { display: block; font-family: var(--nx-font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-muted); padding-bottom: .9rem; border-bottom: 1px solid var(--nxc-rule); }
.nxc-toc ol { list-style: none; margin: 0; padding: 0; }
.nxc-toc a {
  position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .4rem; align-items: baseline;
  padding: .72rem 0; border-bottom: 1px solid var(--nx-line);
  font-size: .9rem; line-height: 1.4; color: var(--nx-body);
  transition: color .25s var(--nx-ease);
}
.nxc-toc a::before {
  content: ''; position: absolute; inset-inline-start: -1rem; top: .7rem; bottom: .7rem; width: 2px; border-radius: 2px;
  background: var(--nx-grad); opacity: 0; transform: scaleY(.3); transition: opacity .3s var(--nx-ease), transform .3s var(--nx-ease);
}
.nxc-toc a:hover { color: var(--nx-text); }
.nxc-toc a.is-active { color: var(--nx-text); font-weight: 600; }
.nxc-toc a.is-active::before { opacity: 1; transform: none; }
.nxc-toc a span:first-child { font-family: var(--nx-font-mono); font-size: .66rem; letter-spacing: .08em; color: var(--nx-blue-600); }
.nxc-toc a small { font-family: var(--nx-font-mono); font-size: .64rem; color: var(--nx-muted); }
.nxc-toc__foot { margin-top: 1.4rem; font-size: .85rem; color: var(--nx-muted); }
.nxc-toc__foot a { display: inline; padding: 0; border: 0; color: var(--nx-blue-600); font-weight: 600; }
.nxc-toc__foot a::before { display: none; }
@media (max-width: 1000px) {
  .nxc-doc { grid-template-columns: 1fr; gap: 2rem; }
  .nxc-toc { position: static; }
  .nxc-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
}
@media (max-width: 560px) { .nxc-toc ol { grid-template-columns: 1fr; } }

/* FAQ groups */
.nxc-faq__group { scroll-margin-top: 6rem; }
.nxc-faq__group + .nxc-faq__group { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.nxc-faq__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: end; margin-bottom: 1.4rem; }
.nxc-faq__head b { font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--nx-line-strong); }
.nxc-faq__head .nx-eyebrow { margin-bottom: .4rem; }
.nxc-faq__head h2 { margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); }
.nxc-faq .nx-acc { counter-reset: nxcq; border-top-color: var(--nxc-rule); }
.nxc-faq .nx-acc__item { counter-increment: nxcq; border-bottom-color: var(--nxc-rule); scroll-margin-top: 7rem; }
.nxc-faq .nx-acc__btn { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .6rem; text-align: start; padding-block: 1.45rem; }
.nxc-faq .nx-acc__btn::before { content: 'Q.' counter(nxcq, decimal-leading-zero); font-family: var(--nx-font-mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; color: var(--nx-blue-600); padding-top: .32rem; }
[lang="ar"] .nxc-faq .nx-acc__btn::before { content: counter(nxcq, decimal-leading-zero); }
.nxc-faq .nx-acc__panel p { padding-inline-start: 3.8rem; font-size: 1rem; line-height: 1.75; max-width: 64ch; color: var(--nx-body); }
.nxc-faq .nx-acc__item.is-open .nx-acc__btn { color: var(--nx-text); }
@media (max-width: 560px) {
  .nxc-faq .nx-acc__btn { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
  .nxc-faq .nx-acc__panel p { padding-inline-start: 0; }
}
.nxc-faq__ask { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); border-radius: var(--nx-radius-lg); background: var(--nx-navy); color: var(--nx-on-dark); }
.nxc-faq__ask p { margin: 0; color: var(--nx-on-dark-mut); max-width: 34rem; }
.nxc-faq__ask strong { display: block; color: #fff; font-family: var(--nx-font-display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .2rem; }

/* Legal prose */
.nxc-prose { max-width: 44rem; font-size: 1.06rem; line-height: 1.8; color: var(--nx-body); counter-reset: nxch; }
.nxc-prose h2 {
  counter-increment: nxch; scroll-margin-top: 6.5rem;
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: baseline;
  font-size: clamp(1.45rem, 1.2rem + .9vw, 1.95rem); line-height: 1.2; letter-spacing: -.03em;
  margin: clamp(2.6rem, 2rem + 2vw, 3.6rem) 0 1rem; padding-top: clamp(2.2rem, 1.8rem + 1.4vw, 3rem);
  border-top: 1px solid var(--nxc-rule);
}
.nxc-prose h2::before { content: counter(nxch, decimal-leading-zero); font-family: var(--nx-font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; color: var(--nx-blue-600); }
.nxc-prose h2:first-of-type { margin-top: 0; }
.nxc-prose p { padding-inline-start: 3rem; margin-bottom: 1.1rem; }
.nxc-prose a { color: var(--nx-blue-600); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 640px) { .nxc-prose p { padding-inline-start: 0; } .nxc-prose h2 { grid-template-columns: 2.4rem minmax(0, 1fr); } }
.nxc-caveat {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start;
  padding: 1.3rem 1.4rem; margin-bottom: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
  border: 1px dashed var(--nx-line-strong); border-radius: 14px; background: var(--nx-surface);
  font-size: .95rem; line-height: 1.65; color: var(--nx-body);
}
.nxc-caveat p, .nxc-prose .nxc-caveat p { margin: 0; padding: 0; }
.nxc-caveat__ico { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 185, 74, .16); color: #9A6400; font-family: var(--nx-font-mono); font-weight: 600; font-size: .85rem; }

/* Legal hero: the title and its terms of reference side by side. */
.nxc-legal-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--nxc-gap); align-items: end; }
.nxc-legal-hero .nx-lead { margin: 0 0 1.4rem; }
.nxc-legal-hero__card {
  border: 1px solid var(--nx-hair-dark); border-radius: var(--nx-radius-lg);
  background: linear-gradient(180deg, rgba(8, 24, 56, .82), rgba(0, 10, 30, .86));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: clamp(1.2rem, .9rem + 1vw, 1.8rem);
}
.nxc-legal-hero__card .nxc-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.nxc-meta { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nx-hair-dark); }
.nxc-meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--nx-hair-dark); font-size: .9rem; color: rgba(238, 243, 250, .86); }
.nxc-meta li span { font-family: var(--nx-font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-on-dark-mut); padding-top: .15rem; }
.nxc-meta a { color: #fff; }
.nxc-meta a:hover { color: var(--nx-teal); }
@media (max-width: 900px) { .nxc-legal-hero { grid-template-columns: 1fr; gap: 1rem; } }

/* ==========================================================================
   404
   ========================================================================== */
.nxc-lost { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--nxc-gap); align-items: center; }
.nxc-lost__code { display: block; font-family: var(--nx-font-display); font-weight: 600; font-size: clamp(5rem, 3rem + 9vw, 11rem); line-height: .8; letter-spacing: -.06em; margin-bottom: 1.6rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); }
.nxc-lost__code span { -webkit-text-stroke: 0; background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nxc-trace {
  border: 1px solid var(--nx-hair-dark); border-radius: var(--nx-radius-lg); overflow: hidden;
  background: rgba(0, 10, 30, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--nx-font-mono); font-size: .8rem; line-height: 1.7;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.nxc-trace__bar { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--nx-hair-dark); color: var(--nx-on-dark-mut); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.nxc-trace__body { padding: 1.1rem 1.2rem 1.3rem; color: rgba(238, 243, 250, .82); direction: ltr; text-align: left; }
.nxc-trace__row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .6rem; }
.nxc-trace__row > span:first-child { color: var(--nx-on-dark-mut); }
.nxc-trace__path { color: #fff; overflow-wrap: anywhere; }
.nxc-trace__err { color: #FF9C8A; }
.nxc-trace__ok { color: var(--nx-teal); }
.nxc-trace__row a { color: var(--nx-teal); }
.nxc-trace__row a:hover { color: #fff; }
@media (max-width: 900px) { .nxc-lost { grid-template-columns: 1fr; } }

/* Destination list (404 and the Arabic homepage's disciplines) */
.nxc-dest { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nxc-rule); }
.nxc-dest a {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr) 2.6rem; gap: clamp(.8rem, .4rem + 1.6vw, 2.4rem); align-items: center;
  padding-block: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); border-bottom: 1px solid var(--nxc-rule); color: var(--nx-text);
}
.nxc-dest a::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--nx-grad); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--nx-ease);
}
[dir="rtl"] .nxc-dest a::after { transform-origin: right center; }
.nxc-dest a:hover::after { transform: scaleX(1); }
.nxc-dest__n { font-family: var(--nx-font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--nx-blue-600); }
.nxc-dest h3 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); letter-spacing: -.04em; line-height: 1.05; transition: transform .5s var(--nx-ease); }
.nxc-dest a:hover h3 { transform: translateX(.4rem); }
[dir="rtl"] .nxc-dest a:hover h3 { transform: translateX(-.4rem); }
.nxc-dest p { margin: 0; color: var(--nx-body); font-size: .98rem; }
.nxc-dest__go { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--nxc-rule); color: var(--nx-blue-600); transition: background .3s var(--nx-ease), color .3s var(--nx-ease), border-color .3s var(--nx-ease); }
.nxc-dest a:hover .nxc-dest__go { background: var(--nx-navy); border-color: var(--nx-navy); color: #fff; }
@media (max-width: 760px) {
  .nxc-dest a { grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem; }
  .nxc-dest p { grid-column: 2; grid-row: 2; }
  .nxc-dest__go { grid-column: 3; grid-row: 1 / span 2; }
}

/* ==========================================================================
   ARABIC HOMEPAGE
   ========================================================================== */
.nxc-stack { position: relative; padding-bottom: 14%; }
.nxc-stack__main, .nxc-stack__side {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 140, 254, .08);
}
.nxc-stack__main { transform: perspective(1600px) rotateY(8deg) rotateX(2deg); transform-origin: left center; }
.nxc-stack__main img, .nxc-stack__side img { display: block; width: 100%; height: auto; object-fit: cover; object-position: left top; }
.nxc-stack__side { position: absolute; width: 50%; inset-inline-start: -6%; bottom: 0; transform: perspective(1600px) rotateY(8deg); }
.nxc-stack__chip { position: absolute; top: -1rem; inset-inline-end: 1rem; z-index: 2; }
@media (max-width: 992px) {
  .nxc-stack { max-width: 40rem; margin-top: 1rem; }
}
@media (max-width: 560px) {
  .nxc-stack__main, .nxc-stack__side { transform: none; }
  .nxc-stack__side { inset-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nxc-stack__main, .nxc-stack__side { transform: none; }
}

.nxc-prod { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--nxc-gap); align-items: center; padding-block: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); border-top: 1px solid var(--nxc-rule); }
.nxc-prod:first-of-type { border-top: 0; padding-top: 0; }
.nxc-prod--flip .nxc-prod__stage { order: -1; }
.nxc-prod__count { display: block; font-family: var(--nx-font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--nx-blue-600); margin-bottom: 1rem; }
.nxc-prod h3 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.042em; margin-bottom: 1rem; }
.nxc-prod p { color: var(--nx-body); font-size: 1.04rem; line-height: 1.75; max-width: 32rem; }
.nxc-prod .nxc-tag { margin-bottom: 1.4rem; }
.nxc-prod__stage { position: relative; margin: 0; border-radius: var(--nx-radius-lg); padding: clamp(1rem, .6rem + 1.6vw, 2.2rem); background: radial-gradient(80% 90% at 30% 20%, #0E2A5C, var(--nx-navy) 60%, var(--nx-navy-deep)); overflow: hidden; }
.nxc-prod__stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--nx-hair-dark) 1px, transparent 1px), linear-gradient(90deg, var(--nx-hair-dark) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.nxc-prod__stage img { position: relative; display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.nxc-prod__stage .nxc-tag { position: absolute; z-index: 1; top: 1rem; inset-inline-end: 1rem; background: rgba(0, 10, 30, .65); color: #fff; margin: 0; }
@media (max-width: 900px) {
  .nxc-prod { grid-template-columns: 1fr; }
  .nxc-prod--flip .nxc-prod__stage { order: 0; }
}

/* Long-form Arabic reads better with a touch more leading. */
[lang="ar"] .nxc-prose,
[lang="ar"] .nxc-row p,
[lang="ar"] .nxc-ledger li,
[lang="ar"] .nxc-points li { line-height: 1.85; }
[lang="ar"] .nxc-index__t small,
[lang="ar"] .nxc-mono { letter-spacing: .02em; }

/* Tracked mono labels break Arabic letter joining: set them untracked, in the
   text face, on Arabic pages (chapter markers and eyebrows included). */
[lang="ar"] .nxc-index__h, [lang="ar"] .nxc-index__t small, [lang="ar"] .nxc-mono,
[lang="ar"] .nxc-sector__k, [lang="ar"] .nxc-fam__k, [lang="ar"] .nxc-toc__h,
[lang="ar"] .nxc-group__label, [lang="ar"] .nxc-meter, [lang="ar"] .nxc-console__bar,
[lang="ar"] .nxc-tag, [lang="ar"] .nxc-next-steps h3, [lang="ar"] .nxc-route__node small,
[lang="ar"] .nxc-route__fig, [lang="ar"] .nxc-mosaic span b, [lang="ar"] .nxc-cover figcaption,
[lang="ar"] .nxc-ps__card h3, [lang="ar"] .nxc-meta li span,
[lang="ar"] .nx-chapter__t, [lang="ar"] .nx-eyebrow, [lang="ar"] .nx-crumbs {
  letter-spacing: 0; font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif;
}
[lang="ar"] .nx-chapter__t, [lang="ar"] .nxc-index__h, [lang="ar"] .nxc-toc__h { font-size: .82rem; }

/* Deep sections share the dark treatments. */
.nx-section--deep .nxc-points li { border-color: var(--nx-hair-dark); color: var(--nx-on-dark-mut); }
.nx-section--deep .nxc-points li strong { color: #fff; }
.nx-section--deep .nxc-points li::before { color: var(--nx-teal); }
.nx-section--deep .nxc-sector__k { color: var(--nx-on-dark-mut); }
.nx-section--deep .nxc-sector__k b { -webkit-text-stroke-color: rgba(255, 255, 255, .28); }
.nx-section--deep .nxc-ledger, .nx-section--deep .nxc-ledger li { border-color: var(--nx-hair-dark); }
.nx-section--deep .nxc-ledger li { color: var(--nx-on-dark-mut); }
.nx-section--deep .nxc-ledger li strong { color: #fff; }
.nx-section--deep .nxc-ledger li::before { color: var(--nx-teal); }
.nxc-points--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .nxc-points--five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .nxc-points--five { grid-template-columns: 1fr; } }
.nxc-statement .nx-btn { margin-top: 1.8rem; }
.nxc-points + .nxc-next, .nxc-points--cols + .nxc-next { margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
.nxc-ledgerset .nxc-ledger { margin-top: 2rem; }
.nxc-portrait .nxc-points { margin-top: 1.8rem; }

.nxc-sectors--links .nx-link { margin-top: 1.1rem; }
.nxc-notice p { margin: 0; }
.nxc-case { scroll-margin-top: 5rem; }
.nxc-case .nx-tag { background: rgba(255, 255, 255, .05); border-color: var(--nx-hair-dark); color: rgba(238, 243, 250, .8); }
.nxc-route, .nxc-stack { margin: 0; }
[lang="ar"] .nx-strip__item em { letter-spacing: 0; font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif; font-size: .78rem; }

/* ==========================================================================
   Launch clarity layer (2026-11-12)
   Distinct section grounds with visible boundaries, one header pattern
   (label, H2, subtitle) at the container's start edge, capped type sizes,
   readable line lengths. Overrides the more expressive rules above.
   ========================================================================== */
:root { --nxc-h2: clamp(1.9rem, 1.2rem + 2.2vw, 3.25rem); }

/* Grounds and boundaries */
main .nx-section { padding-block: clamp(4rem, 2.8rem + 4.5vw, 7rem); }
main .nx-section--dark { background: var(--nx-navy); }
main .nx-section:not(.nx-section--dark):not(.nx-section--deep) + .nx-section:not(.nx-section--dark):not(.nx-section--deep) { border-top: 1px solid var(--nx-line-strong); }
main .nx-section--dark + .nx-section--dark, main .nx-section--dark + .nx-section--deep,
main .nx-section--deep + .nx-section--dark, main .nx-section--deep + .nx-section--deep,
main .nx-strip + .nx-section--dark, main .nx-strip + .nx-section--deep,
main .nx-section--dark + .nx-cta, main .nx-section--deep + .nx-cta { border-top: 1px solid var(--nx-hair-dark); }

/* Section header: label, H2, subtitle, then content */
.nxc-sh, .nxc-head-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  max-width: 54rem; margin-bottom: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
}
.nxc-head-row > div { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.nxc-sh h2, .nxc-head-row h2 { margin: 0; }
.nxc-sh .nx-lead, .nxc-head-row .nx-lead { margin: 0; max-width: 68ch; }
.nxc-sh .nx-btn-row, .nxc-head-row .nx-btn-row { margin-top: .6rem; }
.nxc-sh .nxc-sector__k, .nxc-sh .nx-eyebrow { margin-bottom: 0; }
.nxc-sector__k { margin-bottom: 0; }

/* Type caps */
main .nx-page-hero .nx-display, main .nx-page-hero h1 { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.25rem); line-height: 1.02; }
main .nx-section h2, main .nx-cta h2 { font-size: var(--nxc-h2); line-height: 1.06; letter-spacing: -.035em; }
main .nx-section .nxc-prose h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); }
main .nx-section .nxc-faq__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
main .nx-section h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.6rem); line-height: 1.22; letter-spacing: -.02em; }
main .nx-section .nx-tile h3 { font-size: 1.18rem; }
main .nx-section .nxc-aside__card h3 { font-size: 1.15rem; }
main .nx-section .nxc-ps__card h3 { font-size: .7rem; letter-spacing: .16em; }
.nxc-ledger li strong { font-size: clamp(1.12rem, 1rem + .45vw, 1.4rem); }
.nxc-sector__k b, .nxc-case__index b, .nxc-faq__head b { font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.nxc-lost__code { font-size: clamp(3.5rem, 2.5rem + 3vw, 5rem); margin-bottom: 1.2rem; }
main .nx-section p, main .nx-section .nx-lead { max-width: 68ch; }
.nxc-quote::before { font-size: 8rem; top: -1rem; }

/* Single-column panels now that their headings sit outside them */
.nxc-open, .nxc-quote { grid-template-columns: 1fr; max-width: 60rem; gap: 0; }
.nxc-qa { display: block; }
.nxc-qa .nxc-faq { max-width: 60rem; }

/* Industries: list beside photograph */
.nxc-pair { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--nxc-gap); align-items: start; }
.nxc-pair__media { border-radius: var(--nx-radius-lg); overflow: hidden; }
.nxc-pair__media img { display: block; width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.nxc-portrait .nxc-points { margin-top: 0; }
.nxc-ledgerset .nxc-ledger { margin-top: 0; }
@media (max-width: 900px) { .nxc-pair { grid-template-columns: 1fr; } .nxc-pair__media { order: -1; } }

/* Case studies: the note sits under the section header */
.nxc-notice--dark { background: rgba(0, 219, 178, .07); border-color: rgba(0, 219, 178, .3); margin-bottom: clamp(2.6rem, 2rem + 2vw, 4rem); }
.nxc-notice--dark p { color: var(--nx-on-dark-mut); }
.nxc-notice--dark strong { color: #fff; }
.nxc-notice--dark .nxc-notice__ico { color: var(--nx-teal); background: rgba(0, 219, 178, .12); }
.nxc-notice--dark + .nxc-case { border-top: 0; padding-top: 0; }

/* Contact: plainly usable fields */
.nxc-console .nx-field label { font-size: .9rem; }
.nxc-console .nx-field input,
.nxc-console .nx-field select,
.nxc-console .nx-field textarea { background-color: var(--nx-surface); border-color: var(--nx-line-strong); }
.nxc-console .nx-field input:hover,
.nxc-console .nx-field select:hover,
.nxc-console .nx-field textarea:hover { border-color: #AEBFD6; }
main .nx-page-hero + .nx-section--dark, main .nx-page-hero + .nx-section--deep { border-top: 1px solid var(--nx-hair-dark); }
.nxc-console .nx-form__status + .nxc-group { border-top: 0; padding-top: .4rem; }
.nxc-sh .req { color: var(--nx-blue-600); }

/* ---------- Business Solutions (/solutions/, 2026-11-12) ----------
   Each solution is an anchored card: what it is, the services that deliver it,
   and — only where one exists — our own product. */
.nxs-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}
.nxs-card {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  padding: 1.5rem 1.4rem 1.3rem; border-radius: 16px;
  background: #fff; border: 1px solid var(--nx-line);
  transition: border-color .25s var(--nx-ease), box-shadow .25s var(--nx-ease), transform .25s var(--nx-ease);
}
.nxs-card:hover { border-color: rgba(0, 140, 254, .35); box-shadow: 0 18px 40px -26px rgba(7, 26, 61, .35); transform: translateY(-2px); }
.nxs-card:target { border-color: var(--nx-blue); box-shadow: 0 0 0 3px rgba(0, 140, 254, .18); }
.nxs-card__ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: var(--nx-bg-tint); color: var(--nx-blue-600);
}
.nxs-card__ico svg { width: 21px; height: 21px; }
.nxs-card h3 { margin: .2rem 0 0; font-size: 1.12rem; line-height: 1.3; }
.nxs-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--nx-muted); }
.nxs-card__via { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: auto; padding-top: .6rem; }
.nxs-card__via span {
  margin-inline-end: .2rem; font-family: var(--nx-font-mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--nx-muted);
}
[dir="rtl"] .nxs-card__via span { font-family: var(--nx-font); letter-spacing: 0; text-transform: none; font-size: .78rem; }
.nxs-card__via a {
  padding: .28rem .65rem; border-radius: 999px; border: 1px solid var(--nx-line);
  font-size: .78rem; font-weight: 600; color: var(--nx-text);
  transition: border-color .2s, color .2s, background-color .2s;
}
.nxs-card__via a:hover { border-color: var(--nx-blue); color: var(--nx-blue-600); background: var(--nx-bg-tint); }
.nxs-card__prod {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem .7rem .55rem .55rem; border-radius: 12px;
  background: var(--nx-bg-tint); color: var(--nx-text);
  transition: background-color .2s;
}
.nxs-card__prod img { width: 64px; height: 40px; border-radius: 6px; object-fit: cover; object-position: left top; flex: none; border: 1px solid var(--nx-line); }
.nxs-card__prod span { display: grid; flex: 1; min-width: 0; }
.nxs-card__prod small { font-size: .7rem; color: var(--nx-muted); }
.nxs-card__prod b { font-size: .9rem; }
.nxs-card__prod svg { flex: none; color: var(--nx-blue-600); transition: transform .2s var(--nx-ease); }
.nxs-card__prod:hover { background: #E3EEFF; }
.nxs-card__prod:hover svg { transform: translateX(3px); }
[dir="rtl"] .nxs-card__prod svg { transform: scaleX(-1); }
[dir="rtl"] .nxs-card__prod:hover svg { transform: scaleX(-1) translateX(3px); }
.nxs-card__prod--early small { color: #8A5A00; }

/* dark grounds */
.nx-section--dark .nxs-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.nx-section--dark .nxs-card:hover { border-color: rgba(0, 219, 178, .45); box-shadow: none; }
.nx-section--dark .nxs-card h3 { color: #fff; }
.nx-section--dark .nxs-card p { color: var(--nx-on-dark-mut); }
.nx-section--dark .nxs-card__ico { background: rgba(255, 255, 255, .08); color: var(--nx-teal); }
.nx-section--dark .nxs-card__via span { color: var(--nx-on-dark-mut); }
.nx-section--dark .nxs-card__via a { color: #fff; border-color: rgba(255, 255, 255, .18); }
.nx-section--dark .nxs-card__via a:hover { border-color: var(--nx-teal); color: var(--nx-teal); background: transparent; }
.nx-section--dark .nxs-card__prod { background: rgba(255, 255, 255, .07); color: #fff; }
.nx-section--dark .nxs-card__prod:hover { background: rgba(255, 255, 255, .12); }
.nx-section--dark .nxs-card__prod small { color: var(--nx-on-dark-mut); }
.nx-section--dark .nxs-card__prod svg { color: var(--nx-teal); }
.nx-section--dark .nxs-card__prod img { border-color: rgba(255, 255, 255, .12); }

/* sectors */
.nxs-sectors__list {
  display: grid; gap: .8rem; margin-top: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.nxs-sectors__list a {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: 1.05rem 1.2rem; border-radius: 12px; background: #fff; border: 1px solid var(--nx-line);
  font-weight: 600; color: var(--nx-text); transition: border-color .2s, color .2s;
}
.nxs-sectors__list a svg { flex: none; color: var(--nx-blue-600); transition: transform .2s var(--nx-ease); }
.nxs-sectors__list a:hover { border-color: var(--nx-blue); color: var(--nx-blue-600); }
.nxs-sectors__list a:hover svg { transform: translateX(3px); }
[dir="rtl"] .nxs-sectors__list a svg { transform: scaleX(-1); }
[dir="rtl"] .nxs-sectors__list a:hover svg { transform: scaleX(-1) translateX(3px); }

@media (max-width: 600px) {
  .nxs-card { padding: 1.25rem 1.1rem 1.1rem; }
}
/* fixed column counts so no card is left alone on a row */
@media (min-width: 640px) {
  .nxs-grid--4, .nxs-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nxs-sectors__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .nxs-grid--3, .nxs-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nxs-sectors__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .nxs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Industries: the products that serve a sector ----------
   A ruled row under each sector: a label, then one card per product with the reason it fits
   (taken from that product's page) and the stage it is at. Each card is a link to the product. */
.nxc-fit {
  display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: 1rem clamp(1.4rem, 1rem + 2vw, 3rem);
  margin-top: clamp(2rem, 1.4rem + 2vw, 3.4rem); padding-top: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border-top: 1px solid var(--nxc-rule);
}
.nxc-fit .nxc-fit__h {
  margin: .35rem 0 0; font-family: var(--nx-font-mono); font-size: .72rem; font-weight: 500; line-height: 1.5;
  letter-spacing: .16em; text-transform: uppercase; color: var(--nx-muted);
}
[dir="rtl"] .nxc-fit .nxc-fit__h { font-family: var(--nx-font); font-size: .9rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.nxc-fit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: .8rem; }
.nxc-fit__list a {
  display: grid; gap: .45rem; height: 100%; padding: 1.05rem 1.15rem 1.1rem; border-radius: var(--nx-radius);
  background: var(--nx-surface); border: 1px solid var(--nx-line); color: var(--nx-body);
  transition: border-color .25s var(--nx-ease), transform .25s var(--nx-ease), box-shadow .25s var(--nx-ease);
}
.nxc-fit__list a:hover { border-color: var(--nx-blue); transform: translateY(-2px); box-shadow: var(--nx-shadow-sm); }
.nxc-fit__list a:focus-visible { outline: 2px solid var(--nx-blue); outline-offset: 2px; border-radius: var(--nx-radius); }
.nxc-fit__list b { font-family: var(--nx-font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; color: var(--nx-text); }
.nxc-fit__list b::after { content: ''; display: inline-block; width: .8em; height: .8em; margin-inline-start: .4rem; background: var(--nx-blue-600); -webkit-mask: var(--nx-arrow) center / contain no-repeat; mask: var(--nx-arrow) center / contain no-repeat; vertical-align: -.04em; transition: transform .25s var(--nx-ease); }
[dir="rtl"] .nxc-fit__list b::after { transform: scaleX(-1); }
.nxc-fit__list a:hover b::after { transform: translateX(3px); }
[dir="rtl"] .nxc-fit__list a:hover b::after { transform: scaleX(-1) translateX(3px); }
.nxc-fit__list span { font-size: .9rem; line-height: 1.55; }
.nxc-fit__list em {
  align-self: end; font-style: normal; font-family: var(--nx-font-mono); font-size: .64rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--nx-muted);
}
[dir="rtl"] .nxc-fit__list em { font-family: var(--nx-font); font-size: .76rem; letter-spacing: 0; text-transform: none; }
.nx-section--dark .nxc-fit, .nx-section--deep .nxc-fit { border-top-color: var(--nx-hair-dark); }
.nx-section--dark .nxc-fit__h, .nx-section--deep .nxc-fit__h { color: var(--nx-on-dark-mut); }
.nx-section--dark .nxc-fit__list a, .nx-section--deep .nxc-fit__list a { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: var(--nx-on-dark-mut); }
.nx-section--dark .nxc-fit__list a:hover, .nx-section--deep .nxc-fit__list a:hover { border-color: var(--nx-teal); box-shadow: none; }
.nx-section--dark .nxc-fit__list b, .nx-section--deep .nxc-fit__list b { color: #fff; }
.nx-section--dark .nxc-fit__list b::after, .nx-section--deep .nxc-fit__list b::after { background: var(--nx-teal); }
.nx-section--dark .nxc-fit__list em, .nx-section--deep .nxc-fit__list em { color: var(--nx-on-dark-mut); }
@media (max-width: 860px) { .nxc-fit { grid-template-columns: 1fr; } .nxc-fit .nxc-fit__h { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .nxc-fit__list a, .nxc-fit__list b::after { transition: none; } .nxc-fit__list a:hover { transform: none; } }
