:root {
  --ink: #0B0D10;
  --ink-2: #14181F;
  --light: #F7F8FA;
  --paper: #ECEEF2;
  --lime: #C8FF2E;
  --lime-ink: #0B0D10;
  --muted: #5F6775;
  --muted-on-dark: #9BA3B2;
  --line: rgba(11, 13, 16, 0.13);
  --line-dark: rgba(247, 248, 250, 0.14);
  --rail-w: 248px;
  --display: 'Space Grotesk', -apple-system, sans-serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body.nx-shell-body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--ink); font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); letter-spacing: -0.035em; line-height: 1.08; }

.nx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.nx-skip { position: fixed; top: -60px; left: 16px; z-index: 300; padding: 10px 16px; background: var(--lime); color: var(--ink); font-weight: 700; }
.nx-skip:focus { top: 16px; }
.nx-pad { width: min(1340px, calc(100% - 64px)); margin-inline: auto; }

/* Frame: Left Fixed Architectural Studio Rail + Right Edge-to-Edge Stage */
.nx-frame { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; }
.nx-stage { min-width: 0; background: var(--light); display: flex; flex-direction: column; }
.nx-canvas { flex: 1; min-width: 0; }

.nx-rail { position: sticky; top: 0; height: 100vh; z-index: 120; background: var(--ink); color: var(--light); border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; padding: 24px 20px; }
.nx-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.nx-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.nx-brand-meta { display: flex; flex-direction: column; min-width: 0; }
.nx-brand-meta strong { font: 700 13px/1.15 var(--display); letter-spacing: 0.06em; }
.nx-brand-meta span { font: 500 9px/1.3 var(--mono); color: var(--muted-on-dark); letter-spacing: 0.06em; margin-top: 3px; }
.nx-mobile-trigger { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid var(--line-dark); color: var(--light); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nx-mobile-trigger span { width: 16px; height: 1.5px; background: var(--light); }

.nx-rail-drawer { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-top: 20px; }
.nx-rail-status { display: inline-flex; align-items: center; gap: 8px; font: 600 10px var(--mono); color: var(--lime); letter-spacing: 0.1em; margin-bottom: 16px; }
.nx-dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); flex: none; }
.nx-rail-nav { display: grid; gap: 4px; }
.nx-rail-link { display: grid; grid-template-columns: 26px 1fr 16px; align-items: center; padding: 11px 10px; border-left: 2px solid transparent; color: #B8C0CC; font-size: 13px; font-weight: 500; transition: all .18s; }
.nx-rail-link small { font: 500 10px var(--mono); color: #697282; }
.nx-rail-link b { opacity: 0; transform: translateX(-4px); transition: all .18s; color: var(--lime); font-weight: 400; }
.nx-rail-link:hover, .nx-rail-link.is-active { background: rgba(200, 255, 46, 0.08); border-left-color: var(--lime); color: var(--light); }
.nx-rail-link:hover b, .nx-rail-link.is-active b { opacity: 1; transform: translateX(0); }
.nx-rail-link.is-active small { color: var(--lime); }

.nx-rail-foot { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.nx-lang-picker { position: relative; }
.nx-lang-picker summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--ink-2); border: 1px solid var(--line-dark); cursor: pointer; transition: border-color .18s; }
.nx-lang-picker summary::-webkit-details-marker { display: none; }
.nx-lang-picker summary:hover, .nx-lang-picker[open] summary { border-color: var(--lime); }
.nx-lang-current { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.nx-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.16); }
.nx-lang-current em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-lang-picker summary i { font-style: normal; color: var(--lime); font-size: 12px; transition: transform .18s; }
.nx-lang-picker[open] summary i { transform: rotate(180deg); }
.nx-lang-popover { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 160; max-height: 340px; overflow-y: auto; padding: 6px; background: #101319; border: 1px solid var(--lime); box-shadow: 0 -16px 36px rgba(0,0,0,0.55); display: grid; grid-template-columns: 1fr; gap: 3px; scrollbar-width: thin; scrollbar-color: #394150 transparent; }
.nx-lang-option { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: 12px; color: #D4DAE4; border: 1px solid transparent; min-width: 0; }
.nx-lang-option span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-lang-option:hover { background: rgba(200,255,46,0.1); color: var(--light); }
.nx-lang-option.is-on { background: var(--lime); color: var(--ink); font-weight: 700; }
.nx-lang-option.is-on .nx-flag { box-shadow: 0 0 0 1px rgba(11,13,16,0.3); }
.nx-rail-cta { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--lime); color: var(--ink); font: 700 12px var(--display); letter-spacing: 0.02em; transition: filter .18s; }
.nx-rail-cta:hover { filter: brightness(1.06); }

/* Shared Primitives */
.nx-badge-lime { display: inline-block; padding: 5px 11px; background: var(--lime); color: var(--ink); font: 700 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.nx-badge-glass { display: inline-block; padding: 5px 11px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-dark); color: #D8DEE8; font: 500 10px var(--mono); letter-spacing: 0.08em; }
.nx-kicker { display: block; font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.nx-kicker-dark { color: #4A5568; }
.nx-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; font: 700 13px var(--display); border: 1px solid transparent; cursor: pointer; transition: transform .18s, background .18s; }
.nx-btn:hover { transform: translateY(-2px); }
.nx-btn-lime { background: var(--lime); color: var(--ink); }
.nx-btn-glass { background: rgba(255,255,255,0.07); border-color: var(--line-dark); color: var(--light); backdrop-filter: blur(8px); }
.nx-btn-dark { background: var(--ink); color: var(--light); }
.nx-btn-outline-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.nx-btn-xl { min-height: 58px; padding: 0 30px; font-size: 15px; }
.nx-link-lime { display: inline-block; color: var(--lime); font: 600 12px var(--mono); letter-spacing: 0.05em; }
.nx-link-dark { display: inline-block; color: var(--ink); font: 700 13px var(--display); border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.nx-micro-note { margin: 22px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.nx-micro-muted { color: var(--muted-on-dark); }

/* 1. Cinema Full-Bleed Hero & Infinite Marquee */
.nx-cinema-hero { position: relative; background: var(--ink); color: var(--light); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 88vh; }
.nx-cinema-bg { position: absolute; inset: 0; pointer-events: none; }
.nx-cinema-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; filter: contrast(1.08) saturate(0.85); }
.nx-cinema-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(11,13,16,0.35), rgba(11,13,16,0.92) 72%); }

.nx-cinema-layout { position: relative; z-index: 2; padding: 64px 0 48px; display: grid; gap: 48px; }
.nx-meta-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.nx-cinema-headline h1 { font-size: clamp(40px, 5.8vw, 84px); max-width: 1040px; letter-spacing: -0.045em; }
.nx-cinema-headline h1 span { display: block; }
.nx-cinema-headline h1 em { display: inline-block; font-style: normal; color: var(--lime); margin-top: 6px; }

.nx-cinema-deck { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: end; }
.nx-deck-console { padding: 30px; background: rgba(20, 24, 31, 0.82); border: 1px solid var(--line-dark); backdrop-filter: blur(14px); }
.nx-deck-console p { margin: 0; color: #D4DAE4; font-size: 15px; line-height: 1.8; }
.nx-deck-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nx-deck-spec-line { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-dark); font: 500 11px var(--mono); color: var(--muted-on-dark); }

.nx-deck-monitor { margin: 0; background: #07080A; border: 1px solid var(--line-dark); overflow: hidden; box-shadow: 0 28px 60px rgba(0,0,0,0.45); }
.nx-monitor-head { display: flex; justify-content: space-between; padding: 9px 14px; background: var(--ink-2); border-bottom: 1px solid var(--line-dark); font: 600 10px var(--mono); color: var(--muted-on-dark); }
.nx-monitor-head b { color: var(--lime); }
.nx-deck-monitor video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.nx-ticker, .nx-cta-marquee { position: relative; z-index: 2; overflow: hidden; background: var(--lime); color: var(--ink); padding: 11px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.nx-marquee-track { display: flex; width: max-content; animation: nx-scroll 28s linear infinite; font: 700 12px var(--mono); letter-spacing: 0.08em; white-space: nowrap; }
@keyframes nx-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Bands & Headers */
.nx-band { padding: 96px 0; }
.nx-band-light { background: var(--light); color: var(--ink); }
.nx-band-paper { background: var(--paper); color: var(--ink); }
.nx-band-ink { background: var(--ink); color: var(--light); }
.nx-band-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.nx-header-on-ink { border-bottom-color: var(--line-dark); }
.nx-band-header h2 { font-size: clamp(30px, 3.8vw, 52px); max-width: 680px; }
.nx-band-header p { margin: 0; max-width: 430px; color: var(--muted); font-size: 14px; }
.nx-header-on-ink p { color: var(--muted-on-dark); }

/* 2. Interactive Split Stage (Supply Modes) */
.nx-stage-switcher { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; align-items: stretch; }
.nx-stage-triggers { display: grid; border-top: 1px solid var(--ink); }
.nx-stage-tab { display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: start; text-align: left; padding: 24px 18px; background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.nx-tab-no { font: 700 14px var(--mono); color: var(--muted); padding-top: 3px; }
.nx-tab-copy small { display: block; font: 600 10px var(--mono); color: var(--muted); letter-spacing: 0.08em; }
.nx-tab-copy strong { display: block; font: 700 22px var(--display); margin: 4px 0 8px; }
.nx-tab-copy p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.nx-stage-tab i { font-style: normal; font-size: 18px; opacity: 0.25; transition: transform .2s, opacity .2s; }
.nx-stage-tab.is-active { background: var(--ink); color: var(--light); }
.nx-stage-tab.is-active .nx-tab-no, .nx-stage-tab.is-active .nx-tab-copy small, .nx-stage-tab.is-active i { color: var(--lime); opacity: 1; }
.nx-stage-tab.is-active .nx-tab-copy p { color: #C9D1DE; }

.nx-stage-viewport { position: relative; background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; }
.nx-stage-pane { margin: 0; width: 100%; display: flex; flex-direction: column; }
.nx-stage-pane[hidden] { display: none; }
.nx-stage-pane img { width: 100%; flex: 1; aspect-ratio: 4/3; object-fit: cover; }
.nx-stage-pane figcaption { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: var(--ink); color: var(--light); font: 600 12px var(--mono); }
.nx-stage-pane figcaption span { color: var(--lime); }

/* 3. Horizontal Edge-to-Edge Filmstrip */
.nx-strip-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.nx-strip-top h2 { font-size: clamp(30px, 3.8vw, 52px); max-width: 680px; }
.nx-strip-controls { display: flex; gap: 10px; }
.nx-arrow-btn { width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-dark); color: var(--light); font-size: 18px; cursor: pointer; transition: all .18s; }
.nx-arrow-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.nx-film-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 380px); gap: 24px; overflow-x: auto; padding: 8px max(32px, calc((100% - 1340px)/2)) 28px; scroll-snap-type: x mandatory; scrollbar-width: thin; cursor: grab; }
.nx-film-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.nx-film-frame { scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--line-dark); display: flex; flex-direction: column; position: relative; }
.nx-film-index { position: absolute; top: 10px; right: 14px; z-index: 2; font: 700 44px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(200,255,46,0.55); pointer-events: none; }
.nx-film-media { position: relative; aspect-ratio: 1.08; background: #1B2029; overflow: hidden; cursor: zoom-in; }
.nx-film-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.nx-film-frame:hover .nx-film-media img { transform: scale(1.05); }
.nx-film-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; background: rgba(11,13,16,0.86); color: var(--lime); font: 600 10px var(--mono); letter-spacing: 0.08em; }
.nx-film-caption { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nx-film-caption h3 { font-size: 21px; }
.nx-film-caption p { margin: 0; font-size: 13px; color: var(--muted-on-dark); line-height: 1.7; }
.nx-film-caption .nx-link-lime { margin-top: auto; padding-top: 8px; }

/* 4. Sticky Stacking Cards & Split Pinned Layouts */
.nx-stack-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 56px; align-items: start; }
.nx-stack-pinned { position: sticky; top: 42px; display: grid; gap: 18px; justify-items: start; }
.nx-stack-pinned h2 { font-size: clamp(30px, 3.6vw, 48px); }
.nx-stack-pinned p { margin: 0; color: var(--muted); font-size: 14px; }
.nx-muted-p { color: var(--muted-on-dark) !important; }

.nx-stack-cards { display: grid; gap: 22px; }
.nx-stack-card { position: sticky; top: calc(36px + var(--stack-offset, 0px)); background: var(--light); border: 2px solid var(--ink); padding: 32px; box-shadow: 8px 8px 0 var(--ink); display: grid; gap: 12px; }
.nx-stack-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nx-giant-num { font: 700 38px/1 var(--mono); color: var(--ink); background: var(--lime); padding: 4px 10px; }
.nx-stack-card-top small { font: 600 10px var(--mono); color: var(--muted); letter-spacing: 0.08em; }
.nx-stack-card h3 { font-size: 24px; margin-top: 6px; }
.nx-stack-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* 5. Editorial Hover Rows (Insights & Quality Lists) */
.nx-editorial-rows { border-top: 2px solid var(--ink); }
.nx-editorial-row { display: grid; grid-template-columns: 52px 150px 1fr 130px 32px; gap: 22px; align-items: center; padding: 24px 12px; border-bottom: 1px solid var(--line); transition: background .2s, padding-left .2s; }
.nx-editorial-row[hidden] { display: none; }
.nx-editorial-row:not(.nx-static-row):hover { background: var(--paper); padding-left: 22px; }
.nx-static-row { grid-template-columns: 52px 140px 1fr; }
.nx-static-row:not(:has(.nx-row-cat)) { grid-template-columns: 52px 1fr; }
.nx-row-idx { font: 700 14px var(--mono); color: var(--muted); }
.nx-row-cat { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 9px; background: var(--ink); color: var(--lime); justify-self: start; }
.nx-row-main h3 { font-size: 21px; margin-bottom: 6px; }
.nx-row-main p { margin: 0; font-size: 13px; color: var(--muted); }
.nx-row-thumb { aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--line); }
.nx-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-row-go { font-size: 22px; text-align: right; }

/* 6. Dossier & Minimalist Line FAQ */
.nx-dossier-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.nx-dossier-copy h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 12px 0 16px; }
.nx-dossier-copy p { color: #C8D0DC; }
.nx-dossier-warn { margin: 20px 0 24px; padding: 16px 20px; border-left: 3px solid var(--lime); background: rgba(200,255,46,0.06); font-size: 13px; color: #E2E8F0; }
.nx-dossier-frame { margin: 0; }
.nx-dossier-frosted { aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line-dark); }
.nx-dossier-frosted img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px); transform: scale(1.05); }
.nx-dossier-frame figcaption { margin-top: 10px; font-size: 12px; color: var(--muted-on-dark); }

.nx-faq-lines { border-top: 2px solid var(--ink); }
.nx-faq-line { border-bottom: 1px solid var(--line); }
.nx-faq-line summary { list-style: none; display: grid; grid-template-columns: 42px 1fr 24px; gap: 14px; align-items: center; padding: 20px 4px; cursor: pointer; font: 700 16px var(--display); }
.nx-faq-line summary::-webkit-details-marker { display: none; }
.nx-faq-line summary span { font: 600 12px var(--mono); color: var(--muted); }
.nx-faq-line summary i { font-style: normal; font-size: 22px; text-align: center; transition: transform .2s; }
.nx-faq-line[open] summary i { transform: rotate(45deg); }
.nx-faq-line p { margin: 0 24px 22px 56px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.nx-faq-block + .nx-faq-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }

/* Subpages: Asymmetric Mastheads, Specimen Streams & Staggered Galleries */
.nx-masthead { background: var(--ink); color: var(--light); padding: 64px 0 72px; border-bottom: 1px solid var(--line-dark); }
.nx-masthead-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: center; }
.nx-masthead h1 { font-size: clamp(36px, 4.8vw, 64px); margin: 16px 0; }
.nx-masthead h1 em { font-style: normal; color: var(--lime); }
.nx-masthead-lead { margin: 0; color: #C8D0DC; font-size: 15px; max-width: 580px; line-height: 1.8; }
.nx-Jump-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.nx-masthead-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nx-masthead-showcase figure, .nx-masthead-photo { margin: 0; background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; }
.nx-masthead-showcase img { aspect-ratio: 1; object-fit: contain; padding: 16px; background: var(--light); width: 100%; }
.nx-masthead-showcase figcaption, .nx-masthead-photo figcaption { padding: 11px 14px; font: 500 11px var(--mono); color: var(--muted-on-dark); }
.nx-masthead-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.nx-catalog-split { display: grid; grid-template-columns: 0.68fr 1.32fr; gap: 56px; align-items: start; }
.nx-catalog-rail { position: sticky; top: 36px; display: grid; gap: 18px; }
.nx-catalog-rail h2 { font-size: clamp(28px, 3.4vw, 44px); }
.nx-catalog-rail p { margin: 0; font-size: 14px; color: var(--muted); }
.nx-catalog-stream { display: grid; gap: 40px; }
.nx-specimen { background: var(--light); border: 2px solid var(--ink); padding: 30px; box-shadow: 8px 8px 0 var(--ink); display: grid; gap: 20px; justify-items: start; }
.nx-specimen-head { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.nx-specimen-head small { display: block; font: 600 10px var(--mono); color: var(--muted); }
.nx-specimen-head h3 { font-size: 24px; }
.nx-spec-badge { padding: 6px 12px; background: var(--ink); color: var(--lime); font: 700 12px var(--mono); }
.nx-specimen-stage { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--paper); overflow: hidden; cursor: zoom-in; }
.nx-specimen-stage img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.nx-specimen-desc { margin: 0; color: var(--muted); font-size: 14px; }
.nx-specimen-matrix { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); margin: 0; }
.nx-specimen-matrix div { padding: 12px 14px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.nx-specimen-matrix div.is-span { grid-column: 1 / -1; }
.nx-specimen-matrix dt { font: 600 10px var(--mono); color: var(--muted); text-transform: uppercase; }
.nx-specimen-matrix dd { margin: 4px 0 0; font-weight: 600; font-size: 13px; }

.nx-numbered-slabs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nx-numbered-slabs li { padding: 20px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.nx-numbered-slabs li span { font: 700 12px var(--mono); color: var(--lime); }
.nx-numbered-slabs li p { margin: 8px 0 0; font-size: 13px; color: #D8DEE8; }

.nx-stagger-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.nx-stagger-2, .nx-stagger-4 { margin-top: 44px; }
.nx-stagger-item, .nx-format-panel, .nx-photo-card { margin: 0; border: 2px solid var(--ink); background: var(--light); }
.nx-photo-card { border-color: var(--line-dark); background: var(--ink-2); }
.nx-stagger-img { position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: zoom-in; }
.nx-stagger-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nx-stagger-img:hover img { transform: scale(1.04); }
.nx-stagger-item figcaption { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.nx-stagger-item small { font: 500 11px var(--mono); color: var(--muted); }
.nx-format-body, .nx-photo-card figcaption { padding: 22px; display: grid; gap: 10px; }
.nx-photo-card p { margin: 0; font-size: 13px; color: var(--muted-on-dark); }

.nx-border-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.nx-border-grid article { padding: 26px 22px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 12px; }
.nx-border-top { display: flex; justify-content: space-between; font: 600 11px var(--mono); color: var(--lime); }
.nx-border-grid p { margin: 0; font-size: 13px; color: var(--muted-on-dark); }
.nx-border-grid b { margin-top: auto; padding-top: 12px; font: 600 10px var(--mono); color: #D8DEE8; }

.nx-duo-slabs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nx-spec-slab { border: 2px solid var(--ink); padding: 28px; background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.nx-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-tag-cloud span { padding: 5px 10px; background: var(--light); border: 1px solid var(--ink); font: 600 11px var(--mono); }
.nx-slab-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.nx-identity-strip { background: var(--ink-2); color: var(--light); padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.nx-identity-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nx-identity-inner p { margin: 0; font-size: 13px; color: #C8D0DC; flex: 1; }
.nx-rail-preview { margin: 0; border: 1px solid var(--line); background: var(--light); }
.nx-rail-preview figcaption { padding: 12px; font-size: 12px; color: var(--muted); }
.nx-kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.nx-kpi-row strong { display: block; font: 700 18px var(--mono); color: var(--lime); }
.nx-kpi-row span { font-size: 11px; color: var(--muted-on-dark); }
.nx-trio-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Insights Filter, Article Prose & Contact Terminal */
.nx-filter-pill { padding: 8px 16px; background: transparent; border: 1px solid var(--line-dark); color: var(--light); font: 600 11px var(--mono); cursor: pointer; }
.nx-filter-pill.is-active { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.nx-masthead-feature { position: relative; display: block; border: 1px solid var(--line-dark); overflow: hidden; }
.nx-masthead-feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.nx-masthead-feature-copy { position: absolute; inset: auto 0 0; padding: 20px; background: linear-gradient(180deg, transparent, rgba(11,13,16,0.92)); display: grid; gap: 6px; }
.nx-masthead-feature-copy span { font: 600 10px var(--mono); color: var(--lime); }
.nx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font: 500 11px var(--mono); color: var(--muted-on-dark); }
.nx-crumbs li+li::before { content: "/"; margin-right: 8px; }
.nx-rail-box { padding: 20px; border: 1px solid var(--ink); background: var(--paper); display: grid; gap: 10px; }
.nx-rail-dark { background: var(--ink); color: var(--light); }
.nx-rail-dark p { color: #C8D0DC !important; }
.nx-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; font-weight: 600; }
.nx-toc a:hover, .nx-toc a.is-current { color: #537000; text-decoration: underline; text-underline-offset: 3px; }
.nx-mobile-toc { display: none; margin-bottom: 24px; }
.nx-prose .blog-lead { font-size: 18px; font-weight: 500; margin-bottom: 26px; }
.nx-prose h2 { font-size: 24px; margin: 38px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); scroll-margin-top: 32px; }
.nx-prose p, .nx-prose ul { margin: 0 0 16px; color: #2D333D; font-size: 15px; line-height: 1.85; }
.nx-prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: #94C800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nx-prose a:hover { background: var(--lime); text-decoration-color: var(--ink); }
.blog-table-wrap { margin: 22px 0; overflow-x: auto; border: 2px solid var(--ink); background: var(--light); }
.blog-table-wrap table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13px; text-align: left; }
.blog-table-wrap th, .blog-table-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.blog-table-wrap th { background: var(--ink); color: var(--lime); font: 600 11px var(--mono); }
.blog-callout { margin: 24px 0 0; padding: 18px 20px; border-left: 4px solid var(--ink); background: var(--paper); font-size: 13px; }
.nx-search-field { width: 100%; min-height: 46px; padding: 0 14px; background: var(--ink); border: 1px solid var(--lime); color: var(--light); margin-top: 8px; }

.nx-contact-stage { background: var(--ink); color: var(--light); padding: 72px 0 92px; min-height: 76vh; }
.nx-contact-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.nx-contact-left h1 { font-size: clamp(36px, 4.6vw, 60px); margin: 16px 0; }
.nx-contact-left h1 em { font-style: normal; color: var(--lime); }
.nx-brief-slab { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-dark); display: grid; gap: 14px; }
.nx-wa-terminal { background: var(--light); color: var(--ink); border: 2px solid var(--lime); padding: 34px; box-shadow: 10px 10px 0 var(--lime); display: grid; gap: 16px; }
.nx-terminal-top { display: flex; justify-content: space-between; font: 700 11px var(--mono); }
.nx-terminal-top b { background: var(--lime); padding: 3px 8px; }
.nx-wa-launch { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 22px; background: var(--ink); color: var(--lime); font: 700 15px var(--display); }
.nx-wa-id-bar { display: flex; justify-content: space-between; padding: 12px 14px; background: var(--paper); font: 600 12px var(--mono); }

/* CTA Slab, Footer & Beacon */
.nx-cta-slab { background: var(--lime); color: var(--ink); padding-bottom: 64px; }
.nx-cta-slab .nx-cta-marquee { background: var(--ink); color: var(--lime); }
.nx-cta-grid { padding-top: 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; }
.nx-cta-main h2 { font-size: clamp(32px, 4.2vw, 56px); margin: 8px 0 10px; }
.nx-cta-main p { margin: 0; max-width: 560px; font-size: 15px; }

.nx-footer { background: var(--ink); color: var(--light); padding: 72px 0 32px; }
.nx-footer-giant { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.nx-footer-headline { display: inline-block; font: 700 clamp(28px, 3.8vw, 48px)/1.1 var(--display); margin: 8px 0 12px; }
.nx-footer-headline em { font-style: normal; color: var(--lime); }
.nx-footer-giant p { margin: 0; color: var(--muted-on-dark); max-width: 480px; }
.nx-footer-stamp { padding: 16px 22px; border: 1px solid var(--line-dark); text-align: right; font-family: var(--mono); }
.nx-footer-stamp span { display: block; font-size: 10px; color: var(--muted-on-dark); }
.nx-footer-stamp strong { font-size: 18px; color: var(--lime); }
.nx-footer-matrix { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line-dark); }
.nx-footer-cell { display: grid; align-content: start; gap: 9px; font-size: 13px; color: #C8D0DC; }
.nx-footer-cell a:hover { color: var(--lime); }
.nx-footer-cell address { font-style: normal; color: var(--muted-on-dark); }
.nx-footer-wa { color: var(--lime); font-family: var(--mono); font-size: 12px; }
.nx-footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font: 500 11px var(--mono); color: #6E7787; }

/* Footer: give the contact invitation and navigation their own clear rhythm. */
.nx-footer { padding: 76px 0 110px; }
.nx-footer-giant { align-items: center; gap: 48px; padding-bottom: 52px; }
.nx-footer-giant > div:first-child { max-width: 780px; min-width: 0; }
.nx-footer-headline { max-width: 100%; overflow-wrap: anywhere; line-height: 1.18; }
.nx-footer-stamp { flex: 0 1 230px; min-width: 180px; padding: 20px 24px; text-align: start; }
.nx-footer-stamp strong { display: block; margin-top: 8px; font: 600 14px/1.6 var(--sans); color: var(--light); }
.nx-footer-matrix { grid-template-columns: minmax(220px, 1.6fr) repeat(2, minmax(125px, .8fr)) minmax(160px, 1fr); gap: clamp(24px, 4vw, 64px); padding: 48px 0 52px; }
.nx-footer-cell { gap: 12px; min-width: 0; line-height: 1.65; }
.nx-footer-cell > .nx-kicker { margin-bottom: 7px; }
.nx-footer-cell a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.nx-footer-brand p { max-width: 340px; margin: 0; }
.nx-footer-brand small { color: var(--muted-on-dark); }
.nx-footer-contact address { max-width: 240px; }
.nx-footer-wa { margin-top: 5px; padding: 9px 14px; border: 1px solid var(--line-dark); }
.nx-footer-wa:hover, .nx-footer-wa:focus-visible { border-color: var(--lime); }
.nx-footer-legal { gap: 12px 30px; line-height: 1.6; }
@media (max-width: 960px) {
  .nx-footer-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nx-footer { padding: 54px 0 110px; }
  .nx-footer-giant { align-items: stretch; gap: 24px; padding-bottom: 32px; }
  .nx-footer-headline { font-size: clamp(27px, 8vw, 38px); }
  .nx-footer-stamp { flex: none; min-width: 0; width: 100%; }
  .nx-footer-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding: 34px 0; }
  .nx-footer-contact { grid-column: 1 / -1; }
  .nx-footer-legal { flex-direction: column; align-items: flex-start; }
}

.nx-wa-beacon { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 140; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; background: var(--ink); color: var(--lime); border: 1.5px solid var(--lime); font: 700 12px var(--mono); box-shadow: 0 14px 32px rgba(0,0,0,0.35); }
.nx-zoom-modal { border: 1px solid var(--lime); padding: 48px 20px 20px; width: min(92vw, 980px); background: rgba(11,13,16,0.96); }
.nx-zoom-modal::backdrop { background: rgba(0,0,0,0.8); }
.nx-zoom-modal img { max-height: 78vh; margin: auto; object-fit: contain; }
.nx-zoom-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; background: var(--lime); border: 0; color: var(--ink); font-size: 22px; font-weight: 700; cursor: pointer; }

/* Responsive Collapse */
@media (max-width: 1024px) {
  .nx-frame { grid-template-columns: 1fr; }
  .nx-rail { position: sticky; top: 0; height: auto; padding: 12px 20px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .nx-rail-head { padding-bottom: 0; border-bottom: 0; }
  .nx-mobile-trigger { display: flex; }
  .nx-rail-drawer { display: none; padding: 20px 0 8px; gap: 20px; }
  .nx-rail-drawer.is-open { display: flex; }
  .nx-cinema-deck, .nx-stage-switcher, .nx-stack-layout, .nx-dossier-split, .nx-masthead-split, .nx-catalog-split, .nx-contact-split, .nx-footer-matrix { grid-template-columns: 1fr; }
  .nx-stack-pinned, .nx-catalog-rail, .nx-stack-card { position: static; }
  .nx-catalog-split > .nx-prose { order: -1; }
  .nx-catalog-split:has(.nx-prose) .nx-catalog-rail > nav { display: none; }
  .nx-mobile-toc { display: grid; }
  .nx-editorial-row { grid-template-columns: 40px 1fr 24px; }
  .nx-row-cat, .nx-row-thumb { display: none; }
  .nx-border-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nx-pad { width: calc(100% - 32px); }
  .nx-band { padding: 60px 0; }
  .nx-band-header, .nx-cta-grid, .nx-footer-giant { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nx-stagger-gallery, .nx-duo-slabs, .nx-trio-photos, .nx-numbered-slabs, .nx-border-grid, .nx-specimen-matrix, .nx-kpi-row { grid-template-columns: 1fr; }
  .nx-stagger-2, .nx-stagger-4 { margin-top: 0; }
  .nx-film-rail { grid-auto-columns: 84vw; padding-inline: 16px; }
  .nx-wa-beacon span:last-child { display: none; }
  .nx-wa-beacon { padding: 11px; }
}

/* RTL Support (Arabic /ar/) & Mobile Lang Popover */
@media (max-width: 1024px) {
  .nx-lang-popover { position: static; margin-top: 8px; max-height: 220px; box-shadow: none; }
}
html[dir="rtl"] .nx-rail { border-right: 0; border-left: 1px solid var(--line-dark); }
html[dir="rtl"] .nx-rail-link { border-left: 0; border-right: 2px solid transparent; }
html[dir="rtl"] .nx-rail-link:hover, html[dir="rtl"] .nx-rail-link.is-active { border-right-color: var(--lime); }
html[dir="rtl"] .nx-stage-tab { text-align: right; }
html[dir="rtl"] .nx-stack-card, html[dir="rtl"] .nx-specimen { box-shadow: -8px 8px 0 var(--ink); }
html[dir="rtl"] .nx-wa-terminal { box-shadow: -10px 10px 0 var(--lime); }
html[dir="rtl"] .nx-dossier-warn, html[dir="rtl"] .blog-callout { border-left: 0; border-right: 4px solid var(--lime); }
html[dir="rtl"] .nx-wa-beacon { right: auto; left: 22px; }

@media (max-width: 960px) {
  .nx-footer-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .nx-footer-giant { align-items: stretch; gap: 24px; }
}
